Characterization of a Single Photon Sensing Detector for Astrophysics