00040: Accelerated raster service layers cannot be published directly to a map service
In this topic
Your map contains an accelerated raster layer based on an ArcGIS image service or WCS service—layers of this type cannot be published to a map service.
Remove the layer from the map. You can then mash up the image service with your published map in a web map.
For optimal performance and flexibility, services should be combined in a web map rather than included within another service.