Three-photon ionization in laser-excited sodium beam