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

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

Done.


Performing analysis on: 4FGL_J1332.0-0509_weekly_bin947
RA = 203.02, Dec = -5.1611
tmin = 811728001, tmax = 812332801
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='39470484', job_status='RUN', time_executed='2026-09-29 15:17:07.500347', time_epoch_executed='1790720227.5' WHERE source_name='4FGL J1332.0-0509' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39470484

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39470484/ft1_4FGL_J1332.0-0509_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39470484/ft1_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470484/ft1_filteredMKT_4FGL_J1332.0-0509_weekly_bin947.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=811728001.0 tmax=812332801.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.83
user 6.22
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.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/39470484/ft1_filteredMKT_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.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.55
user 0.24
sys 0.15

Number of photons that the gtmktime cut: 1214

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" ou/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).

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


Performing analysis on: 4FGL_J1332.0-0509_weekly_bin947
RA = 203.02, Dec = -5.1611
tmin = 811728001, tmax = 812332801
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='39470534', job_status='RUN', time_executed='2026-09-29 15:17:53.158446', time_epoch_executed='1790720273.16' WHERE source_name='4FGL J1332.0-0509' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39470534

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39470534/ft1_4FGL_J1332.0-0509_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39470534/ft1_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470534/ft1_filteredMKT_4FGL_J1332.0-0509_weekly_bin947.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=811728001.0 tmax=812332801.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 7.08
user 6.31
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.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/39470534/ft1_filteredMKT_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.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.78
user 0.27
sys 0.14

Number of photons that the gtmktime cut: 1214

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" onumber of points = 17526
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1332.0-0509_weekly_bin947
RA = 203.02, Dec = -5.1611
tmin = 811728001, tmax = 812332801
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='39470540', job_status='RUN', time_executed='2026-09-29 15:18:15.131495', time_epoch_executed='1790720295.13' WHERE source_name='4FGL J1332.0-0509' and cadence='weekly' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/39470540

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

Retrieving the FT1 file...

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

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

Retrieving 109 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/39470540/ft1_4FGL_J1332.0-0509_weekly_bin947.fits


Retrieving the FT1 file...

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

Retrieving 109 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/39470540/ft1_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470540/ft1_filteredMKT_4FGL_J1332.0-0509_weekly_bin947.fits ra=203.02 dec=-5.1611 rad=12.0 tmin=811728001.0 tmax=812332801.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.60
user 5.88
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.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/39470540/ft1_filteredMKT_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" outfile="/lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.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.89
user 0.25
sys 0.16

Number of photons that the gtmktime cut: 1214

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" otfile=/lscratch/kocevski/39470484/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits
.....................!
real 21.06
user 20.31
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39470484/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470484/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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/39470484/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
.....................!
real 77.35
user 72.05
sys 4.42

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

Setting source of interest to:
4FGL J1332.0-0509 @ 203.02 -5.1611

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits scfile=/lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470484/cmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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=203.02 yref=-5.1611 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.51
user 0.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits scfile=/lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470484/cmap_HighResolution_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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=203.02 yref=-5.1611 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.65
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39470484/Model_4FGL_J1332.0-0509_weekly_bin947.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_utfile=/lscratch/kocevski/39470534/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits
.....................!
real 21.83
user 20.76
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39470534/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470534/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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/39470534/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
.....................!
real 79.74
user 72.48
sys 4.78

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

Setting source of interest to:
4FGL J1332.0-0509 @ 203.02 -5.1611

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits scfile=/lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470534/cmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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=203.02 yref=-5.1611 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.62
user 0.27
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits scfile=/lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470534/cmap_HighResolution_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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=203.02 yref=-5.1611 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.73
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39470534/Model_4FGL_J1332.0-0509_weekly_bin947.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 GALutfile=/lscratch/kocevski/39470540/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits
.....................!
real 19.69
user 18.96
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39470540/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470540/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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/39470540/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
.....................!
real 73.94
user 68.04
sys 4.24

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

