/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).


WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7660
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2237.0-3921_daily_bin2209
RA = 339.269, Dec = -39.357
tmin = 811900801, tmax = 812160001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='39310143', job_status='RUN', time_executed='2026-09-27 19:27:27.484605', time_epoch_executed='1790562447.48' WHERE source_name='4FGL J2237.0-3921' and cadence='daily' and bin_id='2209'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39310143

Creating custom pfile directory:
/lscratch/kocevski/39310143/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=811900801.0 && nMetStart<812160001.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=811900801.0 && nMetStart<812160001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39310143/ft1_4FGL_J2237.0-3921_daily_bin2209.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=811900801.0 && nMetStart<812160001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39310143/ft1_4FGL_J2237.0-3921_daily_bin2209.fits outfile=/lscratch/kocevski/39310143/ft1_filteredMKT_4FGL_J2237.0-3921_daily_bin2209.fits ra=339.269 dec=-39.357 rad=12.0 tmin=811900801.0 tmax=812160001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.54
user 3.10
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/39310143/ft1_filteredMKT_4FGL_J2237.0-3921_daily_bin2209.fits evtable="EVENTS" outfile="/lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.46
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits sctable="SC_DATA" ounumber of points = 7660
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2237.0-3921_daily_bin2209
RA = 339.269, Dec = -39.357
tmin = 811900801, tmax = 812160001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='39310142', job_status='RUN', time_executed='2026-09-27 19:27:29.981802', time_epoch_executed='1790562449.98' WHERE source_name='4FGL J2237.0-3921' and cadence='daily' and bin_id='2209'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39310142

Creating custom pfile directory:
/lscratch/kocevski/39310142/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=811900801.0 && nMetStart<812160001.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=811900801.0 && nMetStart<812160001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39310142/ft1_4FGL_J2237.0-3921_daily_bin2209.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=811900801.0 && nMetStart<812160001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39310142/ft1_4FGL_J2237.0-3921_daily_bin2209.fits outfile=/lscratch/kocevski/39310142/ft1_filteredMKT_4FGL_J2237.0-3921_daily_bin2209.fits ra=339.269 dec=-39.357 rad=12.0 tmin=811900801.0 tmax=812160001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.51
user 3.12
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/39310142/ft1_filteredMKT_4FGL_J2237.0-3921_daily_bin2209.fits evtable="EVENTS" outfile="/lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.47
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39310143/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits
.....................!
real 8.96
user 8.49
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39310143/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits outfile=/lscratch/kocevski/39310143/expmap_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/39310143/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits
.....................!
real 75.76
user 70.51
sys 4.36

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J2237.0-3921 @ 339.269 -39.357

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits scfile=/lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits outfile=/lscratch/kocevski/39310143/cmap_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=339.269 yref=-39.357 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.64
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits scfile=/lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits outfile=/lscratch/kocevski/39310143/cmap_HighResolution_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=339.269 yref=-39.357 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39310143/Model_4FGL_J2237.0-3921_daily_bin2209.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GALtfile=/lscratch/kocevski/39310142/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits
.....................!
real 9.09
user 8.47
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39310142/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits outfile=/lscratch/kocevski/39310142/expmap_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/39310142/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits
.....................!
real 75.88
user 70.68
sys 4.40

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J2237.0-3921 @ 339.269 -39.357

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits scfile=/lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits outfile=/lscratch/kocevski/39310142/cmap_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=339.269 yref=-39.357 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.64
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits scfile=/lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits outfile=/lscratch/kocevski/39310142/cmap_HighResolution_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=339.269 yref=-39.357 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.66
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits evtable="EVENTS" scfile=/lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39310142/Model_4FGL_J2237.0-3921_daily_bin2209.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits.....................!
real 25.61
user 23.86
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits', '/lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits', expMap='/lscratch/kocevski/39310143/expmap_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits', expCube='/lscratch/kocevski/39310143/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39310143/Model_4FGL_J2237.0-3921_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2237.0-3921'

4FGL J2237.0-3921
   Spectrum: PowerLaw
