HST astroquery use case: Searching for white dwarfs in the Globular Cluster M4

This use case is based on the MAST use case here.

The science case is searching for white dwarfs (i.e. in the Globular Cluster M4; Richer et al. 1997, ApJ 484, 741).

Workflow:

  1. Query the Hubble Source Catalog (HSC) for sources in the Globular Cluster M4 that have both WFC3 F275W and F814W magnitudes, filter to find only stars and reject poor measurements.
  2. Search for observations of M4 in the HST archive.
  3. Download and visualise an image.
  4. Plot the HSC sources on the image.
  5. Create a colour-magnitude diagram to help identify white dwarfs.
  6. Select the white dwarf candidates and plot these on the image.
In [1]:
# Import ESAHubble from astroquery.esa.hubble
from astroquery.esa.hubble import ESAHubble
esahubble = ESAHubble()
Created TAP+ (v20200428.1) - Connection:
	Host: hst.esac.esa.int
	Use HTTPS: False
	Port: 80
	SSL Port: 443
Created TAP+ (v20200428.1) - Connection:
	Host: hst.esac.esa.int
	Use HTTPS: False
	Port: 80
	SSL Port: 443

Step 1. Query the HSC

The following performs an Astronomical Data Query Language (ADQL) query to the Hubble Source Catalog (HSC) for sources in the Globular Cluster M4 in radius 500 arcseconds, that have both WFC3 F275W and F814W magnitudes, filter to find only stars (low CI number) and low magnitude errors.

The WHERE clause defines the search parameters:

  • concentration index (CI) is less than 1.25 (to find only stars)
  • number of images in a match (>2)
  • W3_F275W and W3_F814W must be greater than 0 (to ignore objects with only one color)
  • W3_F275W_Sigma and W3_F814W_Sigma must be less than 1.0 (to ignore objects with poor measurements)

See here for more information and examples of ADQL queries.

In [2]:
hsc = esahubble.query_hst_tap("SELECT match_ra, match_dec, match_id, num_images, w3_f275w, w3_f814w, w3_f275w - w3_f814w \
FROM hsc_v2.hubble_sc2 \
WHERE 1=CONTAINS( \
  POINT('ICRS', match_ra, match_dec), \
  CIRCLE('ICRS', 245.89675, -26.52575, 0.138889)) \
AND ci < 1.25 \
AND num_images > 2 \
AND (w3_f275w > 0 and w3_f814w > 0) \
AND w3_f275w_sigma < 1.0 \
AND w3_f814w_sigma < 1.0 \
ORDER BY match_id ASC", "M4.vot")
print(hsc)

# Brings back a table of ~381 rows. 
INFO: Query finished. [astroquery.utils.tap.core]
     match_ra           match_dec      ...      w3_f814w            expr1       
------------------ ------------------- ... ------------------ ------------------
245.89302954800334 -26.511680560089676 ... 15.553799629211426  5.887249946594238
 245.8972766368185  -26.51379074271159 ... 15.504600048065186  7.847449779510498
 245.8990812664547 -26.513830608407527 ... 22.485200881958008 1.3590984344482422
245.90316023702925 -26.509754587044668 ... 17.698999404907227  4.973400115966797
245.90739563406606 -26.507770827794975 ...  19.34249973297119 4.4902496337890625
245.91624557213004 -26.488874377989244 ... 17.845300674438477    5.1260986328125
 245.9086893765596 -26.513608251443415 ... 18.405250549316406  4.773499488830566
 245.9132813103605 -26.491321239947954 ... 16.106199264526367  4.327800750732422
245.91129428025005 -26.506855010540566 ... 17.576400756835938  5.688999176025391
 245.9178763468632 -26.490524485760822 ...  16.99920082092285  4.408998489379883
               ...                 ... ...                ...                ...
245.93485640895233 -26.527037423031572 ... 17.817150115966797  5.165849685668945
245.94106431605294 -26.500390791834747 ... 23.753950119018555 0.5380496978759766
245.93935271583013 -26.515060100137692 ... 16.492050170898438  4.159699440002441
245.93804918692678 -26.521573179609373 ...  16.27025032043457   4.21150016784668
245.93685466637424   -26.5337257481512 ... 15.800700187683105    4.6697998046875
245.94568010547408 -26.501755642442966 ... 18.259899139404297  6.042200088500977
245.94579177181646 -26.502780969128764 ... 16.393699645996094  4.257150650024414
 245.9410323225357 -26.525025349377014 ...  16.16639995574951  4.206049919128418
 245.9424384496998  -26.52931331830154 ...  17.47410011291504  4.661799430847168
245.94838660435903  -26.51543546552124 ... 18.048999786376953  5.601099967956543
245.95110280822024 -26.511496805229502 ... 17.858850479125977 5.1715497970581055
Length = 381 rows

Step 2. Search for observations of M4 in the HST archive.

The following will perform a cone search on M4 (coordinates = 245.89675 -26.52575) with a radius of 3 arcminutes. The result of the query will be stored in the votable file 'cone_search_m4_3.vot':

