Read in: Name of logN-logS function Choices: Hasinger, Mushotzky, Cappelluti, or Mateos Source flux cutoff Normalization of the Cosmic XRB Photon power law index of the Cosmic XRB Return Xspec Normalization for power law Call subroutine based on user selected function choice Returns: Integral from 0-infinity Integral from 0-(source flux cutoff) numb/deg2 0.5-2.0 keV flux/deg2 Variance in flux Calculate tot_flux, min_flux Calculate conversion from energy in 0.5-2.0 keV to normalization Calculate the energy in 0.5-2.0 in keV Convert keV to erg Convert erg/cm2/s/sr to keV/cm2/s/sr/keV Calculate the bias: bias = cxrb_norm - tot_flux Calculate the Xspec normalization: xnorm = bias + tot_flux Convert to per arcmin: xnorm = xnorm/degree_per_ster/3600. Output xnorm