< so I just deleted my previous answer - it looks like your raster isn't a "world" extent. After clicking inside Az it ran succesfully...my 1st suggestion is to either explain where you can click or limit the extent of your web app >
My new guess at the problem - your code is looking to add an ImageLayer as a result?
Your final output in the service returns features.
You'll either need to change the code to get/draw features or turn on the Result Map Server.
If you turn on the result map server, then this sample should help
Else, look at this sample and code to help draw.
function drawViewshed(results, messages) {
var polySymbol = new esri.symbol.SimpleFillSymbol();
polySymbol.setOutline(new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_SOLID, new dojo.Color([0,0,0,0.5]), 1));
polySymbol.setColor(new dojo.Color([255,127,0,0.7]));
var features = results[0].value.features;
for (var f=0, fl=features.length; f<fl; f++) {
var feature = features[f];
feature.setSymbol(polySymbol);
map.graphics.add(feature);
}
}