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

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
" outfile=/lscratch/kocevski/38842168/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842168/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 19.50
user 18.63
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842168/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842168/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842168/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842168/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842168/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 69.71
user 64.97
sys 3.98

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/38842168/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842168/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842168/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.90
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842168/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842168/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842168/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842168/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842168/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842168/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J2336.6-4115_weekly_bin946
RA = 354.164, Dec = -41.2579
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38842291', job_status='RUN', time_executed='2026-09-22 20:01:04.453391', time_epoch_executed='1790132464.45' WHERE source_name='4FGL J2336.6-4115' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842291

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842291/ft1_4FGL_J2336.6-4115_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842291/ft1_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842291/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.86
user 4.10
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38842291/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATADone.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842080/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
/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).

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

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842080/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:06:04.260396', job_id='38842080', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790132764.26', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:06:04 PDT 2026

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

ource GAL_V02
Working on...
/lscratch/kocevski/38842140/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 11.15
user 9.66
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842140/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842140/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842140/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842140/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842140/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842140/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842140/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842140/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842140/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842140/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2336.6-4115_weekly_bin946
RA = 354.164, Dec = -41.2579
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38842312', job_status='RUN', time_executed='2026-09-22 20:01:32.673053', time_epoch_executed='1790132492.67' WHERE source_name='4FGL J2336.6-4115' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842312

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842312/ft1_4FGL_J2336.6-4115_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842312/ft1_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842312/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.14
user 3.47
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38842312/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842140/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 outfile=/lscratch/kocevski/38842225/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842225/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 16.84
user 16.20
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842225/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842225/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842225/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842225/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842225/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 59.47
user 55.49
sys 3.34

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/38842225/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842225/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842225/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.69
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842225/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842225/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842225/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.65
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842225/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842225/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842225/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding so **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842140/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:06:40.277709', job_id='38842140', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790132800.28', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:06:40 PDT 2026

ource GAL_V02
Working on...
/lscratch/kocevski/38842168/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 10.59
user 9.04
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842168/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842168/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842168/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842168/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842168/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842168/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842168/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842168/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842168/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842168/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842168/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842168/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:07:09.490244', job_id='38842168', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790132829.49', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:07:09 PDT 2026

" outfile=/lscratch/kocevski/38842165/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842165/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 21.33
user 20.17
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842165/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842165/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842165/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842165/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842165/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 77.10
user 71.58
sys 4.37

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/38842165/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842165/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842165/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.86
user 0.28
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842165/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842165/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842165/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.90
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842165/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842165/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842165/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding surce GAL_V02
Working on...
/lscratch/kocevski/38842225/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 9.23
user 7.87
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842225/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842225/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842225/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842225/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842225/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842225/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842225/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842225/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842225/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842225/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842225/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842225/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:07:42.227911', job_id='38842225', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790132862.23', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:07:42 PDT 2026

" outfile=/lscratch/kocevski/38842291/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 19.57
user 18.71
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842291/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842291/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842291/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 71.19
user 66.28
sys 4.06

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/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842291/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.81
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842291/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.82
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842291/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J2336.6-4115_weekly_bin946
RA = 354.164, Dec = -41.2579
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38842372', job_status='RUN', time_executed='2026-09-22 20:02:55.592376', time_epoch_executed='1790132575.59' WHERE source_name='4FGL J2336.6-4115' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842372

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842372/ft1_4FGL_J2336.6-4115_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842372/ft1_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842372/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.09
user 4.39
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38842372/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38842312/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 16.58
user 15.77
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842312/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842312/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842312/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 59.84
user 55.61
sys 3.47

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/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842312/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842312/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842312/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38842165/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 11.09
user 9.19
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842165/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842165/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842165/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842165/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842165/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842165/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842165/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842165/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842165/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842165/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2336.6-4115_weekly_bin946
RA = 354.164, Dec = -41.2579
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38842435', job_status='RUN', time_executed='2026-09-22 20:03:49.653078', time_epoch_executed='1790132629.65' WHERE source_name='4FGL J2336.6-4115' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842435

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842435/ft1_4FGL_J2336.6-4115_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842435/ft1_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842435/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.65
user 4.01
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38842435/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATADone.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842165/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
ource GAL_V02
Working on...
/lscratch/kocevski/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 10.27
user 9.12
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842291/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842291/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842291/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842291/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842291/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842291/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842291/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842291/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842165/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:08:39.260697', job_id='38842165', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790132919.26', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:08:39 PDT 2026

number of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
ource GAL_V02
Working on...
/lscratch/kocevski/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 9.28
user 7.82
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842312/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842312/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842312/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842312/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842312/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842312/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842312/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842312/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1Done.


