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

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31443792/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/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
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31443792/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:47:09.737748', job_id='31443792', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871229.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:47:10 PDT 2026


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)
ile=/lscratch/kocevski/31444055/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31444055/ft2_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 9.60
user 9.07
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31444055/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31444055/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31444055/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444055/expmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31444055/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 62.67
user 58.49
sys 3.55

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/31444055/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31444055/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444055/cmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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.69
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31444055/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31444055/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444055/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=209.859 yref=2.0424 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.62
user 0.18
sys 0.15

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

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

ile=/lscratch/kocevski/31443912/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31443912/ft2_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 8.52
user 7.93
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31443912/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31443912/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31443912/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31443912/expmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31443912/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 68.61
user 63.88
sys 4.12

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/31443912/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31443912/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31443912/cmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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.80
user 0.22
sys 0.13

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

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

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31443804/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31443804/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:47:22.367545', job_id='31443804', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871242.37', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:47:22 PDT 2026

ile=/lscratch/kocevski/31443994/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31443994/ft2_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 8.00
user 7.45
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31443994/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31443994/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31443994/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31443994/expmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31443994/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 69.28
user 64.54
sys 4.01

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/31443994/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31443994/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31443994/cmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31443994/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31443994/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31443994/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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.87
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31443994/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31443994/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31443994/Model_4FGL_J1359.4+0202_daily_bin2180.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/31443844/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 24.63
user 22.89
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
Working on...
/lscratch/kocevski/31443841/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 25.16
user 23.62
sys 0.88

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
Working on...
/lscratch/kocevski/31443852/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 24.94
user 23.53
sys 0.95

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31443844/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31443844/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:48:10.546434', job_id='31443844', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871290.55', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:48:11 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31443841/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31443841/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:48:17.815664', job_id='31443841', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871297.82', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:48:18 PDT 2026

Working on...
/lscratch/kocevski/31444055/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 20.96
user 19.77
sys 0.78

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
ile=/lscratch/kocevski/31444068/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31444068/ft2_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 8.94
user 8.31
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31444068/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31444068/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31444068/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444068/expmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31444068/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 70.32
user 65.36
sys 4.29

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/31444068/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31444068/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444068/cmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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.69
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31444068/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31444068/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444068/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=209.859 yref=2.0424 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31444068/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31444068/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31444068/Model_4FGL_J1359.4+0202_daily_bin2180.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
ile=/lscratch/kocevski/31444067/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31444067/ft2_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 8.85
user 8.23
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31444067/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31444067/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31444067/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444067/expmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31444067/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 70.36
user 65.62
sys 4.12

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/31444067/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31444067/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444067/cmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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.67
user 0.22
sys 0.13

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

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

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31443852/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31443852/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:48:30.396723', job_id='31443852', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871310.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:48:30 PDT 2026

Working on...
/lscratch/kocevski/31443912/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 24.17
user 22.67
sys 0.98

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
Working on...
/lscratch/kocevski/31443994/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 23.93
user 22.60
sys 0.65

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31444055/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31444055/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:48:47.859770', job_id='31444055', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871327.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:48:48 PDT 2026

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

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31443912/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31443912/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:49:06.759811', job_id='31443912', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871346.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:49:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31443994/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31443994/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:49:15.411979', job_id='31443994', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871355.41', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:49:15 PDT 2026

Working on...
/lscratch/kocevski/31444068/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 25.07
user 23.60
sys 0.90

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
Working on...
/lscratch/kocevski/31444067/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 25.05
user 23.49
sys 0.85

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
number of points = 7669
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1359.4+0202_daily_bin2180
RA = 209.859, Dec = 2.0424
tmin = 804384001, tmax = 804643201
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='31444335', job_status='RUN', time_executed='2026-07-12 08:47:18.388024', time_epoch_executed='1783871238.39' WHERE source_name='4FGL J1359.4+0202' and cadence='daily' and bin_id='2180'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31444335

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31444335/ft1_4FGL_J1359.4+0202_daily_bin2180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31444335/ft2_4FGL_J1359.4+0202_daily_bin2180.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31444335/ft1_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444335/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin2180.fits ra=209.859 dec=2.0424 rad=12.0 tmin=804384001.0 tmax=804643201.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 2.58
user 1.79
sys 0.16

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

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

Number of photons that the gtmktime cut: 706

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

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31444068/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31444068/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:50:09.007675', job_id='31444068', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871409.01', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:50:09 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31444067/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31444067/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:50:12.940514', job_id='31444067', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871412.94', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:50:13 PDT 2026

