Ariz. Rev. Stat. § 13-3993
A. On request of the court or any party, with the consent of the defendant and after a determination that a reasonable basis exists to support the guilty except insane defense, the court shall appoint a qualified expert to evaluate the defendant and provide a written report that includes:
G. After a plea of guilty or after disposition of a matter where the defendant has pleaded guilty except insane, the court shall order all of the reports submitted pursuant to section 13-502 and this article sealed. The court may order that the reports be opened only as follows: