I’m having the exact same issue and it goes away when I cover the same. Did you find a solution?I'm having a similar issue, reported over in this thread
Pentair Mastertemp 250 screaming/whining on ignite
I took the side cover off mine and it didn't help but putting my hand over the intake changes the sound. See here: