Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CFITSIO error in nifpmsel #99

Open
nlewand opened this issue Feb 23, 2024 · 2 comments
Open

CFITSIO error in nifpmsel #99

nlewand opened this issue Feb 23, 2024 · 2 comments

Comments

@nlewand
Copy link

nlewand commented Feb 23, 2024

When running psrpipe.py the nifpmsel step fails.

Task nifpmsel 1.8 terminating with status -1
Traceback (most recent call last):
  File "/scratch/software/nicer_20230814/NICERsoft/scripts/psrpipe.py", line 653, in <module>
    runcmd(cmd)
  File "/scratch/software/nicer_20230814/NICERsoft/scripts/psrpipe.py", line 256, in runcmd
    check_call(cmd, env=os.environ)
  File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['nifpmsel', 'infile=2070020493_pipe/intermediate.evt', 'outfile=2070020493_pipe/cleanfilt.evt', 'detlist=launch', 'mkfile=2070020493/auxil/ni2070020493.mkf', 'clobber=yes', 'history=yes']' returned non-zero exit status 255.

Rerunning this command by hand shows the following error:

nifpmsel infile=2070020493_pipe/intermediate.evt outfile=2070020493_pipe/cleanfilt.evt detlist=launch mkfile=2070020493/auxil/ni2070020493.mkf clobber=yes history=yes
nifpmsel 1.8
  FPM List: launch
  Recalculating GTIs
ERROR: (internal error)  GTI is missing extension name at /scratch/software/nicer_20230814/heasoft-6.32/x86_64-pc-linux-gnu-libc2.36/bin/nifpmsel line 966.
Dumping CFITSIO error stack:
--------------------------------------------------
Extension doesn't start with SIMPLE or XTENSION keyword. (ffrhdu)
END
Error while closing HDU number 0 (ffchdu).
--------------------------------------------------
CFITSIO error stack dump complete.
Task nifpmsel 1.8 terminating with status -1
@paulray
Copy link
Owner

paulray commented Feb 23, 2024

Interesting. What source is this? I'd like to try to replicate the error.
also can you give the output of this command?
ftlist 2070020493_pipe/intermediate.evt HC

@paulray
Copy link
Owner

paulray commented Feb 28, 2024

I just did a re-ordering of the operations in psrpipe.py. Maybe git pull then try again? Do you still get an error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants