Quantum chemical study on the structure and the analytic potential energy function of PS2 (X2A1)