Photon laser with temperature control