You should be able to check the throttle to make sure it has ground, 5 volt reference, and then do a couple of sweep tests to see if there is a "dead" or flat spot in the sweep. That buzzing may be the throttle performing a self alignment or attempting to and failing. Not sure if Subaru throttles do that with Key on, engine off.
Also, how did the spark plugs look? Did any of them seem different from the rest? Do you notice smoke behind you when the car runs poorly and what color?