Application of density functional theory to the calculation of core level binding energies within atom in jellium model