Just want to share the lesson learned on the Authorization for generating XML file in production. In order to generate the XML user should have access to Cluster X0 and to Preview X1 for the auth object P_PCLX with auth level "S".
It is strange that for the same set of roles in other systems we were not getting authorization error for cluster X0.
Thanks,
Rohit