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 114 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1683
RA = 339.144, Dec = -14.5557
tmin = 675561601, tmax = 675820801
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='52929', job_status='RUN', time_executed='2022-06-02 01:39:14.360398', time_epoch_executed='1654159154.36' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52929

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/52929/ft1_4FGL_J2236.5-1433_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52929/ft1_4FGL_J2236.5-1433_daily_bin1683.fits outfile=/scratch/kocevski/52929/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1683.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=675561601.0 tmax=675820801.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.50
user 3.25
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.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/52929/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1683.fits evtable="EVENTS" outfile="/scratch/kocevski/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 762

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/52929/ltcube_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.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/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits
.....................!
real 13.81
user 13.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/52929/ltcube_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.fits outfile=/scratch/kocevski/52929/expmap_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.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/52929/ltcube_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.fits
.....................!
real 191.73
user 186.64
sys 4.67

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

Setting source of interest to:
4FGL J2236.5-1433 @ 339.144 -14.5557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.fits scfile=/scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits outfile=/scratch/kocevski/52929/cmap_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.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=339.144 yref=-14.5557 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.fits scfile=/scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits outfile=/scratch/kocevski/52929/cmap_HighResolution_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.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=339.144 yref=-14.5557 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52929/Model_4FGL_J2236.5-1433_daily_bin1683.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/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.fits.....................!
real 69.69
user 68.30
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.fits', '/scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits', expMap='/scratch/kocevski/52929/expmap_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.fits', expCube='/scratch/kocevski/52929/ltcube_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/52929/Model_4FGL_J2236.5-1433_daily_bin1683.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.5-1433'

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/52929/ft1_filtered_4FGL_J2236.5-1433_daily_bin1683.fits
Spacecraft file(s): /scratch/kocevski/52929/ft2_4FGL_J2236.5-1433_daily_bin1683.fits
Exposure map: /scratch/kocevski/52929/expmap_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.fits
Exposure cube: /scratch/kocevski/52929/ltcube_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/52929/Model_4FGL_J2236.5-1433_daily_bin1683.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) = 8183.65355839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.204       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.882       1.0000         .10000E-03   10000.    
     5 'Prefactor '    89.887       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.5667       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.4552       1.0000         .10000E-03   10000.    
    11 'norm      '    2.9316       1.0000         .10000E-03   10000.    
    12 'norm      '    2.3642       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.5694       1.0000         .10000E-03   10000.    
    15 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2550       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0915       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79558       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8183.648     FROM MIGRAD    STATUS=CONVERGED    776 CALLS     2529 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3874        .16073E-02** at limit **
   2  Prefactor     .10000E-03    17.579        .18142E-02** at limit **
   3  Prefactor     47.205        12.479        .58361E-04    .82010E-04
   4  Prefactor     20.880        10.762        .43825E-03   -.12607E-04
   5  Prefactor     89.876        63.602        .42382E-04    .44529E-05
   6  Prefactor     .10000E-03    4.6403        .23307E-02** at limit **
   7  Prefactor     .10000E-03    38.731        .18142E-02** at limit **
   8  norm          2.5662        2.1489        .11680E-03    .77865E-04
   9  Prefactor     .10000E-03    14.987        .18142E-02** at limit **
  10  Prefactor     1.4568        11.689        .35693E-03   -.40737E-04
  11  norm          2.9315        .87466        .44184E-04    .31854E-03
  12  norm          2.3642        1.5841        .90763E-04   -.54236E-04
  13  Prefactor     .10000E-03    20.155        .18142E-02** at limit **
  14  Prefactor     8.5476        9.4315        .13694E-03    .28169E-03
  15  norm          .10000E-03    .44361        .92223E-03** at limit **
  16  Prefactor     1.2501        58.051        .19936E-02   -.19083E-03
  17  Prefactor     .10000E-03    7.8648        .36285E-03** at limit **
  18  Prefactor     .10000E-03    3.3717        .16165E-02** at limit **
  19  Prefactor     .10000E-03    4.4106        .18142E-02** at limit **
  20  Normalizat    1.0915        .19025        .24831E-03    .14546E-03
  21  Prefactor     .79554        .14254        .22134E-03    .12815E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.2048
  Prefactor  = 20.8795
  Prefactor  = 89.8758
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.56615
  Prefactor  = 0.0001
  Prefactor  = 1.45684
  norm       = 2.93148
  norm       = 2.36422
  Prefactor  = 0.0001
  Prefactor  = 8.5476
  norm       = 0.0001
  Prefactor  = 1.25006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.0915
  Prefactor  = 0.795539
 **********
 **   18 **HESSE 
 **********

 FCN=   8183.648     FROM HESSE     STATUS=OK           295 CALLS     2824 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3897        .32146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.590        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     47.205        12.478        .23344E-05   -1.4333    
   4  Prefactor     20.880        10.760        .17530E-04   -1.4794    
   5  Prefactor     89.876        63.597        .84764E-05   -1.3809    
   6  Prefactor     .10000E-03    4.6797        .46614E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    38.734        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.5662        2.1488        .46721E-05   -1.5388    
   9  Prefactor     .10000E-03    14.987        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.4568        11.676        .14277E-04   -1.5467    
  11  norm          2.9315        .87465        .17673E-05   -1.5366    
  12  norm          2.3642        1.5840        .36305E-05   -1.5400    
  13  Prefactor     .10000E-03    20.156        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.5476        9.3220        .54774E-05   -1.5123    
  15  norm          .10000E-03    .44364        .18445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2501        56.557        .79745E-04   -1.5484    
  17  Prefactor     .10000E-03    7.8652        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.3724        .32330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.4106        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0915        .19027        .99324E-05   -.90025    
  21  Prefactor     .79554        .14266        .88535E-05   -.99893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43043e-09
