Detailed analysis of events from high-energy X-ray photons impinging on a two-phase front-illuminated CCD