Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I received the following runtime error: “There should be exactly one energy range cut, one acceptance cone cut, and at least one time range and/or GTI cut.” How do I resolve this error?

0
Posted

I received the following runtime error: “There should be exactly one energy range cut, one acceptance cone cut, and at least one time range and/or GTI cut.” How do I resolve this error?

0

This error occurs when a tool such as gtexpmap finds duplicate DSS keywords in the FITS header. So you must delete one of the duplicated keywords. After that you must change the keyword NDSKEYS to reflect the surviving number of DSS keywords. You also must renumber the remaining keywords so that the numbering is consecutive and the max is the same as the total number, otherwise the tool will fail. You can use the FTOOL fv to accomplish this, but other FTOOLS such as fmodhead should also work.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123