Performing analysis on: 4FGL_J2336.6-4115_weekly_bin946
RA = 354.164, Dec = -41.2579
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38842442', job_status='RUN', time_executed='2026-09-22 20:03:53.692600', time_epoch_executed='1790132633.69' WHERE source_name='4FGL J2336.6-4115' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842442

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842442/ft1_4FGL_J2336.6-4115_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842442/ft1_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842442/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.35
user 3.64
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38842442/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842312/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842291/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842312/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:08:59.258981', job_id='38842312', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790132939.26', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:08:59 PDT 2026

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

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842291/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:09:00.605822', job_id='38842291', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790132940.61', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:09:00 PDT 2026

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


Performing analysis on: 4FGL_J2336.6-4115_weekly_bin946
RA = 354.164, Dec = -41.2579
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38842460', job_status='RUN', time_executed='2026-09-22 20:04:22.022460', time_epoch_executed='1790132662.02' WHERE source_name='4FGL J2336.6-4115' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842460

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842460/ft1_4FGL_J2336.6-4115_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842460/ft1_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842460/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.64
user 3.94
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38842460/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38842372/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 19.58
user 18.79
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842372/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842372/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842372/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 70.35
user 65.55
sys 3.90

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/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842372/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.85
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842372/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842372/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J2336.6-4115_weekly_bin946
RA = 354.164, Dec = -41.2579
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38842524', job_status='RUN', time_executed='2026-09-22 20:05:35.211085', time_epoch_executed='1790132735.21' WHERE source_name='4FGL J2336.6-4115' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842524

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842524/ft1_4FGL_J2336.6-4115_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842524/ft1_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842524/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.19
user 3.50
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38842524/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38842442/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 17.23
user 16.55
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842442/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842442/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842442/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 63.37
user 59.17
sys 3.49

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/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842442/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842442/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.72
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842442/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding s" outfile=/lscratch/kocevski/38842435/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 19.23
user 18.52
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842435/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842435/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842435/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 69.70
user 64.89
sys 4.10

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/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842435/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842435/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842435/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 10.06
user 8.97
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842372/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842372/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842372/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842372/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842372/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842372/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842372/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842372/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842372/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842372/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:10:45.733473', job_id='38842372', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790133045.73', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:10:46 PDT 2026

" outfile=/lscratch/kocevski/38842460/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 18.75
user 17.92
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842460/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842460/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842460/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 68.60
user 63.84
sys 3.88

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842460/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.95
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842460/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.87
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842460/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

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


Performing analysis on: 4FGL_J2336.6-4115_weekly_bin946
RA = 354.164, Dec = -41.2579
tmin = 811123201, tmax = 811728001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38842556', job_status='RUN', time_executed='2026-09-22 20:06:12.093443', time_epoch_executed='1790132772.09' WHERE source_name='4FGL J2336.6-4115' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38842556

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38842556/ft1_4FGL_J2336.6-4115_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38842556/ft1_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842556/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits ra=354.164 dec=-41.2579 rad=12.0 tmin=811123201.0 tmax=811728001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.70
user 4.00
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/38842556/ft1_filteredMKT_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 155

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATAource GAL_V02
Working on...
/lscratch/kocevski/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 9.11
user 8.04
sys 0.61

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842442/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842442/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842442/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842442/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842442/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842442/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842442/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842442/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
ource GAL_V02
Working on...
/lscratch/kocevski/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 10.13
user 9.10
sys 0.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842435/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842435/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842435/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842435/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842435/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842435/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842435/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842435/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01    **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842442/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842442/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:11:21.758694', job_id='38842442', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790133081.76', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:11:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842435/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842435/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:11:31.688410', job_id='38842435', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790133091.69', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:11:32 PDT 2026

ource GAL_V02
Working on...
/lscratch/kocevski/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 10.42
user 8.88
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842460/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842460/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842460/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842460/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842460/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842460/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842460/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842460/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   " outfile=/lscratch/kocevski/38842524/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 17.11
user 16.44
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842524/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842524/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842524/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 62.62
user 58.09
sys 3.68

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/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842524/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.72
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842524/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.85
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842524/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding s1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842460/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842460/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:12:00.548927', job_id='38842460', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790133120.55', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:12:00 PDT 2026

ource GAL_V02
Working on...
/lscratch/kocevski/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 9.59
user 8.33
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842524/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842524/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842524/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842524/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842524/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842524/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842524/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842524/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
" outfile=/lscratch/kocevski/38842556/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 19.08
user 18.26
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38842556/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842556/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/38842556/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
.....................!
real 68.84
user 63.89
sys 4.05

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842556/cmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits scfile=/lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits outfile=/lscratch/kocevski/38842556/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.93
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38842556/Model_4FGL_J2336.6-4115_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sDone.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842524/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842524/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:12:46.921803', job_id='38842524', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790133166.92', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:12:47 PDT 2026

