Accurate quasiparticle calculation of x-ray photoelectron spectra of solids. (2nd May 2018)