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


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin946
RA = 209.859, Dec = 2.0424
tmin = 811123201, tmax = 811728001
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='38802465', job_status='RUN', time_executed='2026-09-22 11:05:25.887829', time_epoch_executed='1790100325.89' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38802465

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38802465/ft1_4FGL_J1359.4+0202_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38802465/ft1_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802465/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits ra=209.859 dec=2.0424 rad=12.0 tmin=811123201.0 tmax=811728001.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.08
user 4.57
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.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/38802465/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.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.75
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" o/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/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)
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin946
RA = 209.859, Dec = 2.0424
tmin = 811123201, tmax = 811728001
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='38802479', job_status='RUN', time_executed='2026-09-22 11:05:54.859843', time_epoch_executed='1790100354.86' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38802479

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38802479/ft1_4FGL_J1359.4+0202_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38802479/ft1_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802479/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits ra=209.859 dec=2.0424 rad=12.0 tmin=811123201.0 tmax=811728001.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 4.96
user 4.26
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.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/38802479/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.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.74
user 0.24
sys 0.10

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" o
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

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


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin946
RA = 209.859, Dec = 2.0424
tmin = 811123201, tmax = 811728001
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='38802484', job_status='RUN', time_executed='2026-09-22 11:06:12.498658', time_epoch_executed='1790100372.5' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38802484

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38802484/ft1_4FGL_J1359.4+0202_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38802484/ft1_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802484/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits ra=209.859 dec=2.0424 rad=12.0 tmin=811123201.0 tmax=811728001.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.17
user 4.42
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.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/38802484/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.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.24
sys 0.13

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" ounumber of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin946
RA = 209.859, Dec = 2.0424
tmin = 811123201, tmax = 811728001
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='38802488', job_status='RUN', time_executed='2026-09-22 11:06:18.070452', time_epoch_executed='1790100378.07' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38802488

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38802488/ft1_4FGL_J1359.4+0202_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38802488/ft1_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802488/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits ra=209.859 dec=2.0424 rad=12.0 tmin=811123201.0 tmax=811728001.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 4.98
user 4.32
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.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/38802488/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.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.61
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/38802357/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 33.27
user 31.60
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802357/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802357/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802357/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802357/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802357/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802357/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802357/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802357/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802357/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802357/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
_V02
Working on...
/lscratch/kocevski/38802359/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 33.97
user 32.27
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802359/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802359/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802359/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802359/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802359/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802359/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802359/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802359/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802359/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802359/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
utfile=/lscratch/kocevski/38802447/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802447/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 19.56
user 18.81
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38802447/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802447/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38802447/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802447/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802447/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 69.60
user 64.67
sys 4.19

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38802447/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802447/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802447/cmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.59
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38802447/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802447/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802447/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.55
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38802447/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802447/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38802447/Model_4FGL_J1359.4+0202_weekly_bin946.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 GALDone.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802357/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
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) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802357/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:09:00.865479', job_id='38802357', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100540.87', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:09:01 PDT 2026

utfile=/lscratch/kocevski/38802453/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802453/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 18.30
user 17.55
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38802453/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802453/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38802453/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802453/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802453/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 65.15
user 60.36
sys 3.96

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38802453/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802453/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802453/cmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38802453/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802453/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802453/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38802453/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802453/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38802453/Model_4FGL_J1359.4+0202_weekly_bin946.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 GALnumber of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin946
RA = 209.859, Dec = 2.0424
tmin = 811123201, tmax = 811728001
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='38802547', job_status='RUN', time_executed='2026-09-22 11:07:51.497218', time_epoch_executed='1790100471.5' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38802547

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38802547/ft1_4FGL_J1359.4+0202_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38802547/ft1_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802547/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits ra=209.859 dec=2.0424 rad=12.0 tmin=811123201.0 tmax=811728001.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.26
user 4.27
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.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/38802547/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.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.85
user 0.25
sys 0.11

Number of photons that the gtmktime cut: 1022

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802359/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
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) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802359/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:09:12.732678', job_id='38802359', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100552.73', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:09:12 PDT 2026

