Photoelectron spectroscopy and ionization energy