In [3]:
from astropy import coordinates
c = coordinates.SkyCoord(245.89675, -26.52575, unit="deg", frame='icrs')
cone = esahubble.cone_search(c, 3, "cone_search_m4_3.vot")
cone
Out[3]:
Table length=516
OBSERVATION_IDSTART_TIMEEND_TIMESTART_TIME_MJDEND_TIME_MJDEXPOSURE_DURATIONRELEASE_DATERUN_IDPROGRAM_IDSET_IDCOLLECTIONINTENTMEMBERS_NOINSTRUMENT_CONFIGURATIONTYPEMOVING_TARGETTARGET_NAMETARGET_DESCRIPTIONPROPOSAL_IDPI_NAMEPROPOSAL_TITLEINSTRUMENT_NAMEMETADATA_PROVENANCEDATA_PRODUCT_TYPESOFTWARE_VERSIONRADECGAL_LATGAL_LONECL_LATECL_LONFOV_SIZEWAVE_CENTRALWAVE_BANDWIDTHWAVE_MAXWAVE_MINFILTER
iso-8601iso-8601iso-8601
objectobjectobjectfloat64float64float64objectobjectobjectobjectobjectobjectint32objectobjectboolobjectobjectobjectobjectobjectobjectobjectobjectobjectfloat64float64float64float64float64float64float64float64float64float64float64object
j8fe010102002-07-14 04:42:23.742002-07-14 06:28:33.7852469.1127747685252469.1865020833361440.02002-07-14 15:10:36.0018fe01HSTscience4APERTURE=WFC|DETECTOR=WFC|EXPEND=52469.186502083336|EXPSTART=52469.11277476852|EXPTIME=1440.0|FILTER=F775W;CLEAR2L|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST CompositeFalseNGC6121-CALIBBROAD_CATEGORY=CALIBRATION;STELLAR CLUSTER|TARGET_DESCRIP=CALIBRATION;POINT SPREAD FUNCTION;;STELLAR CLUSTER;GLOBULAR CLUSTER9578Rhodes, Jason D.Cosmic Shear With ACS Pure Parallels. Targeted Portion.ACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5245.91509927039274-26.511944807804138--------0.09686500395130701650.0900.00000000000011100.0200.0F775W;CLEAR2L
j8fe01rjq2002-07-14 06:31:46.7472002-07-14 06:37:47.79752469.18873549768652469.19291431713360.02002-07-14 15:14:42.0rj8fe01HSTscience0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=52469.19291431713|EXPSTART=52469.188735497686|EXPTIME=360.0|FILTER=F775W;CLEAR2L|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST SingletonFalseNGC6121-CALIBBROAD_CATEGORY=CALIBRATION;STELLAR CLUSTER|TARGET_DESCRIP=CALIBRATION;POINT SPREAD FUNCTION;;STELLAR CLUSTER;GLOBULAR CLUSTER9578Rhodes, Jason D.Cosmic Shear With ACS Pure Parallels. Targeted Portion.ACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5245.91509423130802-26.51193575420048--------0.08297739536729412650.0900.00000000000011100.0200.0F775W;CLEAR2L
j8fe020102003-01-19 20:20:31.9872003-01-19 20:52:09.03352658.80592577546552658.827882326391440.02003-01-20 16:49:40.0018fe02HSTscience4APERTURE=WFC|DETECTOR=WFC|EXPEND=52658.82788232639|EXPSTART=52658.805925775465|EXPTIME=1440.0|FILTER=F775W;CLEAR2L|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST CompositeFalseNGC6121-CALIBBROAD_CATEGORY=CALIBRATION;STELLAR CLUSTER|TARGET_DESCRIP=CALIBRATION;POINT SPREAD FUNCTION;;STELLAR CLUSTER;GLOBULAR CLUSTER9578Rhodes, Jason D.Cosmic Shear With ACS Pure Parallels. Targeted Portion.ACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5245.9226371812945-26.513059323931415--------0.09686412637242661650.0900.00000000000011100.0200.0F775W;CLEAR2L
j8fe02b8q2003-01-19 20:55:02.0032003-01-19 21:01:03.0552658.82988429398452658.834063078706360.02003-01-20 17:01:18.0b88fe02HSTscience0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=52658.834063078706|EXPSTART=52658.829884293984|EXPTIME=360.0|FILTER=F775W;CLEAR2L|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST SingletonFalseNGC6121-CALIBBROAD_CATEGORY=CALIBRATION;STELLAR CLUSTER|TARGET_DESCRIP=CALIBRATION;POINT SPREAD FUNCTION;;STELLAR CLUSTER;GLOBULAR CLUSTER9578Rhodes, Jason D.Cosmic Shear With ACS Pure Parallels. Targeted Portion.ACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5245.9226281610362-26.513353764583936--------0.0829875886918155650.0900.00000000000011100.0200.0F775W;CLEAR2L
j8fe030102003-06-19 05:57:00.332003-06-19 07:43:53.34752809.1645871527852809.238811886571440.02003-06-19 13:25:30.0018fe03HSTscience4APERTURE=WFC|DETECTOR=WFC|EXPEND=52809.23881188657|EXPSTART=52809.16458715278|EXPTIME=1440.0|FILTER=F775W;CLEAR2L|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST CompositeFalseNGC6121-CALIBBROAD_CATEGORY=CALIBRATION;STELLAR CLUSTER|TARGET_DESCRIP=CALIBRATION;POINT SPREAD FUNCTION;;STELLAR CLUSTER;GLOBULAR CLUSTER9578Rhodes, Jason D.Cosmic Shear With ACS Pure Parallels. Targeted Portion.ACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5245.9149289960707-26.51277138218235--------0.09687413859035743650.0900.00000000000011100.0200.0F775W;CLEAR2L
j8fe03wwq2003-06-19 07:46:46.3132003-06-19 07:52:47.36352809.2408138078752809.24499262732360.02003-06-19 13:37:50.0ww8fe03HSTscience0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=52809.24499262732|EXPSTART=52809.24081380787|EXPTIME=360.0|FILTER=F775W;CLEAR2L|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST SingletonFalseNGC6121-CALIBBROAD_CATEGORY=CALIBRATION;STELLAR CLUSTER|TARGET_DESCRIP=CALIBRATION;POINT SPREAD FUNCTION;;STELLAR CLUSTER;GLOBULAR CLUSTER9578Rhodes, Jason D.Cosmic Shear With ACS Pure Parallels. Targeted Portion.ACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5245.91492327211063-26.512771754495258--------0.08297698343433946650.0900.00000000000011100.0200.0F775W;CLEAR2L
j8f561qeq2002-07-14 04:06:39.742002-07-14 04:23:21.04352469.087959953752469.0995491087961000.02002-07-14 07:41:42.0qe8f561HSTcalibration0APERTURE=JHRC|ASNID=NONE|DETECTOR=HRC|EXPEND=52469.099549108796|EXPSTART=52469.0879599537|EXPTIME=1000.0|FILTER=F850LP;CLEAR2S|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseDARK9558Clampin, MarkACS weekly TestACS/HRCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.85133975373262-26.517215092640527--------0.011584692612252213650.0900.00000000000011100.0200.0F850LP;CLEAR2S
o69d8ya1q2001-02-05 01:30:10.0454412001-02-05 01:48:30.0470451945.020949651945.03368111100.02001-02-05 14:39:48.0a169d8yHSTcalibration0APERTURE=F28X50LP|ASNID=NONE|DETECTOR=CCD|EXPEND=51945.0336811|EXPSTART=51945.0209496|EXPTIME=1100.0|FILTER=MIRVIS|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST SingletonFalseDARK8837Dressel, Linda L.CCD Dark Monitor-Part 1STIS/CCDCAL_VER=3.4.2 (19-Jan-2018)|CRDS_VER=7.1.5, 7.1.5, 3548bc1|CSYS_VER=hstdp-2018.1|OPUS_VER=HSTDP 2018_2aspectrumCAL_VER=3.4.2 (19-Jan-2018)|CRDS_VER=7.1.5, 7.1.5, 3548bc1|CSYS_VER=hstdp-2018.1|OPUS_VER=HSTDP 2018_2a245.91681393131603-26.473052306968977--------0.02040343278804648--------MIRVIS
u68v4y01r2001-01-31 01:50:13.1772001-01-31 02:06:53.17751940.034874733851940.046448807871000.02001-01-31 14:53:29.00168v4yHSTcalibration0ASNID=NONE|DETECTOR=1|EXPEND=51940.04644880787|EXPSTART=51940.0348747338|EXPTIME=1000.0|FILTER=F1042M;F437NHST SingletonFalseDARK8827Casertano, StefanoWFPC2 CYCLE 9 SUPPLEMENTAL DARKS pt2/3WFPC2CAL_VER=2.5.3 (Sep 4, 2008)|OPUS_VER=OPUS 2009_1imageCAL_VER=2.5.3 (Sep 4, 2008)|OPUS_VER=OPUS 2009_1245.98476809877795-26.54116517331438--------0.062556579529041411022.044985000000144.8900099999999541044.48999999.5999800000001F1042M
...............................................................................................................
j92102efq2004-07-26 21:14:54.8499992004-07-26 21:15:35.89753212.8020237268553212.8024988078740.02005-07-27 10:11:36.0ef92102HSTscience0APERTURE=JWFCENTER|ASNID=NONE|DETECTOR=WFC|EXPEND=53212.80249880787|EXPSTART=53212.80202372685|EXPTIME=40.0|FILTER=CLEAR1L;F435W|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST SingletonFalseNGC6121BROAD_CATEGORY=STELLAR CLUSTER|TARGET_DESCRIP=STELLAR CLUSTER;GLOBULAR CLUSTER10120Anderson, Scott F.The Formation Histories and Dynamical Roles of X-ray Binaries in Globular ClustersACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5245.88838708395343-26.517576226966--------0.08297714280398215650.0900.00000000000011100.0200.0CLEAR1L;F435W
j8tlftmkq2004-07-25 10:26:44.8672004-07-25 10:42:39.1353211.3519081828753211.36295289352953.02004-07-25 19:50:09.0mk8tlftHSTcalibration0APERTURE=JHRC|ASNID=NONE|DETECTOR=HRC|EXPEND=53211.36295289352|EXPSTART=53211.35190818287|EXPTIME=953.0|FILTER=F775W;F330W|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseDARK10061Riess, AdamCCD Daily MonitorACS/HRCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.85345726621475-26.52897559180418--------0.011585273122185023580.0560.0860.0300.0F775W;F330W
j8tlftmjq2004-07-25 10:26:41.8572004-07-25 10:43:22.90753211.3518733449153211.363459571761000.02004-07-25 19:50:32.0mj8tlftHSTcalibration0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=53211.36345957176|EXPSTART=53211.35187334491|EXPTIME=1000.0|FILTER=F502N;F660N|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseDARK10061Riess, AdamCCD Daily MonitorACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.90439366129075-26.50978870413543--------0.06598437839768923580.1999950000001161.60001661.0499.39999F502N;F660N
j8tlfye9q2004-07-26 19:59:09.8569992004-07-26 20:15:50.90700153212.749419641253212.761005868061000.02004-07-27 05:24:18.0e98tlfyHSTcalibration0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=53212.76100586806|EXPSTART=53212.7494196412|EXPTIME=1000.0|FILTER=F502N;F660N|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseDARK10061Riess, AdamCCD Daily MonitorACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.87276393133976-26.5168819992417--------0.06598421843457067580.1999950000001161.60001661.0499.39999F502N;F660N
j8tlfzenq2004-07-26 23:06:03.8429992004-07-26 23:22:44.92299953212.8792111458353212.8907977199051000.02004-07-27 10:02:30.0en8tlfzHSTcalibration0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=53212.890797719905|EXPSTART=53212.87921114583|EXPTIME=1000.0|FILTER=F502N;F660N|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseDARK10061Riess, AdamCCD Daily MonitorACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.87182943142184-26.51689899928091--------0.06598471095922018580.1999950000001161.60001661.0499.39999F502N;F660N
j8tlidxfq2004-08-05 16:46:00.8672004-08-05 16:46:00.86753222.615287812553222.61528781250.02004-08-06 14:53:38.0xf8tlidHSTcalibration0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=53222.61518475694|EXPSTART=53222.6152878125|EXPTIME=0.0|FILTER=F502N;F660N|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseBIAS10061Riess, AdamCCD Daily MonitorACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.90496601034272-26.508017657950305--------0.06598380039653215580.1999950000001161.60001661.0499.39999F502N;F660N
j8tlivfhq2004-08-08 10:43:42.852004-08-08 10:43:42.8553225.3636903935253225.363690393520.02004-08-08 20:44:30.0fh8tlivHSTcalibration0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=53225.36358769676|EXPSTART=53225.36369039352|EXPTIME=0.0|FILTER=F502N;F660N|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseBIAS10061Riess, AdamCCD Daily MonitorACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.90496127013012-26.507972510019187--------0.06598336731038754580.1999950000001161.60001661.0499.39999F502N;F660N
j8tlivfiq2004-08-08 10:49:56.8672004-08-08 10:49:56.86753225.3680192939853225.368019293980.02004-08-08 20:44:57.0fi8tlivHSTcalibration0APERTURE=JHRC|ASNID=NONE|DETECTOR=HRC|EXPEND=53225.36800883102|EXPSTART=53225.36801929398|EXPTIME=0.0|FILTER=F775W;F330W|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseBIAS10061Riess, AdamCCD Daily MonitorACS/HRCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.8514871786071-26.520454326973862--------0.011584503825593288580.0560.0860.0300.0F775W;F330W
j8tljbclq2004-08-09 10:42:59.8432004-08-09 10:42:59.84353226.36319262731653226.3631926273160.02004-08-09 18:39:34.0cl8tljbHSTcalibration0APERTURE=JWFC|ASNID=NONE|DETECTOR=WFC|EXPEND=53226.36308993056|EXPSTART=53226.363192627316|EXPTIME=0.0|FILTER=F502N;F660N|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseBIAS10061Riess, AdamCCD Daily MonitorACS/WFCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.90496496409034-26.507968898122314--------0.06598467831096654580.1999950000001161.60001661.0499.39999F502N;F660N
j8tljbcmq2004-08-09 10:49:13.8572004-08-09 10:49:13.85753226.36752149305553226.3675214930550.02004-08-09 18:40:04.0cm8tljbHSTcalibration0APERTURE=JHRC|ASNID=NONE|DETECTOR=HRC|EXPEND=53226.36751103009|EXPSTART=53226.367521493055|EXPTIME=0.0|FILTER=F775W;F330W|OBSMODE=ACCUM|OBSTYPE=INTERNALHST SingletonFalseBIAS10061Riess, AdamCCD Daily MonitorACS/HRCCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5imageCRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|OPUS_VER=HSTDP 2019_5245.85149125648627-26.5204510927491--------0.011585200218395373580.0560.0860.0300.0F775W;F330W

The following performs a query to find all HST WFC3 images in filter F814W and with intent = SCIENCE:

In [4]:
criteria = esahubble.query_criteria(calibration_level = 3, \
                                    data_product_type = 'image', \
                                    intent='SCIENCE', \
                                    obs_collection=['HST'], \
                                    instrument_name = ['WFC3'], \
                                    filters = ['F814W'], \
                                    async_job = True, \
                                    output_file = 'output1.vot.gz', \
                                    output_format="votable", \
                                    verbose = True, \
                                    get_query = False)
