Paramagnetism and shake-up satellites in X-ray photoelectron spectra