290    Prefactor:  5.768e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  9.499e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39310143/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39310143/ft2_4FGL_J2237.0-3921_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39310143/expmap_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39310143/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39310143/Model_4FGL_J2237.0-3921_daily_bin2209.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7533.3738169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7533.37439911

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8560       1.0000          .0000       .10000E+07
     2 'Prefactor '    .91656       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16419       1.0000          .0000       .10000E+07
     4 'norm      '    .44126E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    37.120       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5643       1.0000          .0000       .10000E+07
     7 'Prefactor '    .83827E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    14.889       1.0000          .0000       .10000E+07
     9 'Prefactor '    30.171       1.0000          .0000       .10000E+07
    10 'Prefactor '    47.573       1.0000          .0000       .10000E+07
    11 'Prefactor '    .47892E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13537E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25014E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .21943E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9679       1.0000          .0000       .10000E+07
    16 'norm      '    10.607       1.0000          .0000       .10000E+07
    17 'norm      '    .75443E-03   1.0000          .0000       .10000E+07
    18 'norm      '    25.888       1.0000          .0000       .10000E+07
    19 'Prefactor '    33.599       1.0000          .0000       .10000E+07
    20 'Prefactor '    91.479       1.0000          .0000       .10000E+07
    21 'norm      '    .37504       1.0000          .0000       .10000E+07
    22 'norm      '    .86421E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    .63560       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99780       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7533.374     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     3086 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8680        4.2524       -.99716E-07   -.13916E-02
   2  Prefactor     .91530        1.3003       -.48964E-07    .28427E-01
   3  Prefactor     .16755        3.7024        .60972E-06** at limit **
   4  norm          .55511E-10    3.6638       -.39636E-06** at limit **
   5  Prefactor     37.111        16.201       -.22600E-06    .24826E-01
   6  Prefactor     2.5668        4.2929       -.22411E-06   -.77779E-03
   7  Prefactor      .0000        .73473       -.17968E-07** at limit **
   8  Prefactor     14.931        11.503        .21630E-06    .57516E-02
   9  Prefactor     30.174        7.0572        .24838E-07    .14940E-02
  10  Prefactor     47.602        1.4373       -.23045E-07    .19430E-01
  11  Prefactor      .0000        9.5796        .40929E-06** at limit **
  12  Prefactor     .16653E-09    18.302        .14225E-05** at limit **
  13  Prefactor      .0000        1.2795        .11906E-06** at limit **
  14  norm           .0000        1.4772        .17001E-06** at limit **
  15  Prefactor     4.0102        1.4226       -.41500E-07    .38644E-03
  16  norm          10.611        4.1747        .24038E-06   -.89921E-02
  17  norm          .11102E-09    4.8296       -.59739E-06** at limit **
  18  norm          25.895        8.0913       -.31796E-06   -.25141E-01
  19  Prefactor     33.552        20.213       -.27941E-06   -.51230E-02
  20  Prefactor     91.500        1.5180        .77762E-08   -.13480E-01
  21  norm          .35211        7.6436       -.24553E-06    .21880E-03
  22  norm           .0000        1.6757       -.30134E-07** at limit **
  23  Normalizat    .63561        .17227        .31899E-05   -.52247E-04
  24  Prefactor     .99776        .17060        .15328E-05   -.89432E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.86795
  Prefactor  = 0.915298
  Prefactor  = 0.16755
  norm       = 5.55112e-11
  Prefactor  = 37.1106
  Prefactor  = 2.56681
  Prefactor  = 0
  Prefactor  = 14.931
  Prefactor  = 30.1737
  Prefactor  = 47.6019
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.01023
  norm       = 10.6111
  norm       = 1.11022e-10
  norm       = 25.895
  Prefactor  = 33.5521
  Prefactor  = 91.4997
  norm       = 0.352111
  norm       = 0
  Normalizat = 0.635611
  Prefactor  = 0.997762
_V02
Working on...
/lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits.....................!
real 25.52
user 23.82
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits', '/lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits', expMap='/lscratch/kocevski/39310142/expmap_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits', expCube='/lscratch/kocevski/39310142/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39310142/Model_4FGL_J2237.0-3921_daily_bin2209.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2237.0-3921'