criteria
Saving results to: output1.vot.gz
INFO: select o.*, p.calibration_level, p.data_product_type from ehst.observation AS o LEFT JOIN ehst.plane as p on o.observation_uuid=p.observation_uuid where(p.calibration_level LIKE '%PRODUCT%' AND p.data_product_type LIKE '%image%' AND o.intent LIKE '%SCIENCE%' AND (o.collection LIKE '%HST%') AND (o.instrument_name LIKE '%WFC3%') AND (o.instrument_configuration LIKE '%F814W%')) [astroquery.esa.hubble.core]
Out[4]:
Table length=10667
algorithm_namecollectionend_timeend_time_mjdexposure_durationinstrument_configurationinstrument_nameintentmembersmembers_numberobservation_idobservation_uuidobs_typeobs_type_hibernatepi_nameprogram_idproposal_idrelease_daterun_idset_idstart_timestart_time_mjdtarget_descriptiontarget_movingtarget_namecalibration_leveldata_product_type
objectobjectstr1float64float64objectobjectobjectobjectint64objectobjectobjectstr1objectobjectobjectstr1objectobjectstr1float64objectboolobjectobjectobject
exposureHST257233.44772280093165.0APERTURE=IUVIS|ASNID=NONE|DETECTOR=UVIS|EXPEND=57233.44772280093|EXPSTART=57233.44581304398|EXPTIME=165.0|FILTER=F814W|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISscience0icp011teq00000000-0000-0000-b821-31e4781266e6HST SingletonSKoch, Andreascp0137582te11257233.44581304398BROAD_CATEGORY=STAR|TARGET_DESCRIP=STAR;BULGEFalseBULGE-SWEEPSPRODUCTimage
multidrizzleHST257289.151566785700.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57289.15156678|EXPSTART=57289.05385847|EXPTIME=5700.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13701_08_wfc3_uvis_f814w_ick808qh caom:HST/hst_13701_08_wfc3_uvis_f814w_ick808qj caom:HST/hst_13701_08_wfc3_uvis_f814w_ick808qm caom:HST/hst_13701_08_wfc3_uvis_f814w_ick808qq4hst_13701_08_wfc3_uvis_f814w_ick80800000000-0000-0000-b9be-3f46afb18208HAP CompositeCMihos, Chrisst_1370127013257289.05385847FalseM101-NE-PLUMEPRODUCTimage
multidrizzleHST257119.792685221316.0APERTURE=UVIS|DETECTOR=UVIS|EXPEND=57119.79268522|EXPSTART=57119.77594914|EXPTIME=1316.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13682_06_wfc3_uvis_f814w_icjr06kh caom:HST/hst_13682_06_wfc3_uvis_f814w_icjr06kk2hst_13682_06_wfc3_uvis_f814w_icjr0600000000-0000-0000-80ad-a66080a9016aHAP CompositeCvan Dokkum, Pieterst_1368226813257119.77594914FalseANYPRODUCTimage
multidrizzleHST257036.69247503300.0APERTURE=UVIS1|DETECTOR=UVIS|EXPEND=57036.69247503|EXPSTART=57036.68900264|EXPTIME=300.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13643_04_wfc3_uvis_f814w_icjg04p71hst_13643_04_wfc3_uvis_f814w_icjg0400000000-0000-0000-9324-7c501bbbcd8aHAP CompositeCDuchene, Gaspardst_1364326413257036.68900264FalseSSTGBSJ111110.7-764157PRODUCTimage
multidrizzleHST257165.858427411100.0APERTURE=UVIS|DETECTOR=UVIS|EXPEND=57165.85842741|EXPSTART=57165.84569614|EXPTIME=1100.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13787_02_wfc3_uvis_f814w_ickj02gf1hst_13787_02_wfc3_uvis_f814w_ickj0200000000-0000-0000-aee8-accc392f2be6HAP CompositeCSmith, Nathanst_1378727813257165.84569614FalseSN2009IPPRODUCTimage
multidrizzleHST257124.54518522954.0APERTURE=UVIS|DETECTOR=UVIS|EXPEND=57124.54518522|EXPSTART=57124.5326621|EXPTIME=954.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13646_20_wfc3_uvis_f814w_ick420i7 caom:HST/hst_13646_20_wfc3_uvis_f814w_ick420i92hst_13646_20_wfc3_uvis_f814w_ick42000000000-0000-0000-8663-165164371adaHAP CompositeCFoley, Ryanst_1364626413257124.5326621FalseANYPRODUCTimage
multidrizzleHST257488.03109727976.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57488.03109727|EXPSTART=57487.99009044|EXPTIME=976.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13646_43_wfc3_uvis_f814w_ick443tm caom:HST/hst_13646_43_wfc3_uvis_f814w_ick443tv2hst_13646_43_wfc3_uvis_f814w_ick44300000000-0000-0000-bb9b-fd014e837a11HAP CompositeCFoley, Ryanst_1364626413257487.99009044FalseNGC2442PRODUCTimage
multidrizzleHST257290.667238265700.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57290.66723826|EXPSTART=57290.46165958|EXPTIME=5700.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13701_10_wfc3_uvis_f814w_ick810y3 caom:HST/hst_13701_10_wfc3_uvis_f814w_ick810y5 caom:HST/hst_13701_10_wfc3_uvis_f814w_ick810y8 caom:HST/hst_13701_10_wfc3_uvis_f814w_ick810yc4hst_13701_10_wfc3_uvis_f814w_ick81000000000-0000-0000-9015-176a84217e1cHAP CompositeCMihos, Chrisst_1370127013257290.46165958FalseM101-NE-PLUMEPRODUCTimage
multidrizzleHST257290.855883825700.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57290.85588382|EXPSTART=57290.72634699|EXPTIME=5700.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13701_11_wfc3_uvis_f814w_ick811yk caom:HST/hst_13701_11_wfc3_uvis_f814w_ick811ym caom:HST/hst_13701_11_wfc3_uvis_f814w_ick811yp caom:HST/hst_13701_11_wfc3_uvis_f814w_ick811yt4hst_13701_11_wfc3_uvis_f814w_ick81100000000-0000-0000-bf78-a14f7b947185HAP CompositeCMihos, Chrisst_1370127013257290.72634699FalseM101-NE-PLUMEPRODUCTimage
drizzleHST257232.61838244213330.0APERTURE=UVIS|DETECTOR=UVIS|EXPEND=57232.61838244213|EXPSTART=57232.58481782408|EXPTIME=330.0|FILTER=F814W|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/icp009orq caom:HST/icp009p0q2icp00901000000000-0000-0000-bc5a-9ce59b91a217HST CompositeSKoch, Andreascp01375820109257232.58481782408BROAD_CATEGORY=STAR|TARGET_DESCRIP=STAR;BULGEFalseBULGE-SWEEPSPRODUCTimage
.................................................................................
multidrizzleHST257435.91707951976.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57435.91707951|EXPSTART=57435.90430194|EXPTIME=976.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13646_35_wfc3_uvis_f814w_ick435os caom:HST/hst_13646_35_wfc3_uvis_f814w_ick435ou2hst_13646_35_wfc3_uvis_f814w_ick43500000000-0000-0000-896d-94bba87d24e4HAP CompositeCFoley, Ryanst_1364626413257435.90430194FalseNGC2442PRODUCTimage
multidrizzleHST257116.066620411316.0APERTURE=UVIS|DETECTOR=UVIS|EXPEND=57116.06662041|EXPSTART=57116.00747691|EXPTIME=1316.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13682_01_wfc3_uvis_f814w_icjr01du caom:HST/hst_13682_01_wfc3_uvis_f814w_icjr01e22hst_13682_01_wfc3_uvis_f814w_icjr0100000000-0000-0000-b5c0-7d04bdc3c205HAP CompositeCvan Dokkum, Pieterst_1368226813257116.00747691FalseANYPRODUCTimage
multidrizzleHST257114.156608931316.0APERTURE=UVIS|DETECTOR=UVIS|EXPEND=57114.15660893|EXPSTART=57114.13987284|EXPTIME=1316.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13682_07_wfc3_uvis_f814w_icjr07tq caom:HST/hst_13682_07_wfc3_uvis_f814w_icjr07tt2hst_13682_07_wfc3_uvis_f814w_icjr0700000000-0000-0000-bc61-04ae86d6013dHAP CompositeCvan Dokkum, Pieterst_1368226813257114.13987284FalseANYPRODUCTimage
multidrizzleHST257009.44585361300.0APERTURE=UVIS1|DETECTOR=UVIS|EXPEND=57009.44585361|EXPSTART=57009.44238159|EXPTIME=300.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13643_01_wfc3_uvis_f814w_icjg01uw1hst_13643_01_wfc3_uvis_f814w_icjg0100000000-0000-0000-a508-08b5026d8cb3HAP CompositeCDuchene, Gaspardst_1364326413257009.44238159FalseNAME-HK-TAU-BPRODUCTimage
multidrizzleHST256933.18600227300.0APERTURE=UVIS1|DETECTOR=UVIS|EXPEND=56933.18600227|EXPSTART=56933.18252989|EXPTIME=300.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13643_03_wfc3_uvis_f814w_icjg03zk1hst_13643_03_wfc3_uvis_f814w_icjg0300000000-0000-0000-86f9-90c07d161a43HAP CompositeCDuchene, Gaspardst_1364326413256933.18252989FalseSSTC2DJ163131.2-242627PRODUCTimage
multidrizzleHST257292.000409375700.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57292.00040937|EXPSTART=57291.90168254|EXPTIME=5700.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13701_13_wfc3_uvis_f814w_ick813gs caom:HST/hst_13701_13_wfc3_uvis_f814w_ick813gu caom:HST/hst_13701_13_wfc3_uvis_f814w_ick813gx caom:HST/hst_13701_13_wfc3_uvis_f814w_ick813h14hst_13701_13_wfc3_uvis_f814w_ick81300000000-0000-0000-bc56-c57c06913beaHAP CompositeCMihos, Chrisst_1370127013257291.90168254FalseM101-NE-PLUMEPRODUCTimage
multidrizzleHST257377.931638521100.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57377.93163852|EXPSTART=57377.9174254|EXPTIME=1100.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13765_03_wfc3_uvis_f814w_icjs03fs caom:HST/hst_13765_03_wfc3_uvis_f814w_icjs03fu2hst_13765_03_wfc3_uvis_f814w_icjs0300000000-0000-0000-a6a6-d6c2a53ac160HAP CompositeCPeterson, Bradley Mst_1376527613257377.9174254FalseNGC-4151PRODUCTimage
multidrizzleHST257117.138738561316.0APERTURE=UVIS|DETECTOR=UVIS|EXPEND=57117.13873856|EXPSTART=57117.12200247|EXPTIME=1316.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13682_03_wfc3_uvis_f814w_icjr03io caom:HST/hst_13682_03_wfc3_uvis_f814w_icjr03ir2hst_13682_03_wfc3_uvis_f814w_icjr0300000000-0000-0000-ac49-ed6906c9696dHAP CompositeCvan Dokkum, Pieterst_1368226813257117.12200247FalseANYPRODUCTimage
multidrizzleHST257291.271659375700.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57291.27165937|EXPSTART=57291.17314106|EXPTIME=5700.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13701_09_wfc3_uvis_f814w_ick809e1 caom:HST/hst_13701_09_wfc3_uvis_f814w_ick809e3 caom:HST/hst_13701_09_wfc3_uvis_f814w_ick809e6 caom:HST/hst_13701_09_wfc3_uvis_f814w_ick809ea4hst_13701_09_wfc3_uvis_f814w_ick80900000000-0000-0000-8a85-2daaefb94205HAP CompositeCMihos, Chrisst_1370127013257291.17314106FalseM101-NE-PLUMEPRODUCTimage
multidrizzleHST257185.461795561080.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=57185.46179556|EXPSTART=57185.44781391|EXPTIME=1080.0|FILTER=F814W|IMAGETYP=EXT|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/hst_13647_09_wfc3_uvis_f814w_icjf09b8 caom:HST/hst_13647_09_wfc3_uvis_f814w_icjf09ba2hst_13647_09_wfc3_uvis_f814w_icjf0900000000-0000-0000-9de9-f3d59301d4bcHAP CompositeCFoley, Ryanst_1364726413257185.44781391FalseNGC3972PRODUCTimage

Perform a join on the 2 tables to find the M4 WFC3 images in filter F814W. Firstly, rename the column 'OBSERVATION_ID' to 'observation_id' in the table cone:

