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


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445311', job_status='RUN', time_executed='2026-07-28 11:23:31.139406', time_epoch_executed='1785263011.14' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445311

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445311/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445311/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445311/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.89
user 5.08
sys 0.26

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

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

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33445311/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33445272/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445272/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 16.93
user 16.26
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445272/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445272/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445272/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445272/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445272/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 60.98
user 56.98
sys 3.25

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/33445272/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445272/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445272/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.86
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445272/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445272/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445272/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.78
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445272/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445272/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445272/Model_4FGL_J1359.4+0202_weekly_bin938.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/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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


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

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

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

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

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


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

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


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445349', job_status='RUN', time_executed='2026-07-28 11:24:32.604025', time_epoch_executed='1785263072.6' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445349

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445349/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445349/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445349/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.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.34
user 4.63
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.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/33445349/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.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.94
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" ounumber of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
_V02
Working on...
/lscratch/kocevski/33445272/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 33.24
user 31.74
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445272/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445272/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445272/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445272/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445272/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445272/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445272/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445272/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445272/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445272/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445355', job_status='RUN', time_executed='2026-07-28 11:24:30.833990', time_epoch_executed='1785263070.83' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445355

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445355/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445355/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445355/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.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.53
user 4.69
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.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/33445355/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33445355/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1265

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


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445350', job_status='RUN', time_executed='2026-07-28 11:24:32.555926', time_epoch_executed='1785263072.56' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445350

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445350/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445350/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445350/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.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.39
user 4.65
sys 0.26

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

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

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33445350/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445272/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
utfile=/lscratch/kocevski/33445311/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 18.99
user 18.17
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445311/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445311/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445311/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445311/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 71.61
user 67.19
sys 3.52

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/33445311/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445311/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.77
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445311/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445311/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.86
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445311/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445311/Model_4FGL_J1359.4+0202_weekly_bin938.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 GALshell-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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445272/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:29:13.802479', job_id='33445272', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263353.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:29:14 PDT 2026

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


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445520', job_status='RUN', time_executed='2026-07-28 11:25:09.760174', time_epoch_executed='1785263109.76' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445520

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445520/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445520/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445520/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.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.07
user 4.27
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.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/33445520/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33445520/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33445520/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" otfile=/lscratch/kocevski/33445349/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 17.37
user 16.41
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445349/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445349/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445349/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 65.16
user 60.39
sys 3.86

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/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445349/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.72
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445349/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.75
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445349/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445350/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 17.26
user 16.57
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445350/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445350/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445350/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445350/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 65.28
user 60.83
sys 3.72

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/33445350/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445350/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.94
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445350/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445350/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.88
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445350/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445350/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445355/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 17.38
user 16.56
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445355/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445355/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445355/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445355/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 65.71
user 61.03
sys 3.88

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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/33445355/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445355/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.91
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445355/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445355/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.90
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445355/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445355/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445311/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 38.80
user 36.83
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445311/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445311/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445311/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445311/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445311/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445311/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445311/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445311/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445311/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445565', job_status='RUN', time_executed='2026-07-28 11:26:35.094327', time_epoch_executed='1785263195.09' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445565

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445565/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445565/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445565/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.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.14
user 4.30
sys 0.21

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

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

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33445565/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445558', job_status='RUN', time_executed='2026-07-28 11:26:38.640765', time_epoch_executed='1785263198.64' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445558

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445558/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445558/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445558/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445558/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.12
user 5.17
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33445558/ft2_4FGL_J1359.4+0202_weekly_bin938.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/33445558/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33445558/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1265

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


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445561', job_status='RUN', time_executed='2026-07-28 11:26:35.658821', time_epoch_executed='1785263195.66' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445561

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445561/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445561/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445561/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.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.56
user 4.68
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.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/33445561/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33445520/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 16.20
user 15.41
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445520/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445520/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445520/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445520/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 60.08
user 55.76
sys 3.41

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/33445520/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445520/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.91
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445520/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445520/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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 1.09
user 0.21
sys 0.14

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

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

adding source EG_v02
adding source GALV02
Working on...
/lscratch/kocevski/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 35.76
user 33.92
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445349/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445349/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445349/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445349/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445349/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445349/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445349/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445349/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445311/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445580', job_status='RUN', time_executed='2026-07-28 11:27:12.021858', time_epoch_executed='1785263232.02' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445580

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445580/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445580/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445580/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.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.07
user 4.24
sys 0.23

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

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

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33445580/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" o_V02
Working on...
/lscratch/kocevski/33445350/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 35.49
user 33.61
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445350/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445350/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445350/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445350/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445350/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445350/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445350/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445350/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445350/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445311/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:31:50.686334', job_id='33445311', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263510.69', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:31:50 PDT 2026

number of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
_V02
Working on...
/lscratch/kocevski/33445355/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 35.85
user 33.96
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445355/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445355/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445355/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445355/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445355/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445355/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445355/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445355/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445355/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
Done.


