1
$\begingroup$

I have downloaded galactic center sky images from the Swift database (https://www.swift.ac.uk/swift_live/index.php#doSimpleSearch.php?catname=swiftmastr&searchpos=galactic+center&searchrad=10&searchepoch=2000&getWhat=2&sortBy=_r&dandr=on&coordType=0&retEpoch=2000&retType=0&retWhere=1). In particular, Galactic Center observation 00088962001 (radius 10, all columns, zip file).

I want to detect persistent sources in all filters, except white, with uvotdetect. I installed Heasoft, CALDB and DS9 on Ubuntu WSL2 Linux subsystem on Windows 11. Everything seems to work fine, but sometimes uvotdetect gives a weird .fits file output. It's supposed to show a header with astronomical data but with some files I only see weird signs. This happened to 3 out of 6 images I processed with uvotdetect. I might be new to this but can somebody explain?

Below are some pictures of what's happening.

What it should produce: enter image description here

Unreadable file: enter image description here

$\endgroup$
4
  • 2
    $\begingroup$ Welcome to Astronomy SE! Usually we're encouraged to post the actual text instead of screenshots, but in this case I don't think it's necessary; the second is just a mashup of what looks like a program trying to display binary as if it were normal text. See for example answers to Why does a diamond with a question mark in it � appear in my HTML? A couple of questions: 1) If you run each case multiple times, is it reproducible? Do some cases always work and the rest never work? 2) For those that don't does the input have any unusual characters $\endgroup$
    – uhoh
    Apr 14, 2022 at 21:07
  • 1
    $\begingroup$ for example a name or command that accidentally got a control character in it? 3) What are the "previous errors" for the case where the output looks good and why are there no previous errors for the case where it's bad? 4) What happens if you process them in a different order? $\endgroup$
    – uhoh
    Apr 14, 2022 at 21:10
  • 1
    $\begingroup$ I would suggest getting fitsverify if it's not already installed as part of HEASOFT. This will let you verify FITS files and list their header as regular text without relying on something not getting tripped up by binary characters. $\endgroup$ Apr 15, 2022 at 16:21
  • $\begingroup$ What is the exact command you ran and did you try opening it with e.g. the fits viewer "fv" or just "fdump"? Do you get the same issue when downloading not the zip-file but the tar-file? Btw.: On my side "uvotdetect sw00088962001ubb_sk.img.gz" seems to work just fine. $\endgroup$
    – SpaceCore
    Apr 20, 2022 at 21:32

0

You must log in to answer this question.