/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/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).


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)
/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 = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0940.7-6105_weekly_bin935
RA = 145.179, Dec = -61.0855
tmin = 804470401, tmax = 805075201
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='31076358', job_status='RUN', time_executed='2026-07-08 20:42:08.852155', time_epoch_executed='1783568528.85' WHERE source_name='4FGL J0940.7-6105' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31076358

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31076358/ft1_4FGL_J0940.7-6105_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31076358/ft1_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076358/ft1_filteredMKT_4FGL_J0940.7-6105_weekly_bin935.fits ra=145.179 dec=-61.0855 rad=12.0 tmin=804470401.0 tmax=805075201.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 6.27
user 5.37
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.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/31076358/ft1_filteredMKT_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.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 1.00
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 10458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DAnumber of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0940.7-6105_weekly_bin935
RA = 145.179, Dec = -61.0855
tmin = 804470401, tmax = 805075201
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='31076376', job_status='RUN', time_executed='2026-07-08 20:43:52.368500', time_epoch_executed='1783568632.37' WHERE source_name='4FGL J0940.7-6105' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31076376

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31076376/ft1_4FGL_J0940.7-6105_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31076376/ft1_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076376/ft1_filteredMKT_4FGL_J0940.7-6105_weekly_bin935.fits ra=145.179 dec=-61.0855 rad=12.0 tmin=804470401.0 tmax=805075201.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 6.04
user 5.03
sys 0.34

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.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/31076376/ft1_filteredMKT_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.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.99
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 10458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31076358/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits
.....................!
real 20.03
user 18.83
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31076358/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076358/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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/31076358/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
.....................!
real 74.55
user 68.44
sys 4.39

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
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Added 264 point sources and 8 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0940.7-6105 @ 145.179 -61.0855

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits scfile=/lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076358/cmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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=145.179 yref=-61.0855 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.93
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits scfile=/lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076358/cmap_HighResolution_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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=145.179 yref=-61.0855 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: vnumber of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0940.7-6105_weekly_bin935
RA = 145.179, Dec = -61.0855
tmin = 804470401, tmax = 805075201
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='31076442', job_status='RUN', time_executed='2026-07-08 20:44:51.899665', time_epoch_executed='1783568691.9' WHERE source_name='4FGL J0940.7-6105' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31076442

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31076442/ft1_4FGL_J0940.7-6105_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31076442/ft1_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076442/ft1_filteredMKT_4FGL_J0940.7-6105_weekly_bin935.fits ra=145.179 dec=-61.0855 rad=12.0 tmin=804470401.0 tmax=805075201.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 5.89
user 4.95
sys 0.36

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.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/31076442/ft1_filteredMKT_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.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.83
user 0.22
sys 0.12

