The geoprocessing service you are creating uses an unsupported output data format. The result of your service can only be returned as an image by using a result map service.
Solution
You must return the result as a map image layer. Enable this from the Configuration page.
Note:
A result map service requires the output to be written to disk (not to the in_memory workspace) and the service set to asynchronous execution.