Setting source of interest to:
4FGL J1332.0-0509 @ 203.02 -5.1611

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits scfile=/lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470540/cmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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=203.02 yref=-5.1611 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.81
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits scfile=/lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits outfile=/lscratch/kocevski/39470540/cmap_HighResolution_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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=203.02 yref=-5.1611 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 1.95
user 0.30
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits evtable="EVENTS" scfile=/lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39470540/Model_4FGL_J1332.0-0509_weekly_bin947.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 GALV02
Working on...
/lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits.....................!
real 44.29
user 42.56
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits', '/lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits', expMap='/lscratch/kocevski/39470484/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits', expCube='/lscratch/kocevski/39470484/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39470484/Model_4FGL_J1332.0-0509_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.0-0509'

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  2.389e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39470484/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39470484/ft2_4FGL_J1332.0-0509_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39470484/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39470484/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39470484/Model_4FGL_J1332.0-0509_weekly_bin947.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) = 13753.1633776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.065       1.0000          .0000       .10000E+07
     2 'norm      '    .89038E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .44006       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54861E-03   1.0000          .0000       .10000E+07
     5 'norm      '    2.5980       1.0000          .0000       .10000E+07
     6 'norm      '    .95247       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13117E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.9988       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6897       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15899E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .22649E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .80567       1.0000          .0000       .10000E+07
    13 'norm      '    1.3715       1.0000          .0000       .10000E+07
    14 'norm      '    .45180E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .84415E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20517E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .38996E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33548E-03   1.0000          .0000       .10000E+07
    19 'norm      '    17.502       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.0817       1.0000          .0000       .10000E+07
    21 'norm      '    5.8185       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4411       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13753.08     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1585 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.131        1.0593       -.75617E-08    .80076E-02
   2  norm          .33862E-08    5.1349        .28331E-06** at limit **
   3  norm          .43990        .16158        .48780E-07   -.25340E-01
   4  Prefactor     .23759E-07    23.067        .14679E-05** at limit **
   5  norm          2.6064        4.2067       -.21715E-07   -.11623E-02
   6  norm          .95529        1.1271       -.30673E-07    .85569E-02
   7  Prefactor     .69039E-06    4.7305        .13124E-06** at limit **
   8  Prefactor     5.9864        10.791        .29014E-06    .31299E-01
   9  Prefactor     2.6534        5.1289       -.41878E-06    .13543E-02
  10  Prefactor      .0000        102.76        .33082E-05** at limit **
  11  norm           .0000        .38867       -.15183E-06** at limit **
  12  norm          .80590        1.8597       -.26498E-07    .14138E-02
  13  norm          1.3753        4.2230       -.13622E-06    .56987E-03
  14  norm          .23315E-08    18.242        .97405E-06** at limit **
  15  Prefactor     .83239E-06    7.0159        .44969E-06** at limit **
  16  Prefactor     .16431E-06    6.8580       -.15136E-06** at limit **
  17  norm          .19429E-08    3.1911       -.10814E-06** at limit **
  18  Prefactor     .12212E-08    2.6807       -.24375E-06** at limit **
  19  norm          17.503        3.0997       -.42372E-07    .40924E-02
  20  Prefactor     8.1006        1.5507        .13590E-07    .43369E-02
  21  norm          5.8093        5.7023        .75454E-08   -.38023E-03
  22  Normalizat    1.4412        .19060       -.13630E-05    .28252E-04
  23  Prefactor     .95615        .12195        .79639E-06    .40316E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.1309
  norm       = 3.38618e-09
  norm       = 0.439904
  Prefactor  = 2.37588e-08
  norm       = 2.60639
  norm       = 0.95529
  Prefactor  = 6.90392e-07
  Prefactor  = 5.9864
  Prefactor  = 2.65342
  Prefactor  = 0
  norm       = 0
  norm       = 0.8059
  norm       = 1.37528
  norm       = 2.33147e-09
  Prefactor  = 8.3239e-07
  Prefactor  = 1.64313e-07
  norm       = 1.94289e-09
  Prefactor  = 1.22125e-09
  norm       = 17.5034
  Prefactor  = 8.10058
  norm       = 5.80933
  Normalizat = 1.44121
  Prefactor  = 0.956147
 **********
 **   18 **HESSE 
 **********

 FCN=   13753.08     FROM HESSE     STATUS=OK           420 CALLS     2005 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.131        28.828        .19226E-03   -1.5604    
   2  norm          .33862E-08    5.1758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .43990        .16971        .62083E-03   -1.5695    
   4  Prefactor     .23759E-07    23.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6064        4.2311        .63272E-03   -1.5676    
   6  norm          .95529        6.8907        .42198E-03   -1.5688    
   7  Prefactor     .69039E-06    8.2355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9864        11.585        .40973E-03   -1.5659    
   9  Prefactor     2.6534        5.1527        .62097E-03   -1.5675    
  10  Prefactor      .0000        101.78        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .38387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .80590        1.9299        .52513E-03   -1.5690    
  13  norm          1.3753        4.3402        .93045E-03   -1.5685    
  14  norm          .23315E-08    18.316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .83239E-06    10.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16431E-06    7.7590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .19429E-08    3.2003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12212E-08    2.6879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          17.503        3.0953        .23913E-03   -1.5624    
  20  Prefactor     8.1006        13.379        .35244E-03   -1.5651    
  21  norm          5.8093        5.7070        .41612E-03   -1.5660    
  22  Normalizat    1.4412        .16070        .68019E-01   -.79444    
  23  Prefactor     .95615        .10292        .45717E-01   -.94206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11387e-07