Number of photons that the gtmktime cut: 10458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATnumber of points = 17462
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0940.7-6105_weekly_bin935
RA = 145.179, Dec = -61.0855
tmin = 804470401, tmax = 805075201
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='31076439', job_status='RUN', time_executed='2026-07-08 20:44:52.646297', time_epoch_executed='1783568692.65' WHERE source_name='4FGL J0940.7-6105' and cadence='weekly' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31076439

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31076439/ft1_4FGL_J0940.7-6105_weekly_bin935.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31076439/ft1_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076439/ft1_filteredMKT_4FGL_J0940.7-6105_weekly_bin935.fits ra=145.179 dec=-61.0855 rad=12.0 tmin=804470401.0 tmax=805075201.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 6.01
user 5.27
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.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/31076439/ft1_filteredMKT_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" outfile="/lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.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.93
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 10458

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31076376/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits
.....................!
real 18.23
user 17.31
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31076376/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076376/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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/31076376/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
.....................!
real 67.16
user 62.45
sys 3.94

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
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Added 264 point sources and 8 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0940.7-6105 @ 145.179 -61.0855

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits scfile=/lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076376/cmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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=145.179 yref=-61.0855 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.87
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits scfile=/lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076376/cmap_HighResolution_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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=145.179 yref=-61.0855 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: vA" outfile=/lscratch/kocevski/31076442/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits
.....................!
real 18.09
user 17.33
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31076442/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076442/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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/31076442/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
.....................!
real 67.52
user 62.92
sys 3.88

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
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Added 264 point sources and 8 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0940.7-6105 @ 145.179 -61.0855

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits scfile=/lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076442/cmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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=145.179 yref=-61.0855 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.84
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits scfile=/lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076442/cmap_HighResolution_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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=145.179 yref=-61.0855 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: veTA" outfile=/lscratch/kocevski/31076439/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits
.....................!
real 19.27
user 18.51
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31076439/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076439/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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/31076439/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
.....................!
real 71.78
user 66.78
sys 4.14

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
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Added 264 point sources and 8 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0940.7-6105 @ 145.179 -61.0855

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits scfile=/lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076439/cmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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=145.179 yref=-61.0855 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.74
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits scfile=/lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits outfile=/lscratch/kocevski/31076439/cmap_HighResolution_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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=145.179 yref=-61.0855 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.89
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31076376/Model_4FGL_J0940.7-6105_weekly_bin935.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source G296.5+10.0
adding source GAL_V02
adding source Puppis A
adding source Vela Junior
adding source Vela X
adding source Westerlund 2
Working on...
/lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits.....................!
real 614.23
user 609.45
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits', '/lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits', expMap='/lscratch/kocevski/31076376/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits', expCube='/lscratch/kocevski/31076376/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31076376/Model_4FGL_J0940.7-6105_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0940.7-6105'

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  5.698e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31076376/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31076376/ft2_4FGL_J0940.7-6105_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31076376/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31076376/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31076376/Model_4FGL_J0940.7-6105_weekly_bin935.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) = 93888.1356787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7021       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.7309       1.0000          .0000       .10000E+07
     3 'norm      '    .14699       1.0000          .0000       .10000E+07
     4 'norm      '    7.4682       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.2095       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37637E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11413E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    50.054       1.0000          .0000       .10000E+07
     9 'norm      '    8.9013       1.0000          .0000       .10000E+07
    10 'norm      '    4.3018       1.0000          .0000       .10000E+07
    11 'Prefactor '    .24004       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1412       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4412       1.0000         .10000E-01   10.000    
    14 'norm      '    2.9787       1.0000          .0000       .10000E+07
    15 'Prefactor '    .93432ersion mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.11
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31076358/Model_4FGL_J0940.7-6105_weekly_bin935.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source G296.5+10.0
adding source GAL_V02
adding source Puppis A
adding source Vela Junior
adding source Vela X
adding source Westerlund 2
Working on...
/lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits.....................!
real 664.28
user 651.36
sys 1.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits', '/lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits', expMap='/lscratch/kocevski/31076358/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits', expCube='/lscratch/kocevski/31076358/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31076358/Model_4FGL_J0940.7-6105_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0940.7-6105'

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  5.698e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31076358/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31076358/ft2_4FGL_J0940.7-6105_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31076358/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31076358/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31076358/Model_4FGL_J0940.7-6105_weekly_bin935.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) = 93888.1356787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7021       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.7309       1.0000          .0000       .10000E+07
     3 'norm      '    .14699       1.0000          .0000       .10000E+07
     4 'norm      '    7.4682       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.2095       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37637E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11413E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    50.054       1.0000          .0000       .10000E+07
     9 'norm      '    8.9013       1.0000          .0000       .10000E+07
    10 'norm      '    4.3018       1.0000          .0000       .10000E+07
    11 'Prefactor '    .24004       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1412       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4412       1.0000         .10000E-01   10.000    
    14 'norm      '    2.9787       1.0000          .0000       .10000E+07
    15 'Prefactor '    .93432rsion mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.82
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31076442/Model_4FGL_J0940.7-6105_weekly_bin935.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source G296.5+10.0
adding source GAL_V02
adding source Puppis A
adding source Vela Junior
adding source Vela X
adding source Westerlund 2
Working on...
/lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits.....................!
real 623.56
user 618.46
sys 1.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits', '/lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits', expMap='/lscratch/kocevski/31076442/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits', expCube='/lscratch/kocevski/31076442/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31076442/Model_4FGL_J0940.7-6105_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0940.7-6105'

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  5.698e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31076442/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31076442/ft2_4FGL_J0940.7-6105_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31076442/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31076442/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31076442/Model_4FGL_J0940.7-6105_weekly_bin935.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) = 93888.1356787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7021       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.7309       1.0000          .0000       .10000E+07
     3 'norm      '    .14699       1.0000          .0000       .10000E+07
     4 'norm      '    7.4682       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.2095       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37637E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11413E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    50.054       1.0000          .0000       .10000E+07
     9 'norm      '    8.9013       1.0000          .0000       .10000E+07
    10 'norm      '    4.3018       1.0000          .0000       .10000E+07
    11 'Prefactor '    .24004       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1412       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4412       1.0000         .10000E-01   10.000    
    14 'norm      '    2.9787       1.0000          .0000       .10000E+07
    15 'Prefactor '    .93432 ersion mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.84
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits evtable="EVENTS" scfile=/lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31076439/Model_4FGL_J0940.7-6105_weekly_bin935.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source G296.5+10.0
adding source GAL_V02
adding source Puppis A
adding source Vela Junior
adding source Vela X
adding source Westerlund 2
Working on...
/lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits.....................!
real 648.56
user 643.41
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits', '/lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits', expMap='/lscratch/kocevski/31076439/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits', expCube='/lscratch/kocevski/31076439/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31076439/Model_4FGL_J0940.7-6105_weekly_bin935.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0940.7-6105'

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  5.698e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31076439/ft1_filtered_4FGL_J0940.7-6105_weekly_bin935.fits
Spacecraft file(s): /lscratch/kocevski/31076439/ft2_4FGL_J0940.7-6105_weekly_bin935.fits
Exposure map: /lscratch/kocevski/31076439/expmap_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
Exposure cube: /lscratch/kocevski/31076439/ltcube_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31076439/Model_4FGL_J0940.7-6105_weekly_bin935.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) = 93888.1356787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7021       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.7309       1.0000          .0000       .10000E+07
     3 'norm      '    .14699       1.0000          .0000       .10000E+07
     4 'norm      '    7.4682       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.2095       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37637E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11413E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    50.054       1.0000          .0000       .10000E+07
     9 'norm      '    8.9013       1.0000          .0000       .10000E+07
    10 'norm      '    4.3018       1.0000          .0000       .10000E+07
    11 'Prefactor '    .24004       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1412       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4412       1.0000         .10000E-01   10.000    
    14 'norm      '    2.9787       1.0000          .0000       .10000E+07
    15 'Prefactor '    .93432       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   93888.13     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1341 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7003        3.7466        .98864E-08   -.18376E-03
   2  Prefactor     7.7327        9.5277       -.41323E-09   -.11846E-03
   3  norm          .15390        .58020        .79164E-08** at limit **
   4  norm          7.4616        2.7773        .16933E-07   -.66080E-03
   5  Prefactor     5.2184        4.4513        .52075E-08   -.21919E-03
   6  Prefactor      .0000        3.9809       -.12271E-08** at limit **
   7  Prefactor      .0000        5.3458       -.18000E-08** at limit **
   8  Prefactor     50.304        64.955       -.60123E-06   -.15968E-03
   9  norm          8.9378        9.3760        .48919E-07   -.28246E-03
  10  norm          4.3015        1.0505        .10271E-08   -.97627E-03
  11  Prefactor     .16615E-01    4.6971        .91427E-08** at limit **
  12  Prefactor     1.1406        1.3854        .60069E-07    .53712E-03
  13  Normalizat    1.4412        .15570        .68673E-06   -.32865E-04
  14  norm          2.9802        .68893        .17262E-08   -.34730E-02
  15  Prefactor     .93432        .18003E-01   -.73914E-07   -.10741E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70028
  Prefactor  = 7.73269
  norm       = 0.153901
  norm       = 7.46164
  Prefactor  = 5.21839
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 50.3041
  norm       = 8.9378
  norm       = 4.30146
  Prefactor  = 0.0166154
  Prefactor  = 1.14062
  Normalizat = 1.44122
  norm       = 2.98023
  Prefactor  = 0.934323
      1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   93888.13     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1341 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7003        3.7466        .98864E-08   -.18376E-03
   2  Prefactor     7.7327        9.5277       -.41323E-09   -.11846E-03
   3  norm          .15390        .58020        .79164E-08** at limit **
   4  norm          7.4616        2.7773        .16933E-07   -.66080E-03
   5  Prefactor     5.2184        4.4513        .52075E-08   -.21919E-03
   6  Prefactor      .0000        3.9809       -.12271E-08** at limit **
   7  Prefactor      .0000        5.3458       -.18000E-08** at limit **
   8  Prefactor     50.304        64.955       -.60123E-06   -.15968E-03
   9  norm          8.9378        9.3760        .48919E-07   -.28246E-03
  10  norm          4.3015        1.0505        .10271E-08   -.97627E-03
  11  Prefactor     .16615E-01    4.6971        .91427E-08** at limit **
  12  Prefactor     1.1406        1.3854        .60069E-07    .53712E-03
  13  Normalizat    1.4412        .15570        .68673E-06   -.32865E-04
  14  norm          2.9802        .68893        .17262E-08   -.34730E-02
  15  Prefactor     .93432        .18003E-01   -.73914E-07   -.10741E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70028
  Prefactor  = 7.73269
  norm       = 0.153901
  norm       = 7.46164
  Prefactor  = 5.21839
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 50.3041
  norm       = 8.9378
  norm       = 4.30146
  Prefactor  = 0.0166154
  Prefactor  = 1.14062
  Normalizat = 1.44122
  norm       = 2.98023
  Prefactor  = 0.934323
       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   93888.13     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1341 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7003        3.7466        .98864E-08   -.18376E-03
   2  Prefactor     7.7327        9.5277       -.41323E-09   -.11846E-03
   3  norm          .15390        .58020        .79164E-08** at limit **
   4  norm          7.4616        2.7773        .16933E-07   -.66080E-03
   5  Prefactor     5.2184        4.4513        .52075E-08   -.21919E-03
   6  Prefactor      .0000        3.9809       -.12271E-08** at limit **
   7  Prefactor      .0000        5.3458       -.18000E-08** at limit **
   8  Prefactor     50.304        64.955       -.60123E-06   -.15968E-03
   9  norm          8.9378        9.3760        .48919E-07   -.28246E-03
  10  norm          4.3015        1.0505        .10271E-08   -.97627E-03
  11  Prefactor     .16615E-01    4.6971        .91427E-08** at limit **
  12  Prefactor     1.1406        1.3854        .60069E-07    .53712E-03
  13  Normalizat    1.4412        .15570        .68673E-06   -.32865E-04
  14  norm          2.9802        .68893        .17262E-08   -.34730E-02
  15  Prefactor     .93432        .18003E-01   -.73914E-07   -.10741E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70028
  Prefactor  = 7.73269
  norm       = 0.153901
  norm       = 7.46164
  Prefactor  = 5.21839
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 50.3041
  norm       = 8.9378
  norm       = 4.30146
  Prefactor  = 0.0166154
  Prefactor  = 1.14062
  Normalizat = 1.44122
  norm       = 2.98023
  Prefactor  = 0.934323
 **********
 **   18 **HESSE 
 **********

 FCN=   93888.13     FROM HESSE     STATUS=OK           206 CALLS     1547 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7003        3.7148        .32235E-04   -1.5682    
   2  Prefactor     7.7327        9.5191        .14417E-04   -1.5652    
   3  norm          .15390        .58098        .75561E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.4616        2.7829        .73350E-04   -1.5653    
   5  Prefactor     5.2184        4.4542        .17607E-04   -1.5662    
   6  Prefactor      .0000        3.9826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.3493        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.304        65.035        .56542E-05   -1.5566    
   9  norm          8.9378        9.4316        .67142E-04   -1.5648    
  10  norm          4.3015        1.0393        .13991E-04   -1.5666    
  11  Prefactor     .16615E-01    4.2871        .16248E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1406        1.3791        .37199E-04   -1.5687    
  13  Normalizat    1.4412        .15748        .94091E-03   -.79444    
  14  norm          2.9802        .68216        .10518E-04   -1.5673    
  15  Prefactor     .93432        .18484E-01    .12716E-03   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84797e-09
