aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 171 seconds before starting...
Proceeding.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7548
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2336.6-4115_daily_bin1765
RA = 354.164, Dec = -41.2579
tmin = 696816001, tmax = 697075201
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='651251', job_status='RUN', time_executed='2023-02-03 01:58:43.314954', time_epoch_executed='1675418323.31' WHERE source_name='4FGL J2336.6-4115' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/651251

Creating custom pfile directory:
/scratch/kocevski/651251/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=696816001.0 && nMetStart<697075201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=696816001.0 && nMetStart<697075201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/651251/ft1_4FGL_J2336.6-4115_daily_bin1765.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=696816001.0 && nMetStart<697075201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits


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

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

Done.
real 3.03
user 2.80
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/651251/ft1_filteredMKT_4FGL_J2336.6-4115_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.45
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 356

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/651251/ltcube_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.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 /scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits
.....................!
real 13.42
user 13.00
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/651251/ltcube_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.fits outfile=/scratch/kocevski/651251/expmap_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.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 /scratch/kocevski/651251/ltcube_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.fits
.....................!
real 157.23
user 152.59
sys 4.18

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=/scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.fits scfile=/scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits outfile=/scratch/kocevski/651251/cmap_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.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.52
user 0.34
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.fits scfile=/scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits outfile=/scratch/kocevski/651251/cmap_HighResolution_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.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.51
user 0.33
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/651251/Model_4FGL_J2336.6-4115_daily_bin1765.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...
/scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.fits.....................!
real 28.44
user 27.27
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.fits', '/scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits', expMap='/scratch/kocevski/651251/expmap_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.fits', expCube='/scratch/kocevski/651251/ltcube_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/651251/Model_4FGL_J2336.6-4115_daily_bin1765.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): /scratch/kocevski/651251/ft1_filtered_4FGL_J2336.6-4115_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/651251/ft2_4FGL_J2336.6-4115_daily_bin1765.fits
Exposure map: /scratch/kocevski/651251/expmap_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.fits
Exposure cube: /scratch/kocevski/651251/ltcube_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/651251/Model_4FGL_J2336.6-4115_daily_bin1765.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) = 4044.46116289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14347E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    38.339       1.0000          .0000       .10000E+07
     3 'Prefactor '    .35603E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .47455E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.952       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.3991       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22579E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .90390E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5159       1.0000          .0000       .10000E+07
    10 'Prefactor '    84.134       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.0925       1.0000          .0000       .10000E+07
    12 'norm      '    .17523E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .20952E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.0169       1.0000          .0000       .10000E+07
    15 'norm      '    7.8641       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17499E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    39.454       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.976       1.0000          .0000       .10000E+07
    19 'norm      '    .12648E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .36672E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .96352       1.0000          .0000       .10000E+07
    22 'norm      '    .78183E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .11158E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    32.359       1.0000          .0000       .10000E+07
    25 'Prefactor '    96.227       1.0000          .0000       .10000E+07
    26 'norm      '    .10187E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .15124E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .17200E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    18.156       1.0000          .0000       .10000E+07
    30 'Normalizat'    .45257       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.3683       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=   4044.307     FROM MIGRAD    STATUS=CONVERGED    197 CALLS     2955 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13767E-07    24.757        .59678E-07** at limit **
   2  Prefactor     38.665        6.6647        .30641E-07   -.55170E-01
   3  Prefactor     .63838E-07    67.719       -.35236E-06** at limit **
   4  Prefactor     .33307E-09    8.6243       -.45557E-07** at limit **
   5  Prefactor     17.086        7.8277        .43485E-07    .80974E-01
   6  Prefactor     5.2838        2.5778        .13557E-07    .15837E-01
   7  Prefactor     .11102E-09    39.160       -.10252E-06** at limit **
   8  Prefactor     .22893E-06    11.607        .20338E-06** at limit **
   9  Prefactor     1.5840        6.5517       -.27800E-07    .18394E-03
  10  Prefactor     84.284        7.7599        .24920E-07   -.11636    
  11  Prefactor     9.2089        1.2753        .12812E-07   -.45469E-02
  12  norm          .21094E-08    4.7798        .10386E-07** at limit **
  13  norm          .42744E-08    4.5972       -.47385E-07** at limit **
  14  norm          4.9401        5.4453        .14077E-07    .79192E-03
  15  norm          7.6981        6.2473        .23153E-07   -.33579E-01
  16  Prefactor     .61062E-09    2.9659       -.14513E-06** at limit **
  17  Prefactor     41.805        18.672        .17797E-06    .16055E-01
  18  Prefactor     15.467        50.336        .73419E-06    .42607E-02
  19  norm          .27756E-09    2.3686        .18654E-06** at limit **
  20  Prefactor      .0000        6.8978       -.12636E-06** at limit **
  21  norm          .96769        1.0298        .41427E-07    .38586E-02
  22  norm          .33307E-09    2.7817       -.74510E-07** at limit **
  23  Prefactor      .0000        1.6425       -.85101E-08** at limit **
  24  Prefactor     32.495        9.1294        .88882E-08   -.68558E-01
  25  Prefactor     96.306        1.4742        .48359E-08    .53431E-02
  26  norm          .28255E-06    11.877        .80818E-07** at limit **
  27  Prefactor      .0000        3.6403       -.56084E-08** at limit **
  28  Prefactor     .42744E-08    3.2780       -.96985E-07** at limit **
  29  Prefactor     18.597        8.5519        .88701E-07   -.24366E-01
  30  Normalizat    .44643        .24241       -.65115E-06   -.11184E-04
  31  Prefactor     1.3701        .26878       -.12405E-05   -.38352E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37668e-08
  Prefactor  = 38.6647
  Prefactor  = 6.38378e-08
  Prefactor  = 3.33067e-10
  Prefactor  = 17.0864
  Prefactor  = 5.28382
  Prefactor  = 1.11022e-10
  Prefactor  = 2.28928e-07
  Prefactor  = 1.58404
  Prefactor  = 84.2835
  Prefactor  = 9.20892
  norm       = 2.10942e-09
  norm       = 4.27436e-09
  norm       = 4.94008
  norm       = 7.69813
  Prefactor  = 6.10623e-10
  Prefactor  = 41.8048
  Prefactor  = 15.4666
  norm       = 2.77556e-10
  Prefactor  = 0
  norm       = 0.96769
  norm       = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 32.4949
  Prefactor  = 96.3061
  norm       = 2.82552e-07
  Prefactor  = 0
  Prefactor  = 4.27436e-09
  Prefactor  = 18.5975
  Normalizat = 0.446427
  Prefactor  = 1.37009
 **********
 **   18 **HESSE 
 **********

 FCN=   4044.307     FROM HESSE     STATUS=OK           682 CALLS     3637 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13767E-07    24.826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     38.665        30.622        .16152E-03   -1.5584    
   3  Prefactor     .63838E-07    70.843        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33307E-09    8.6220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.086        10.874        .24298E-03   -1.5625    
   6  Prefactor     5.2838        59.123        .43224E-03   -1.5662    
   7  Prefactor     .11102E-09    38.973        .16873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22893E-06    12.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5840        6.5529        .86788E-03   -1.5683    
  10  Prefactor     84.284        55.397        .10903E-03   -1.5524    
  11  Prefactor     9.2089        13.034        .33214E-03   -1.5647    
  12  norm          .21094E-08    4.8149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .42744E-08    4.6622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9401        5.6349        .44872E-03   -1.5664    
  15  norm          7.6981        11.615        .35732E-03   -1.5652    
  16  Prefactor     .61062E-09    2.9700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     41.805        44.540        .15922E-03   -1.5579    
  18  Prefactor     15.467        54.242        .30216E-03   -1.5629    
  19  norm          .27756E-09    2.3554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        6.9262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .96769        1.0575        .42469E-03   -1.5688    
  22  norm          .33307E-09    2.7722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        1.6464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     32.495        25.931        .17582E-03   -1.5594    
  25  Prefactor     96.306        79.050        .10195E-03   -1.5512    
  26  norm          .28255E-06    13.282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.6342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .42744E-08    3.3056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     18.597        48.716        .23478E-03   -1.5622    
  30  Normalizat    .44643        .21887        .71941E-01   -1.1497    
  31  Prefactor     1.3701        .23264        .49525E-01   -.81246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53452e-07
