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


Performing analysis on: 4FGL_J2336.6-4115_daily_bin2166
RA = 354.164, Dec = -41.2579
tmin = 800755201, tmax = 801014401
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='27019231', job_status='RUN', time_executed='2026-05-21 17:32:08.440407', time_epoch_executed='1779409928.44' WHERE source_name='4FGL J2336.6-4115' and cadence='daily' and bin_id='2166'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27019231

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27019231/ft1_4FGL_J2336.6-4115_daily_bin2166.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27019231/ft1_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019231/ft1_filteredMKT_4FGL_J2336.6-4115_daily_bin2166.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=800755201.0 tmax=801014401.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 3.72
user 2.95
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.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/27019231/ft1_filteredMKT_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" outfile="/lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.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.77
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 403

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

outfile=/lscratch/kocevski/27019186/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019186/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 8.41
user 7.79
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27019186/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019186/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27019186/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019186/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019186/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 71.90
user 66.85
sys 4.23

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

Setting source of interest to:
4FGL J2336.6-4115 @ 354.164 -41.2579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27019186/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019186/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019186/cmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 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.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27019186/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019186/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019186/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.89
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27019186/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019186/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27019186/Model_4FGL_J2336.6-4115_daily_bin2166.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 sourcoutfile=/lscratch/kocevski/27019199/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019199/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 8.71
user 7.90
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27019199/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019199/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27019199/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019199/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019199/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 73.17
user 67.35
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 184 point sources and 0 extended sources

Setting source of interest to:
4FGL J2336.6-4115 @ 354.164 -41.2579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27019199/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019199/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019199/cmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27019199/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019199/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019199/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 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.79
user 0.25
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27019199/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019199/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27019199/Model_4FGL_J2336.6-4115_daily_bin2166.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/27019164/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits.....................!
real 17.07
user 15.25
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27019164/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits', '/lscratch/kocevski/27019164/ft2_4FGL_J2336.6-4115_daily_bin2166.fits', expMap='/lscratch/kocevski/27019164/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', expCube='/lscratch/kocevski/27019164/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27019164/Model_4FGL_J2336.6-4115_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.6-4115'

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  1.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27019164/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27019164/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27019164/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27019164/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27019164/Model_4FGL_J2336.6-4115_daily_bin2166.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) = 4403.23377852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18403E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92093E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37581E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7492       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.084       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61449E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.109       1.0000          .0000       .10000E+07
    12 'norm      '    .49493E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15317       1.0000          .0000       .10000E+07
    14 'norm      '    .16222E-04   1.0000          .0000       .10000E+07
    15 'norm      '    16.147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    57.945       1.0000          .0000       .10000E+07
    19 'norm      '    .23341E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18534E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.1269       1.0000          .0000       .10000E+07
    22 'norm      '    .89745E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.7336       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11657E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16667E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .11024E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
    29 'Prefactor '    .21310E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.4267       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .31657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40092E-05    34.488        .23602E-06** at limit **
   2  Prefactor     .72356        44.743       -.12886E-05    .48524E-01
   3  Prefactor     .34417E-06    3.4555        .82113E-07** at limit **
   4  Prefactor     .18756E-05    4.2772        .93783E-07** at limit **
   5  Prefactor     .55511E-10    4.2860        .36584E-06** at limit **
   6  Prefactor     9.7417        1.6763        .17639E-07    .92459E-02
   7  Prefactor     .66058E-08    3.4544        .10193E-06** at limit **
   8  Prefactor     47.568        7.4339        .92249E-07   -.10382    
   9  Prefactor      .0000        2.4599        .56763E-07** at limit **
  10  Prefactor     .22989E-05    4.6604        .19928E-07** at limit **
  11  Prefactor     16.201        1.3736        .19242E-07    .11392E-01
  12  norm          .33307E-09    5.8143       -.93882E-07** at limit **
  13  norm          .68445E-07    .71621        .81015E-08** at limit **
  14  norm           .0000        1.4459       -.30759E-07** at limit **
  15  norm          16.185        9.6869        .49897E-07   -.88800E-03
  16  Prefactor     6.7380        6.2957       -.73265E-07   -.56324E-03
  17  Prefactor     .11764E-05    13.550       -.32703E-06** at limit **
  18  Prefactor     56.990        54.848        .44990E-06    .87488E-01
  19  norm           .0000        1.1602       -.77539E-07** at limit **
  20  Prefactor      .0000        5.5167        .18943E-07** at limit **
  21  norm          2.1285        1.2404        .24565E-07    .25359E-02
  22  norm           .0000        1.3148       -.12796E-06** at limit **
  23  Prefactor     4.7271        3.8051        .87928E-07    .13062E-02
  24  Prefactor     .55150E-06    17.438       -.33468E-06** at limit **
  25  Prefactor     .55900E-07    3.5157        .10783E-06** at limit **
  26  norm          .17431E-07    11.750       -.31604E-06** at limit **
  27  Prefactor     4.9947        6.5232        .20991E-07    .62469E-03
  28  Prefactor     4.2379        4.8832       -.38653E-06   -.86517E-02
  29  Prefactor     .21758E-05    4.3161        .88104E-07** at limit **
  30  Normalizat    1.4264        .22636        .46796E-05    .40401E-05
  31  Prefactor     .31701        .23097       -.95787E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00924e-06
  Prefactor  = 0.723563
  Prefactor  = 3.44169e-07
  Prefactor  = 1.87556e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 9.74165
  Prefactor  = 6.60583e-09
  Prefactor  = 47.5678
  Prefactor  = 0
  Prefactor  = 2.29894e-06
  Prefactor  = 16.2007
  norm       = 3.33067e-10
  norm       = 6.84452e-08
  norm       = 0
  norm       = 16.1849
  Prefactor  = 6.73804
  Prefactor  = 1.17645e-06
  Prefactor  = 56.9905
  norm       = 0
  Prefactor  = 0
  norm       = 2.12854
  norm       = 0
  Prefactor  = 4.72706
  Prefactor  = 5.51503e-07
  Prefactor  = 5.58997e-08
  norm       = 1.74305e-08
  Prefactor  = 4.99472
  Prefactor  = 4.23793
  Prefactor  = 2.17582e-06
  Normalizat = 1.42637
  Prefactor  = 0.317011
outfile=/lscratch/kocevski/27019210/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019210/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 8.65
user 7.99
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27019210/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019210/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27019210/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019210/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019210/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 72.24
user 67.02
sys 4.25

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

Setting source of interest to:
4FGL J2336.6-4115 @ 354.164 -41.2579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27019210/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019210/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019210/cmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27019210/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019210/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019210/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27019210/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019210/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27019210/Model_4FGL_J2336.6-4115_daily_bin2166.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   4403.164     FROM HESSE     STATUS=OK           690 CALLS     3654 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40092E-05    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72356        31.931        .10871E-01   -1.5691    
   3  Prefactor     .34417E-06    19.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18756E-05    18.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.2645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7417        20.576        .32069E-03   -1.5646    
   7  Prefactor     .66058E-08    18.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.568        32.516        .14422E-03   -1.5570    
   9  Prefactor      .0000        2.4587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22989E-05    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.201        18.062        .24928E-03   -1.5627    
  12  norm          .33307E-09    5.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68445E-07    5.2358        .84444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.185        9.7106        .24898E-03   -1.5628    
  16  Prefactor     6.7380        6.4390        .38854E-03   -1.5656    
  17  Prefactor     .11764E-05    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.990        59.622        .13138E-03   -1.5557    
  19  norm           .0000        1.1600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1285        1.2630        .70675E-03   -1.5679    
  22  norm           .0000        1.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7271        3.8135        .46224E-03   -1.5664    
  24  Prefactor     .55150E-06    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55900E-07    18.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .17431E-07    11.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.9947        6.5400        .44970E-03   -1.5663    
  28  Prefactor     4.2379        5.4432        .49102E-03   -1.5667    
  29  Prefactor     .21758E-05    17.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4264        .22131        .30853E-01   -.79869    
  31  Prefactor     .31701        .22794        .89791E-01   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62815e-06
Minuit parameter uncertainties:
  1  0.0241799
  2  9.61332
  3  0.00513518
  4  0.0116721
  5  2.87629e-05
  6  20.5757
  7  0.000703656
  8  32.5163
  9  5.48764e-06
  10  0.0135819
  11  18.0621
  12  8.80209e-05
  13  0.00119733
  14  6.12453e-07
  15  9.71061
  16  6.43905
  17  0.00822388
  18  59.6223
  19  2.42025e-06
  20  4.78793e-07
  21  1.26297
  22  5.98168e-06
  23  3.8135
  24  0.007247
  25  0.00203004
  26  0.000904511
  27  6.54001
  28  5.44325
  29  0.0122746
  30  0.221457
  31  0.228591
 GAL_V02
Working on...
/lscratch/kocevski/27019174/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits.....................!
real 16.47
user 15.03
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27019174/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits', '/lscratch/kocevski/27019174/ft2_4FGL_J2336.6-4115_daily_bin2166.fits', expMap='/lscratch/kocevski/27019174/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', expCube='/lscratch/kocevski/27019174/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27019174/Model_4FGL_J2336.6-4115_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.6-4115'

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  1.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27019174/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27019174/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27019174/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27019174/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27019174/Model_4FGL_J2336.6-4115_daily_bin2166.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) = 4403.23377852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18403E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92093E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37581E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7492       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.084       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61449E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.109       1.0000          .0000       .10000E+07
    12 'norm      '    .49493E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15317       1.0000          .0000       .10000E+07
    14 'norm      '    .16222E-04   1.0000          .0000       .10000E+07
    15 'norm      '    16.147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    57.945       1.0000          .0000       .10000E+07
    19 'norm      '    .23341E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18534E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.1269       1.0000          .0000       .10000E+07
    22 'norm      '    .89745E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.7336       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11657E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16667E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .11024E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
    29 'Prefactor '    .21310E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.4267       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .31657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40092E-05    34.488        .23602E-06** at limit **
   2  Prefactor     .72356        44.743       -.12886E-05    .48524E-01
   3  Prefactor     .34417E-06    3.4555        .82113E-07** at limit **
   4  Prefactor     .18756E-05    4.2772        .93783E-07** at limit **
   5  Prefactor     .55511E-10    4.2860        .36584E-06** at limit **
   6  Prefactor     9.7417        1.6763        .17639E-07    .92459E-02
   7  Prefactor     .66058E-08    3.4544        .10193E-06** at limit **
   8  Prefactor     47.568        7.4339        .92249E-07   -.10382    
   9  Prefactor      .0000        2.4599        .56763E-07** at limit **
  10  Prefactor     .22989E-05    4.6604        .19928E-07** at limit **
  11  Prefactor     16.201        1.3736        .19242E-07    .11392E-01
  12  norm          .33307E-09    5.8143       -.93882E-07** at limit **
  13  norm          .68445E-07    .71621        .81015E-08** at limit **
  14  norm           .0000        1.4459       -.30759E-07** at limit **
  15  norm          16.185        9.6869        .49897E-07   -.88800E-03
  16  Prefactor     6.7380        6.2957       -.73265E-07   -.56324E-03
  17  Prefactor     .11764E-05    13.550       -.32703E-06** at limit **
  18  Prefactor     56.990        54.848        .44990E-06    .87488E-01
  19  norm           .0000        1.1602       -.77539E-07** at limit **
  20  Prefactor      .0000        5.5167        .18943E-07** at limit **
  21  norm          2.1285        1.2404        .24565E-07    .25359E-02
  22  norm           .0000        1.3148       -.12796E-06** at limit **
  23  Prefactor     4.7271        3.8051        .87928E-07    .13062E-02
  24  Prefactor     .55150E-06    17.438       -.33468E-06** at limit **
  25  Prefactor     .55900E-07    3.5157        .10783E-06** at limit **
  26  norm          .17431E-07    11.750       -.31604E-06** at limit **
  27  Prefactor     4.9947        6.5232        .20991E-07    .62469E-03
  28  Prefactor     4.2379        4.8832       -.38653E-06   -.86517E-02
  29  Prefactor     .21758E-05    4.3161        .88104E-07** at limit **
  30  Normalizat    1.4264        .22636        .46796E-05    .40401E-05
  31  Prefactor     .31701        .23097       -.95787E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00924e-06
  Prefactor  = 0.723563
  Prefactor  = 3.44169e-07
  Prefactor  = 1.87556e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 9.74165
  Prefactor  = 6.60583e-09
  Prefactor  = 47.5678
  Prefactor  = 0
  Prefactor  = 2.29894e-06
  Prefactor  = 16.2007
  norm       = 3.33067e-10
  norm       = 6.84452e-08
  norm       = 0
  norm       = 16.1849
  Prefactor  = 6.73804
  Prefactor  = 1.17645e-06
  Prefactor  = 56.9905
  norm       = 0
  Prefactor  = 0
  norm       = 2.12854
  norm       = 0
  Prefactor  = 4.72706
  Prefactor  = 5.51503e-07
  Prefactor  = 5.58997e-08
  norm       = 1.74305e-08
  Prefactor  = 4.99472
  Prefactor  = 4.23793
  Prefactor  = 2.17582e-06
  Normalizat = 1.42637
  Prefactor  = 0.317011
e GAL_V02
Working on...
/lscratch/kocevski/27019201/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits.....................!
real 13.97
user 12.65
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27019201/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits', '/lscratch/kocevski/27019201/ft2_4FGL_J2336.6-4115_daily_bin2166.fits', expMap='/lscratch/kocevski/27019201/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', expCube='/lscratch/kocevski/27019201/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27019201/Model_4FGL_J2336.6-4115_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.6-4115'

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  1.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27019201/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27019201/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27019201/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27019201/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27019201/Model_4FGL_J2336.6-4115_daily_bin2166.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) = 4403.23377852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18403E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92093E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37581E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7492       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.084       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61449E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.109       1.0000          .0000       .10000E+07
    12 'norm      '    .49493E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15317       1.0000          .0000       .10000E+07
    14 'norm      '    .16222E-04   1.0000          .0000       .10000E+07
    15 'norm      '    16.147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    57.945       1.0000          .0000       .10000E+07
    19 'norm      '    .23341E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18534E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.1269       1.0000          .0000       .10000E+07
    22 'norm      '    .89745E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.7336       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11657E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16667E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .11024E-01   1.000Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  5.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.164 -41.258
Photon Flux Upper Limit: 4.41355245639e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27019164/likelihoodResults_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16420598
delta logL = -0.000246735249675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16396395
delta logL = -4.70917439088e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14018E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .94086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      215 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3560        .32596E-06** at limit **
   2  alpha         2.1074        1.2127       -.19355E-04     .0000    
   3  Normalizat    1.4264        .21812       -.22917E-06   -.41152E-04
   4  Prefactor     .31701        .22873       -.34629E-05   -.19871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10743
  Normalizat = 1.42637
  Prefactor  = 0.317012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95209        1.5364       -.19355E-04   -.15768    
   3  Normalizat    1.4264        1.0581       -.22917E-06   -.79869    
   4  Prefactor     .31701        .63408       -.34629E-05   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.11116e-05
  2  1.65827
  3  1.07506
  4  0.648807
 **********
 **   18 **HESSE 
 **********

 FCN=   4403.164     FROM HESSE     STATUS=OK           690 CALLS     3654 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40092E-05    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72356        31.931        .10871E-01   -1.5691    
   3  Prefactor     .34417E-06    19.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18756E-05    18.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.2645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7417        20.576        .32069E-03   -1.5646    
   7  Prefactor     .66058E-08    18.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.568        32.516        .14422E-03   -1.5570    
   9  Prefactor      .0000        2.4587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22989E-05    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.201        18.062        .24928E-03   -1.5627    
  12  norm          .33307E-09    5.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68445E-07    5.2358        .84444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.185        9.7106        .24898E-03   -1.5628    
  16  Prefactor     6.7380        6.4390        .38854E-03   -1.5656    
  17  Prefactor     .11764E-05    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.990        59.622        .13138E-03   -1.5557    
  19  norm           .0000        1.1600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1285        1.2630        .70675E-03   -1.5679    
  22  norm           .0000        1.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7271        3.8135        .46224E-03   -1.5664    
  24  Prefactor     .55150E-06    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55900E-07    18.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .17431E-07    11.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.9947        6.5400        .44970E-03   -1.5663    
  28  Prefactor     4.2379        5.4432        .49102E-03   -1.5667    
  29  Prefactor     .21758E-05    17.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4264        .22131        .30853E-01   -.79869    
  31  Prefactor     .31701        .22794        .89791E-01   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62815e-06
