XeF4 is formed by Xe in its
first excited state
second excited state
third excited state
fourth excited state
In order to get 4 unpaired electrons, two electrons get excited. Second excited state configuration is 5s25p45d2