I used a model builder in ArcGIS Pro 3.0 to create a simple model that uses two TIFF files as input of weighted sum tool and outputs a raster dataset. I published this model as a GP service to a stand-alone ArcGIS Server (v10.9) and checked "View output in map image layer" when publishing. When I run the GP service (either on the services directory webpage, in ArcGIS Pro, or using JavaScript code), I can get the output TIFF file in the job scratch folder, but there is no results.msd file (map service definition) there. So, the related result map service is empty.
To test if the result map service is working, I built another model with feature set (polygons) as output . The result map service worked for that. I also used the TIFF I got from the previous GP service to publish a map service from ArcGIS Pro, it also worked.
I need to display the output raster on my web map, so I need the result map service working. Any suggestions? Thanks!