4FGL J2237.0-3921
   Spectrum: PowerLaw
290    Prefactor:  5.768e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  9.499e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39310142/ft1_filtered_4FGL_J2237.0-3921_daily_bin2209.fits
Spacecraft file(s): /lscratch/kocevski/39310142/ft2_4FGL_J2237.0-3921_daily_bin2209.fits
Exposure map: /lscratch/kocevski/39310142/expmap_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits
Exposure cube: /lscratch/kocevski/39310142/ltcube_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39310142/Model_4FGL_J2237.0-3921_daily_bin2209.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7533.3738169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7533.37439911

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8560       1.0000          .0000       .10000E+07
     2 'Prefactor '    .91656       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16419       1.0000          .0000       .10000E+07
     4 'norm      '    .44126E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    37.120       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5643       1.0000          .0000       .10000E+07
     7 'Prefactor '    .83827E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    14.889       1.0000          .0000       .10000E+07
     9 'Prefactor '    30.171       1.0000          .0000       .10000E+07
    10 'Prefactor '    47.573       1.0000          .0000       .10000E+07
    11 'Prefactor '    .47892E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13537E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25014E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .21943E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9679       1.0000          .0000       .10000E+07
    16 'norm      '    10.607       1.0000          .0000       .10000E+07
    17 'norm      '    .75443E-03   1.0000          .0000       .10000E+07
    18 'norm      '    25.888       1.0000          .0000       .10000E+07
    19 'Prefactor '    33.599       1.0000          .0000       .10000E+07
    20 'Prefactor '    91.479       1.0000          .0000       .10000E+07
    21 'norm      '    .37504       1.0000          .0000       .10000E+07
    22 'norm      '    .86421E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    .63560       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99780       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7533.374     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     3086 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8680        4.2524       -.99716E-07   -.13916E-02
   2  Prefactor     .91530        1.3003       -.48964E-07    .28427E-01
   3  Prefactor     .16755        3.7024        .60972E-06** at limit **
   4  norm          .55511E-10    3.6638       -.39636E-06** at limit **
   5  Prefactor     37.111        16.201       -.22600E-06    .24826E-01
   6  Prefactor     2.5668        4.2929       -.22411E-06   -.77779E-03
   7  Prefactor      .0000        .73473       -.17968E-07** at limit **
   8  Prefactor     14.931        11.503        .21630E-06    .57516E-02
   9  Prefactor     30.174        7.0572        .24838E-07    .14940E-02
  10  Prefactor     47.602        1.4373       -.23045E-07    .19430E-01
  11  Prefactor      .0000        9.5796        .40929E-06** at limit **
  12  Prefactor     .16653E-09    18.302        .14225E-05** at limit **
  13  Prefactor      .0000        1.2795        .11906E-06** at limit **
  14  norm           .0000        1.4772        .17001E-06** at limit **
  15  Prefactor     4.0102        1.4226       -.41500E-07    .38644E-03
  16  norm          10.611        4.1747        .24038E-06   -.89921E-02
  17  norm          .11102E-09    4.8296       -.59739E-06** at limit **
  18  norm          25.895        8.0913       -.31796E-06   -.25141E-01
  19  Prefactor     33.552        20.213       -.27941E-06   -.51230E-02
  20  Prefactor     91.500        1.5180        .77762E-08   -.13480E-01
  21  norm          .35211        7.6436       -.24553E-06    .21880E-03
  22  norm           .0000        1.6757       -.30134E-07** at limit **
  23  Normalizat    .63561        .17227        .31899E-05   -.52247E-04
  24  Prefactor     .99776        .17060        .15328E-05   -.89432E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.86795
  Prefactor  = 0.915298
  Prefactor  = 0.16755
  norm       = 5.55112e-11
  Prefactor  = 37.1106
  Prefactor  = 2.56681
  Prefactor  = 0
  Prefactor  = 14.931
  Prefactor  = 30.1737
  Prefactor  = 47.6019
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 4.01023
  norm       = 10.6111
  norm       = 1.11022e-10
  norm       = 25.895
  Prefactor  = 33.5521
  Prefactor  = 91.4997
  norm       = 0.352111
  norm       = 0
  Normalizat = 0.635611
  Prefactor  = 0.997762
 **********
 **   18 **HESSE 
 **********

 FCN=   7533.374     FROM HESSE     STATUS=OK           463 CALLS     3549 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8680        4.2714        .33657E-03   -1.5648    
   2  Prefactor     .91530        9.9556        .44622E-03   -1.5689    
   3  Prefactor     .16755        3.1004        .83205E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    3.6676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.111        31.106        .16415E-03   -1.5586    
   6  Prefactor     2.5668        4.3580        .63721E-03   -1.5676    
   7  Prefactor      .0000        .74147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.931        28.161        .25930E-03   -1.5631    
   9  Prefactor     30.174        7.1545        .18208E-03   -1.5598    
  10  Prefactor     47.602        19.111        .14499E-03   -1.5570    
  11  Prefactor      .0000        9.5716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    18.008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.2791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.0102        54.695        .50612E-03   -1.5668    
  16  norm          10.611        10.192        .30738E-03   -1.5643    
  17  norm          .11102E-09    4.8239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          25.895        9.5547        .19658E-03   -1.5606    
  19  Prefactor     33.552        27.503        .17254E-03   -1.5592    
  20  Prefactor     91.500        67.379        .10456E-03   -1.5517    
  21  norm          .35211        2.1922        .61667E-02   -1.5696    
  22  norm           .0000        1.6770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .63561        .14888        .60979E-01   -1.0649    
  24  Prefactor     .99776        .14381        .46240E-01   -.92804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1577e-08