ource GAL_V02
Working on...
/lscratch/kocevski/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits.......................!
real 10.64
user 9.00
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits', '/lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits', expMap='/lscratch/kocevski/38842556/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', expCube='/lscratch/kocevski/38842556/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38842556/Model_4FGL_J2336.6-4115_weekly_bin946.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/38842556/ft1_filtered_4FGL_J2336.6-4115_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38842556/ft2_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38842556/expmap_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38842556/ltcube_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38842556/Model_4FGL_J2336.6-4115_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68501E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55868E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    93.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53617E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .61646E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12027E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17634E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    78.338       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6889       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.162       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72560E-05   1.0000          .0000       .10000E+07
    12 'norm      '    24.823       1.0000          .0000       .10000E+07
    13 'norm      '    .14004E-03   1.0000          .0000       .10000E+07
    14 'norm      '    11.938       1.0000          .0000       .10000E+07
    15 'norm      '    15.552       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.755       1.0000          .0000       .10000E+07
    17 'Prefactor '    80.622       1.0000          .0000       .10000E+07
    18 'Prefactor '    183.23       1.0000          .0000       .10000E+07
    19 'norm      '    3.5931       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17733E-04   1.0000          .0000       .10000E+07
    21 'norm      '    2.5384       1.0000          .0000       .10000E+07
    22 'norm      '    .38288E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23711E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .79908E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .18385E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .13098E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .23790E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .11905E-02   1.0000          .0000       .10000E+07
    29 'Prefactor '    38.791       1.0000          .0000       .10000E+07
    30 'Normalizat'    .28611       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2133       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=   1698.004     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     3000 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31710E-05    22.692       -.44134E-07** at limit **
   2  Prefactor     .72164E-09    12.019        .73047E-07** at limit **
   3  Prefactor     94.570        6.3359       -.85416E-08   -.16852    
   4  Prefactor     .55511E-10    6.5458        .21185E-06** at limit **
   5  Prefactor     .38203E-06    8.8461        .53186E-06** at limit **
   6  Prefactor     .83611E-06    13.291        .55823E-06** at limit **
   7  Prefactor     .39624E-05    49.656       -.17163E-06** at limit **
   8  Prefactor     74.970        59.232        .87723E-07    .13240    
   9  Prefactor     4.1014        12.084       -.15889E-06    .11277E-01
  10  Prefactor     11.917        23.155        .10606E-06   -.12324    
  11  Prefactor     .72164E-09    7.4409       -.13585E-06** at limit **
  12  norm          24.803        3.8853        .50843E-08   -.34597E-01
  13  norm          .11102E-08    6.7279        .47050E-07** at limit **
  14  norm          11.948        8.3742        .24401E-07    .39687E-01
  15  norm          14.985        20.748       -.19623E-07    .57792E-01
  16  Prefactor     14.803        12.347       -.40788E-08    .32397E-02
  17  Prefactor     83.003        19.846       -.59465E-07    .12833    
  18  Prefactor     209.67        122.83       -.33510E-06    .25263E-02
  19  norm          3.4144        7.9768       -.62920E-07   -.12972E-01
  20  Prefactor     .23561E-05    29.746        .34154E-06** at limit **
  21  norm          2.5472        1.9238        .15792E-07    .25085E-02
  22  norm           .0000        3.4893       -.69935E-08** at limit **
  23  Prefactor     .22204E-09    4.8295        .82260E-07** at limit **
  24  Prefactor     .11102E-09    10.512        .81501E-07** at limit **
  25  Prefactor     .22621E-06    20.052       -.77481E-07** at limit **
  26  norm          .54146E-06    15.462        .62862E-06** at limit **
  27  Prefactor      .0000        3.8833       -.67028E-08** at limit **
  28  Prefactor     .55511E-10    4.8330        .30035E-08** at limit **
  29  Prefactor     37.921        11.663        .28920E-07    .49862E-01
  30  Normalizat    .26872        .35387        .17256E-04    .26870E-04
  31  Prefactor     1.2264        .40714       -.89627E-05   -.44601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17096e-06
  Prefactor  = 7.21645e-10
  Prefactor  = 94.5702
  Prefactor  = 5.55112e-11
  Prefactor  = 3.82028e-07
  Prefactor  = 8.36109e-07
  Prefactor  = 3.96239e-06
  Prefactor  = 74.9699
  Prefactor  = 4.10138
  Prefactor  = 11.9171
  Prefactor  = 7.21645e-10
  norm       = 24.803
  norm       = 1.11022e-09
  norm       = 11.9476
  norm       = 14.9854
  Prefactor  = 14.8028
  Prefactor  = 83.0028
  Prefactor  = 209.668
  norm       = 3.41439
  Prefactor  = 2.35606e-06
  norm       = 2.54724
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.26208e-07
  norm       = 5.41456e-07
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 37.9213
  Normalizat = 0.268725
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=OK           674 CALLS     3674 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31710E-05    42.390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72164E-09    12.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.570        67.407        .10322E-03   -1.5513    
   4  Prefactor     .55511E-10    6.5601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38203E-06    33.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .83611E-06    28.331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39624E-05    50.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     74.970        65.056        .11299E-03   -1.5535    
   9  Prefactor     4.1014        14.491        .52560E-03   -1.5667    
  10  Prefactor     11.917        91.743        .27583E-03   -1.5639    
  11  Prefactor     .72164E-09    7.4996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          24.803        23.658        .20076E-03   -1.5608    
  13  norm          .11102E-08    6.8662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.948        11.885        .28968E-03   -1.5639    
  15  norm          14.985        24.346        .25371E-03   -1.5631    
  16  Prefactor     14.803        13.295        .26049E-03   -1.5631    
  17  Prefactor     83.003        76.490        .11138E-03   -1.5526    
  18  Prefactor     209.67        123.78        .73884E-04   -1.5418    
  19  norm          3.4144        10.585        .53284E-03   -1.5671    
  20  Prefactor     .23561E-05    31.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5472        1.9344        .64074E-03   -1.5676    
  22  norm           .0000        3.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .22204E-09    4.8008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11102E-09    10.550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .22621E-06    43.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .54146E-06    26.299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.8719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .55511E-10    4.8475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     37.921        58.769        .16058E-03   -1.5585    
  30  Normalizat    .26872        .36990        .82452E-01   -1.2475    
  31  Prefactor     1.2264        .40623        .34324E-01   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43181e-06