Minuit parameter uncertainties:
  1  0.0241799
  2  9.61332
  3  0.00513518
  4  0.0116721
  5  2.87629e-05
  6  20.5757
  7  0.000703656
  8  32.5163
  9  5.48764e-06
  10  0.0135819
  11  18.0621
  12  8.80209e-05
  13  0.00119733
  14  6.12453e-07
  15  9.71061
  16  6.43905
  17  0.00822388
  18  59.6223
  19  2.42025e-06
  20  4.78793e-07
  21  1.26297
  22  5.98168e-06
  23  3.8135
  24  0.007247
  25  0.00203004
  26  0.000904511
  27  6.54001
  28  5.44325
  29  0.0122746
  30  0.221457
  31  0.228591
0          .0000       .10000E+07
    27 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
    29 'Prefactor '    .21310E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.4267       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .31657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40092E-05    34.488        .23602E-06** at limit **
   2  Prefactor     .72356        44.743       -.12886E-05    .48524E-01
   3  Prefactor     .34417E-06    3.4555        .82113E-07** at limit **
   4  Prefactor     .18756E-05    4.2772        .93783E-07** at limit **
   5  Prefactor     .55511E-10    4.2860        .36584E-06** at limit **
   6  Prefactor     9.7417        1.6763        .17639E-07    .92459E-02
   7  Prefactor     .66058E-08    3.4544        .10193E-06** at limit **
   8  Prefactor     47.568        7.4339        .92249E-07   -.10382    
   9  Prefactor      .0000        2.4599        .56763E-07** at limit **
  10  Prefactor     .22989E-05    4.6604        .19928E-07** at limit **
  11  Prefactor     16.201        1.3736        .19242E-07    .11392E-01
  12  norm          .33307E-09    5.8143       -.93882E-07** at limit **
  13  norm          .68445E-07    .71621        .81015E-08** at limit **
  14  norm           .0000        1.4459       -.30759E-07** at limit **
  15  norm          16.185        9.6869        .49897E-07   -.88800E-03
  16  Prefactor     6.7380        6.2957       -.73265E-07   -.56324E-03
  17  Prefactor     .11764E-05    13.550       -.32703E-06** at limit **
  18  Prefactor     56.990        54.848        .44990E-06    .87488E-01
  19  norm           .0000        1.1602       -.77539E-07** at limit **
  20  Prefactor      .0000        5.5167        .18943E-07** at limit **
  21  norm          2.1285        1.2404        .24565E-07    .25359E-02
  22  norm           .0000        1.3148       -.12796E-06** at limit **
  23  Prefactor     4.7271        3.8051        .87928E-07    .13062E-02
  24  Prefactor     .55150E-06    17.438       -.33468E-06** at limit **
  25  Prefactor     .55900E-07    3.5157        .10783E-06** at limit **
  26  norm          .17431E-07    11.750       -.31604E-06** at limit **
  27  Prefactor     4.9947        6.5232        .20991E-07    .62469E-03
  28  Prefactor     4.2379        4.8832       -.38653E-06   -.86517E-02
  29  Prefactor     .21758E-05    4.3161        .88104E-07** at limit **
  30  Normalizat    1.4264        .22636        .46796E-05    .40401E-05
  31  Prefactor     .31701        .23097       -.95787E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00924e-06
  Prefactor  = 0.723563
  Prefactor  = 3.44169e-07
  Prefactor  = 1.87556e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 9.74165
  Prefactor  = 6.60583e-09
  Prefactor  = 47.5678
  Prefactor  = 0
  Prefactor  = 2.29894e-06
  Prefactor  = 16.2007
  norm       = 3.33067e-10
  norm       = 6.84452e-08
  norm       = 0
  norm       = 16.1849
  Prefactor  = 6.73804
  Prefactor  = 1.17645e-06
  Prefactor  = 56.9905
  norm       = 0
  Prefactor  = 0
  norm       = 2.12854
  norm       = 0
  Prefactor  = 4.72706
  Prefactor  = 5.51503e-07
  Prefactor  = 5.58997e-08
  norm       = 1.74305e-08
  Prefactor  = 4.99472
  Prefactor  = 4.23793
  Prefactor  = 2.17582e-06
  Normalizat = 1.42637
  Prefactor  = 0.317011
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) = 4403.16395924
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.111e-05  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.107e+00  1.658e+00  0.000e+00  5.000e+00 ( 1.000e+00)
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  6.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.164 -41.258

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27019164/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.41e-08', time_completed='2026-05-21 17:35:20.252418', job_id='27019164', GAL2='0.32', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1779410120.25', return_code2='101', ts='0.00', return_code='0', GAL='0.32', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2166' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 17:35:20 PDT 2026

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

 FCN=   4403.164     FROM HESSE     STATUS=OK           690 CALLS     3654 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40092E-05    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72356        31.931        .10871E-01   -1.5691    
   3  Prefactor     .34417E-06    19.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18756E-05    18.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.2645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7417        20.576        .32069E-03   -1.5646    
   7  Prefactor     .66058E-08    18.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.568        32.516        .14422E-03   -1.5570    
   9  Prefactor      .0000        2.4587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22989E-05    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.201        18.062        .24928E-03   -1.5627    
  12  norm          .33307E-09    5.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68445E-07    5.2358        .84444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.185        9.7106        .24898E-03   -1.5628    
  16  Prefactor     6.7380        6.4390        .38854E-03   -1.5656    
  17  Prefactor     .11764E-05    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.990        59.622        .13138E-03   -1.5557    
  19  norm           .0000        1.1600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1285        1.2630        .70675E-03   -1.5679    
  22  norm           .0000        1.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7271        3.8135        .46224E-03   -1.5664    
  24  Prefactor     .55150E-06    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55900E-07    18.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .17431E-07    11.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.9947        6.5400        .44970E-03   -1.5663    
  28  Prefactor     4.2379        5.4432        .49102E-03   -1.5667    
  29  Prefactor     .21758E-05    17.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4264        .22131        .30853E-01   -.79869    
  31  Prefactor     .31701        .22794        .89791E-01   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62815e-06
Minuit parameter uncertainties:
  1  0.0241799
  2  9.61332
  3  0.00513518
  4  0.0116721
  5  2.87629e-05
  6  20.5757
  7  0.000703656
  8  32.5163
  9  5.48764e-06
  10  0.0135819
  11  18.0621
  12  8.80209e-05
  13  0.00119733
  14  6.12453e-07
  15  9.71061
  16  6.43905
  17  0.00822388
  18  59.6223
  19  2.42025e-06
  20  4.78793e-07
  21  1.26297
  22  5.98168e-06
  23  3.8135
  24  0.007247
  25  0.00203004
  26  0.000904511
  27  6.54001
  28  5.44325
  29  0.0122746
  30  0.221457
  31  0.228591
outfile=/lscratch/kocevski/27019231/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 8.88
user 8.15
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27019231/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019231/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019231/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 73.59
user 67.93
sys 4.13

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