Minuit parameter uncertainties:
  1  1.10566e-06
  2  1.81576e-05
  3  12.4782
  4  10.7612
  5  63.6456
  6  1.13255e-05
  7  2.45174e-07
  8  2.14884
  9  5.61067e-08
  10  8.25054
  11  0.874653
  12  1.58406
  13  6.06748e-06
  14  9.32362
  15  1.04108e-05
  16  16.8329
  17  9.3382e-06
  18  3.0566e-06
  19  4.15106e-07
  20  0.190387
  21  0.14273
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.931e+00  8.747e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  2.065e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  7.955e-01  1.427e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.091e+00  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 35.05
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 3.39e-08
Energy Flux (Fixed Index): 5.56e-05 +/- 1.66e-05

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) = 8183.52376562
delta logL = 0.123808156526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8183.50951828
delta logL = 0.138055495248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8874       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9106       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78980       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8183.510     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8873        .98065        .59792E-02   -.52703E-04
   2  alpha         1.9106        .29359        .23038       -.27305E-04
   3  Normalizat    1.1070        .15463        .55845E-01   -.41434E-04
   4  Prefactor     .78980        .11912        .43584E-01   -.20355E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.88733
  alpha      = 1.91058
  Normalizat = 1.107
  Prefactor  = 0.789803
 **********
 **   18 **HESSE 
 **********

 FCN=   8183.510     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8873        .90374        .45403E-04   -1.5368    
   2  alpha         1.9106        .29063        .94599E-02   -.23801    
   3  Normalizat    1.1070        .18363        .24694E-03   -.89527    
   4  Prefactor     .78980        .14116        .22216E-03   -1.0011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00444e-12
Minuit parameter uncertainties:
  1  0.903742
  2  0.291325
  3  0.183739
  4  0.141222
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52929': 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) = 8183.50951828
delta logL = 0.138055499609

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.887e+00  9.037e-01  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.911e+00  2.913e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  7.101e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  6.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  7.898e-01  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.107e+00  1.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.32
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 1.91 +/- 0.29
Photon Flux (Free Index): 9.84e-08 +/- 4.15e-08
Energy Flux (Free Index): 6.32e-05 +/- 2.61e-05

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 /scratch/kocevski/52929/cmap_HighResolution_675561601_675820801_4FGL_J2236.5-1433_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='6.32e-05', photon_flux_error='3.39e-08', dlogl='1.38e-01', energy_flux='5.56e-05', photon_flux2='9.84e-08', job_status='DONE', time_completed='2022-06-02 01:49:52.305735', photon_index_error2='0.29', photon_index2='1.91', ts='35.05', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='2.61e-05', EG='1.09', time_epoch_completed='1654159792.31', return_code='0', job_id='52929', GAL2='0.79', EG2='1.11', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='4.15e-08', ts2='35.32', photon_index='2.06' WHERE bin_id='1683' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:49:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 52929: <4FGL_J2236.5-1433_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:28 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:37:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:37:12 2022
Terminated at Thu Jun  2 01:49:54 2022
Results reported at Thu Jun  2 01:49:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1683 339.144 -14.5557 675561601 675820801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.5-1433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   640.42 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             307.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            866 sec.

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

