Direct detection of long-duration intense X-ray fluxes with SiPM