Minuit parameter uncertainties:
  1  3.71477
  2  9.51914
  3  0.580982
  4  2.78286
  5  4.45416
  6  1.08757e-06
  7  1.15887e-06
  8  65.0359
  9  9.43163
  10  1.03935
  11  0.533787
  12  1.3791
  13  0.157528
  14  0.682164
  15  0.0184843
       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   93888.13     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1341 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7003        3.7466        .98864E-08   -.18376E-03
   2  Prefactor     7.7327        9.5277       -.41323E-09   -.11846E-03
   3  norm          .15390        .58020        .79164E-08** at limit **
   4  norm          7.4616        2.7773        .16933E-07   -.66080E-03
   5  Prefactor     5.2184        4.4513        .52075E-08   -.21919E-03
   6  Prefactor      .0000        3.9809       -.12271E-08** at limit **
   7  Prefactor      .0000        5.3458       -.18000E-08** at limit **
   8  Prefactor     50.304        64.955       -.60123E-06   -.15968E-03
   9  norm          8.9378        9.3760        .48919E-07   -.28246E-03
  10  norm          4.3015        1.0505        .10271E-08   -.97627E-03
  11  Prefactor     .16615E-01    4.6971        .91427E-08** at limit **
  12  Prefactor     1.1406        1.3854        .60069E-07    .53712E-03
  13  Normalizat    1.4412        .15570        .68673E-06   -.32865E-04
  14  norm          2.9802        .68893        .17262E-08   -.34730E-02
  15  Prefactor     .93432        .18003E-01   -.73914E-07   -.10741E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70028
  Prefactor  = 7.73269
  norm       = 0.153901
  norm       = 7.46164
  Prefactor  = 5.21839
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 50.3041
  norm       = 8.9378
  norm       = 4.30146
  Prefactor  = 0.0166154
  Prefactor  = 1.14062
  Normalizat = 1.44122
  norm       = 2.98023
  Prefactor  = 0.934323
 **********
 **   18 **HESSE 
 **********

 FCN=   93888.13     FROM HESSE     STATUS=OK           206 CALLS     1547 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7003        3.7148        .32235E-04   -1.5682    
   2  Prefactor     7.7327        9.5191        .14417E-04   -1.5652    
   3  norm          .15390        .58098        .75561E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.4616        2.7829        .73350E-04   -1.5653    
   5  Prefactor     5.2184        4.4542        .17607E-04   -1.5662    
   6  Prefactor      .0000        3.9826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.3493        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.304        65.035        .56542E-05   -1.5566    
   9  norm          8.9378        9.4316        .67142E-04   -1.5648    
  10  norm          4.3015        1.0393        .13991E-04   -1.5666    
  11  Prefactor     .16615E-01    4.2871        .16248E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1406        1.3791        .37199E-04   -1.5687    
  13  Normalizat    1.4412        .15748        .94091E-03   -.79444    
  14  norm          2.9802        .68216        .10518E-04   -1.5673    
  15  Prefactor     .93432        .18484E-01    .12716E-03   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84797e-09
