/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J2336.5-7622_daily_bin1985
RA = 354.14, Dec = -76.3755
tmin = 753840001, tmax = 754099201
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='59363802', job_status='RUN', time_executed='2024-11-24 01:21:04.147381', time_epoch_executed='1732440064.15' WHERE source_name='4FGL J2336.5-7622' and cadence='daily' and bin_id='1985'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59363802

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/59363802/ft1_4FGL_J2336.5-7622_daily_bin1985.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59363802/ft1_4FGL_J2336.5-7622_daily_bin1985.fits outfile=/lscratch/kocevski/59363802/ft1_filteredMKT_4FGL_J2336.5-7622_daily_bin1985.fits ra=354.14 dec=-76.3755 rad=12.0 tmin=753840001.0 tmax=754099201.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 1.52
user 1.33
sys 0.14

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.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/59363802/ft1_filteredMKT_4FGL_J2336.5-7622_daily_bin1985.fits evtable="EVENTS" outfile="/lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.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.34
user 0.15
sys 0.15

Number of photons that the gtmktime cut: 1260

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59363802/ltcube_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.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/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits
.....................!
real 7.53
user 7.25
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.fits evtable="EVENTS" scfile=/lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59363802/ltcube_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.fits outfile=/lscratch/kocevski/59363802/expmap_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.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/59363802/ltcube_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.fits
.....................!
real 59.26
user 55.68
sys 3.19

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source SMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 175 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2336.5-7622 @ 354.14 -76.3755

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.fits scfile=/lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits outfile=/lscratch/kocevski/59363802/cmap_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.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.14 yref=-76.3755 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.37
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.fits scfile=/lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits outfile=/lscratch/kocevski/59363802/cmap_HighResolution_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.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.14 yref=-76.3755 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.37
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.fits evtable="EVENTS" scfile=/lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59363802/Model_4FGL_J2336.5-7622_daily_bin1985.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
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.fits....................!
real 1207.34
user 1200.07
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.fits', '/lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits', expMap='/lscratch/kocevski/59363802/expmap_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.fits', expCube='/lscratch/kocevski/59363802/ltcube_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59363802/Model_4FGL_J2336.5-7622_daily_bin1985.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2336.5-7622'

4FGL J2336.5-7622
   Spectrum: PowerLaw
541    Prefactor:  1.115e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
542        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
543        Scale:  1.705e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/59363802/ft1_filtered_4FGL_J2336.5-7622_daily_bin1985.fits
Spacecraft file(s): /lscratch/kocevski/59363802/ft2_4FGL_J2336.5-7622_daily_bin1985.fits
Exposure map: /lscratch/kocevski/59363802/expmap_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.fits
Exposure cube: /lscratch/kocevski/59363802/ltcube_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59363802/Model_4FGL_J2336.5-7622_daily_bin1985.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) = 13300.3409174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62018E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.6471       1.0000          .0000       .10000E+07
     3 'Prefactor '    .41696E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59747E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6610       1.0000          .0000       .10000E+07
     6 'norm      '    48.759       1.0000          .0000       .10000E+07
     7 'Prefactor '    .37702E-05   1.0000          .0000       .10000E+07
     8 'norm      '    .80968       1.0000          .0000       .10000E+07
     9 'norm      '    .52565E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .35579E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25957E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.7234       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20874E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    .99003       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0149       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13300.34     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     1037 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86875E-07    27.111       -.84717E-06** at limit **
   2  Prefactor     5.6367        3.6557       -.46173E-07    .51028E-03
   3  Prefactor     .11102E-09    51.637        .10628E-05** at limit **
   4  Prefactor      .0000        1.3059        .31740E-06** at limit **
   5  Prefactor     2.6394        1.4178        .73214E-08   -.43989E-02
   6  norm          48.820        4.6182        .51828E-07   -.12000    
   7  Prefactor      .0000        7.1348       -.85173E-07** at limit **
   8  norm          .80941        .93271       -.10447E-07   -.19834E-03
   9  norm          .62749E-01    68.093       -.81552E-06** at limit **
  10  Prefactor     .50182E-07    22.468        .58898E-07** at limit **
  11  Prefactor      .0000        28.545        .37610E-06** at limit **
  12  Prefactor     2.7210        2.8162        .26057E-07   -.11004E-03
  13  Prefactor      .0000        1.8041       -.12245E-06** at limit **
  14  Normalizat    .99009        .15156        .13563E-05   -.32412E-04
  15  Prefactor     1.0149        .89772E-01    .38349E-06   -.47779E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.6875e-08
  Prefactor  = 5.63669
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 2.63941
  norm       = 48.8203
  Prefactor  = 0
  norm       = 0.809406
  norm       = 0.0627486
  Prefactor  = 5.01821e-08
  Prefactor  = 0
  Prefactor  = 2.72097
  Prefactor  = 0
  Normalizat = 0.990088
  Prefactor  = 1.01486
 **********
 **   18 **HESSE 
 **********

 FCN=   13300.34     FROM HESSE     STATUS=OK           218 CALLS     1255 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86875E-07    26.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6367        3.6555        .42249E-03   -1.5660    
   3  Prefactor     .11102E-09    50.498        .15888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.3064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6394        23.809        .62457E-03   -1.5675    
   6  norm          48.820        46.177        .14322E-03   -1.5568    
   7  Prefactor      .0000        7.1973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .80941        .94423        .52216E-03   -1.5690    
   9  norm          .62749E-01    1.3562        .10016E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .50182E-07    22.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        28.232        .16672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7210        2.8027        .61682E-03   -1.5675    
  13  Prefactor      .0000        1.8010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .99009        .13134        .67878E-01   -.93363    
  15  Prefactor     1.0149        .77502E-01    .42686E-01   -.92236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36554e-07
