Gpt Terrain-Correction error

I am trying to process S1 data using gpt. I used gpt for the calibration, multilook and speckle filtering. However when I use it for terrain correction I receive error message. the used command and the error message are as follow:

./ Terrain-Correction -Ssource=/data/omar/tif/speckle.dim -t ‘/data/omar/tif/terrain’ -PdemName=GETASSE30 -PpixelSpacingInMeter=10.0
Terrain-Correction: Determinant is 0
org.esa.beam.framework.gpf.OperatorException: Terrain-Correction: Determinant is 0
at org.esa.snap.gpf.OperatorUtils.catchOperatorException(
at org.esa.nest.gpf.geometric.RangeDopplerGeocodingOp.initialize(
at org.esa.beam.framework.gpf.internal.OperatorContext.initializeOperator(
at org.esa.beam.framework.gpf.internal.OperatorContext.getTargetProduct(
at org.esa.beam.framework.gpf.Operator.getTargetProduct(
at org.esa.beam.framework.gpf.main.CommandLineTool.runOperator(
at org.esa.beam.framework.gpf.main.CommandLineTool.runGraphOrOperator(
at org.esa.beam.framework.gpf.main.GPT.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.bc.ceres.launcher.Launcher.launch(
at com.bc.ceres.launcher.Launcher.main(

Error: Terrain-Correction: Determinant is 0

Could you provide the input product name and the processing applied to it before the terrain correction?

GETASSE30 is global but the quality of it is not very good (it has a lot of artifacts).

well, the original product name is “” which was processed by running the calibration, multilook and speckle filter. The later output is named as speckle.dim as shown by the provided command. The commands previously applied are given below

./ Calibration -Ssource=/data/omar/raw/ -t ‘/data/omar/tif/cal’
./ Multilook -Ssource=/data/omar/tif/cal.dim -t ‘/data/omar/tif/multi’
./ Speckle-Filter -Ssource=/data/omar/tif/multi.dim -t ‘/data/omar/tif/speckle’ -Pfilter=Median -PfilterSizeX=7 -PfilterSizeY=7

when I used the default option of dem I face the same error message
./ Terrain-Correction -Ssource=/data/omar/tif/speckle.dim -t ‘/data/omar/tif/terrain’ -PpixelSpacingInMeter=10.0