Studying the photoinduced changes of materials with atomic-scale spatial resolution can provide a fundamental understanding of light-matter interaction. A long-standing impediment has been the detrimental thermal effects on the stability of the tunneling gap from intensity-modulated laser irradiation of the scanning tunneling microscope junction. Photoinduced DC current transduces photons to an electric current and is widely applied in optoelectronics as switches and signal transmission. Our results revealed the origin of the light-induced DC current and related it to the two-level population dynamics and related nonlinearity in the conductance of a single molecule. Here, we compensated for the near-visible laser-induced thermal effects to demonstrate photoinduced DC current spectroscopy and microscopy and to observe the persistent photoconductivity of a two-level pyrrolidine molecule. The methodology can be generally applied to the coupling of light to scan probes to investigate light-matter interactions at the atomic scale.