Optical spectrum, crystal field analysis of Pr3+ in YPO4