In [5]:
cone.rename_column('OBSERVATION_ID','observation_id')
In [6]:
from astropy.table import join
final = join(cone, criteria, keys='observation_id')
final
Out[6]:
Table length=2
observation_idSTART_TIMEEND_TIMESTART_TIME_MJDEND_TIME_MJDEXPOSURE_DURATIONRELEASE_DATERUN_IDPROGRAM_IDSET_IDCOLLECTIONINTENTMEMBERS_NOINSTRUMENT_CONFIGURATIONTYPEMOVING_TARGETTARGET_NAMETARGET_DESCRIPTIONPROPOSAL_IDPI_NAMEPROPOSAL_TITLEINSTRUMENT_NAMEMETADATA_PROVENANCEDATA_PRODUCT_TYPESOFTWARE_VERSIONRADECGAL_LATGAL_LONECL_LATECL_LONFOV_SIZEWAVE_CENTRALWAVE_BANDWIDTHWAVE_MAXWAVE_MINFILTERalgorithm_namecollectionend_timeend_time_mjdexposure_durationinstrument_configurationinstrument_nameintentmembersmembers_numberobservation_uuidobs_typeobs_type_hibernatepi_nameprogram_idproposal_idrelease_daterun_idset_idstart_timestart_time_mjdtarget_descriptiontarget_movingtarget_namecalibration_leveldata_product_type
iso-8601iso-8601iso-8601
objectobjectobjectfloat64float64float64objectobjectobjectobjectobjectobjectint32objectobjectboolobjectobjectobjectobjectobjectobjectobjectobjectobjectfloat64float64float64float64float64float64float64float64float64float64float64objectobjectobjectstr1float64float64objectobjectobjectobjectint64objectobjectstr1objectobjectobjectstr1objectobjectstr1float64objectboolobjectobjectobject
ibj2010102011-02-23 10:38:13.7132011-02-23 13:51:24.70355615.4015476041755615.535702581015100.02012-02-23 18:43:09.001bj201HSTscience2APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=55615.535702581015|EXPSTART=55615.40154760417|EXPTIME=100.0|FILTER=F814W|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST CompositeFalseM4FROMGO10146BROAD_CATEGORY=STELLAR CLUSTER|TARGET_DESCRIP=STELLAR CLUSTER;GLOBULAR CLUSTER12311Piotto, GiampaoloMultiple Stellar Populations in Galactic Globular ClustersWFC3/UVISCAL_VER=3.5.0(Oct-09-2018)|CRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5|OPUS_VER=HSTDP 2019_5imageCAL_VER=3.5.0(Oct-09-2018)|CRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5|OPUS_VER=HSTDP 2019_5245.92480094339106-26.514541698465095--------0.06845802107587254831.850005258.70000999999996961.20001702.5F814WdrizzleHST255615.535702581015100.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=55615.535702581015|EXPSTART=55615.40154760417|EXPTIME=100.0|FILTER=F814W|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/ibj201p1q caom:HST/ibj201pcq200000000-0000-0000-b999-82fcc8e6728eHST CompositeSPiotto, Giampaolobj21231120101255615.40154760417BROAD_CATEGORY=STELLAR CLUSTER|TARGET_DESCRIP=STELLAR CLUSTER;GLOBULAR CLUSTERFalseM4FROMGO10146PRODUCTimage
ibj2020102011-08-28 12:53:53.112011-08-28 14:28:28.155801.45408692129455801.51976967593100.02012-08-28 16:39:58.001bj202HSTscience2APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=55801.51976967593|EXPSTART=55801.454086921294|EXPTIME=100.0|FILTER=F814W|OBSMODE=ACCUM|OBSTYPE=IMAGINGHST CompositeFalseM4FROMGO10146BROAD_CATEGORY=STELLAR CLUSTER|TARGET_DESCRIP=STELLAR CLUSTER;GLOBULAR CLUSTER12311Piotto, GiampaoloMultiple Stellar Populations in Galactic Globular ClustersWFC3/UVISCAL_VER=3.5.0(Oct-09-2018)|CRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5|OPUS_VER=HSTDP 2019_5imageCAL_VER=3.5.0(Oct-09-2018)|CRDS_VER=7.3.3, 7.3.3, 0739f7565259bc3e4946dbcda5e292149972b5ab|CSYS_VER=hstdp-2019.5|OPUS_VER=HSTDP 2019_5245.92411914673613-26.513398310731773--------0.06844192352393076831.850005258.70000999999996961.20001702.5F814WdrizzleHST255801.51976967593100.0APERTURE=UVIS-CENTER|DETECTOR=UVIS|EXPEND=55801.51976967593|EXPSTART=55801.454086921294|EXPTIME=100.0|FILTER=F814W|OBSMODE=ACCUM|OBSTYPE=IMAGINGWFC3/UVISsciencecaom:HST/ibj202o5q caom:HST/ibj202ogq200000000-0000-0000-a9ce-5e79c721ed54HST CompositeSPiotto, Giampaolobj21231120102255801.454086921294BROAD_CATEGORY=STELLAR CLUSTER|TARGET_DESCRIP=STELLAR CLUSTER;GLOBULAR CLUSTERFalseM4FROMGO10146PRODUCTimage

Step 3. Download and visualise an image.

Download and visualise one of the M4 WFC3 F814W images:

In [7]:
# WFC3/UVIS image, F814W filter:
esahubble.get_artifact("ibj202010_DRZ.FITS")
Downloading URL http://archives.esac.esa.int/ehst-sl-server/servlet/data-action to /Users/dbaines/.astropy/cache/astroquery/ESAHubble/data-action ... [Done]
In [8]:
%matplotlib inline
import matplotlib.pyplot as plt
from matplotlib.colors import LogNorm
from astropy.io import fits
from astropy import visualization

image_file = "ibj202010_DRZ.FITS"
In [9]:
# Check the headers
hdu_list = fits.open(image_file)
hdu_list.info()
hdu_list[0].header
Filename: ibj202010_DRZ.FITS
No.    Name      Ver    Type      Cards   Dimensions   Format
  0  PRIMARY       1 PrimaryHDU     845   ()      
  1  SCI           1 ImageHDU        93   (4266, 4526)   float32   
  2  WHT           1 ImageHDU        45   (4266, 4526)   float32   
  3  CTX           1 ImageHDU        40   (4266, 4526)   int32   
  4  HDRTAB        1 BinTableHDU    559   4R x 275C   [9A, 3A, K, D, D, D, D, D, D, D, D, D, D, D, D, K, 11A, 9A, 7A, 18A, 4A, D, D, D, D, 3A, D, D, D, D, D, D, D, D, D, D, D, D, K, K, 8A, 23A, D, D, D, D, K, K, 8A, 23A, 9A, 18A, 4A, K, D, D, D, K, K, K, K, 23A, D, D, D, D, K, K, 4A, 3A, 4A, L, D, D, D, 23A, 1A, K, D, D, D, 4A, 1A, 12A, 12A, 8A, 23A, D, D, 10A, 10A, D, D, D, 4A, 3A, 3A, 4A, 8A, 7A, D, K, D, 6A, 9A, 8A, D, D, 4A, 18A, 3A, K, 5A, 4A, D, 13A, 8A, 4A, 3A, D, D, D, 3A, 1A, D, 23A, D, D, D, 3A, L, 1A, 4A, D, 3A, 6A, D, D, D, D, D, 23A, D, D, D, D, D, 1A, K, K, K, K, D, 3A, K, D, 5A, 7A, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, D, 12A, D, 24A, 23A, D, 1A, 1A, D, K, D, D, 1A, 1A, D, D, D, D, D, D, D, D, D, D, D, 4A, D, K, 23A, D, 8A, D, D, 31A, D, D, L, D, D, 9A, 6A, 1A, 4A, D, 1A, K, 1A, 1A, 1A, 1A, D, D, D, D, D, D, 4A, D, D, D, D, D, D, D, D, D, D, D, D, 4A, K, 4A, 3A, 1A, L, K, K, 1A, D, D, D, D, K, L, 6A, L, D, D, D, 1A, 13A, D, 3A, 8A, D, D, K, D, 29A, D, D]   
Out[9]:
SIMPLE  =                    T / conforms to FITS standard                      
BITPIX  =                    8 / array data type                                
NAXIS   =                    0 / number of array dimensions                     
EXTEND  =                    T                                                  
COMMENT   FITS (Flexible Image Transport System) format is defined in 'Astronomy
COMMENT   and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H 
NEXTEND =                    4 / Number of standard extensions                  
FILENAME= 'ibj202010_drz.fits' / name of file                                   
FILETYPE= 'SCI      '          / type of data found in data file                
                                                                                
TELESCOP= 'HST'                / telescope used to acquire data                 
INSTRUME= 'WFC3  '             / identifier for instrument used to acquire data 
EQUINOX =               2000.0 / equinox of celestial coord. system             
                                                                                
              / DATA DESCRIPTION KEYWORDS                                       
                                                                                
ROOTNAME= 'ibj202010'          / rootname of the observation set                
IMAGETYP= 'EXT               ' / type of exposure identifier                    
PRIMESI = 'WFC3  '             / instrument designated as prime                 
                                                                                
              / TARGET INFORMATION                                              
                                                                                
TARGNAME= 'M4FROMGO10146                  ' / proposer's target name            
RA_TARG =   2.459245416667E+02 / right ascension of the target (deg) (J2000)    
DEC_TARG=  -2.651388888889E+01 / declination of the target (deg) (J2000)        
                                                                                
              / PROPOSAL INFORMATION                                            
                                                                                
PROPOSID=                12311 / PEP proposal identifier                        
LINENUM = '02.001         '    / proposal logsheet line number                  
PR_INV_L= 'Piotto                        ' / last name of principal investigator
PR_INV_F= 'Giampaolo           ' / first name of principal investigator         
PR_INV_M= '                    ' / middle name / initial of principal investigat
                                                                                
              / EXPOSURE INFORMATION                                            
                                                                                
SUNANGLE=            93.855843 / angle between sun and V1 axis                  
MOONANGL=           102.736740 / angle between moon and V1 axis                 
FGSLOCK = 'FINE              ' / commanded FGS lock (FINE,COARSE,GYROS,UNKNOWN) 
GYROMODE= 'T'                  / number of gyros scheduled, T=3+OBAD            
REFFRAME= 'ICRS    '           / guide star catalog version                     
MTFLAG  = ' '                  / moving target flag; T if it is a moving target 
                                                                                
DATE-OBS= '2011-08-28'         / UT date of start of observation (yyyy-mm-dd)   
TIME-OBS= '10:53:53'           / UT time of start of observation (hh:mm:ss)     
EXPSTART=   5.580145408691E+04 / exposure start time (Modified Julian Date)     
EXPEND  =       55801.51976966 / exposure end time (Modified Julian Date)       
EXPTIME =                100.0 / exposure duration (seconds)--calculated        
TEXPTIME=                100.0                                                  
EXPFLAG = 'NORMAL       '      / Exposure interruption indicator                
QUALCOM1= '                                                                    '
QUALCOM2= '                                                                    '
QUALCOM3= '                                                                    '
QUALITY = '                                                                    '
                                                                                
DARKTIME=            53.731296 / fiducial pixel dark time (secs)                
                                                                                
              / POINTING INFORMATION                                            
                                                                                
PA_V3   =           260.001190 / position angle of V3-axis of HST (deg)         
                                                                                
              / TARGET OFFSETS (POSTARGS)                                       
                                                                                
                                                                                
              / DIAGNOSTIC KEYWORDS                                             
                                                                                
OPUS_VER= 'HSTDP 2020_6      ' / data processing software system version        
CSYS_VER= 'caldp_20201208'     / Calibration software system version id         
CAL_VER = '3.5.2(Aug-12-2020)' / CALWF3 code version                            
PROCTIME=   5.922558766204E+04 / Pipeline processing time (MJD)                 
                                                                                
              / SCIENCE INSTRUMENT CONFIGURATION                                
                                                                                
OBSTYPE = 'IMAGING       '     / observation type - imaging or spectroscopic    
OBSMODE = 'ACCUM     '         / operating mode                                 
CTEIMAGE= '    '               / type of Charge Transfer Image, if applicable   
SCLAMP  = 'NONE          '     / lamp status, NONE or name of lamp which is on  
NRPTEXP =                    1 / number of repeat exposures in set: default 1   
SUBARRAY=                    F / data from a subarray (T) or full frame (F)     
DETECTOR= 'UVIS'               / detector in use: UVIS or IR                    
FILTER  = 'F814W  '            / element selected from filter wheel             
APERTURE= 'UVIS-CENTER     '   / aperture name                                  
PROPAPER= '                '   / proposed aperture name                         
DIRIMAGE= 'NONE     '          / direct image for grism or prism exposure       
CTEDIR  = 'NONE    '           / CTE measurement direction: serial or parallel  
CRSPLIT =                    1 / number of cosmic ray split exposures           
                                                                                
              / CTE CORRECTION PARAMETERS                                       
                                                                                
