Photoactivated microwave oscillator