If oxygen has low ionization energy compared to nitrogen because one of the p-orbital is filled with two electrons, then ionization energy of fluorine should be lower than oxygen because it has two filled p-orbitals that contains two electrons each. What causes fluorine to have higher ionization energy than oxygen? What are all the effects that contribute to a higher ionization energy in fluorine compared to oxygen?