Minuit parameter uncertainties:
  1  28.828
  2  0.00026536
  3  0.169711
  4  0.00148207
  5  4.23112
  6  5.13134
  7  0.00476903
  8  11.5852
  9  5.15274
  10  6.71461e-05
  11  3.09786e-06
  12  1.92995
  13  4.34016
  14  0.000411616
  15  0.00594101
  16  0.00225805
  17  0.00015825
  18  0.000115708
  19  3.09533
  20  13.379
  21  5.707
  22  0.16076
  23  0.102945
_V02
Working on...
/lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits.....................!
real 44.92
user 42.24
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits', '/lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits', expMap='/lscratch/kocevski/39470534/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits', expCube='/lscratch/kocevski/39470534/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39470534/Model_4FGL_J1332.0-0509_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.0-0509'

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  2.389e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39470534/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39470534/ft2_4FGL_J1332.0-0509_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39470534/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39470534/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39470534/Model_4FGL_J1332.0-0509_weekly_bin947.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) = 13753.1633776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.065       1.0000          .0000       .10000E+07
     2 'norm      '    .89038E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .44006       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54861E-03   1.0000          .0000       .10000E+07
     5 'norm      '    2.5980       1.0000          .0000       .10000E+07
     6 'norm      '    .95247       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13117E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.9988       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6897       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15899E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .22649E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .80567       1.0000          .0000       .10000E+07
    13 'norm      '    1.3715       1.0000          .0000       .10000E+07
    14 'norm      '    .45180E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .84415E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20517E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .38996E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33548E-03   1.0000          .0000       .10000E+07
    19 'norm      '    17.502       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.0817       1.0000          .0000       .10000E+07
    21 'norm      '    5.8185       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4411       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13753.08     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1585 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.131        1.0593       -.75617E-08    .80076E-02
   2  norm          .33862E-08    5.1349        .28331E-06** at limit **
   3  norm          .43990        .16158        .48780E-07   -.25340E-01
   4  Prefactor     .23759E-07    23.067        .14679E-05** at limit **
   5  norm          2.6064        4.2067       -.21715E-07   -.11623E-02
   6  norm          .95529        1.1271       -.30673E-07    .85569E-02
   7  Prefactor     .69039E-06    4.7305        .13124E-06** at limit **
   8  Prefactor     5.9864        10.791        .29014E-06    .31299E-01
   9  Prefactor     2.6534        5.1289       -.41878E-06    .13543E-02
  10  Prefactor      .0000        102.76        .33082E-05** at limit **
  11  norm           .0000        .38867       -.15183E-06** at limit **
  12  norm          .80590        1.8597       -.26498E-07    .14138E-02
  13  norm          1.3753        4.2230       -.13622E-06    .56987E-03
  14  norm          .23315E-08    18.242        .97405E-06** at limit **
  15  Prefactor     .83239E-06    7.0159        .44969E-06** at limit **
  16  Prefactor     .16431E-06    6.8580       -.15136E-06** at limit **
  17  norm          .19429E-08    3.1911       -.10814E-06** at limit **
  18  Prefactor     .12212E-08    2.6807       -.24375E-06** at limit **
  19  norm          17.503        3.0997       -.42372E-07    .40924E-02
  20  Prefactor     8.1006        1.5507        .13590E-07    .43369E-02
  21  norm          5.8093        5.7023        .75454E-08   -.38023E-03
  22  Normalizat    1.4412        .19060       -.13630E-05    .28252E-04
  23  Prefactor     .95615        .12195        .79639E-06    .40316E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.1309
  norm       = 3.38618e-09
  norm       = 0.439904
  Prefactor  = 2.37588e-08
  norm       = 2.60639
  norm       = 0.95529
  Prefactor  = 6.90392e-07
  Prefactor  = 5.9864
  Prefactor  = 2.65342
  Prefactor  = 0
  norm       = 0
  norm       = 0.8059
  norm       = 1.37528
  norm       = 2.33147e-09
  Prefactor  = 8.3239e-07
  Prefactor  = 1.64313e-07
  norm       = 1.94289e-09
  Prefactor  = 1.22125e-09
  norm       = 17.5034
  Prefactor  = 8.10058
  norm       = 5.80933
  Normalizat = 1.44121
  Prefactor  = 0.956147