Performing analysis on: 4FGL_J1359.4+0202_weekly_bin938
RA = 209.859, Dec = 2.0424
tmin = 806284801, tmax = 806889601
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='33445587', job_status='RUN', time_executed='2026-07-28 11:27:11.768818', time_epoch_executed='1785263231.77' WHERE source_name='4FGL J1359.4+0202' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33445587

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33445587/ft1_4FGL_J1359.4+0202_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33445587/ft1_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445587/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits ra=209.859 dec=2.0424 rad=12.0 tmin=806284801.0 tmax=806889601.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.01
user 4.34
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.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/33445587/ft1_filteredMKT_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1265

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" o **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
 **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
 **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445349/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445349/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:32:31.600302', job_id='33445349', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263551.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:32:31 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445355/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445350/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445355/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:32:47.011586', job_id='33445355', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263567.01', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:32:47 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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445350/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:32:47.673884', job_id='33445350', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263567.67', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:32:48 PDT 2026

_V02
Working on...
/lscratch/kocevski/33445520/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 32.34
user 30.87
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445520/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445520/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445520/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445520/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445520/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445520/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445520/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445520/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445520/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
utfile=/lscratch/kocevski/33445565/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 15.83
user 15.11
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445565/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445565/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445565/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445565/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 60.45
user 56.10
sys 3.51

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/33445565/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445565/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.85
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445565/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445565/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.78
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445565/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445565/Model_4FGL_J1359.4+0202_weekly_bin938.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=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
utfile=/lscratch/kocevski/33445561/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 17.51
user 16.44
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445561/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445561/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445561/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 65.46
user 60.09
sys 3.79

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/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445561/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.97
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445561/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.90
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445561/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445558/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445558/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 19.28
user 18.18
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445558/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445558/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445558/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445558/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445558/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 70.15
user 64.99
sys 4.09

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/33445558/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445558/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445558/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.89
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445558/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445558/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445558/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.85
user 0.25
sys 0.13

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445520/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445520/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:33:42.689934', job_id='33445520', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263622.69', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:33:43 PDT 2026

utfile=/lscratch/kocevski/33445580/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 15.94
user 15.12
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445580/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445580/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445580/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445580/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 60.24
user 55.80
sys 3.51

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/33445580/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445580/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.86
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445580/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445580/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.95
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445580/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445580/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445587/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 16.19
user 15.45
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33445587/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445587/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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/33445587/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
.....................!
real 61.65
user 57.38
sys 3.54

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/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445587/cmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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.92
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits scfile=/lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits outfile=/lscratch/kocevski/33445587/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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 1.04
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33445587/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445565/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 34.69
user 33.02
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445565/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445565/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445565/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445565/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445565/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445565/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445565/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445565/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445565/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
 **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
_V02
Working on...
/lscratch/kocevski/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 34.55
user 32.77
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445561/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445561/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445561/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445561/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445561/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445561/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445561/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445561/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
_V02
Working on...
/lscratch/kocevski/33445558/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 38.92
user 36.69
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445558/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445558/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445558/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445558/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445558/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445558/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445558/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445558/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445558/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445558/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
 **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
