String commandLine = FITS_COMMAND.replace("%FITS_EXEC%", scriptExt)
.replace("%INPUT%", input.getAbsolutePath())
.replace("%OUTPUT%", output.getAbsolutePath());
try {
int exitcode = cmdExecutor.runCommand(commandLine);
if (exitcode != 0) {
String cmdError = cmdExecutor.getCommandError();
throw new PlanningException("FITS characterisation for file: " + input + " failed: " + cmdError);
}
if (!output.exists()) {