How to calculate energy gap when determining electron configuration?
You could calculate the energy of your initial electron configuration, then do the same for your final state and work out the difference. The Los Alamos Flexible Atomic Code (https://github.com/flexible-atomic-code/fac) can do that for you. There should be no state where you fill shells from the ground up that has a lower energy than what we now call the ground state of nobium.