According to the definition of ionization energy , the element must be in gaseous state. Though , in photoelectron spectroscopy the metal is used in its solid form. I can't understand how this amount of energy shows the ionization energy , whereas the element is not a gas during electron emission.