Minuit parameter uncertainties:
  1  0.00116983
  2  30.6226
  3  0.00425241
  4  0.000106009
  5  10.8743
  6  35.35
  7  0.000143558
  8  0.00343909
  9  6.44362
  10  55.3976
  11  13.0341
  12  0.000200521
  13  0.000281896
  14  5.63489
  15  11.6151
  16  8.50511e-05
  17  44.5407
  18  54.2438
  19  5.20233e-05
  20  4.03891e-06
  21  1.05749
  22  6.29483e-05
  23  8.40323e-06
  24  25.9312
  25  79.0511
  26  0.00387433
  27  2.45078e-06
  28  0.000237718
  29  48.7175
  30  0.219286
  31  0.232818
Done.

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

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  3.331e-10  6.295e-05  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.370e+00  2.328e-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:  4.464e-01  2.193e-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: 6.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/651251/likelihoodResults_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.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) = 4044.30667189
delta logL = 0.000192912517377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4044.25840563
delta logL = 0.0484591737722

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34431E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    4.9996       1.0000          .0000       5.0000    
     3 'Normalizat'    .42249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3869       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=   4044.258     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      311 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34308E-01    3.9286        .80398E-03** at limit **
   2  alpha         5.0000        2.5023        .46276    ** at limit **
   3  Normalizat    .42289        .44928E-01    .73844E-01   -.14023E-04
   4  Prefactor     1.3863        .49202E-01    .49274E-01   -.11513E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0343084
  alpha      = 5
  Normalizat = 0.422891
  Prefactor  = 1.38632
 **********
 **   18 **HESSE 
 **********

 FCN=   4044.258     FROM HESSE     STATUS=OK            35 CALLS      346 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34308E-01    .13220        .30338E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.8380        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42289        .24224        .32697E-03   -1.1613    
   4  Prefactor     1.3863        .27101        .21782E-03   -.80775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64827e-09