Minuit parameter uncertainties:
  1  3.71477
  2  9.51914
  3  0.580982
  4  2.78286
  5  4.45416
  6  1.08757e-06
  7  1.15887e-06
  8  65.0359
  9  9.43163
  10  1.03935
  11  0.533787
  12  1.3791
  13  0.157528
  14  0.682164
  15  0.0184843
 **********
 **   18 **HESSE 
 **********

 FCN=   93888.13     FROM HESSE     STATUS=OK           206 CALLS     1547 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7003        3.7148        .32235E-04   -1.5682    
   2  Prefactor     7.7327        9.5191        .14417E-04   -1.5652    
   3  norm          .15390        .58098        .75561E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.4616        2.7829        .73350E-04   -1.5653    
   5  Prefactor     5.2184        4.4542        .17607E-04   -1.5662    
   6  Prefactor      .0000        3.9826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.3493        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.304        65.035        .56542E-05   -1.5566    
   9  norm          8.9378        9.4316        .67142E-04   -1.5648    
  10  norm          4.3015        1.0393        .13991E-04   -1.5666    
  11  Prefactor     .16615E-01    4.2871        .16248E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1406        1.3791        .37199E-04   -1.5687    
  13  Normalizat    1.4412        .15748        .94091E-03   -.79444    
  14  norm          2.9802        .68216        .10518E-04   -1.5673    
  15  Prefactor     .93432        .18484E-01    .12716E-03   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84797e-09
