Energy spectrum and the absolute flux of various celestial X-ray sources