_V02
Working on...
/lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits.....................!
real 42.51
user 40.93
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits', '/lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits', expMap='/lscratch/kocevski/39470540/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits', expCube='/lscratch/kocevski/39470540/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39470540/Model_4FGL_J1332.0-0509_weekly_bin947.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1332.0-0509'

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  2.389e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/39470540/ft1_filtered_4FGL_J1332.0-0509_weekly_bin947.fits
Spacecraft file(s): /lscratch/kocevski/39470540/ft2_4FGL_J1332.0-0509_weekly_bin947.fits
Exposure map: /lscratch/kocevski/39470540/expmap_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
Exposure cube: /lscratch/kocevski/39470540/ltcube_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/39470540/Model_4FGL_J1332.0-0509_weekly_bin947.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) = 13753.1633776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.065       1.0000          .0000       .10000E+07
     2 'norm      '    .89038E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .44006       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54861E-03   1.0000          .0000       .10000E+07
     5 'norm      '    2.5980       1.0000          .0000       .10000E+07
     6 'norm      '    .95247       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13117E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.9988       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6897       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15899E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .22649E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .80567       1.0000          .0000       .10000E+07
    13 'norm      '    1.3715       1.0000          .0000       .10000E+07
    14 'norm      '    .45180E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .84415E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20517E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .38996E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33548E-03   1.0000          .0000       .10000E+07
    19 'norm      '    17.502       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.0817       1.0000          .0000       .10000E+07
    21 'norm      '    5.8185       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4411       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13753.08     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1585 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.131        1.0593       -.75617E-08    .80076E-02
   2  norm          .33862E-08    5.1349        .28331E-06** at limit **
   3  norm          .43990        .16158        .48780E-07   -.25340E-01
   4  Prefactor     .23759E-07    23.067        .14679E-05** at limit **
   5  norm          2.6064        4.2067       -.21715E-07   -.11623E-02
   6  norm          .95529        1.1271       -.30673E-07    .85569E-02
   7  Prefactor     .69039E-06    4.7305        .13124E-06** at limit **
   8  Prefactor     5.9864        10.791        .29014E-06    .31299E-01
   9  Prefactor     2.6534        5.1289       -.41878E-06    .13543E-02
  10  Prefactor      .0000        102.76        .33082E-05** at limit **
  11  norm           .0000        .38867       -.15183E-06** at limit **
  12  norm          .80590        1.8597       -.26498E-07    .14138E-02
  13  norm          1.3753        4.2230       -.13622E-06    .56987E-03
  14  norm          .23315E-08    18.242        .97405E-06** at limit **
  15  Prefactor     .83239E-06    7.0159        .44969E-06** at limit **
  16  Prefactor     .16431E-06    6.8580       -.15136E-06** at limit **
  17  norm          .19429E-08    3.1911       -.10814E-06** at limit **
  18  Prefactor     .12212E-08    2.6807       -.24375E-06** at limit **
  19  norm          17.503        3.0997       -.42372E-07    .40924E-02
  20  Prefactor     8.1006        1.5507        .13590E-07    .43369E-02
  21  norm          5.8093        5.7023        .75454E-08   -.38023E-03
  22  Normalizat    1.4412        .19060       -.13630E-05    .28252E-04
  23  Prefactor     .95615        .12195        .79639E-06    .40316E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.1309
  norm       = 3.38618e-09
  norm       = 0.439904
  Prefactor  = 2.37588e-08
  norm       = 2.60639
  norm       = 0.95529
  Prefactor  = 6.90392e-07
  Prefactor  = 5.9864
  Prefactor  = 2.65342
  Prefactor  = 0
  norm       = 0
  norm       = 0.8059
  norm       = 1.37528
  norm       = 2.33147e-09
  Prefactor  = 8.3239e-07
  Prefactor  = 1.64313e-07
  norm       = 1.94289e-09
  Prefactor  = 1.22125e-09
  norm       = 17.5034
  Prefactor  = 8.10058
  norm       = 5.80933
  Normalizat = 1.44121
  Prefactor  = 0.956147
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  0.000e+00  3.098e-06  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.561e-01  1.029e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.441e+00  1.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 203.020 -5.161
Photon Flux Upper Limit: 4.55335475656e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39470484/likelihoodResults_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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): 0
logL (Free Index) = 13753.0893522
delta logL = -0.00447172422173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13753.0848805
delta logL = -2.01143848244e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.7189       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13753.08     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      191 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .38374       -.73102E-07** at limit **
   2  alpha         2.5580        .94459       -.11970E-05     .0000    
   3  Normalizat    1.4412        .18722       -.81234E-05    .33403E-04
   4  Prefactor     .95615        .12100        .57516E-05   -.12626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.55801
  Normalizat = 1.44121
  Prefactor  = 0.956147
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13753.08     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .37640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3305        1.2220       -.11970E-05    .23207E-01
   3  Normalizat    1.4412        1.0564       -.81234E-05   -.79444    
   4  Prefactor     .95615        1.2980        .57516E-05   -.94206    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.19036e-12