CTE_NAME= '                       ' / Name of the CTE algorithm                 
CTE_VER = '                       ' / Version number of the CTE algorithm       
CTEDATE0=   0.000000000000E+00 / Date of WFC3/UVIS installation in HST (MJD)    
CTEDATE1=   0.000000000000E+00 / Reference date of CTE model pinning (MJD)      
PCTETLEN=   0.000000000000E+00 / Maximum length of CTE trail                    
PCTERNOI=   0.000000000000E+00 / Read noise amplitude                           
PCTENFOR=                    0 / Number iterations used in CTE forward modeling 
PCTENPAR=                    0 / Number of iterations used in parallel transfer 
PCTEFRAC=   0.000000000000E+00 / Scaling of CTE model (relative to CTEDATE1)    
PCTENSMD=                    0 / Read noise mitigation algorithm                
PCTETRSH=   0.000000000000E+00 / Over-subtraction threshold                     
FIXROCR =                    0 / Fix readout cosmic rays                        
                                                                                
              / SCAN KEYWORDS                                                   
                                                                                
SCAN_TYP= 'N                 ' / C:bostrophidon; D:C with dwell; N:N/A          
SCAN_WID=   0.000000000000E+00 / scan width (arcsec)                            
ANG_SIDE=   0.000000000000E+00 / angle between sides of parallelogram (deg)     
DWELL_LN=                    0 / dwell pts/line for scan pointing (1-99,0 if NA)
DWELL_TM=   0.000000000000E+00 / wait time (duration) at each dwell point (sec) 
SCAN_ANG=   0.000000000000E+00 / position angle of scan line (deg)              
SCAN_RAT=   0.000000000000E+00 / commanded rate of the line scan (arcsec/sec)   
NO_LINES=                    0 / number of lines per scan (1-99,0 if NA)        
SCAN_LEN=   0.000000000000E+00 / scan length (arcsec)                           
SCAN_COR= 'C                 ' / scan coordinate frame of ref: celestial,vehicle
CSMID   = 'UVIS   '            / Channel Select Mechanism ID                    
                                                                                
              / CALIBRATION SWITCHES: PERFORM, OMIT, COMPLETE, SKIPPED          
                                                                                
WRTERR  =                    T / write out error array extension                
DQICORR = 'COMPLETE'           / data quality initialization                    
ATODCORR= 'OMIT    '           / correct for A to D conversion errors           
BLEVCORR= 'COMPLETE'           / subtract bias level computed from overscan     
BIASCORR= 'COMPLETE'           / Subtract bias image                            
FLSHCORR= 'OMIT    '           / post flash correction                          
CRCORR  = 'OMIT    '           / combine observations to reject cosmic rays     
EXPSCORR= 'COMPLETE'           / process individual observations after cr-reject
SHADCORR= 'OMIT    '           / apply shutter shading correction               
DARKCORR= 'COMPLETE'           / Subtract dark image                            
FLATCORR= 'COMPLETE'           / flat field data                                
PCTECORR= 'PERFORM '           / cte correction                                 
PHOTCORR= 'COMPLETE'           / populate photometric header keywords           
DRIZCORR= 'COMPLETE'           / drizzle processing                             
FLUXCORR= 'COMPLETE'           / Scale UVIS2 to match UVIS1 using PHTRATIO      
                                                                                
              / CALIBRATION REFERENCE FILES                                     
                                                                                
BPIXTAB = 'iref$u5d2012li_bpx.fits' / bad pixel table                           
CCDTAB  = 'iref$t291659mi_ccd.fits' / detector calibration parameters           
ATODTAB = 'N/A                    ' / analog to digital correction file         
OSCNTAB = 'iref$q911321oi_osc.fits' / detector overscan table                   
BIASFILE= 'iref$1681903mi_bia.fits' / bias image file name                      
FLSHFILE= 'N/A                    ' / post flash correction file name           
CRREJTAB= 'iref$n9i1435li_crr.fits' / cosmic ray rejection parameters           
SHADFILE= 'N/A                    ' / shutter shading correction file           
DARKFILE= 'iref$38822391i_drk.fits' / dark image file name                      
PFLTFILE= 'iref$zcv2054mi_pfl.fits' / pixel to pixel flat field file name       
DFLTFILE= 'N/A                    ' / delta flat field file name                
LFLTFILE= 'N/A                    ' / low order flat                            
GRAPHTAB= 'N/A                    ' / the HST graph table                       
COMPTAB = 'N/A                    ' / the HST components table                  
IMPHTTAB= 'iref$4af15339i_imp.fits' / Image Photometry Table                    
DGEOFILE= 'N/A                    ' / Distortion correction image               
MDRIZTAB= 'iref$ubi1853qi_mdz.fits' / MultiDrizzle parameter table              
PCTETAB = 'iref$zcv2057mi_cte.fits' / CTE Correction Table                      
DRKCFILE= 'iref$zcv2009ri_dkc.fits' / De-trailed Dark Reference File            
BIACFILE= 'iref$zcv2057ni_bic.fits' / Average bias frame used in CTE Correction 
SNKCFILE= 'iref$zcv2057oi_snk.fits' / Map of sink pixels                        
                                                                                
              / COSMIC RAY REJECTION ALGORITHM PARAMETERS                       
                                                                                
MEANEXP =                  0.0 / reference exposure time for parameters         
SCALENSE=                  0.0 / multiplicative scale factor applied to noise   
INITGUES= '   '                / initial guess method (MIN or MED)              
CRSIGMAS= '               '    / statistical rejection criteria                 
CRRADIUS=                  0.0 / rejection propagation radius (pixels)          
CRTHRESH=             0.000000 / rejection propagation threshold                
BADINPDQ=                    0 / data quality flag bits to reject               
CRMASK  =                    F / flag CR-rejected pixels in input files (T/F)   
                                                                                
              / POST FLASH PARAMETERS                                           
                                                                                
FLASHDUR=                  0.0 / Exposure time in seconds: 0.1 to 409.5         
FLASHCUR= 'ZERO   '            / Post flash current (zero, low, medium, high)   
FLASHLVL=                    0 / Post flash requested flash level               
FLASHSTA= 'NOT PERFORMED   '   / Status: SUCCESSFUL, ABORTED, NOT PERFORMED     
                                                                                
              / CHARGE INJECTION PARAMETERS                                     
CHINJECT= 'NONE    '           / Charge Injection Mode                          
                                                                                
              / OTFR KEYWORDS                                                   
                                                                                
T_SGSTAR= '                  ' / OMS calculated guide star control              
                                                                                
              / PATTERN KEYWORDS                                                
                                                                                
