I have checked & found that you have the correct permissions to access Ad Hoc Analysis. However, as you are getting the error while trying to login. So, I will suggest you to try the below suggestions.
1. Try updating the Java Runtime version on your machine. 2. Try downloading the new Ad Hoc file from Analytics > Tools > Ad Hoc Analysis. 3. Try disconnecting from the office network or VPN to see if the issue is happening only when you are connected to the office network or VPN or if this is an issue in general.
Hope this helps. Try the above-mentioned suggestions & let me know the results.