Calibration of PM Gain Using Photo Statistics