Minuit parameter uncertainties:
  1  0.00303264
  2  3.65551
  3  0.000151523
  4  5.1728e-06
  5  15.8546
  6  46.1778
  7  3.067e-06
  8  0.944225
  9  0.583442
  10  0.0021071
  11  1.93033e-05
  12  2.80275
  13  2.55493e-06
  14  0.131386
  15  0.077511
Done.

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

Extracting fit parameters...

4FGL J2336.5-7622
   Spectrum: PowerLaw
541    Prefactor:  0.000e+00  2.555e-06  0.000e+00  1.000e+06 ( 1.000e-13)
542        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
543        Scale:  1.705e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.015e+00  7.751e-02  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  9.901e-01  1.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 354.140 -76.376
Photon Flux Upper Limit: 3.46334489393e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00264412436706 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/59363802/likelihoodResults_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13300.340504
delta logL = -0.00111508306327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13300.3393896
delta logL = -6.5183667175e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13300.34     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      221 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6851        .19439E-07** at limit **
   2  Index         2.3217        1.7371       -.25157E-05     .0000    
   3  Normalizat    .99009        .14969       -.99049E-06    .37764E-04
   4  Prefactor     1.0149        .87823E-01    .16443E-05    .10191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.32171
  Normalizat = 0.990088
  Prefactor  = 1.01486
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13300.34     FROM HESSE     STATUS=FAILED        11 CALLS      232 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60137        1.9747       -.25157E-05   -.56529    
   3  Normalizat    .99009        1.3203       -.99049E-06   -.93363    
   4  Prefactor     1.0149        1.2503        .16443E-05   -.92236    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.60126e-12
Minuit parameter uncertainties:
  1  2.93338e-07
  2  1.85494
  3  1.36816
  4  1.28907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 13300.3393889
delta logL = 0.0

Extracting fit parameters...

4FGL J2336.5-7622
   Spectrum: PowerLaw
541    Prefactor:  0.000e+00  2.933e-07  0.000e+00  1.000e+06 ( 1.000e-13)
542        Index:  2.322e+00  1.855e+00  0.000e+00  1.000e+01 (-1.000e+00)
543        Scale:  1.705e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.015e+00  1.289e+00  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  9.901e-01  1.368e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 354.140 -76.376

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/59363802/cmap_HighResolution_753840001_754099201_4FGL_J2336.5-7622_daily_bin1985.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.64e-03', job_status='DONE', photon_flux_upper_limit='3.46e-08', time_completed='2024-11-24 01:45:24.252244', job_id='59363802', GAL2='1.01', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1732441524.25', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1985' AND source_name='4FGL J2336.5-7622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 24 01:45:24 PST 2024

