Detailed calibration of the PI-LCX:1300 high performance single photon counting hard x-ray CCD camera