Here is another example with an explicit source position – (1000,-1000) in DET coordinates – specified:
arfgen spectrumset=spectrum.pha
withsourcepos=true sourcecoords=det sourcex=1000 sourcey=-1000
See also 5.4 for details of why the task needs the source position, and how to change it.