Minuit parameter uncertainties:
  1  0.132204
  2  3.31911e-05
  3  0.242841
  4  0.271292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/651251': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4044.25839666
delta logL = 0.0484681491716

Extracting fit parameters...

4FGL J2336.6-4115
   Spectrum: LogParabola
490         norm:  3.431e-02  1.322e-01  0.000e+00  1.000e+06 ( 1.000e-12)
491        alpha:  5.000e+00  3.319e-05  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.386e+00  2.713e-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:  4.229e-01  2.428e-01  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 /scratch/kocevski/651251/cmap_HighResolution_696816001_697075201_4FGL_J2336.6-4115_daily_bin1765.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/651251

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', job_status='DONE', photon_flux_upper_limit='6.93e-08', time_completed='2023-02-03 02:07:02.496744', job_id='651251', GAL2='1.39', fit_tolerance='1e-08', EG2='0.42', EG='0.45', time_epoch_completed='1675418822.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='4.85e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1765' AND source_name='4FGL J2336.6-4115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:07:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 651251: <4FGL_J2336.6-4115_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2336.6-4115_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:55:13 2023
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:55:44 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:55:44 2023
Terminated at Fri Feb  3 02:07:03 2023
Results reported at Fri Feb  3 02:07:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2336.6-4115_daily_bin1765 354.164 -41.2579 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2336.6-4115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   500.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            710 sec.

The output (if any) is above this job summary.

