I used Cell Statistics tool to calculate the mean of 30 raster files but I always get the error 999999: error executing function. Can some please tell me why the mathematical operations are not working? I also tried "Raster Calculator" tool to perform similar operation and there it gives me error 000539. I am using ArcGIS 10.5 version. Attached file contains error information.