Minuit parameter uncertainties:
  1  6.55125e-07
  2  1.10051
  3  1.07315
  4  1.34436
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) = 13753.0848805
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  0.000e+00  6.551e-07  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.558e+00  1.101e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.561e-01  1.344e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

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


TS (Free Index): 0.00
Ra Dec: 203.020 -5.161

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39470484/cmap_HighResolution_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.55e-08', time_completed='2026-09-29 15:24:20.752431', job_id='39470484', GAL2='0.96', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1790720660.75', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='947' AND source_name='4FGL J1332.0-0509' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 15:24:20 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   13753.08     FROM HESSE     STATUS=OK           420 CALLS     2005 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.131        28.828        .19226E-03   -1.5604    
   2  norm          .33862E-08    5.1758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .43990        .16971        .62083E-03   -1.5695    
   4  Prefactor     .23759E-07    23.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6064        4.2311        .63272E-03   -1.5676    
   6  norm          .95529        6.8907        .42198E-03   -1.5688    
   7  Prefactor     .69039E-06    8.2355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9864        11.585        .40973E-03   -1.5659    
   9  Prefactor     2.6534        5.1527        .62097E-03   -1.5675    
  10  Prefactor      .0000        101.78        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .38387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .80590        1.9299        .52513E-03   -1.5690    
  13  norm          1.3753        4.3402        .93045E-03   -1.5685    
  14  norm          .23315E-08    18.316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .83239E-06    10.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16431E-06    7.7590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .19429E-08    3.2003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12212E-08    2.6879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          17.503        3.0953        .23913E-03   -1.5624    
  20  Prefactor     8.1006        13.379        .35244E-03   -1.5651    
  21  norm          5.8093        5.7070        .41612E-03   -1.5660    
  22  Normalizat    1.4412        .16070        .68019E-01   -.79444    
  23  Prefactor     .95615        .10292        .45717E-01   -.94206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11387e-07
Minuit parameter uncertainties:
  1  28.828
  2  0.00026536
  3  0.169711
  4  0.00148207
  5  4.23112
  6  5.13134
  7  0.00476903
  8  11.5852
  9  5.15274
  10  6.71461e-05
  11  3.09786e-06
  12  1.92995
  13  4.34016
  14  0.000411616
  15  0.00594101
  16  0.00225805
  17  0.00015825
  18  0.000115708
  19  3.09533
  20  13.379
  21  5.707
  22  0.16076
  23  0.102945
 **********
 **   18 **HESSE 
 **********

 FCN=   13753.08     FROM HESSE     STATUS=OK           420 CALLS     2005 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.131        28.828        .19226E-03   -1.5604    
   2  norm          .33862E-08    5.1758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .43990        .16971        .62083E-03   -1.5695    
   4  Prefactor     .23759E-07    23.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6064        4.2311        .63272E-03   -1.5676    
   6  norm          .95529        6.8907        .42198E-03   -1.5688    
   7  Prefactor     .69039E-06    8.2355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9864        11.585        .40973E-03   -1.5659    
   9  Prefactor     2.6534        5.1527        .62097E-03   -1.5675    
  10  Prefactor      .0000        101.78        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .38387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .80590        1.9299        .52513E-03   -1.5690    
  13  norm          1.3753        4.3402        .93045E-03   -1.5685    
  14  norm          .23315E-08    18.316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .83239E-06    10.601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16431E-06    7.7590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .19429E-08    3.2003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .12212E-08    2.6879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          17.503        3.0953        .23913E-03   -1.5624    
  20  Prefactor     8.1006        13.379        .35244E-03   -1.5651    
  21  norm          5.8093        5.7070        .41612E-03   -1.5660    
  22  Normalizat    1.4412        .16070        .68019E-01   -.79444    
  23  Prefactor     .95615        .10292        .45717E-01   -.94206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11387e-07