Minuit parameter uncertainties:
  1  0.0231876
  2  0.000189166
  3  67.4078
  4  3.97155e-05
  5  0.00718485
  6  0.00973409
  7  0.0283429
  8  65.0565
  9  14.4911
  10  66.1318
  11  0.000149022
  12  23.6583
  13  0.000172947
  14  11.8848
  15  24.3463
  16  13.2952
  17  76.4911
  18  123.782
  19  10.585
  20  0.0172846
  21  1.93437
  22  1.11327e-06
  23  6.55615e-05
  24  6.40017e-05
  25  0.0062793
  26  0.00754721
  27  1.25543e-05
  28  3.45241e-05
  29  58.7701
  30  0.37334
  31  0.407276
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  0.000e+00  1.113e-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:  1.226e+00  4.073e-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:  2.687e-01  3.733e-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: 1.06526988196e-07 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/38842556/likelihoodResults_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00477493
delta logL = -0.000386940610497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.0043901
delta logL = -2.11064525502e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1698.004     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      274 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .20231E-01    .42118E-03** at limit **
   2  alpha         3.6408        4.0627        .51000        .17833E-10
   3  Normalizat    .26872        .64166E-03    .82452E-01    .39055E-04
   4  Prefactor     1.2264        .75704E-03    .34036E-01    .19616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 3.64075
  Normalizat = 0.268722
  Prefactor  = 1.2264
 **********
 **   18 **HESSE 
 **********

 FCN=   1698.004     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .12916        .11476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6408        2.9126        .50000        .47383    
   3  Normalizat    .26872        .15806E-02    .36505E-03   -1.2475    
   4  Prefactor     1.2264        .18686E-02    .20833E-03   -.85523    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.58765e-13
Minuit parameter uncertainties:
  1  5.93677e-06
  2  67707.1
  3  0.00158057
  4  0.0018686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1698.00438799
delta logL = 4.4110493036e-11

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  5.551e-11  5.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  3.641e+00  6.771e+04  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:  1.226e+00  1.869e-03  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:  2.687e-01  1.581e-03  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/38842556/cmap_HighResolution_811123201_811728001_4FGL_J2336.6-4115_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.07e-07', time_completed='2026-09-22 20:13:56.384860', job_id='38842556', GAL2='1.23', fit_tolerance='1e-08', EG2='0.27', EG='0.27', time_epoch_completed='1790133236.38', return_code2='102', ts='0.00', return_code='0', GAL='1.23', dlogl='4.41e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='946' AND source_name='4FGL J2336.6-4115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 20:13:56 PDT 2026