_V02
Working on...
/lscratch/kocevski/38802447/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 32.15
user 30.61
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802447/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802447/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802447/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802447/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802447/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802447/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802447/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802447/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802447/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802447/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
utfile=/lscratch/kocevski/38802465/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 23.71
user 22.81
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38802465/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802465/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802465/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 80.81
user 75.07
sys 4.28

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802465/cmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.70
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802465/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.72
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38802465/Model_4FGL_J1359.4+0202_weekly_bin946.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/38802479/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 23.00
user 21.95
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38802479/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802479/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802479/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 76.34
user 71.37
sys 4.05

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802479/cmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802479/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.28
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38802479/Model_4FGL_J1359.4+0202_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38802453/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 30.26
user 28.59
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802453/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802453/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802453/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802453/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802453/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802453/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802453/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802453/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802453/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802453/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
tfile=/lscratch/kocevski/38802484/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 21.81
user 20.80
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38802484/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802484/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802484/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 75.45
user 70.32
sys 4.11

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802484/cmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.88
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802484/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.77
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38802484/Model_4FGL_J1359.4+0202_weekly_bin946.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/38802488/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 20.94
user 20.31
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38802488/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802488/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802488/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 76.02
user 71.13
sys 4.30

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802488/cmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802488/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.71
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38802488/Model_4FGL_J1359.4+0202_weekly_bin946.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 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802447/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
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) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802447/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:10:41.212495', job_id='38802447', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100641.21', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:10:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802453/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
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) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802453/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:10:49.425490', job_id='38802453', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100649.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:10:49 PDT 2026

tfile=/lscratch/kocevski/38802547/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 21.23
user 20.18
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38802547/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802547/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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/38802547/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
.....................!
real 76.66
user 70.02
sys 4.35

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802547/cmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.82
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits scfile=/lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits outfile=/lscratch/kocevski/38802547/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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=209.859 yref=2.0424 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.80
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38802547/Model_4FGL_J1359.4+0202_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL__V02
Working on...
/lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 36.19
user 34.39
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802479/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802479/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802479/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802479/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802479/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802479/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802479/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802479/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
_V02
Working on...
/lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 39.21
user 36.69
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802465/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802465/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802465/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802465/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802465/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802465/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802465/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802465/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
V02
Working on...
/lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 36.76
user 33.97
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802484/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802484/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802484/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802484/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802484/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802484/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802484/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802484/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
_V02
Working on...
/lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 36.29
user 34.45
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802488/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802488/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802488/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802488/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802488/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802488/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802488/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802488/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802479/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
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) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802479/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:12:22.014498', job_id='38802479', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100742.01', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:12:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802465/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802484/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
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) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802465/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:12:29.915260', job_id='38802465', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100749.92', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:12:30 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802484/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:12:31.854311', job_id='38802484', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100751.85', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:12:32 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802488/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
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) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802488/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:12:37.381803', job_id='38802488', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100757.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:12:37 PDT 2026