PATTERN1= 'NONE                    ' / primary pattern type                     
P1_SHAPE= '                  ' / primary pattern shape                          
P1_PURPS= '          '         / primary pattern purpose                        
P1_NPTS =                    0 / number of points in primary pattern            
P1_PSPAC=             0.000000 / point spacing for primary pattern (arc-sec)    
P1_LSPAC=             0.000000 / line spacing for primary pattern (arc-sec)     
P1_ANGLE=             0.000000 / angle between sides of parallelogram patt (deg)
P1_FRAME= '         '          / coordinate frame of primary pattern            
P1_ORINT=             0.000000 / orientation of pattern to coordinate frame (deg
P1_CENTR= '   '                / center pattern relative to pointing (yes/no)   
PATTSTEP=                    0 / position number of this point in the pattern   
                                                                                
              / ENGINEERING PARAMETERS                                          
                                                                                
CCDAMP  = 'ABCD'               / CCD Amplifier Readout Configuration            
CCDGAIN =                  1.5 / commanded gain of CCD                          
CCDOFSTA=                    3 / commanded CCD bias offset for amplifier A      
CCDOFSTB=                    3 / commanded CCD bias offset for amplifier B      
CCDOFSTC=                    3 / commanded CCD bias offset for amplifier C      
CCDOFSTD=                    3 / commanded CCD bias offset for amplifier D      
                                                                                
              / CALIBRATED ENGINEERING PARAMETERS                               
                                                                                
ATODGNA =        1.5599999E+00 / calibrated gain for amplifier A                
ATODGNB =        1.5599999E+00 / calibrated gain for amplifier B                
ATODGNC =        1.5599999E+00 / calibrated gain for amplifier C                
ATODGND =        1.5599999E+00 / calibrated gain for amplifier D                
READNSEA=        3.0300000E+00 / calibrated read noise for amplifier A          
READNSEB=        3.1300001E+00 / calibrated read noise for amplifier B          
READNSEC=        3.0799999E+00 / calibrated read noise for amplifier C          
READNSED=        3.1800001E+00 / calibrated read noise for amplifier D          
BIASLEVA=        2.5561851E+03 / bias level for amplifier A                     
BIASLEVB=        2.5426809E+03 / bias level for amplifier B                     
BIASLEVC=        2.5028928E+03 / bias level for amplifier C                     
BIASLEVD=        2.6043125E+03 / bias level for amplifier D                     
                                                                                
              / ASSOCIATION KEYWORDS                                            
                                                                                
ASN_ID  = 'IBJ202010 '         / unique identifier assigned to association      
ASN_TAB = 'ibj202010_asn.fits     ' / name of the association table             
ASN_MTYP= 'PROD-DTH'           / Role of the Member in the Association          
CRDS_CTX= 'hst_0851.pmap'                                                       
CRDS_VER= '10.1.0, b10.1.0, 804a30a1161a0e0282c40e46bb49d2e72bb47958'           
NLINFILE= 'N/A     '                                                            
UPWCSVER= '1.4.0   '           / Version of STWCS used to update the WCS        
PYWCSVER= '3.0.4   '           / Version of PYWCS used to update the WCS        
HISTORY CCD parameters table:                                                   
HISTORY   reference table iref$t291659mi_ccd.fits                               
HISTORY     GROUND                                                              
HISTORY     UVIS-1 CCD characteristics from TV3 data                            
HISTORY     From TV3 data                                                       
HISTORY Uncertainty array initialized.                                          
HISTORY DQICORR complete ...                                                    
HISTORY   values checked for saturation                                         
HISTORY   DQ array initialized ...                                              
HISTORY   reference table iref$u5d2012li_bpx.fits                               
HISTORY     INFLIGHT 23/06/2009 15/10/2009                                      
HISTORY     Based on SMOV and Cycle 17 data.----------------------------------- 
HISTORY BLEVCORR complete; bias level from overscan was subtracted.             
HISTORY BLEVCORR includes correction for drift along lines.                     
HISTORY   Overscan region table:                                                
HISTORY   reference table iref$q911321oi_osc.fits                               
HISTORY     GROUND                                                              
HISTORY     WFC3 normal overscan CCD data compatible                            
HISTORY BIASCORR complete ...                                                   
HISTORY   reference image iref$1681903mi_bia.fits                               
HISTORY     INFLIGHT 01/01/2011 31/12/2011                                      
HISTORY     Bias intended for use with full-frame four amp readouts.----------- 
HISTORY CCD parameters table:                                                   
HISTORY   reference table iref$t291659mi_ccd.fits                               
HISTORY     GROUND                                                              
HISTORY     UVIS-1 CCD characteristics from TV3 data                            
HISTORY     From TV3 data                                                       
HISTORY DQICORR complete ...                                                    
HISTORY   values checked for saturation                                         
HISTORY   DQ array initialized ...                                              
HISTORY   reference table iref$u5d2012li_bpx.fits                               
HISTORY     INFLIGHT 23/06/2009 15/10/2009                                      
HISTORY     Based on SMOV and Cycle 17 data.----------------------------------- 
HISTORY DARKCORR complete ...                                                   
HISTORY   reference image iref$38822391i_drk.fits                               
HISTORY     INFLIGHT 10/11/2010 13/11/2010                                      
HISTORY     DARK created from in-flight WFC3/UVIS frames ---------------------- 
HISTORY FLATCORR complete ...                                                   
HISTORY   reference image iref$zcv2054mi_pfl.fits                               
HISTORY     INFLIGHT 14/05/2009 01/08/2011                                      
HISTORY     ------ Chip-dependent LP-flat (TV3 LP-flat * Inflight L-flat)------ 
PHOTFLAM=       1.50158705E-19 / Inverse sensitivity, ergs/cm2/A/e-             
PHOTZPT =       -2.1100000E+01 / ST magnitude zero point                        
PHTFLAM2=   1.526786800000E-19 / Ch2 Inv Sens, use PHOTFLAM if FLUXCORR=COMPLETE
PHTFLAM1=   1.501586900000E-19 / Ch1 Inv Sens, use PHOTFLAM for UV filters      
HISTORY PHOTCORR complete ...                                                   
HISTORY   reference table iref$4af15339i_imp.fits                               
HISTORY     INFLIGHT 08/05/2009 01/11/2019                                      
HISTORY     2020 Time-dependent Inverse Sensitivity with updated calspec model  
HISTORY FLUXCORR complete ...                                                   
HISTORY EXPSCORR complete ...                                                   
HISTORY ============================================================            
HISTORY Header Generation rules:                                                
HISTORY     Rules used to combine headers of input files                        
HISTORY     Start of rules...                                                   
HISTORY ------------------------------------------------------------            
HISTORY !VERSION = 1.1                                                          
HISTORY !INSTRUMENT = WFC3                                                      
HISTORY ROOTNAME                                                                
HISTORY EXTNAME                                                                 
HISTORY EXTVER                                                                  
HISTORY A_0_2                                                                   
HISTORY A_0_3                                                                   
HISTORY A_0_4                                                                   
HISTORY A_1_1                                                                   
HISTORY A_1_2                                                                   
HISTORY A_1_3                                                                   
HISTORY A_2_0                                                                   
HISTORY A_2_1                                                                   
HISTORY A_2_2                                                                   
HISTORY A_3_0                                                                   
HISTORY A_3_1                                                                   
HISTORY A_4_0                                                                   
HISTORY A_ORDER                                                                 
HISTORY APERTURE                                                                
HISTORY ASN_ID                                                                  
HISTORY ASN_MTYP                                                                
HISTORY ASN_TAB                                                                 
HISTORY ATODCORR                                                                
HISTORY ATODGNA                                                                 
HISTORY ATODGNB                                                                 
HISTORY ATODGNC                                                                 
HISTORY ATODGND                                                                 
HISTORY ATODTAB                                                                 
HISTORY B_0_2                                                                   
HISTORY B_0_3                                                                   
HISTORY B_0_4                                                                   
HISTORY B_1_1                                                                   
HISTORY B_1_2                                                                   
HISTORY B_1_3                                                                   
HISTORY B_2_0                                                                   
HISTORY B_2_1                                                                   
HISTORY B_2_2                                                                   
HISTORY B_3_0                                                                   
HISTORY B_3_1                                                                   
HISTORY B_4_0                                                                   
HISTORY B_ORDER                                                                 
HISTORY BADINPDQ                                                                
HISTORY BIASCORR                                                                
HISTORY BIASFILE                                                                
HISTORY BIASLEVA                                                                
HISTORY BIASLEVB                                                                
HISTORY BIASLEVC                                                                
HISTORY BIASLEVD                                                                
HISTORY BINAXIS1                                                                
HISTORY BINAXIS2                                                                
HISTORY BLEVCORR                                                                
HISTORY BPIXTAB                                                                 
HISTORY BUNIT                                                                   
HISTORY CAL_VER                                                                 
HISTORY CCDAMP                                                                  
HISTORY CCDCHIP                                                                 
HISTORY CCDGAIN                                                                 
HISTORY CCDOFSAB                                                                
HISTORY CCDOFSCD                                                                
HISTORY CCDOFSTA                                                                
HISTORY CCDOFSTB                                                                
HISTORY CCDOFSTC                                                                
HISTORY CCDOFSTD                                                                
HISTORY CCDTAB                                                                  
HISTORY CD1_1                                                                   
HISTORY CD1_2                                                                   
HISTORY CD2_1                                                                   
HISTORY CD2_2                                                                   
HISTORY CENTERA1                                                                
HISTORY CENTERA2                                                                
HISTORY CHINJECT                                                                
HISTORY COMPTAB                                                                 
HISTORY CRCORR                                                                  
HISTORY CRMASK                                                                  
HISTORY CRPIX1                                                                  
HISTORY CRPIX2                                                                  
HISTORY CRRADIUS                                                                
HISTORY CRREJTAB                                                                
HISTORY CRSIGMAS                                                                
HISTORY CRSPLIT                                                                 
HISTORY CRTHRESH                                                                
HISTORY CRVAL1                                                                  
HISTORY CRVAL2                                                                  
HISTORY CTEDIR                                                                  
HISTORY CTEIMAGE                                                                
HISTORY CTYPE1                                                                  
HISTORY CTYPE2                                                                  
HISTORY DARKCORR                                                                
HISTORY DARKFILE                                                                
HISTORY DATAMAX                                                                 
HISTORY DATAMIN                                                                 
HISTORY DATE                                                                    
HISTORY DATE-OBS                                                                
HISTORY DEC_APER                                                                
HISTORY DEC_TARG                                                                
HISTORY DELTATIM                                                                
HISTORY DETECTOR                                                                
HISTORY DFLTFILE                                                                
HISTORY DGEOFILE                                                                
HISTORY DIRIMAGE                                                                
HISTORY DQICORR                                                                 
HISTORY DRIZCORR                                                                
HISTORY EQUINOX                                                                 
HISTORY ERRCNT                                                                  
HISTORY EXPEND                                                                  
HISTORY EXPFLAG                                                                 
HISTORY EXPNAME                                                                 
HISTORY EXPSCORR                                                                
HISTORY EXPSTART                                                                
HISTORY EXPTIME                                                                 
HISTORY FGSLOCK                                                                 
HISTORY FILENAME                                                                
HISTORY FILETYPE                                                                
HISTORY FILLCNT                                                                 
HISTORY FILTER                                                                  
HISTORY FLASHCUR                                                                
HISTORY FLASHDUR                                                                
HISTORY FLASHSTA                                                                
HISTORY FLATCORR                                                                
HISTORY FLSHCORR                                                                
HISTORY FLSHFILE                                                                
HISTORY GOODMAX                                                                 
HISTORY GOODMEAN                                                                
HISTORY GOODMIN                                                                 
HISTORY GRAPHTAB                                                                
HISTORY GYROMODE                                                                
HISTORY IDCSCALE                                                                
HISTORY IDCTAB                                                                  
HISTORY IDCTHETA                                                                
HISTORY IDCV2REF                                                                
HISTORY IDCV3REF                                                                
HISTORY IMAGETYP                                                                
HISTORY INHERIT                                                                 
HISTORY INITGUES                                                                
HISTORY INSTRUME                                                                
HISTORY IRAF-TLM                                                                
HISTORY LFLTFILE                                                                
HISTORY LINENUM                                                                 
HISTORY LTM1_1                                                                  
HISTORY LTM2_2                                                                  
HISTORY LTV1                                                                    
HISTORY LTV2                                                                    
HISTORY MDRIZSKY                                                                
HISTORY MDRIZTAB                                                                
HISTORY MEANBLEV                                                                
HISTORY MEANDARK                                                                
HISTORY MEANEXP                                                                 
HISTORY MEANFLSH                                                                
HISTORY MOONANGL                                                                
HISTORY MTFLAG                                                                  
HISTORY NAXIS1                                                                  
HISTORY NAXIS2                                                                  
HISTORY NCOMBINE                                                                
HISTORY NGOODPIX                                                                
HISTORY NLINCORR                                                                
HISTORY NLINFILE                                                                
HISTORY NRPTEXP                                                                 
HISTORY NSAMP                                                                   
HISTORY OBSMODE                                                                 
HISTORY OBSTYPE                                                                 
HISTORY OCD1_1                                                                  
HISTORY OCD1_2                                                                  
HISTORY OCD2_1                                                                  
HISTORY OCD2_2                                                                  
HISTORY OCRPIX1                                                                 
HISTORY OCRPIX2                                                                 
HISTORY OCRVAL1                                                                 
HISTORY OCRVAL2                                                                 
HISTORY OCTYPE1                                                                 
HISTORY OCTYPE2                                                                 
HISTORY OCX10                                                                   
HISTORY OCX11                                                                   
HISTORY OCY10                                                                   
HISTORY OCY11                                                                   
HISTORY ONAXIS1                                                                 
HISTORY ONAXIS2                                                                 
HISTORY OORIENTA                                                                
HISTORY OPUS_VER                                                                
HISTORY ORIENTAT                                                                
HISTORY ORIGIN                                                                  
HISTORY OSCNTAB                                                                 
HISTORY P1_ANGLE                                                                
HISTORY P1_CENTR                                                                
HISTORY P1_FRAME                                                                
HISTORY P1_LSPAC                                                                
HISTORY P1_NPTS                                                                 
HISTORY P1_ORINT                                                                
HISTORY P1_PSPAC                                                                
HISTORY P1_PURPS                                                                
HISTORY P1_SHAPE                                                                
HISTORY P2_ANGLE                                                                
HISTORY P2_CENTR                                                                
HISTORY P2_FRAME                                                                
HISTORY P2_LSPAC                                                                
HISTORY P2_NPTS                                                                 
HISTORY P2_ORINT                                                                
HISTORY P2_PSPAC                                                                
HISTORY P2_PURPS                                                                
HISTORY P2_SHAPE                                                                
HISTORY PA_APER                                                                 
HISTORY PA_V3                                                                   
HISTORY PATTERN1                                                                
HISTORY PATTERN2                                                                
HISTORY PATTSTEP                                                                
HISTORY PFLTFILE                                                                
HISTORY PHOTBW                                                                  
HISTORY PHOTCORR                                                                
HISTORY PHOTFLAM                                                                
HISTORY PHOTFNU                                                                 
HISTORY PHOTMODE                                                                
HISTORY PHOTPLAM                                                                
HISTORY PHOTZPT                                                                 
HISTORY PODPSFF                                                                 
HISTORY POSTARG1                                                                
HISTORY POSTARG2                                                                
HISTORY PR_INV_F                                                                
HISTORY PR_INV_L                                                                
HISTORY PR_INV_M                                                                
HISTORY PRIMESI                                                                 
HISTORY PROCTIME                                                                
HISTORY PROPAPER                                                                
HISTORY PROPOSID                                                                
HISTORY QUALCOM1                                                                
HISTORY QUALCOM2                                                                
HISTORY QUALCOM3                                                                
HISTORY QUALITY                                                                 
HISTORY RA_APER                                                                 
HISTORY RA_TARG                                                                 
HISTORY READNSEA                                                                
HISTORY READNSEB                                                                
HISTORY READNSEC                                                                
HISTORY READNSED                                                                
HISTORY REFFRAME                                                                
HISTORY REJ_RATE                                                                
HISTORY ROUTTIME                                                                
HISTORY RPTCORR                                                                 
HISTORY SAA_DARK                                                                
HISTORY SAA_EXIT                                                                
HISTORY SAA_TIME                                                                
HISTORY SAACRMAP                                                                
HISTORY SAMP_SEQ                                                                
HISTORY SAMPNUM                                                                 
HISTORY SAMPTIME                                                                
HISTORY SAMPZERO                                                                
HISTORY SCALENSE                                                                
HISTORY SCLAMP                                                                  
HISTORY SDQFLAGS                                                                
HISTORY SHADCORR                                                                
HISTORY SHADFILE                                                                
HISTORY SHUTRPOS                                                                
HISTORY SIMPLE                                                                  
HISTORY SIZAXIS1                                                                
HISTORY SIZAXIS2                                                                
HISTORY SKYSUB                                                                  
HISTORY SKYSUM                                                                  
HISTORY SNRMAX                                                                  
HISTORY SNRMEAN                                                                 
HISTORY SNRMIN                                                                  
HISTORY SOFTERRS                                                                
HISTORY STDCFFF                                                                 
HISTORY STDCFFP                                                                 
HISTORY SUBARRAY                                                                
HISTORY SUBTYPE                                                                 
HISTORY SUN_ALT                                                                 
HISTORY SUNANGLE                                                                
HISTORY T_SGSTAR                                                                
HISTORY TARGNAME                                                                
HISTORY TDFTRANS                                                                
HISTORY TELESCOP                                                                
HISTORY TIME-OBS                                                                
HISTORY UNITCORR                                                                
HISTORY VAFACTOR                                                                
HISTORY WCSAXES                                                                 
HISTORY WCSCDATE                                                                
HISTORY WCSNAME                                                                 
HISTORY ZOFFCORR                                                                
HISTORY ZSIGCORR                                                                
HISTORY APERTURE    APERTURE    multi                                           
HISTORY ASN_ID    ASN_ID    first                                               
HISTORY ASN_MTYP    ASN_MTYP    multi                                           
HISTORY ASN_TAB    ASN_TAB    multi                                             
HISTORY ATODCORR    ATODCORR    multi                                           
HISTORY ATODGNA        ATODGNA        first                                     
HISTORY ATODGNB        ATODGNB        first                                     
HISTORY ATODGNC        ATODGNC        first                                     
HISTORY ATODGND        ATODGND        first                                     
HISTORY ATODTAB    ATODTAB    multi                                             
HISTORY BADINPDQ    BADINPDQ    sum                                             
HISTORY BIASCORR    BIASCORR    multi                                           
HISTORY BIASFILE    BIASFILE    multi                                           
HISTORY BIASLEVA    BIASLEVA    first                                           
HISTORY BIASLEVB    BIASLEVB    first                                           
HISTORY BIASLEVC    BIASLEVC    first                                           
HISTORY BIASLEVD    BIASLEVD    first                                           
HISTORY BINAXIS1    BINAXIS1    first                                           
HISTORY BINAXIS2    BINAXIS2    first                                           
HISTORY BLEVCORR    BLEVCORR    multi                                           
HISTORY BPIXTAB    BPIXTAB    multi                                             
HISTORY BUNIT        BUNIT        first                                         
HISTORY CAL_VER        CAL_VER        first                                     
HISTORY CCDAMP        CCDAMP        first                                       
HISTORY CCDCHIP    CCDCHIP    first                                             
HISTORY CCDGAIN        CCDGAIN        first                                     
HISTORY CCDOFSTA    CCDOFSTA    first                                           
HISTORY CCDOFSTB    CCDOFSTB    first                                           
HISTORY CCDOFSTC    CCDOFSTC    first                                           
HISTORY CCDOFSTD    CCDOFSTD    first                                           
HISTORY CCDTAB      CCDTAB      multi                                           
HISTORY CD1_1    CD1_1    first                                                 
HISTORY CD1_2    CD1_2    first                                                 
HISTORY CD2_1    CD2_1    first                                                 
HISTORY CD2_2    CD2_2    first                                                 
HISTORY CENTERA1    CENTERA1    first                                           
HISTORY CENTERA2    CENTERA2    first                                           
HISTORY CHINJECT    CHINJECT    multi                                           
HISTORY COMPTAB    COMPTAB    multi                                             
HISTORY CRCORR    CRCORR    multi                                               
HISTORY CRMASK    CRMASK    first                                               
HISTORY CRPIX1    CRPIX1    first                                               
HISTORY CRPIX2    CRPIX2    first                                               
HISTORY CRRADIUS    CRRADIUS    first                                           
HISTORY CRREJTAB    CRREJTAB    multi                                           
HISTORY CRSIGMAS    CRSIGMAS    multi                                           
HISTORY CRSPLIT    CRSPLIT    first                                             
HISTORY CRTHRESH    CRTHRESH    first                                           
HISTORY CTEDIR      CTEDIR      multi                                           
HISTORY CTEIMAGE    CTEIMAGE    first                                           
HISTORY CTYPE1    CTYPE1    multi                                               
HISTORY CTYPE2    CTYPE2    multi                                               
HISTORY CRVAL1    CRVAL1    first                                               
HISTORY CRVAL2    CRVAL2    first                                               
HISTORY DARKCORR    DARKCORR    multi                                           
HISTORY DARKFILE    DARKFILE    multi                                           
HISTORY DATE-OBS    DATE-OBS    first                                           
HISTORY DEC_APER    DEC_APER    first                                           
HISTORY DEC_TARG    DEC_TARG    first                                           
HISTORY DELTATIM    DELTATIM    first                                           
HISTORY DETECTOR    DETECTOR    first                                           
HISTORY DFLTFILE    DFLTFILE    multi                                           
HISTORY DGEOFILE    DGEOFILE    multi                                           
HISTORY DIRIMAGE    DIRIMAGE    multi                                           
HISTORY DQICORR    DQICORR    multi                                             
HISTORY DRIZCORR    DRIZCORR    multi                                           
HISTORY EQUINOX    EQUINOX    first                                             
HISTORY EXPEND    EXPEND    max                                                 
HISTORY EXPFLAG    EXPFLAG    multi                                             
HISTORY EXPNAME    EXPNAME    first                                             
HISTORY EXPSCORR    EXPSCORR    multi                                           
HISTORY EXPSTART    EXPSTART    min                                             
HISTORY EXPTIME   EXPTIME   sum                                                 
HISTORY EXPTIME      TEXPTIME    sum                                            
HISTORY EXTVER    EXTVER    first                                               
HISTORY FGSLOCK    FGSLOCK    multi                                             
HISTORY FILENAME    FILENAME    multi                                           
HISTORY FILETYPE    FILETYPE    multi                                           
HISTORY FILTER    FILTER    multi                                               
HISTORY FLASHCUR    FLASHCUR    multi                                           
HISTORY FLASHDUR    FLASHDUR    first                                           
HISTORY FLASHSTA    FLASHSTA    first                                           
HISTORY FLATCORR    FLATCORR    multi                                           
HISTORY FLSHCORR    FLSHCORR    multi                                           
HISTORY FLSHFILE    FLSHFILE    multi                                           
HISTORY GRAPHTAB    GRAPHTAB    multi                                           
HISTORY GYROMODE    GYROMODE    multi                                           
HISTORY IDCTAB    IDCTAB    multi                                               
HISTORY IMAGETYP    IMAGETYP    first                                           
HISTORY INHERIT    INHERIT    first # maintains IRAF compatibility              
HISTORY INITGUES    INITGUES    multi                                           
HISTORY INSTRUME    INSTRUME    first                                           
HISTORY LFLTFILE    LFLTFILE    multi                                           
HISTORY LINENUM    LINENUM    first                                             
HISTORY LTM1_1    LTM1_1    float_one                                           
HISTORY LTM2_2    LTM2_2    float_one                                           
HISTORY LTV1    LTV1    first                                                   
HISTORY LTV2    LTV2    first                                                   
HISTORY MDRIZTAB    MDRIZTAB    multi                                           
HISTORY MEANEXP    MEANEXP    first                                             
HISTORY MEANFLSH    MEANFLSH    first                                           
HISTORY MOONANGL  MOONANGL      first                                           
HISTORY MTFLAG      MTFLAG    first                                             
HISTORY NCOMBINE    NCOMBINE    sum                                             
HISTORY NLINCORR    NLINCORR    multi                                           
HISTORY NLINFILE    NLINFILE    multi                                           
HISTORY NRPTEXP    NRPTEXP    first                                             
HISTORY NSAMP    NSAMP    first                                                 
HISTORY OBSMODE    OBSMODE    multi                                             
HISTORY OBSTYPE       OBSTYPE    first                                          
HISTORY OPUS_VER    OPUS_VER    first                                           
HISTORY ORIENTAT    ORIENTAT    first                                           
HISTORY OSCNTAB    OSCNTAB    multi                                             
HISTORY P1_ANGLE    P1_ANGLE    first                                           
HISTORY P1_CENTR    P1_CENTR    multi                                           
HISTORY P1_FRAME    P1_FRAME    multi                                           
HISTORY P1_LSPAC    P1_LSPAC    first                                           
HISTORY P1_NPTS    P1_NPTS    first                                             
HISTORY P1_ORINT    P1_ORINT    first                                           
HISTORY P1_PSPAC    P1_PSPAC    first                                           
HISTORY P1_PURPS    P1_PURPS    multi                                           
HISTORY P1_SHAPE    P1_SHAPE    multi                                           
HISTORY P2_ANGLE    P2_ANGLE    first                                           
HISTORY P2_CENTR    P2_CENTR    multi                                           
HISTORY P2_FRAME    P2_FRAME    multi                                           
HISTORY P2_LSPAC    P2_LSPAC    first                                           
HISTORY P2_NPTS     P2_NPTS    first                                            
HISTORY P2_ORINT    P2_ORINT    first                                           
HISTORY P2_PSPAC    P2_PSPAC    first                                           
HISTORY P2_PURPS    P2_PURPS    multi                                           
HISTORY P2_SHAPE    P2_SHAPE    multi                                           
HISTORY PA_APER    PA_APER    first                                             
HISTORY PA_V3        PA_V3        first                                         
HISTORY PATTERN1    PATTERN1    multi                                           
HISTORY PATTERN2    PATTERN2    multi                                           
HISTORY PATTSTEP    PATTSTEP    first                                           
HISTORY PFLTFILE    PFLTFILE    multi                                           
HISTORY PHOTBW        PHOTBW        mean                                        
HISTORY PHOTCORR    PHOTCORR    multi                                           
HISTORY PHOTFLAM    PHOTFLAM    mean                                            
HISTORY PHOTFNU    PHOTFNU      mean                                            
HISTORY PHOTMODE    PHOTMODE    first                                           
HISTORY PHOTPLAM    PHOTPLAM    mean                                            
HISTORY PHOTZPT        PHOTZPT        mean                                      
HISTORY PODPSFF    PODPSFF    multi                                             
HISTORY PR_INV_F    PR_INV_F    first                                           
HISTORY PR_INV_L    PR_INV_L    first                                           
HISTORY PR_INV_M    PR_INV_M    first                                           
HISTORY PRIMESI        PRIMESI        multi                                     
HISTORY PROCTIME    PROCTIME    first                                           
HISTORY PROPAPER    PROPAPER    multi                                           
HISTORY PROPOSID    PROPOSID    first                                           
HISTORY QUALCOM1    QUALCOM1    multi                                           
HISTORY QUALCOM2    QUALCOM2    multi                                           
HISTORY QUALCOM3    QUALCOM3    multi                                           
HISTORY QUALITY    QUALITY    multi                                             
HISTORY RA_APER    RA_APER    first                                             
HISTORY RA_TARG        RA_TARG      first                                       
HISTORY READNSEA    READNSEA    first                                           
HISTORY READNSEB    READNSEB    first                                           
HISTORY READNSEC    READNSEC    first                                           
HISTORY READNSED    READNSED    first                                           
HISTORY REFFRAME    REFFRAME    multi                                           
HISTORY ROOTNAME    ROOTNAME    first                                           
HISTORY ROUTTIME    ROUTTIME    first                                           
HISTORY RPTCORR    RPTCORR    multi                                             
HISTORY SAACRMAP    SAACRMAP    multi                                           
HISTORY SAMP_SEQ    SAMP_SEQ    first                                           
HISTORY SAMPNUM    SAMPNUM    first                                             
HISTORY SAMPTIME    SAMPTIME    first                                           
HISTORY SAMPZERO    SAMPZERO    first                                           
HISTORY SCALENSE    SCALENSE    first                                           
HISTORY SCLAMP    SCLAMP    multi                                               
HISTORY SDQFLAGS    SDQFLAGS    first                                           
HISTORY SHADCORR    SHADCORR    multi                                           
HISTORY SHADFILE    SHADFILE    multi                                           
HISTORY SIZAXIS1    SIZAXIS1    first                                           
HISTORY SIZAXIS2    SIZAXIS2    first                                           
HISTORY SOFTERRS    SOFTERRS    sum                                             
HISTORY STDCFFF    STDCFFF    multi                                             
HISTORY STDCFFP    STDCFFP    multi                                             
HISTORY SUBARRAY    SUBARRAY    first                                           
HISTORY SUBTYPE    SUBTYPE    multi                                             
HISTORY SUNANGLE   SUNANGLE   first                                             
HISTORY T_SGSTAR    T_SGSTAR    multi                                           
HISTORY TARGNAME    TARGNAME    first                                           
HISTORY TDFTRANS    TDFTRANS    sum                                             
HISTORY TELESCOP    TELESCOP    first                                           
HISTORY TIME-OBS    TIME-OBS    first                                           
HISTORY UNITCORR    UNITCORR    multi                                           
HISTORY WCSAXES        WCSAXES        first                                     
HISTORY WCSCDATE    WCSCDATE    first                                           
HISTORY WCSNAME        WCSNAME        first                                     
HISTORY ZOFFCORR    ZOFFCORR    multi                                           
HISTORY ZSIGCORR    ZSIGCORR    multi                                           
HISTORY ------------------------------------------------------------            
HISTORY     End of rules...                                                     
HISTORY ============================================================            
HISTORY AstroDrizzle processing performed using:                                
HISTORY     AstroDrizzle Version 3.2.0                                          
HISTORY     PyFITS Version 4.1                                                  
HISTORY     Numpy Version 1.19.3                                                
PHTRATIO=   1.016782178907E+00 / PHTFLAM2/PHTFLAM1 ratio                        
NPOLFILE= 'iref$y7b15170i_npl.fits' / origin of non-polynmial distortion model  
IDCTAB  = 'iref$2731450pi_idc.fits' / origin of Polynomial Distortion           
D2IMFILE= 'iref$y7b1516hi_d2i.fits' / origin of detector to image correction    
SIPNAME = 'ibj202o5q_2731450pi' / origin of SIP polynomial distortion model     
DISTNAME= 'ibj202o5q_2731450pi-y7b15170i-y7b1516hi' / Distortion model name     
RULESVER=                  1.1 / Version ID for header kw rules file            
BLENDVER= '1.2.0   '           / Version of blendheader software used           
RULEFILE= '/dms/local/hst/pipeline/pkgs/miniconda3/envs/caldp_20201208/lib/pyt&'
CONTINUE  'hon3.6/site-packages/fitsblender/wfc3_header.rules&'                 
CONTINUE  '' / Name of header kw rules file                                     
PROD_VER= 'DrizzlePac 3.2.0'                                                    
NDRIZIM =                    4 / Drizzle, No. images drizzled onto output       
D001VER = 'Callable C-based DRIZZLE Version 0.8 (20th M' / Drizzle, task version
D001GEOM= 'wcs     '           / Drizzle, source of geometric information       
D001DATA= 'ibj202o5q_flt.fits[sci,1]' / Drizzle, input data image               
D001DEXP=                 50.0 / Drizzle, input image exposure time (s)         
D001OUDA= 'ibj202010_drz.fits' / Drizzle, output data image                     
D001OUWE= 'ibj202010_drz_wht.fits' / Drizzle, output weighting image            
D001OUCO= 'ibj202010_drz_ctx.fits' / Drizzle, output context image              
D001MASK= 'ibj202o5q_sci1_final_mask.fits' / Drizzle, input weighting image     
D001WTSC=                    1 / Drizzle, weighting factor for input image      
D001KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D001PIXF=                  1.0 / Drizzle, linear size of drop                   
D001COEF= 'SIP     '           / Drizzle, source of coefficients                
D001OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D001FVAL= 'INDEF   '           / Drizzle, fill value for zero weight output pix 
D001WKEY= '' / Input image WCS Version used                                     
D001SCAL=  0.03962000086903572 / Drizzle, pixel size (arcsec) of output image   
D001ISCL=  0.03962000086903572 / Drizzle, default IDCTAB pixel size(arcsec)     
D002VER = 'Callable C-based DRIZZLE Version 0.8 (20th M' / Drizzle, task version
D002GEOM= 'wcs     '           / Drizzle, source of geometric information       
D002DATA= 'ibj202o5q_flt.fits[sci,2]' / Drizzle, input data image               
D002DEXP=                 50.0 / Drizzle, input image exposure time (s)         
D002OUDA= 'ibj202010_drz.fits' / Drizzle, output data image                     
D002OUWE= 'ibj202010_drz_wht.fits' / Drizzle, output weighting image            
D002OUCO= 'ibj202010_drz_ctx.fits' / Drizzle, output context image              
D002MASK= 'ibj202o5q_sci2_final_mask.fits' / Drizzle, input weighting image     
D002WTSC=                    1 / Drizzle, weighting factor for input image      
D002KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D002PIXF=                  1.0 / Drizzle, linear size of drop                   
D002COEF= 'SIP     '           / Drizzle, source of coefficients                
D002OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D002FVAL= 'INDEF   '           / Drizzle, fill value for zero weight output pix 
D002WKEY= '' / Input image WCS Version used                                     
D002SCAL=  0.03962000086903572 / Drizzle, pixel size (arcsec) of output image   
D002ISCL=  0.03962000086903572 / Drizzle, default IDCTAB pixel size(arcsec)     
D003VER = 'Callable C-based DRIZZLE Version 0.8 (20th M' / Drizzle, task version
D003GEOM= 'wcs     '           / Drizzle, source of geometric information       
D003DATA= 'ibj202ogq_flt.fits[sci,1]' / Drizzle, input data image               
D003DEXP=                 50.0 / Drizzle, input image exposure time (s)         
D003OUDA= 'ibj202010_drz.fits' / Drizzle, output data image                     
D003OUWE= 'ibj202010_drz_wht.fits' / Drizzle, output weighting image            
D003OUCO= 'ibj202010_drz_ctx.fits' / Drizzle, output context image              
D003MASK= 'ibj202ogq_sci1_final_mask.fits' / Drizzle, input weighting image     
D003WTSC=                    1 / Drizzle, weighting factor for input image      
D003KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D003PIXF=                  1.0 / Drizzle, linear size of drop                   
D003COEF= 'SIP     '           / Drizzle, source of coefficients                
D003OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D003FVAL= 'INDEF   '           / Drizzle, fill value for zero weight output pix 
D003WKEY= '' / Input image WCS Version used                                     
D003SCAL=  0.03962000086903572 / Drizzle, pixel size (arcsec) of output image   
D003ISCL=  0.03962000086903572 / Drizzle, default IDCTAB pixel size(arcsec)     
D004VER = 'Callable C-based DRIZZLE Version 0.8 (20th M' / Drizzle, task version
D004GEOM= 'wcs     '           / Drizzle, source of geometric information       
D004DATA= 'ibj202ogq_flt.fits[sci,2]' / Drizzle, input data image               
D004DEXP=                 50.0 / Drizzle, input image exposure time (s)         
D004OUDA= 'ibj202010_drz.fits' / Drizzle, output data image                     
D004OUWE= 'ibj202010_drz_wht.fits' / Drizzle, output weighting image            
D004OUCO= 'ibj202010_drz_ctx.fits' / Drizzle, output context image              
D004MASK= 'ibj202ogq_sci2_final_mask.fits' / Drizzle, input weighting image     
D004WTSC=                    1 / Drizzle, weighting factor for input image      
D004KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D004PIXF=                  1.0 / Drizzle, linear size of drop                   
D004COEF= 'SIP     '           / Drizzle, source of coefficients                
D004OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D004FVAL= 'INDEF   '           / Drizzle, fill value for zero weight output pix 
D004WKEY= '' / Input image WCS Version used                                     
D004SCAL=  0.03962000086903572 / Drizzle, pixel size (arcsec) of output image   
D004ISCL=  0.03962000086903572 / Drizzle, default IDCTAB pixel size(arcsec)     
In [10]:
# Inspect the array
image_data = fits.getdata(image_file)
print(type(image_data))
print(image_data.shape)
<class 'numpy.ndarray'>
(4526, 4266)
In [11]:
from astropy.wcs import WCS

wcs = WCS(hdu_list[1].header)
pix = wcs.wcs.cd[1]*3600.0 # pixel size in arcsec
In [12]:
from astropy.visualization import (MinMaxInterval, SqrtStretch, ImageNormalize, ManualInterval)

# Create an ImageNormalize object
#norm = ImageNormalize(image_data, interval=MinMaxInterval(), stretch=SqrtStretch())
norm = ImageNormalize(image_data, interval = ManualInterval(-0.1,1.5))
print(wcs)

# Display the image
fig = plt.figure(figsize=(8,8),dpi=100)
ax = fig.add_subplot(111,projection=wcs)
im = ax.imshow(image_data, cmap='gray', origin='lower', norm=norm)
fig.colorbar(im)
ax.set_xlabel("RA")
ax.set_ylabel("Dec")
WCS Keywords

Number of WCS axes: 2
CTYPE : 'RA---TAN'  'DEC--TAN'  
CRVAL : 245.9241393755593  -26.51337514888282  
CRPIX : 2133.0  2263.0  
CD1_1 CD1_2  : -6.3118960754617e-06  -9.015665606734e-06  
CD2_1 CD2_2  : -9.015665606734e-06  6.31189607546172e-06  
NAXIS : 4266  4526

Step 4. Plot the HSC sources on the image.

In [13]:
# Create an ImageNormalize object
norm = ImageNormalize(image_data, interval = ManualInterval(-0.1,1.5))

# Display the image and HSC 
fig = plt.figure(figsize=(10,10),dpi=100)
ax = fig.add_subplot(111,projection=wcs)
im = ax.imshow(image_data, cmap='gray', origin='lower', norm=norm)
p1 = ax.scatter(hsc['match_ra'],hsc['match_dec'],transform=ax.get_transform('world'), \
                s=30, edgecolor='salmon', facecolor='none', label='HSC')
fig.colorbar(im)
ax.set_xlabel("RA")
ax.set_ylabel("Dec")
ax.legend(["HSC"])
Out[13]:
<matplotlib.legend.Legend at 0x7f852977ea90>