Completely evolution of Gouy phase shift in longitudinal terahertz wave