Setting source of interest to:
4FGL J2336.6-4115 @ 354.164 -41.2579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019231/cmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019231/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 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.68
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27019231/Model_4FGL_J2336.6-4115_daily_bin2166.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 sourcDone.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  5.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.164 -41.258
Photon Flux Upper Limit: 4.41355245639e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27019174/likelihoodResults_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16420598
delta logL = -0.000246735249675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16396395
delta logL = -4.70917439088e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14018E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .94086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      215 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3560        .32596E-06** at limit **
   2  alpha         2.1074        1.2127       -.19355E-04     .0000    
   3  Normalizat    1.4264        .21812       -.22917E-06   -.41152E-04
   4  Prefactor     .31701        .22873       -.34629E-05   -.19871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10743
  Normalizat = 1.42637
  Prefactor  = 0.317012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95209        1.5364       -.19355E-04   -.15768    
   3  Normalizat    1.4264        1.0581       -.22917E-06   -.79869    
   4  Prefactor     .31701        .63408       -.34629E-05   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.11116e-05
  2  1.65827
  3  1.07506
  4  0.648807
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) = 4403.16395924
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.111e-05  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.107e+00  1.658e+00  0.000e+00  5.000e+00 ( 1.000e+00)
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  6.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.164 -41.258

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27019174/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.41e-08', time_completed='2026-05-21 17:35:48.499600', job_id='27019174', GAL2='0.32', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1779410148.5', return_code2='101', ts='0.00', return_code='0', GAL='0.32', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2166' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 17:35:48 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27019186/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits.....................!
real 17.50
user 15.35
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27019186/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits', '/lscratch/kocevski/27019186/ft2_4FGL_J2336.6-4115_daily_bin2166.fits', expMap='/lscratch/kocevski/27019186/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', expCube='/lscratch/kocevski/27019186/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27019186/Model_4FGL_J2336.6-4115_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.6-4115'

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  1.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27019186/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27019186/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27019186/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27019186/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27019186/Model_4FGL_J2336.6-4115_daily_bin2166.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) = 4403.23377852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18403E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92093E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37581E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7492       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.084       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61449E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.109       1.0000          .0000       .10000E+07
    12 'norm      '    .49493E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15317       1.0000          .0000       .10000E+07
    14 'norm      '    .16222E-04   1.0000          .0000       .10000E+07
    15 'norm      '    16.147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    57.945       1.0000          .0000       .10000E+07
    19 'norm      '    .23341E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18534E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.1269       1.0000          .0000       .10000E+07
    22 'norm      '    .89745E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.7336       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11657E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16667E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .11024E-01   1.000number of points = 7414
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2336.6-4115_daily_bin2166
RA = 354.164, Dec = -41.2579
tmin = 800755201, tmax = 801014401
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='27019290', job_status='RUN', time_executed='2026-05-21 17:34:08.994030', time_epoch_executed='1779410048.99' WHERE source_name='4FGL J2336.6-4115' and cadence='daily' and bin_id='2166'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27019290

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27019290/ft1_4FGL_J2336.6-4115_daily_bin2166.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27019290/ft1_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019290/ft1_filteredMKT_4FGL_J2336.6-4115_daily_bin2166.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=800755201.0 tmax=801014401.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.92
user 2.44
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.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/27019290/ft1_filteredMKT_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" outfile="/lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.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.66
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 403

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" 0          .0000       .10000E+07
    27 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
    29 'Prefactor '    .21310E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.4267       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .31657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40092E-05    34.488        .23602E-06** at limit **
   2  Prefactor     .72356        44.743       -.12886E-05    .48524E-01
   3  Prefactor     .34417E-06    3.4555        .82113E-07** at limit **
   4  Prefactor     .18756E-05    4.2772        .93783E-07** at limit **
   5  Prefactor     .55511E-10    4.2860        .36584E-06** at limit **
   6  Prefactor     9.7417        1.6763        .17639E-07    .92459E-02
   7  Prefactor     .66058E-08    3.4544        .10193E-06** at limit **
   8  Prefactor     47.568        7.4339        .92249E-07   -.10382    
   9  Prefactor      .0000        2.4599        .56763E-07** at limit **
  10  Prefactor     .22989E-05    4.6604        .19928E-07** at limit **
  11  Prefactor     16.201        1.3736        .19242E-07    .11392E-01
  12  norm          .33307E-09    5.8143       -.93882E-07** at limit **
  13  norm          .68445E-07    .71621        .81015E-08** at limit **
  14  norm           .0000        1.4459       -.30759E-07** at limit **
  15  norm          16.185        9.6869        .49897E-07   -.88800E-03
  16  Prefactor     6.7380        6.2957       -.73265E-07   -.56324E-03
  17  Prefactor     .11764E-05    13.550       -.32703E-06** at limit **
  18  Prefactor     56.990        54.848        .44990E-06    .87488E-01
  19  norm           .0000        1.1602       -.77539E-07** at limit **
  20  Prefactor      .0000        5.5167        .18943E-07** at limit **
  21  norm          2.1285        1.2404        .24565E-07    .25359E-02
  22  norm           .0000        1.3148       -.12796E-06** at limit **
  23  Prefactor     4.7271        3.8051        .87928E-07    .13062E-02
  24  Prefactor     .55150E-06    17.438       -.33468E-06** at limit **
  25  Prefactor     .55900E-07    3.5157        .10783E-06** at limit **
  26  norm          .17431E-07    11.750       -.31604E-06** at limit **
  27  Prefactor     4.9947        6.5232        .20991E-07    .62469E-03
  28  Prefactor     4.2379        4.8832       -.38653E-06   -.86517E-02
  29  Prefactor     .21758E-05    4.3161        .88104E-07** at limit **
  30  Normalizat    1.4264        .22636        .46796E-05    .40401E-05
  31  Prefactor     .31701        .23097       -.95787E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00924e-06
  Prefactor  = 0.723563
  Prefactor  = 3.44169e-07
  Prefactor  = 1.87556e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 9.74165
  Prefactor  = 6.60583e-09
  Prefactor  = 47.5678
  Prefactor  = 0
  Prefactor  = 2.29894e-06
  Prefactor  = 16.2007
  norm       = 3.33067e-10
  norm       = 6.84452e-08
  norm       = 0
  norm       = 16.1849
  Prefactor  = 6.73804
  Prefactor  = 1.17645e-06
  Prefactor  = 56.9905
  norm       = 0
  Prefactor  = 0
  norm       = 2.12854
  norm       = 0
  Prefactor  = 4.72706
  Prefactor  = 5.51503e-07
  Prefactor  = 5.58997e-08
  norm       = 1.74305e-08
  Prefactor  = 4.99472
  Prefactor  = 4.23793
  Prefactor  = 2.17582e-06
  Normalizat = 1.42637
  Prefactor  = 0.317011
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  5.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.164 -41.258
Photon Flux Upper Limit: 4.41355245639e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27019201/likelihoodResults_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16420598
delta logL = -0.000246735249675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16396395
delta logL = -4.70917439088e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14018E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .94086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      215 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3560        .32596E-06** at limit **
   2  alpha         2.1074        1.2127       -.19355E-04     .0000    
   3  Normalizat    1.4264        .21812       -.22917E-06   -.41152E-04
   4  Prefactor     .31701        .22873       -.34629E-05   -.19871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10743
  Normalizat = 1.42637
  Prefactor  = 0.317012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95209        1.5364       -.19355E-04   -.15768    
   3  Normalizat    1.4264        1.0581       -.22917E-06   -.79869    
   4  Prefactor     .31701        .63408       -.34629E-05   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.11116e-05
  2  1.65827
  3  1.07506
  4  0.648807
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) = 4403.16395924
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.111e-05  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.107e+00  1.658e+00  0.000e+00  5.000e+00 ( 1.000e+00)
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  6.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.164 -41.258

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27019201/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.41e-08', time_completed='2026-05-21 17:35:59.945450', job_id='27019201', GAL2='0.32', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1779410159.95', return_code2='101', ts='0.00', return_code='0', GAL='0.32', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2166' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 17:36:00 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27019199/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits.....................!
real 17.11
user 15.31
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27019199/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits', '/lscratch/kocevski/27019199/ft2_4FGL_J2336.6-4115_daily_bin2166.fits', expMap='/lscratch/kocevski/27019199/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', expCube='/lscratch/kocevski/27019199/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27019199/Model_4FGL_J2336.6-4115_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.6-4115'

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  1.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27019199/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27019199/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27019199/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27019199/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27019199/Model_4FGL_J2336.6-4115_daily_bin2166.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) = 4403.23377852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18403E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92093E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37581E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7492       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.084       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61449E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.109       1.0000          .0000       .10000E+07
    12 'norm      '    .49493E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15317       1.0000          .0000       .10000E+07
    14 'norm      '    .16222E-04   1.0000          .0000       .10000E+07
    15 'norm      '    16.147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    57.945       1.0000          .0000       .10000E+07
    19 'norm      '    .23341E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18534E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.1269       1.0000          .0000       .10000E+07
    22 'norm      '    .89745E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.7336       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11657E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16667E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .11024E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
    29 'Prefactor '    .21310E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.4267       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .31657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40092E-05    34.488        .23602E-06** at limit **
   2  Prefactor     .72356        44.743       -.12886E-05    .48524E-01
   3  Prefactor     .34417E-06    3.4555        .82113E-07** at limit **
   4  Prefactor     .18756E-05    4.2772        .93783E-07** at limit **
   5  Prefactor     .55511E-10    4.2860        .36584E-06** at limit **
   6  Prefactor     9.7417        1.6763        .17639E-07    .92459E-02
   7  Prefactor     .66058E-08    3.4544        .10193E-06** at limit **
   8  Prefactor     47.568        7.4339        .92249E-07   -.10382    
   9  Prefactor      .0000        2.4599        .56763E-07** at limit **
  10  Prefactor     .22989E-05    4.6604        .19928E-07** at limit **
  11  Prefactor     16.201        1.3736        .19242E-07    .11392E-01
  12  norm          .33307E-09    5.8143       -.93882E-07** at limit **
  13  norm          .68445E-07    .71621        .81015E-08** at limit **
  14  norm           .0000        1.4459       -.30759E-07** at limit **
  15  norm          16.185        9.6869        .49897E-07   -.88800E-03
  16  Prefactor     6.7380        6.2957       -.73265E-07   -.56324E-03
  17  Prefactor     .11764E-05    13.550       -.32703E-06** at limit **
  18  Prefactor     56.990        54.848        .44990E-06    .87488E-01
  19  norm           .0000        1.1602       -.77539E-07** at limit **
  20  Prefactor      .0000        5.5167        .18943E-07** at limit **
  21  norm          2.1285        1.2404        .24565E-07    .25359E-02
  22  norm           .0000        1.3148       -.12796E-06** at limit **
  23  Prefactor     4.7271        3.8051        .87928E-07    .13062E-02
  24  Prefactor     .55150E-06    17.438       -.33468E-06** at limit **
  25  Prefactor     .55900E-07    3.5157        .10783E-06** at limit **
  26  norm          .17431E-07    11.750       -.31604E-06** at limit **
  27  Prefactor     4.9947        6.5232        .20991E-07    .62469E-03
  28  Prefactor     4.2379        4.8832       -.38653E-06   -.86517E-02
  29  Prefactor     .21758E-05    4.3161        .88104E-07** at limit **
  30  Normalizat    1.4264        .22636        .46796E-05    .40401E-05
  31  Prefactor     .31701        .23097       -.95787E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00924e-06
  Prefactor  = 0.723563
  Prefactor  = 3.44169e-07
  Prefactor  = 1.87556e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 9.74165
  Prefactor  = 6.60583e-09
  Prefactor  = 47.5678
  Prefactor  = 0
  Prefactor  = 2.29894e-06
  Prefactor  = 16.2007
  norm       = 3.33067e-10
  norm       = 6.84452e-08
  norm       = 0
  norm       = 16.1849
  Prefactor  = 6.73804
  Prefactor  = 1.17645e-06
  Prefactor  = 56.9905
  norm       = 0
  Prefactor  = 0
  norm       = 2.12854
  norm       = 0
  Prefactor  = 4.72706
  Prefactor  = 5.51503e-07
  Prefactor  = 5.58997e-08
  norm       = 1.74305e-08
  Prefactor  = 4.99472
  Prefactor  = 4.23793
  Prefactor  = 2.17582e-06
  Normalizat = 1.42637
  Prefactor  = 0.317011
 **********
 **   18 **HESSE 
 **********

 FCN=   4403.164     FROM HESSE     STATUS=OK           690 CALLS     3654 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40092E-05    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72356        31.931        .10871E-01   -1.5691    
   3  Prefactor     .34417E-06    19.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18756E-05    18.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.2645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7417        20.576        .32069E-03   -1.5646    
   7  Prefactor     .66058E-08    18.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.568        32.516        .14422E-03   -1.5570    
   9  Prefactor      .0000        2.4587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22989E-05    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.201        18.062        .24928E-03   -1.5627    
  12  norm          .33307E-09    5.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68445E-07    5.2358        .84444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.185        9.7106        .24898E-03   -1.5628    
  16  Prefactor     6.7380        6.4390        .38854E-03   -1.5656    
  17  Prefactor     .11764E-05    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.990        59.622        .13138E-03   -1.5557    
  19  norm           .0000        1.1600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1285        1.2630        .70675E-03   -1.5679    
  22  norm           .0000        1.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7271        3.8135        .46224E-03   -1.5664    
  24  Prefactor     .55150E-06    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55900E-07    18.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .17431E-07    11.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.9947        6.5400        .44970E-03   -1.5663    
  28  Prefactor     4.2379        5.4432        .49102E-03   -1.5667    
  29  Prefactor     .21758E-05    17.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4264        .22131        .30853E-01   -.79869    
  31  Prefactor     .31701        .22794        .89791E-01   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62815e-06