V02
Working on...
/lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits.....................!
real 37.38
user 33.97
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits', '/lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits', expMap='/lscratch/kocevski/38802547/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', expCube='/lscratch/kocevski/38802547/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38802547/Model_4FGL_J1359.4+0202_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.4+0202'

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38802547/ft1_filtered_4FGL_J1359.4+0202_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38802547/ft2_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38802547/expmap_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38802547/ltcube_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38802547/Model_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0911055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.758       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.077       1.0000          .0000       .10000E+07
     3 'norm      '    1.0273       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12059E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .69334E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4968       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.5225       1.0000          .0000       .10000E+07
     8 'Prefactor '    .76569E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39354E-04   1.0000          .0000       .10000E+07
    10 'norm      '    11.942       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22751E-02   1.0000          .0000       .10000E+07
    12 'norm      '    8.3269       1.0000          .0000       .10000E+07
    13 'norm      '    .10731E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.495       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49571E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52470E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .26132E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1124 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.434        11.860       -.18231E-07    .16681    
   2  Prefactor     19.123        2.4957       -.39398E-08    .60096E-02
   3  norm          1.0279        1.0878       -.31700E-07   -.62441E-02
   4  Prefactor     .25840E-06    70.667       -.18677E-07** at limit **
   5  norm          .12716E-05    10.579       -.11081E-06** at limit **
   6  Prefactor     3.4939        4.1846        .93593E-07    .22932E-02
   7  Prefactor     5.5434        1.8209       -.11193E-07   -.35875E-02
   8  Prefactor      .0000        1.2680        .43839E-08** at limit **
   9  Prefactor     .55511E-10    2.8306        .50586E-07** at limit **
  10  norm          11.941        2.5691        .13713E-07    .12652E-02
  11  Prefactor     .11302E-05    12.371       -.17754E-06** at limit **
  12  norm          8.3272        6.2105       -.89096E-09   -.33914E-03
  13  norm           .0000        1.2864       -.60334E-07** at limit **
  14  norm          15.552        13.136        .67652E-07   -.37295E-01
  15  Prefactor     .25702E-06    50.024        .32514E-06** at limit **
  16  Prefactor     .11147E-06    11.432       -.26995E-06** at limit **
  17  norm          .16653E-09    4.3032        .46411E-07** at limit **
  18  Normalizat    1.2631        .20055        .92083E-06   -.32162E-03
  19  Prefactor     .94369        .13341       -.22426E-05   -.55820E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.4342
  Prefactor  = 19.1235
  norm       = 1.02793
  Prefactor  = 2.58404e-07
  norm       = 1.27165e-06
  Prefactor  = 3.4939
  Prefactor  = 5.54343
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 11.9412
  Prefactor  = 1.13015e-06
  norm       = 8.32718
  norm       = 0
  norm       = 15.5518
  Prefactor  = 2.57017e-07
  Prefactor  = 1.11466e-07
  norm       = 1.66533e-10
  Normalizat = 1.2631
  Prefactor  = 0.943686
 **********
 **   18 **HESSE 
 **********

 FCN=   11651.06     FROM HESSE     STATUS=OK           304 CALLS     1428 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.434        20.884        .18984E-03   -1.5603    
   2  Prefactor     19.123        18.423        .22903E-03   -1.5621    
   3  norm          1.0279        1.1195        .12587E-02   -1.5688    
   4  Prefactor     .25840E-06    71.038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .12716E-05    12.586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.4939        4.2003        .54044E-03   -1.5671    
   7  Prefactor     5.5434        15.406        .42730E-03   -1.5661    
   8  Prefactor      .0000        1.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    2.8360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.941        2.5747        .28963E-03   -1.5639    
  11  Prefactor     .11302E-05    14.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3272        6.2069        .34717E-03   -1.5650    
  13  norm           .0000        1.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.552        13.333        .25417E-03   -1.5629    
  15  Prefactor     .25702E-06    50.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11147E-06    11.592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    4.3009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2631        .16571        .65465E-01   -.84675    
  19  Prefactor     .94369        .10933        .45559E-01   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57593e-07
Minuit parameter uncertainties:
  1  20.8844
  2  18.4232
  3  1.11947
  4  0.00856949
  5  0.00800134
  6  4.20033
  7  15.4061
  8  1.07343e-06
  9  2.27831e-05
  10  2.57472
  11  0.00798644
  12  6.20692
  13  1.14187e-05
  14  13.333
  15  0.00719221
  16  0.00227347
  17  5.19155e-05
  18  0.165783
  19  0.10936
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.278e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.094e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 4.36494553067e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00336952122613 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38802547/likelihoodResults_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.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) = 11651.0574967
delta logL = -0.000382964319215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11651.0571144
delta logL = -6.45348336548e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   11651.06     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      245 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6463        .42118E-03** at limit **
   2  Index         2.7490        1.5524       -.13475E-05     .0000    
   3  Normalizat    1.2631        1.0880        .15274E-05    .83452E-04
   4  Prefactor     .94369        1.2863        .16355E-05    .12381E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.74896
  Normalizat = 1.26309
  Prefactor  = 0.943687
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11651.06     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .85589        2.0335       -.13475E-05   -.46700    
   3  Normalizat    1.2631        1.0880        .15274E-05   -.84675    
   4  Prefactor     .94369        1.2863        .16355E-05   -.94631    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.72451e-12
Minuit parameter uncertainties:
  1  1.00585e-05
  2  1.58548
  3  1.10861
  4  1.33193
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) = 11651.0571137
delta logL = 8.0035533756e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.006e-05  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.749e+00  1.585e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.437e-01  1.332e+00  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.263e+00  1.109e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 209.859 2.042

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/38802547/cmap_HighResolution_811123201_811728001_4FGL_J1359.4+0202_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2026-09-22 11:13:46.421288', job_id='38802547', GAL2='0.94', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1790100826.42', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='946' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 11:13:46 PDT 2026