ile=/lscratch/kocevski/31444335/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31444335/ft2_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 9.24
user 8.58
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31444335/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31444335/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31444335/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444335/expmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.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/31444335/ltcube_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits
.....................!
real 73.19
user 67.69
sys 4.36

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/31444335/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31444335/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444335/cmap_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=209.859 yref=2.0424 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.87
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31444335/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits scfile=/lscratch/kocevski/31444335/ft2_4FGL_J1359.4+0202_daily_bin2180.fits outfile=/lscratch/kocevski/31444335/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=209.859 yref=2.0424 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31444335/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits evtable="EVENTS" scfile=/lscratch/kocevski/31444335/ft2_4FGL_J1359.4+0202_daily_bin2180.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31444335/Model_4FGL_J1359.4+0202_daily_bin2180.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/31444335/ft1_filtered_4FGL_J1359.4+0202_daily_bin2180.fits.....................!
real 26.59
user 24.76
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7555       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57972E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .27019E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    56.965       1.0000          .0000       .10000E+07
     5 'norm      '    .58217E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63777E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86792E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .12318E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .56626E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.3084       1.0000          .0000       .10000E+07
    11 'Prefactor '    25.205       1.0000          .0000       .10000E+07
    12 'norm      '    .50334       1.0000          .0000       .10000E+07
    13 'norm      '    .34065E-04   1.0000          .0000       .10000E+07
    14 'norm      '    10.362       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15722E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19029       1.0000          .0000       .10000E+07
    17 'norm      '    18.935       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5843       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .66574       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1418 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7736        1.8846        .82792E-06    .34715E-01
   2  Prefactor     .49682E-07    13.790        .18947E-05** at limit **
   3  norm          .19151E-07    34.366       -.54014E-05** at limit **
   4  Prefactor     55.853        47.385       -.21079E-05    .18901E-02
   5  norm          .17319E-07    18.953       -.14003E-05** at limit **
   6  Prefactor      .0000        1.6224       -.14539E-05** at limit **
   7  Prefactor     .16653E-09    3.5605       -.20550E-06** at limit **
   8  Prefactor     .27756E-09    1.3820        .15641E-05** at limit **
   9  Prefactor     .55511E-10    3.7141        .15650E-06** at limit **
  10  norm          5.3076        2.5720       -.20679E-06   -.20650E-01
  11  Prefactor     25.170        2.5422       -.45448E-06    .60336E-02
  12  norm          .60650        .87487        .55359E-07    .28287E-03
  13  norm           .0000        2.8231        .31830E-06** at limit **
  14  norm          10.406        4.3243       -.17713E-05   -.80801E-01
  15  Prefactor     .21055E-06    13.677       -.11233E-04** at limit **
  16  Prefactor      .0000        51.651       -.38430E-06** at limit **
  17  norm          19.148        1.2628        .11175E-07   -.14619E-02
  18  Normalizat    1.5848        .21745       -.91171E-05   -.40299E-03
  19  Prefactor     .66548        .14998        .12410E-04   -.72756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77359
  Prefactor  = 4.96825e-08
  norm       = 1.91513e-08
  Prefactor  = 55.8527
  norm       = 1.73195e-08
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 5.30756
  Prefactor  = 25.1699
  norm       = 0.606498
  norm       = 0
  norm       = 10.4062
  Prefactor  = 2.10554e-07
  Prefactor  = 0
  norm       = 19.1479
  Normalizat = 1.58475
  Prefactor  = 0.665478
 **********
 **   18 **HESSE 
 **********

 FCN=   7694.398     FROM HESSE     STATUS=OK           310 CALLS     1728 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7736        12.764        .41842E-03   -1.5660    
   2  Prefactor     .49682E-07    14.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .19151E-07    .50560        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     55.853        47.461        .13250E-03   -1.5558    
   5  norm          .17319E-07    19.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    3.5610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    1.3803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.7096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3076        2.5829        .43598E-03   -1.5662    
  11  Prefactor     25.170        19.193        .19923E-03   -1.5608    
  12  norm          .60650        54.134        .78374E-03   -1.5692    
  13  norm           .0000        2.8214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.406        13.804        .31102E-03   -1.5643    
  15  Prefactor     .21055E-06    14.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        51.591        .11951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.148        18.978        .22989E-03   -1.5620    
  18  Normalizat    1.5848        .18560        .54209E-01   -.75424    
  19  Prefactor     .66548        .12830        .41943E-01   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75232e-07
Minuit parameter uncertainties:
  1  12.7639
  2  0.00169441
  3  0.000196759
  4  47.4616
  5  0.00115168
  6  2.05053e-06
  7  4.68815e-05
  8  3.97236e-05
  9  2.2798e-05
  10  2.5829
  11  19.1927
  12  11.4599
  13  1.22776e-05
  14  13.8037
  15  0.00351509
  16  4.11459e-05
  17  18.9782
  18  0.185682
  19  0.128361
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  2.280e-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:  6.655e-01  1.284e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.585e+00  1.857e-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: 5.46318142379e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0042173048072 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31444335/likelihoodResults_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7694.40851446
delta logL = -0.0106669465058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7694.39784957
delta logL = -2.05868946068e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63248E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.5498       1.0000          .0000       10.000    
     3 'Normalizat'    1.5848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66558       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=   7694.398     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      221 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7157        .42118E-03** at limit **
   2  Index         .90518        .66428       -.19580E-04     .0000    
   3  Normalizat    1.5847        1.0419        .60478E-06    .36113E-06
   4  Prefactor     .66548        1.0150       -.28951E-06    .52110E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.905177
  Normalizat = 1.58475
  Prefactor  = 0.665482
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7694.398     FROM HESSE     STATUS=FAILED         9 CALLS      230 TOTAL
                     EDM=   .48E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .25578E-01    .99085       -.19580E-04   -.95960    
   3  Normalizat    1.5847        1.0419        .60478E-06   -.75424    
   4  Prefactor     .66548        1.0150       -.28951E-06   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.84808e-13
Minuit parameter uncertainties:
  1  2.65076e-06
  2  0.670359
  3  1.05664
  4  1.04533
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) = 7694.39784751
delta logL = 3.24689608533e-10

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.651e-06  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  9.052e-01  6.704e-01  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:  6.655e-01  1.045e+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.585e+00  1.057e+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/31444335/cmap_HighResolution_804384001_804643201_4FGL_J1359.4+0202_daily_bin2180.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2026-07-12 08:53:46.693541', job_id='31444335', GAL2='0.67', fit_tolerance='1e-08', EG2='1.58', EG='1.58', time_epoch_completed='1783871626.69', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.25e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='2180' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 08:53:47 PDT 2026