Minuit parameter uncertainties:
  1  3.71477
  2  9.51914
  3  0.580982
  4  2.78286
  5  4.45416
  6  1.08757e-06
  7  1.15887e-06
  8  65.0359
  9  9.43163
  10  1.03935
  11  0.533787
  12  1.3791
  13  0.157528
  14  0.682164
  15  0.0184843
 **********
 **   18 **HESSE 
 **********

 FCN=   93888.13     FROM HESSE     STATUS=OK           206 CALLS     1547 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7003        3.7148        .32235E-04   -1.5682    
   2  Prefactor     7.7327        9.5191        .14417E-04   -1.5652    
   3  norm          .15390        .58098        .75561E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.4616        2.7829        .73350E-04   -1.5653    
   5  Prefactor     5.2184        4.4542        .17607E-04   -1.5662    
   6  Prefactor      .0000        3.9826        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.3493        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.304        65.035        .56542E-05   -1.5566    
   9  norm          8.9378        9.4316        .67142E-04   -1.5648    
  10  norm          4.3015        1.0393        .13991E-04   -1.5666    
  11  Prefactor     .16615E-01    4.2871        .16248E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1406        1.3791        .37199E-04   -1.5687    
  13  Normalizat    1.4412        .15748        .94091E-03   -.79444    
  14  norm          2.9802        .68216        .10518E-04   -1.5673    
  15  Prefactor     .93432        .18484E-01    .12716E-03   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84797e-09
