Spatiotemporal electron and ion relaxation dynamics of iron induced by femtosecond laser pulse was studied using one dimensional Two Temperature Model (1D-TTM) where the electron and ion temperature dependent thermophysical parameters, specific heat (C), electron-phonon coupling (G), and thermal conductivity (K), are calculated with ab-initio density-functional-theory (DFT) simulations. Based on the simulated time evolutions of electron and ion temperature distributions (T e (x,t) and T i (x,t)), time evolution of X-ray Absorption Near Edge Spectroscopy (XANES) was calculated and compared with experimental results reported by Fernandez-Pañella et al. where the slope of XANES spectrum at the onset of absorption (s) was used due to its excellent sensitivity to the electron temperature. Our results indicate that ion temperature dependences on G and C, that are largely neglected in the past studies, are very important for studying non-equilibrium electron-ion relaxation dynamics of iron in warm dense matter (WDM) condition. It is also shown that 1/s behavior becomes very sensitive to thermal gradient profile, in the other words, to the values of K in TTM simulation, for the range of target thickness of about two to four times of the mean free path of conduction electrons. Our approach based on 1D-TTM and XANES simulations can be used to determine optimal combination of target geometry and laser fluence for a given target material that will enable us to tightly constraint thermophysical parameters under electron-ion non-equilibrium WDM condition.