Minuit parameter uncertainties:
  1  4.27138
  2  6.03734
  3  1.4415
  4  2.9336e-05
  5  31.1057
  6  4.358
  7  2.8623e-06
  8  28.1616
  9  7.15453
  10  19.1115
  11  4.51523e-06
  12  0.000101163
  13  1.29427e-06
  14  2.48635e-06
  15  29.6205
  16  10.1923
  17  4.36947e-05
  18  9.55469
  19  27.5028
  20  67.3799
  21  1.75716
  22  7.60021e-06
  23  0.148973
  24  0.143863
 **********
 **   18 **HESSE 
 **********

 FCN=   7533.374     FROM HESSE     STATUS=OK           463 CALLS     3549 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8680        4.2714        .33657E-03   -1.5648    
   2  Prefactor     .91530        9.9556        .44622E-03   -1.5689    
   3  Prefactor     .16755        3.1004        .83205E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    3.6676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.111        31.106        .16415E-03   -1.5586    
   6  Prefactor     2.5668        4.3580        .63721E-03   -1.5676    
   7  Prefactor      .0000        .74147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.931        28.161        .25930E-03   -1.5631    
   9  Prefactor     30.174        7.1545        .18208E-03   -1.5598    
  10  Prefactor     47.602        19.111        .14499E-03   -1.5570    
  11  Prefactor      .0000        9.5716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    18.008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.2791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.0102        54.695        .50612E-03   -1.5668    
  16  norm          10.611        10.192        .30738E-03   -1.5643    
  17  norm          .11102E-09    4.8239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          25.895        9.5547        .19658E-03   -1.5606    
  19  Prefactor     33.552        27.503        .17254E-03   -1.5592    
  20  Prefactor     91.500        67.379        .10456E-03   -1.5517    
  21  norm          .35211        2.1922        .61667E-02   -1.5696    
  22  norm           .0000        1.6770        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .63561        .14888        .60979E-01   -1.0649    
  24  Prefactor     .99776        .14381        .46240E-01   -.92804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1577e-08
Minuit parameter uncertainties:
  1  4.27138
  2  6.03734
  3  1.4415
  4  2.9336e-05
  5  31.1057
  6  4.358
  7  2.8623e-06
  8  28.1616
  9  7.15453
  10  19.1115
  11  4.51523e-06
  12  0.000101163
  13  1.29427e-06
  14  2.48635e-06
  15  29.6205
  16  10.1923
  17  4.36947e-05
  18  9.55469
  19  27.5028
  20  67.3799
  21  1.75716
  22  7.60021e-06
  23  0.148973
  24  0.143863
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7533.37377403