Minuit parameter uncertainties:
  1  3.71477
  2  9.51914
  3  0.580982
  4  2.78286
  5  4.45416
  6  1.08757e-06
  7  1.15887e-06
  8  65.0359
  9  9.43163
  10  1.03935
  11  0.533787
  12  1.3791
  13  0.157528
  14  0.682164
  15  0.0184843
Done.

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

Extracting fit parameters...

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.088e-06  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.343e-01  1.848e-02  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
930   Normalization:  1.441e+00  1.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 145.179 -61.086
Photon Flux Upper Limit: 4.15021793797e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00323724339485 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31076376/likelihoodResults_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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) = 93888.1380317
delta logL = -0.00369504283299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 93888.1343367
delta logL = -1.89174897969e-10

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93888.13     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      190 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .65097        .42118E-03** at limit **
   2  Index         .72624        .57898       -.31891E-04     .0000    
   3  Normalizat    1.4412        1.0564       -.29954E-05    .18352E-04
   4  Prefactor     .93432        1.2775        .15763E-07    .84959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.726245
  Normalizat = 1.44122
  Prefactor  = 0.934323
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93888.13     FROM HESSE     STATUS=FAILED         9 CALLS      199 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .65097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .31904E-02    .83077       -.31891E-04   -1.0251    
   3  Normalizat    1.4412        1.0564       -.29954E-05   -.79444    
   4  Prefactor     .93432        1.2775        .15763E-07   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.63639e-13
Minuit parameter uncertainties:
  1  1.26575e-06
  2  0.583893
  3  1.07313
  4  1.3225
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) = 93888.1343367
delta logL = 0.0

Extracting fit parameters...

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.266e-06  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  7.262e-01  5.839e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.343e-01  1.323e+00  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
930   Normalization:  1.441e+00  1.073e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 145.179 -61.086

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31076376/cmap_HighResolution_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.15e-08', time_completed='2026-07-08 21:40:38.689380', job_id='31076376', GAL2='0.93', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1783572038.69', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='935' AND source_name='4FGL J0940.7-6105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul  8 21:40:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.088e-06  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.343e-01  1.848e-02  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
930   Normalization:  1.441e+00  1.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 145.179 -61.086
Photon Flux Upper Limit: 4.15021793797e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00323724339485 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31076442/likelihoodResults_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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) = 93888.1380317
delta logL = -0.00369504283299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 93888.1343367
delta logL = -1.89174897969e-10

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93888.13     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      190 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .65097        .42118E-03** at limit **
   2  Index         .72624        .57898       -.31891E-04     .0000    
   3  Normalizat    1.4412        1.0564       -.29954E-05    .18352E-04
   4  Prefactor     .93432        1.2775        .15763E-07    .84959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.726245
  Normalizat = 1.44122
  Prefactor  = 0.934323
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93888.13     FROM HESSE     STATUS=FAILED         9 CALLS      199 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .65097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .31904E-02    .83077       -.31891E-04   -1.0251    
   3  Normalizat    1.4412        1.0564       -.29954E-05   -.79444    
   4  Prefactor     .93432        1.2775        .15763E-07   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.63639e-13
Minuit parameter uncertainties:
  1  1.26575e-06
  2  0.583893
  3  1.07313
  4  1.3225
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) = 93888.1343367
delta logL = 0.0

