Ariz. R. Crim. P. 26.5
Rule 26.5. Diagnostic Evaluation and Mental Health Examination
At any time before the court pronounces sentence, it may order the defendant to undergo a mental health examination or diagnostic evaluation. Unless the court orders otherwise, any report concerning such an examination or evaluation is due at the same time as the presentence report.