Minuit parameter uncertainties:
  1  0.0241799
  2  9.61332
  3  0.00513518
  4  0.0116721
  5  2.87629e-05
  6  20.5757
  7  0.000703656
  8  32.5163
  9  5.48764e-06
  10  0.0135819
  11  18.0621
  12  8.80209e-05
  13  0.00119733
  14  6.12453e-07
  15  9.71061
  16  6.43905
  17  0.00822388
  18  59.6223
  19  2.42025e-06
  20  4.78793e-07
  21  1.26297
  22  5.98168e-06
  23  3.8135
  24  0.007247
  25  0.00203004
  26  0.000904511
  27  6.54001
  28  5.44325
  29  0.0122746
  30  0.221457
  31  0.228591
e GAL_V02
Working on...
/lscratch/kocevski/27019210/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits.....................!
real 17.01
user 15.17
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27019210/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits', '/lscratch/kocevski/27019210/ft2_4FGL_J2336.6-4115_daily_bin2166.fits', expMap='/lscratch/kocevski/27019210/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', expCube='/lscratch/kocevski/27019210/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27019210/Model_4FGL_J2336.6-4115_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.6-4115'

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  1.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27019210/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27019210/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27019210/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27019210/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27019210/Model_4FGL_J2336.6-4115_daily_bin2166.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) = 4403.23377852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18403E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92093E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37581E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7492       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.084       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61449E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.109       1.0000          .0000       .10000E+07
    12 'norm      '    .49493E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15317       1.0000          .0000       .10000E+07
    14 'norm      '    .16222E-04   1.0000          .0000       .10000E+07
    15 'norm      '    16.147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    57.945       1.0000          .0000       .10000E+07
    19 'norm      '    .23341E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18534E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.1269       1.0000          .0000       .10000E+07
    22 'norm      '    .89745E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.7336       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11657E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16667E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .11024E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
    29 'Prefactor '    .21310E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.4267       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .31657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40092E-05    34.488        .23602E-06** at limit **
   2  Prefactor     .72356        44.743       -.12886E-05    .48524E-01
   3  Prefactor     .34417E-06    3.4555        .82113E-07** at limit **
   4  Prefactor     .18756E-05    4.2772        .93783E-07** at limit **
   5  Prefactor     .55511E-10    4.2860        .36584E-06** at limit **
   6  Prefactor     9.7417        1.6763        .17639E-07    .92459E-02
   7  Prefactor     .66058E-08    3.4544        .10193E-06** at limit **
   8  Prefactor     47.568        7.4339        .92249E-07   -.10382    
   9  Prefactor      .0000        2.4599        .56763E-07** at limit **
  10  Prefactor     .22989E-05    4.6604        .19928E-07** at limit **
  11  Prefactor     16.201        1.3736        .19242E-07    .11392E-01
  12  norm          .33307E-09    5.8143       -.93882E-07** at limit **
  13  norm          .68445E-07    .71621        .81015E-08** at limit **
  14  norm           .0000        1.4459       -.30759E-07** at limit **
  15  norm          16.185        9.6869        .49897E-07   -.88800E-03
  16  Prefactor     6.7380        6.2957       -.73265E-07   -.56324E-03
  17  Prefactor     .11764E-05    13.550       -.32703E-06** at limit **
  18  Prefactor     56.990        54.848        .44990E-06    .87488E-01
  19  norm           .0000        1.1602       -.77539E-07** at limit **
  20  Prefactor      .0000        5.5167        .18943E-07** at limit **
  21  norm          2.1285        1.2404        .24565E-07    .25359E-02
  22  norm           .0000        1.3148       -.12796E-06** at limit **
  23  Prefactor     4.7271        3.8051        .87928E-07    .13062E-02
  24  Prefactor     .55150E-06    17.438       -.33468E-06** at limit **
  25  Prefactor     .55900E-07    3.5157        .10783E-06** at limit **
  26  norm          .17431E-07    11.750       -.31604E-06** at limit **
  27  Prefactor     4.9947        6.5232        .20991E-07    .62469E-03
  28  Prefactor     4.2379        4.8832       -.38653E-06   -.86517E-02
  29  Prefactor     .21758E-05    4.3161        .88104E-07** at limit **
  30  Normalizat    1.4264        .22636        .46796E-05    .40401E-05
  31  Prefactor     .31701        .23097       -.95787E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00924e-06
  Prefactor  = 0.723563
  Prefactor  = 3.44169e-07
  Prefactor  = 1.87556e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 9.74165
  Prefactor  = 6.60583e-09
  Prefactor  = 47.5678
  Prefactor  = 0
  Prefactor  = 2.29894e-06
  Prefactor  = 16.2007
  norm       = 3.33067e-10
  norm       = 6.84452e-08
  norm       = 0
  norm       = 16.1849
  Prefactor  = 6.73804
  Prefactor  = 1.17645e-06
  Prefactor  = 56.9905
  norm       = 0
  Prefactor  = 0
  norm       = 2.12854
  norm       = 0
  Prefactor  = 4.72706
  Prefactor  = 5.51503e-07
  Prefactor  = 5.58997e-08
  norm       = 1.74305e-08
  Prefactor  = 4.99472
  Prefactor  = 4.23793
  Prefactor  = 2.17582e-06
  Normalizat = 1.42637
  Prefactor  = 0.317011
 **********
 **   18 **HESSE 
 **********

 FCN=   4403.164     FROM HESSE     STATUS=OK           690 CALLS     3654 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40092E-05    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72356        31.931        .10871E-01   -1.5691    
   3  Prefactor     .34417E-06    19.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18756E-05    18.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.2645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7417        20.576        .32069E-03   -1.5646    
   7  Prefactor     .66058E-08    18.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.568        32.516        .14422E-03   -1.5570    
   9  Prefactor      .0000        2.4587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22989E-05    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.201        18.062        .24928E-03   -1.5627    
  12  norm          .33307E-09    5.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68445E-07    5.2358        .84444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.185        9.7106        .24898E-03   -1.5628    
  16  Prefactor     6.7380        6.4390        .38854E-03   -1.5656    
  17  Prefactor     .11764E-05    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.990        59.622        .13138E-03   -1.5557    
  19  norm           .0000        1.1600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1285        1.2630        .70675E-03   -1.5679    
  22  norm           .0000        1.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7271        3.8135        .46224E-03   -1.5664    
  24  Prefactor     .55150E-06    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55900E-07    18.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .17431E-07    11.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.9947        6.5400        .44970E-03   -1.5663    
  28  Prefactor     4.2379        5.4432        .49102E-03   -1.5667    
  29  Prefactor     .21758E-05    17.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4264        .22131        .30853E-01   -.79869    
  31  Prefactor     .31701        .22794        .89791E-01   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62815e-06