Extracting fit parameters...

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.266e-06  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  7.262e-01  5.839e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.343e-01  1.323e+00  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
930   Normalization:  1.441e+00  1.073e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 145.179 -61.086

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31076442/cmap_HighResolution_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.15e-08', time_completed='2026-07-08 21:41:47.623645', job_id='31076442', GAL2='0.93', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1783572107.62', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='935' AND source_name='4FGL J0940.7-6105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul  8 21:41:47 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.088e-06  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.343e-01  1.848e-02  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
930   Normalization:  1.441e+00  1.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 145.179 -61.086
Photon Flux Upper Limit: 4.15021793797e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00323724339485 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31076358/likelihoodResults_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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) = 93888.1380317
delta logL = -0.00369504283299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 93888.1343367
delta logL = -1.89174897969e-10

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93888.13     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      190 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .65097        .42118E-03** at limit **
   2  Index         .72624        .57898       -.31891E-04     .0000    
   3  Normalizat    1.4412        1.0564       -.29954E-05    .18352E-04
   4  Prefactor     .93432        1.2775        .15763E-07    .84959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.726245
  Normalizat = 1.44122
  Prefactor  = 0.934323
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93888.13     FROM HESSE     STATUS=FAILED         9 CALLS      199 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .65097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .31904E-02    .83077       -.31891E-04   -1.0251    
   3  Normalizat    1.4412        1.0564       -.29954E-05   -.79444    
   4  Prefactor     .93432        1.2775        .15763E-07   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.63639e-13
Minuit parameter uncertainties:
  1  1.26575e-06
  2  0.583893
  3  1.07313
  4  1.3225
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) = 93888.1343367
delta logL = 0.0

Extracting fit parameters...

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.266e-06  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  7.262e-01  5.839e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.343e-01  1.323e+00  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
930   Normalization:  1.441e+00  1.073e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 145.179 -61.086

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31076358/cmap_HighResolution_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.15e-08', time_completed='2026-07-08 21:42:41.963914', job_id='31076358', GAL2='0.93', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1783572161.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='935' AND source_name='4FGL J0940.7-6105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul  8 21:42:42 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.088e-06  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.546e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.343e-01  1.848e-02  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
930   Normalization:  1.441e+00  1.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 145.179 -61.086
Photon Flux Upper Limit: 4.15021793797e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00323724339485 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31076439/likelihoodResults_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.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) = 93888.1380317
delta logL = -0.00369504283299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 93888.1343367
delta logL = -1.89174897969e-10

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93888.13     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      190 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .65097        .42118E-03** at limit **
   2  Index         .72624        .57898       -.31891E-04     .0000    
   3  Normalizat    1.4412        1.0564       -.29954E-05    .18352E-04
   4  Prefactor     .93432        1.2775        .15763E-07    .84959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.726245
  Normalizat = 1.44122
  Prefactor  = 0.934323
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   93888.13     FROM HESSE     STATUS=FAILED         9 CALLS      199 TOTAL
                     EDM=   .86E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .65097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .31904E-02    .83077       -.31891E-04   -1.0251    
   3  Normalizat    1.4412        1.0564       -.29954E-05   -.79444    
   4  Prefactor     .93432        1.2775        .15763E-07   -.94952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.63639e-13
Minuit parameter uncertainties:
  1  1.26575e-06
  2  0.583893
  3  1.07313
  4  1.3225
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) = 93888.1343367
delta logL = 0.0

Extracting fit parameters...

4FGL J0940.7-6105
   Spectrum: PowerLaw
368    Prefactor:  0.000e+00  1.266e-06  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  7.262e-01  5.839e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  9.903e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
945    Prefactor:  9.343e-01  1.323e+00  0.000e+00  1.000e+01 ( 1.000e+00)
946        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
947        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
930   Normalization:  1.441e+00  1.073e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 145.179 -61.086

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /lscratch/kocevski/31076439/cmap_HighResolution_804470401_805075201_4FGL_J0940.7-6105_weekly_bin935.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.15e-08', time_completed='2026-07-08 21:45:43.523478', job_id='31076439', GAL2='0.93', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1783572343.52', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='935' AND source_name='4FGL J0940.7-6105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul  8 21:45:43 PDT 2026

