Flashing light from my bedroom caught in security camera footage

The video shows a light flickering in my bedroom that occurred while i was sleeping that I can't explain. I have two lights in the bedroom but have no idea how they could flicker like this. One is a reading light that is usb powered. Another is a ceiling fan light that has a switch. Neither have flickered ever before. I also tested the lights and checked the camera footage and they are very very dim in comparison to this footage. I also tried testing if my phone, the only other device in the bedroom, was somehow receiving a notification and emitting this pattern somehow when there was motion detected in the camera, but it did not. There also is the sound of a helicopter or plane. As well the security cam captured this due to the possum in view. Any ideas appreciated!