Minuit parameter uncertainties:
  1  0.0241799
  2  9.61332
  3  0.00513518
  4  0.0116721
  5  2.87629e-05
  6  20.5757
  7  0.000703656
  8  32.5163
  9  5.48764e-06
  10  0.0135819
  11  18.0621
  12  8.80209e-05
  13  0.00119733
  14  6.12453e-07
  15  9.71061
  16  6.43905
  17  0.00822388
  18  59.6223
  19  2.42025e-06
  20  4.78793e-07
  21  1.26297
  22  5.98168e-06
  23  3.8135
  24  0.007247
  25  0.00203004
  26  0.000904511
  27  6.54001
  28  5.44325
  29  0.0122746
  30  0.221457
  31  0.228591
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  5.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.164 -41.258
Photon Flux Upper Limit: 4.41355245639e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27019186/likelihoodResults_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16420598
delta logL = -0.000246735249675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16396395
delta logL = -4.70917439088e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14018E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .94086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      215 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3560        .32596E-06** at limit **
   2  alpha         2.1074        1.2127       -.19355E-04     .0000    
   3  Normalizat    1.4264        .21812       -.22917E-06   -.41152E-04
   4  Prefactor     .31701        .22873       -.34629E-05   -.19871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10743
  Normalizat = 1.42637
  Prefactor  = 0.317012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95209        1.5364       -.19355E-04   -.15768    
   3  Normalizat    1.4264        1.0581       -.22917E-06   -.79869    
   4  Prefactor     .31701        .63408       -.34629E-05   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.11116e-05
  2  1.65827
  3  1.07506
  4  0.648807
 **********
 **   18 **HESSE 
 **********

 FCN=   4403.164     FROM HESSE     STATUS=OK           690 CALLS     3654 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40092E-05    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72356        31.931        .10871E-01   -1.5691    
   3  Prefactor     .34417E-06    19.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18756E-05    18.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.2645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7417        20.576        .32069E-03   -1.5646    
   7  Prefactor     .66058E-08    18.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.568        32.516        .14422E-03   -1.5570    
   9  Prefactor      .0000        2.4587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22989E-05    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.201        18.062        .24928E-03   -1.5627    
  12  norm          .33307E-09    5.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68445E-07    5.2358        .84444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.185        9.7106        .24898E-03   -1.5628    
  16  Prefactor     6.7380        6.4390        .38854E-03   -1.5656    
  17  Prefactor     .11764E-05    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.990        59.622        .13138E-03   -1.5557    
  19  norm           .0000        1.1600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1285        1.2630        .70675E-03   -1.5679    
  22  norm           .0000        1.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7271        3.8135        .46224E-03   -1.5664    
  24  Prefactor     .55150E-06    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55900E-07    18.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .17431E-07    11.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.9947        6.5400        .44970E-03   -1.5663    
  28  Prefactor     4.2379        5.4432        .49102E-03   -1.5667    
  29  Prefactor     .21758E-05    17.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4264        .22131        .30853E-01   -.79869    
  31  Prefactor     .31701        .22794        .89791E-01   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62815e-06