Extracting fit parameters...

4FGL J2237.0-3921
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  4.515e-06  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  9.499e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.978e-01  1.439e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  6.356e-01  1.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 339.269 -39.357
Photon Flux Upper Limit: 4.41720755587e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00340883930193 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39310143/likelihoodResults_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7533.37396233
delta logL = -0.00018830566205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7533.37377407
delta logL = -4.19540810981e-08

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34972E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .89002       1.0000          .0000       10.000    
     3 'Normalizat'    .63565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7533.374     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      219 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2240       -.72240E-06** at limit **
   2  Index         2.8035        3.6540        .56712E-04     .0000    
   3  Normalizat    .63561        .16794       -.16364E-04    .51770E-04
   4  Prefactor     .99776        .16874        .11071E-04    .90786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.80345
  Normalizat = 0.635611
  Prefactor  = 0.997762
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7533.374     FROM HESSE     STATUS=FAILED        11 CALLS      230 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .89024        2.1307        .56712E-04   -.45483    
   3  Normalizat    .63561        .97422       -.16364E-04   -1.0649    
   4  Prefactor     .99776        1.3369        .11071E-04   -.92804    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.59126e-12
Minuit parameter uncertainties:
  1  5.92413e-06
  2  2.01576
  3  1.00266
  4  1.38579
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7533.37377403

Extracting fit parameters...

4FGL J2237.0-3921
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  4.515e-06  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.381e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  9.499e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.978e-01  1.439e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  6.356e-01  1.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 339.269 -39.357
Photon Flux Upper Limit: 4.41720755587e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00340883930193 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/39310142/likelihoodResults_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7533.37396233
delta logL = -0.00018830566205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7533.37377407
delta logL = -4.19540810981e-08

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34972E-08   1.0000          .0000       .10000E+07
     2 'Index     '    .89002       1.0000          .0000       10.000    
     3 'Normalizat'    .63565       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99775       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7533.374     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      219 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2240       -.72240E-06** at limit **
   2  Index         2.8035        3.6540        .56712E-04     .0000    
   3  Normalizat    .63561        .16794       -.16364E-04    .51770E-04
   4  Prefactor     .99776        .16874        .11071E-04    .90786E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.80345
  Normalizat = 0.635611
  Prefactor  = 0.997762
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7533.374     FROM HESSE     STATUS=FAILED        11 CALLS      230 TOTAL
                     EDM=   .36E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.2291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .89024        2.1307        .56712E-04   -.45483    
   3  Normalizat    .63561        .97422       -.16364E-04   -1.0649    
   4  Prefactor     .99776        1.3369        .11071E-04   -.92804    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.59126e-12
Minuit parameter uncertainties:
  1  5.92413e-06
  2  2.01576
  3  1.00266
  4  1.38579
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7533.37377403
delta logL = 0.0

Extracting fit parameters...

4FGL J2237.0-3921
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  5.924e-06  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.803e+00  2.016e+00  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  9.499e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.978e-01  1.386e+00  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  6.356e-01  1.003e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 339.269 -39.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39310143/cmap_HighResolution_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2026-09-27 19:34:09.924258', job_id='39310143', GAL2='1.00', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790562849.92', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='2209' AND source_name='4FGL J2237.0-3921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 19:34:10 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7533.37377403
delta logL = 0.0

Extracting fit parameters...

4FGL J2237.0-3921
   Spectrum: PowerLaw
290    Prefactor:  0.000e+00  5.924e-06  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.803e+00  2.016e+00  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  9.499e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  9.978e-01  1.386e+00  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  6.356e-01  1.003e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 339.269 -39.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39310142/cmap_HighResolution_811900801_812160001_4FGL_J2237.0-3921_daily_bin2209.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2026-09-27 19:34:11.660381', job_id='39310142', GAL2='1.00', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790562851.66', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='2209' AND source_name='4FGL J2237.0-3921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 27 19:34:11 PDT 2026