_V02
Working on...
/lscratch/kocevski/33445580/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 32.71
user 30.96
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445580/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445580/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445580/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445580/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445580/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445580/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445580/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445580/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445580/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
_V02
Working on...
/lscratch/kocevski/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits.....................!
real 33.61
user 32.00
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits', '/lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits', expMap='/lscratch/kocevski/33445587/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', expCube='/lscratch/kocevski/33445587/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33445587/Model_4FGL_J1359.4+0202_weekly_bin938.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/33445587/ft1_filtered_4FGL_J1359.4+0202_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33445587/ft2_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33445587/expmap_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33445587/ltcube_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33445587/Model_4FGL_J1359.4+0202_weekly_bin938.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) = 13836.0417739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5781       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12226E-03   1.0000          .0000       .10000E+07
     3 'norm      '    1.8369       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15266E-07   1.0000          .0000       .10000E+07
     5 'norm      '    23.080       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9441       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.8456       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.8488       1.0000          .0000       .10000E+07
     9 'Prefactor '    .27221E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.8008       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.128       1.0000          .0000       .10000E+07
    12 'norm      '    2.3085       1.0000          .0000       .10000E+07
    13 'norm      '    3.1330       1.0000          .0000       .10000E+07
    14 'norm      '    .22700E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .89870E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .85031E-03   1.0000          .0000       .10000E+07
    17 'norm      '    4.3987       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6201       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71074       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     1077 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6212        1.0475        .30749E-08   -.74145E-02
   2  Prefactor     .21094E-08    4.9116       -.87121E-07** at limit **
   3  norm          1.8362        1.0733        .27201E-08    .22384E-02
   4  Prefactor     .33978E-06    5.6645       -.64504E-07** at limit **
   5  norm          23.081        1.0065       -.39129E-09    .11989E-01
   6  Prefactor     1.9447        2.2730       -.50140E-08   -.64946E-04
   7  Prefactor     6.8626        1.0722        .34643E-08   -.42404E-02
   8  Prefactor     1.8482        1.7283       -.14854E-07   -.29166E-02
   9  Prefactor     .55511E-10    2.6963       -.86751E-07** at limit **
  10  norm          2.8028        1.7963       -.50150E-07   -.15462E-01
  11  Prefactor     11.130        1.1217        .69736E-08   -.37332E-01
  12  norm          2.3015        5.2425       -.79029E-07   -.28111E-02
  13  norm          3.1144        4.4435       -.21919E-07   -.35472E-03
  14  norm          .52036E-06    3.7964       -.15441E-06** at limit **
  15  Prefactor     .28749E-06    5.3074       -.53369E-07** at limit **
  16  Prefactor     .63821E-06    3.3366       -.12214E-06** at limit **
  17  norm          4.3623        6.6176       -.51186E-07   -.23011E-02
  18  Normalizat    1.6200        .16849        .95712E-06    .71587E-04
  19  Prefactor     .71079        .11527       -.72760E-06   -.10415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.6212
  Prefactor  = 2.10942e-09
  norm       = 1.83623
  Prefactor  = 3.39784e-07
  norm       = 23.0809
  Prefactor  = 1.94473
  Prefactor  = 6.86258
  Prefactor  = 1.84821
  Prefactor  = 5.55112e-11
  norm       = 2.80282
  Prefactor  = 11.1299
  norm       = 2.30152
  norm       = 3.11437
  norm       = 5.20362e-07
  Prefactor  = 2.87492e-07
  Prefactor  = 6.38212e-07
  norm       = 4.36227
  Normalizat = 1.61997
  Prefactor  = 0.71079
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445565/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445565/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:35:12.070450', job_id='33445565', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263712.07', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:35:12 PDT 2026

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

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
 **********
 **   18 **HESSE 
 **********

 FCN=   13835.95     FROM HESSE     STATUS=OK           308 CALLS     1385 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6212        11.754        .39104E-03   -1.5656    
   2  Prefactor     .21094E-08    4.9133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8362        1.0744        .76949E-04   -1.5681    
   4  Prefactor     .33978E-06    11.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.081        16.334        .20820E-03   -1.5612    
   6  Prefactor     1.9447        2.2854        .74419E-03   -1.5680    
   7  Prefactor     6.8626        11.749        .38323E-03   -1.5656    
   8  Prefactor     1.8482        1.7159        .76653E-03   -1.5681    
   9  Prefactor     .55511E-10    2.6992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8028        1.8085        .60762E-03   -1.5674    
  11  Prefactor     11.130        10.818        .30008E-03   -1.5641    
  12  norm          2.3015        5.2570        .67504E-03   -1.5678    
  13  norm          3.1144        4.4543        .57250E-03   -1.5673    
  14  norm          .52036E-06    6.9843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .28749E-06    10.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .63821E-06    7.1304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3623        6.6339        .47996E-03   -1.5666    
  18  Normalizat    1.6200        .14292        .55823E-01   -.74461    
  19  Prefactor     .71079        .97063E-01    .42544E-01   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83509e-07
Minuit parameter uncertainties:
  1  11.7537
  2  0.000203218
  3  1.07442
  4  0.00386711
  5  16.3338
  6  2.2854
  7  11.749
  8  1.71594
  9  2.37252e-05
  10  1.80847
  11  10.8178
  12  5.25697
  13  4.45432
  14  0.0038129
  15  0.00353376
  16  0.00426641
  17  6.63387
  18  0.142954
  19  0.0970862
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445561/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445561/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:35:37.766981', job_id='33445561', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263737.77', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:35:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445558/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445580/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445558/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:35:54.162077', job_id='33445558', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263754.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:35:54 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445580/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:35:54.362713', job_id='33445580', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263754.36', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:35:54 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.373e-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:  7.108e-01  9.709e-02  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.620e+00  1.430e-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: 3.70143197183e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285732170276 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33445587/likelihoodResults_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.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) = 13835.9509755
delta logL = -0.000411288341638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13835.9505671
delta logL = -2.89232957584e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36554E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5292       1.0000          .0000       10.000    
     3 'Normalizat'    1.6196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71099       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=   13835.95     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      281 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .64864        .42118E-03** at limit **
   2  Index         3.3940        1.3760        .63401E-04     .0000    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.64132E-04
   4  Prefactor     .71079        1.0606        .15386E-05   -.16964E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.39402
  Normalizat = 1.61997
  Prefactor  = 0.710791
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13835.95     FROM HESSE     STATUS=FAILED         9 CALLS      290 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .64864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2868        2.1765        .63401E-04   -.32699    
   3  Normalizat    1.6200        1.0393       -.96733E-06   -.74461    
   4  Prefactor     .71079        1.0606        .15386E-05   -1.0311    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.91311e-11
Minuit parameter uncertainties:
  1  1.40855e-06
  2  1.39609
  3  1.05365
  4  1.09328
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) = 13835.9505642
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.409e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  3.394e+00  1.396e+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:  7.108e-01  1.093e+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.620e+00  1.054e+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/33445587/cmap_HighResolution_806284801_806889601_4FGL_J1359.4+0202_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2026-07-28 11:36:02.053566', job_id='33445587', GAL2='0.71', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1785263762.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='938' AND source_name='4FGL J1359.4+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 11:36:02 PDT 2026