Minuit parameter uncertainties:
  1  0.0241799
  2  9.61332
  3  0.00513518
  4  0.0116721
  5  2.87629e-05
  6  20.5757
  7  0.000703656
  8  32.5163
  9  5.48764e-06
  10  0.0135819
  11  18.0621
  12  8.80209e-05
  13  0.00119733
  14  6.12453e-07
  15  9.71061
  16  6.43905
  17  0.00822388
  18  59.6223
  19  2.42025e-06
  20  4.78793e-07
  21  1.26297
  22  5.98168e-06
  23  3.8135
  24  0.007247
  25  0.00203004
  26  0.000904511
  27  6.54001
  28  5.44325
  29  0.0122746
  30  0.221457
  31  0.228591
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) = 4403.16395924
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.111e-05  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.107e+00  1.658e+00  0.000e+00  5.000e+00 ( 1.000e+00)
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  6.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.164 -41.258

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27019186/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.41e-08', time_completed='2026-05-21 17:36:43.913344', job_id='27019186', GAL2='0.32', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1779410203.91', return_code2='101', ts='0.00', return_code='0', GAL='0.32', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2166' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 17:36:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  5.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.164 -41.258
Photon Flux Upper Limit: 4.41355245639e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27019199/likelihoodResults_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16420598
delta logL = -0.000246735249675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16396395
delta logL = -4.70917439088e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14018E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .94086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      215 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3560        .32596E-06** at limit **
   2  alpha         2.1074        1.2127       -.19355E-04     .0000    
   3  Normalizat    1.4264        .21812       -.22917E-06   -.41152E-04
   4  Prefactor     .31701        .22873       -.34629E-05   -.19871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10743
  Normalizat = 1.42637
  Prefactor  = 0.317012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95209        1.5364       -.19355E-04   -.15768    
   3  Normalizat    1.4264        1.0581       -.22917E-06   -.79869    
   4  Prefactor     .31701        .63408       -.34629E-05   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.11116e-05
  2  1.65827
  3  1.07506
  4  0.648807
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) = 4403.16395924
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.111e-05  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.107e+00  1.658e+00  0.000e+00  5.000e+00 ( 1.000e+00)
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  6.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.164 -41.258

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27019199/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.41e-08', time_completed='2026-05-21 17:36:54.809489', job_id='27019199', GAL2='0.32', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1779410214.81', return_code2='101', ts='0.00', return_code='0', GAL='0.32', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2166' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 17:36:55 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  5.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.164 -41.258
Photon Flux Upper Limit: 4.41355245639e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27019210/likelihoodResults_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16420598
delta logL = -0.000246735249675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16396395
delta logL = -4.70917439088e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14018E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .94086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      215 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3560        .32596E-06** at limit **
   2  alpha         2.1074        1.2127       -.19355E-04     .0000    
   3  Normalizat    1.4264        .21812       -.22917E-06   -.41152E-04
   4  Prefactor     .31701        .22873       -.34629E-05   -.19871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10743
  Normalizat = 1.42637
  Prefactor  = 0.317012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95209        1.5364       -.19355E-04   -.15768    
   3  Normalizat    1.4264        1.0581       -.22917E-06   -.79869    
   4  Prefactor     .31701        .63408       -.34629E-05   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.11116e-05
  2  1.65827
  3  1.07506
  4  0.648807
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) = 4403.16395924
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.111e-05  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.107e+00  1.658e+00  0.000e+00  5.000e+00 ( 1.000e+00)
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  6.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.164 -41.258

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27019210/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.41e-08', time_completed='2026-05-21 17:37:12.126438', job_id='27019210', GAL2='0.32', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1779410232.13', return_code2='101', ts='0.00', return_code='0', GAL='0.32', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2166' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 17:37:12 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits.....................!
real 16.77
user 15.18
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits', '/lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits', expMap='/lscratch/kocevski/27019231/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', expCube='/lscratch/kocevski/27019231/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27019231/Model_4FGL_J2336.6-4115_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.6-4115'

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  1.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27019231/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27019231/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27019231/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27019231/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27019231/Model_4FGL_J2336.6-4115_daily_bin2166.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) = 4403.23377852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18403E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92093E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37581E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7492       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.084       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61449E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.109       1.0000          .0000       .10000E+07
    12 'norm      '    .49493E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15317       1.0000          .0000       .10000E+07
    14 'norm      '    .16222E-04   1.0000          .0000       .10000E+07
    15 'norm      '    16.147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    57.945       1.0000          .0000       .10000E+07
    19 'norm      '    .23341E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18534E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.1269       1.0000          .0000       .10000E+07
    22 'norm      '    .89745E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.7336       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11657E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16667E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .11024E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
    29 'Prefactor '    .21310E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.4267       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .31657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40092E-05    34.488        .23602E-06** at limit **
   2  Prefactor     .72356        44.743       -.12886E-05    .48524E-01
   3  Prefactor     .34417E-06    3.4555        .82113E-07** at limit **
   4  Prefactor     .18756E-05    4.2772        .93783E-07** at limit **
   5  Prefactor     .55511E-10    4.2860        .36584E-06** at limit **
   6  Prefactor     9.7417        1.6763        .17639E-07    .92459E-02
   7  Prefactor     .66058E-08    3.4544        .10193E-06** at limit **
   8  Prefactor     47.568        7.4339        .92249E-07   -.10382    
   9  Prefactor      .0000        2.4599        .56763E-07** at limit **
  10  Prefactor     .22989E-05    4.6604        .19928E-07** at limit **
  11  Prefactor     16.201        1.3736        .19242E-07    .11392E-01
  12  norm          .33307E-09    5.8143       -.93882E-07** at limit **
  13  norm          .68445E-07    .71621        .81015E-08** at limit **
  14  norm           .0000        1.4459       -.30759E-07** at limit **
  15  norm          16.185        9.6869        .49897E-07   -.88800E-03
  16  Prefactor     6.7380        6.2957       -.73265E-07   -.56324E-03
  17  Prefactor     .11764E-05    13.550       -.32703E-06** at limit **
  18  Prefactor     56.990        54.848        .44990E-06    .87488E-01
  19  norm           .0000        1.1602       -.77539E-07** at limit **
  20  Prefactor      .0000        5.5167        .18943E-07** at limit **
  21  norm          2.1285        1.2404        .24565E-07    .25359E-02
  22  norm           .0000        1.3148       -.12796E-06** at limit **
  23  Prefactor     4.7271        3.8051        .87928E-07    .13062E-02
  24  Prefactor     .55150E-06    17.438       -.33468E-06** at limit **
  25  Prefactor     .55900E-07    3.5157        .10783E-06** at limit **
  26  norm          .17431E-07    11.750       -.31604E-06** at limit **
  27  Prefactor     4.9947        6.5232        .20991E-07    .62469E-03
  28  Prefactor     4.2379        4.8832       -.38653E-06   -.86517E-02
  29  Prefactor     .21758E-05    4.3161        .88104E-07** at limit **
  30  Normalizat    1.4264        .22636        .46796E-05    .40401E-05
  31  Prefactor     .31701        .23097       -.95787E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00924e-06
  Prefactor  = 0.723563
  Prefactor  = 3.44169e-07
  Prefactor  = 1.87556e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 9.74165
  Prefactor  = 6.60583e-09
  Prefactor  = 47.5678
  Prefactor  = 0
  Prefactor  = 2.29894e-06
  Prefactor  = 16.2007
  norm       = 3.33067e-10
  norm       = 6.84452e-08
  norm       = 0
  norm       = 16.1849
  Prefactor  = 6.73804
  Prefactor  = 1.17645e-06
  Prefactor  = 56.9905
  norm       = 0
  Prefactor  = 0
  norm       = 2.12854
  norm       = 0
  Prefactor  = 4.72706
  Prefactor  = 5.51503e-07
  Prefactor  = 5.58997e-08
  norm       = 1.74305e-08
  Prefactor  = 4.99472
  Prefactor  = 4.23793
  Prefactor  = 2.17582e-06
  Normalizat = 1.42637
  Prefactor  = 0.317011
outfile=/lscratch/kocevski/27019290/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 8.45
user 7.93
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27019290/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019290/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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/27019290/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
.....................!
real 72.49
user 67.64
sys 4.23

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

Setting source of interest to:
4FGL J2336.6-4115 @ 354.164 -41.2579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019290/cmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 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.63
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits scfile=/lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits outfile=/lscratch/kocevski/27019290/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.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=354.164 yref=-41.2579 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.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27019290/Model_4FGL_J2336.6-4115_daily_bin2166.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   4403.164     FROM HESSE     STATUS=OK           690 CALLS     3654 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40092E-05    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72356        31.931        .10871E-01   -1.5691    
   3  Prefactor     .34417E-06    19.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18756E-05    18.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.2645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7417        20.576        .32069E-03   -1.5646    
   7  Prefactor     .66058E-08    18.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.568        32.516        .14422E-03   -1.5570    
   9  Prefactor      .0000        2.4587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22989E-05    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.201        18.062        .24928E-03   -1.5627    
  12  norm          .33307E-09    5.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68445E-07    5.2358        .84444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.185        9.7106        .24898E-03   -1.5628    
  16  Prefactor     6.7380        6.4390        .38854E-03   -1.5656    
  17  Prefactor     .11764E-05    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.990        59.622        .13138E-03   -1.5557    
  19  norm           .0000        1.1600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1285        1.2630        .70675E-03   -1.5679    
  22  norm           .0000        1.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7271        3.8135        .46224E-03   -1.5664    
  24  Prefactor     .55150E-06    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55900E-07    18.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .17431E-07    11.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.9947        6.5400        .44970E-03   -1.5663    
  28  Prefactor     4.2379        5.4432        .49102E-03   -1.5667    
  29  Prefactor     .21758E-05    17.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4264        .22131        .30853E-01   -.79869    
  31  Prefactor     .31701        .22794        .89791E-01   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62815e-06
