00040: Accelerated raster service layers cannot be published directly to an optimized map service
Your map contains an accelerated raster layer that is based on an ArcGIS image service or WCS service—layers of this type cannot be published to an optimized map service.
You can 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. For more information on accelerated raster layers, see Accelerated raster rendering.