What photocell is it?
If itis some older design without time delay, these were made as a simple electromagnetic relay with NC contact ad the coil in series with the CdS photoresistor, fed directly from the mains.
Then when there is light, the photoresistor passes current to the relay coil, it activates and opens the contact, and the AC current feeding the relay electromagnet may be buzzing (it depends on the exact relay design and how wel aligned the assembly is, or whether there is some dirt preventing the yoke getting fully uniformly attracted to the core so the phase shift "antibuzzing" shaded pole is able to keep it firm ON so it can not buzz, or there is agap, allowing some vibrations and hence the buzz)
It's an Intermatic silicone photocell. It was brand new from HD so it's not an older one. I was just curious what it may have been because the ballast in that light makes a slight higher pitch buzz similar to what I heard from the photocell which is why I tested to see if the light would come on because it sounded like the light was dayburning but was unable to start the lamp, so I was worried that the ballast or lamp was shot. I appreciate your explanation!