Minuit parameter uncertainties:
  1  0.0241799
  2  9.61332
  3  0.00513518
  4  0.0116721
  5  2.87629e-05
  6  20.5757
  7  0.000703656
  8  32.5163
  9  5.48764e-06
  10  0.0135819
  11  18.0621
  12  8.80209e-05
  13  0.00119733
  14  6.12453e-07
  15  9.71061
  16  6.43905
  17  0.00822388
  18  59.6223
  19  2.42025e-06
  20  4.78793e-07
  21  1.26297
  22  5.98168e-06
  23  3.8135
  24  0.007247
  25  0.00203004
  26  0.000904511
  27  6.54001
  28  5.44325
  29  0.0122746
  30  0.221457
  31  0.228591
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  5.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.164 -41.258
Photon Flux Upper Limit: 4.41355245639e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27019231/likelihoodResults_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16420598
delta logL = -0.000246735249675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16396395
delta logL = -4.70917439088e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14018E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .94086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      215 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3560        .32596E-06** at limit **
   2  alpha         2.1074        1.2127       -.19355E-04     .0000    
   3  Normalizat    1.4264        .21812       -.22917E-06   -.41152E-04
   4  Prefactor     .31701        .22873       -.34629E-05   -.19871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10743
  Normalizat = 1.42637
  Prefactor  = 0.317012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95209        1.5364       -.19355E-04   -.15768    
   3  Normalizat    1.4264        1.0581       -.22917E-06   -.79869    
   4  Prefactor     .31701        .63408       -.34629E-05   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.11116e-05
  2  1.65827
  3  1.07506
  4  0.648807
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) = 4403.16395924
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.111e-05  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.107e+00  1.658e+00  0.000e+00  5.000e+00 ( 1.000e+00)
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  6.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.164 -41.258

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27019231/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.41e-08', time_completed='2026-05-21 17:38:16.749492', job_id='27019231', GAL2='0.32', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1779410296.75', return_code2='101', ts='0.00', return_code='0', GAL='0.32', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2166' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 17:38:17 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits.....................!
real 16.31
user 14.91
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits', '/lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits', expMap='/lscratch/kocevski/27019290/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', expCube='/lscratch/kocevski/27019290/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27019290/Model_4FGL_J2336.6-4115_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.6-4115'

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  1.808e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27019290/ft1_filtered_4FGL_J2336.6-4115_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27019290/ft2_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27019290/expmap_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27019290/ltcube_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27019290/Model_4FGL_J2336.6-4115_daily_bin2166.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) = 4403.23377852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18403E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .40036       1.0000          .0000       .10000E+07
     3 'Prefactor '    .92093E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .37581E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.7492       1.0000          .0000       .10000E+07
     7 'Prefactor '    .21544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    48.084       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11102E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61449E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.109       1.0000          .0000       .10000E+07
    12 'norm      '    .49493E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .15317       1.0000          .0000       .10000E+07
    14 'norm      '    .16222E-04   1.0000          .0000       .10000E+07
    15 'norm      '    16.147       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.6620       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    57.945       1.0000          .0000       .10000E+07
    19 'norm      '    .23341E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18534E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.1269       1.0000          .0000       .10000E+07
    22 'norm      '    .89745E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    4.7336       1.0000          .0000       .10000E+07
    24 'Prefactor '    .11657E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .16667E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .11024E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.9954       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.2079       1.0000          .0000       .10000E+07
    29 'Prefactor '    .21310E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.4267       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .31657       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2964 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40092E-05    34.488        .23602E-06** at limit **
   2  Prefactor     .72356        44.743       -.12886E-05    .48524E-01
   3  Prefactor     .34417E-06    3.4555        .82113E-07** at limit **
   4  Prefactor     .18756E-05    4.2772        .93783E-07** at limit **
   5  Prefactor     .55511E-10    4.2860        .36584E-06** at limit **
   6  Prefactor     9.7417        1.6763        .17639E-07    .92459E-02
   7  Prefactor     .66058E-08    3.4544        .10193E-06** at limit **
   8  Prefactor     47.568        7.4339        .92249E-07   -.10382    
   9  Prefactor      .0000        2.4599        .56763E-07** at limit **
  10  Prefactor     .22989E-05    4.6604        .19928E-07** at limit **
  11  Prefactor     16.201        1.3736        .19242E-07    .11392E-01
  12  norm          .33307E-09    5.8143       -.93882E-07** at limit **
  13  norm          .68445E-07    .71621        .81015E-08** at limit **
  14  norm           .0000        1.4459       -.30759E-07** at limit **
  15  norm          16.185        9.6869        .49897E-07   -.88800E-03
  16  Prefactor     6.7380        6.2957       -.73265E-07   -.56324E-03
  17  Prefactor     .11764E-05    13.550       -.32703E-06** at limit **
  18  Prefactor     56.990        54.848        .44990E-06    .87488E-01
  19  norm           .0000        1.1602       -.77539E-07** at limit **
  20  Prefactor      .0000        5.5167        .18943E-07** at limit **
  21  norm          2.1285        1.2404        .24565E-07    .25359E-02
  22  norm           .0000        1.3148       -.12796E-06** at limit **
  23  Prefactor     4.7271        3.8051        .87928E-07    .13062E-02
  24  Prefactor     .55150E-06    17.438       -.33468E-06** at limit **
  25  Prefactor     .55900E-07    3.5157        .10783E-06** at limit **
  26  norm          .17431E-07    11.750       -.31604E-06** at limit **
  27  Prefactor     4.9947        6.5232        .20991E-07    .62469E-03
  28  Prefactor     4.2379        4.8832       -.38653E-06   -.86517E-02
  29  Prefactor     .21758E-05    4.3161        .88104E-07** at limit **
  30  Normalizat    1.4264        .22636        .46796E-05    .40401E-05
  31  Prefactor     .31701        .23097       -.95787E-05   -.25634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00924e-06
  Prefactor  = 0.723563
  Prefactor  = 3.44169e-07
  Prefactor  = 1.87556e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 9.74165
  Prefactor  = 6.60583e-09
  Prefactor  = 47.5678
  Prefactor  = 0
  Prefactor  = 2.29894e-06
  Prefactor  = 16.2007
  norm       = 3.33067e-10
  norm       = 6.84452e-08
  norm       = 0
  norm       = 16.1849
  Prefactor  = 6.73804
  Prefactor  = 1.17645e-06
  Prefactor  = 56.9905
  norm       = 0
  Prefactor  = 0
  norm       = 2.12854
  norm       = 0
  Prefactor  = 4.72706
  Prefactor  = 5.51503e-07
  Prefactor  = 5.58997e-08
  norm       = 1.74305e-08
  Prefactor  = 4.99472
  Prefactor  = 4.23793
  Prefactor  = 2.17582e-06
  Normalizat = 1.42637
  Prefactor  = 0.317011
 **********
 **   18 **HESSE 
 **********

 FCN=   4403.164     FROM HESSE     STATUS=OK           690 CALLS     3654 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40092E-05    36.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72356        31.931        .10871E-01   -1.5691    
   3  Prefactor     .34417E-06    19.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18756E-05    18.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    4.2645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.7417        20.576        .32069E-03   -1.5646    
   7  Prefactor     .66058E-08    18.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     47.568        32.516        .14422E-03   -1.5570    
   9  Prefactor      .0000        2.4587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22989E-05    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.201        18.062        .24928E-03   -1.5627    
  12  norm          .33307E-09    5.8123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .68445E-07    5.2358        .84444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.185        9.7106        .24898E-03   -1.5628    
  16  Prefactor     6.7380        6.4390        .38854E-03   -1.5656    
  17  Prefactor     .11764E-05    14.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.990        59.622        .13138E-03   -1.5557    
  19  norm           .0000        1.1600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1285        1.2630        .70675E-03   -1.5679    
  22  norm           .0000        1.3155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.7271        3.8135        .46224E-03   -1.5664    
  24  Prefactor     .55150E-06    23.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .55900E-07    18.422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .17431E-07    11.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.9947        6.5400        .44970E-03   -1.5663    
  28  Prefactor     4.2379        5.4432        .49102E-03   -1.5667    
  29  Prefactor     .21758E-05    17.312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4264        .22131        .30853E-01   -.79869    
  31  Prefactor     .31701        .22794        .89791E-01   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62815e-06
Minuit parameter uncertainties:
  1  0.0241799
  2  9.61332
  3  0.00513518
  4  0.0116721
  5  2.87629e-05
  6  20.5757
  7  0.000703656
  8  32.5163
  9  5.48764e-06
  10  0.0135819
  11  18.0621
  12  8.80209e-05
  13  0.00119733
  14  6.12453e-07
  15  9.71061
  16  6.43905
  17  0.00822388
  18  59.6223
  19  2.42025e-06
  20  4.78793e-07
  21  1.26297
  22  5.98168e-06
  23  3.8135
  24  0.007247
  25  0.00203004
  26  0.000904511
  27  6.54001
  28  5.44325
  29  0.0122746
  30  0.221457
  31  0.228591
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  5.982e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.217e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  2.286e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.164 -41.258
Photon Flux Upper Limit: 4.41355245639e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/27019290/likelihoodResults_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16420598
delta logL = -0.000246735249675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4403.16396395
delta logL = -4.70917439088e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14018E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .94086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4269       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .31639       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4403.164     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      215 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3560        .32596E-06** at limit **
   2  alpha         2.1074        1.2127       -.19355E-04     .0000    
   3  Normalizat    1.4264        .21812       -.22917E-06   -.41152E-04
   4  Prefactor     .31701        .22873       -.34629E-05   -.19871E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.10743
  Normalizat = 1.42637
  Prefactor  = 0.317012
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .95209        1.5364       -.19355E-04   -.15768    
   3  Normalizat    1.4264        1.0581       -.22917E-06   -.79869    
   4  Prefactor     .31701        .63408       -.34629E-05   -1.2128    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.11116e-05
  2  1.65827
  3  1.07506
  4  0.648807
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) = 4403.16395924
delta logL = 5.45696821064e-12

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.111e-05  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  2.107e+00  1.658e+00  0.000e+00  5.000e+00 ( 1.000e+00)
492         beta:  1.146e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
493           Eb:  8.053e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
582    Prefactor:  3.170e-01  6.488e-01  0.000e+00  1.000e+01 ( 1.000e+00)
583        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
584        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.164 -41.258

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/27019290/cmap_HighResolution_800755201_801014401_4FGL_J2336.6-4115_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='4.41e-08', time_completed='2026-05-21 17:40:07.566761', job_id='27019290', GAL2='0.32', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1779410407.57', return_code2='101', ts='0.00', return_code='0', GAL='0.32', dlogl='5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='2166' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 17:40:07 PDT 2026