Minuit parameter uncertainties:
  1  28.828
  2  0.00026536
  3  0.169711
  4  0.00148207
  5  4.23112
  6  5.13134
  7  0.00476903
  8  11.5852
  9  5.15274
  10  6.71461e-05
  11  3.09786e-06
  12  1.92995
  13  4.34016
  14  0.000411616
  15  0.00594101
  16  0.00225805
  17  0.00015825
  18  0.000115708
  19  3.09533
  20  13.379
  21  5.707
  22  0.16076
  23  0.102945
Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  0.000e+00  3.098e-06  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.561e-01  1.029e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.441e+00  1.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 203.020 -5.161
Photon Flux Upper Limit: 4.55335475656e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39470534/likelihoodResults_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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): 0
logL (Free Index) = 13753.0893522
delta logL = -0.00447172422173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13753.0848805
delta logL = -2.01143848244e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.7189       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13753.08     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      191 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .38374       -.73102E-07** at limit **
   2  alpha         2.5580        .94459       -.11970E-05     .0000    
   3  Normalizat    1.4412        .18722       -.81234E-05    .33403E-04
   4  Prefactor     .95615        .12100        .57516E-05   -.12626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.55801
  Normalizat = 1.44121
  Prefactor  = 0.956147
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13753.08     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .37640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3305        1.2220       -.11970E-05    .23207E-01
   3  Normalizat    1.4412        1.0564       -.81234E-05   -.79444    
   4  Prefactor     .95615        1.2980        .57516E-05   -.94206    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.19036e-12
Minuit parameter uncertainties:
  1  6.55125e-07
  2  1.10051
  3  1.07315
  4  1.34436
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) = 13753.0848805
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  0.000e+00  6.551e-07  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.558e+00  1.101e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.561e-01  1.344e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

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


TS (Free Index): 0.00
Ra Dec: 203.020 -5.161

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39470534/cmap_HighResolution_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.55e-08', time_completed='2026-09-29 15:25:23.137449', job_id='39470534', GAL2='0.96', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1790720723.14', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='947' AND source_name='4FGL J1332.0-0509' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 15:25:23 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  0.000e+00  3.098e-06  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.394e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.561e-01  1.029e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.441e+00  1.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 203.020 -5.161
Photon Flux Upper Limit: 4.55335475656e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/39470540/likelihoodResults_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.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): 0
logL (Free Index) = 13753.0893522
delta logL = -0.00447172422173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13753.0848805
delta logL = -2.01143848244e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
     2 'alpha     '    1.7189       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13753.08     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      191 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .38374       -.73102E-07** at limit **
   2  alpha         2.5580        .94459       -.11970E-05     .0000    
   3  Normalizat    1.4412        .18722       -.81234E-05    .33403E-04
   4  Prefactor     .95615        .12100        .57516E-05   -.12626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.55801
  Normalizat = 1.44121
  Prefactor  = 0.956147
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13753.08     FROM HESSE     STATUS=FAILED        11 CALLS      202 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .37640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3305        1.2220       -.11970E-05    .23207E-01
   3  Normalizat    1.4412        1.0564       -.81234E-05   -.79444    
   4  Prefactor     .95615        1.2980        .57516E-05   -.94206    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.19036e-12
Minuit parameter uncertainties:
  1  6.55125e-07
  2  1.10051
  3  1.07315
  4  1.34436
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) = 13753.0848805
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1332.0-0509
   Spectrum: LogParabola
305         norm:  0.000e+00  6.551e-07  0.000e+00  1.000e+06 ( 1.000e-11)
306        alpha:  2.558e+00  1.101e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  1.669e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  5.229e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.561e-01  1.344e+00  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

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


TS (Free Index): 0.00
Ra Dec: 203.020 -5.161

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/39470540/cmap_HighResolution_811728001_812332801_4FGL_J1332.0-0509_weekly_bin947.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.55e-08', time_completed='2026-09-29 15:25:35.974928', job_id='39470540', GAL2='0.96', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1790720735.98', return_code2='101', ts='0.00', return_code='0', GAL='0.96', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='947' AND source_name='4FGL J1332.0-0509' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 29 15:25:36 PDT 2026

