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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1757
RA = 339.144, Dec = -14.5557
tmin = 694742401, tmax = 695001601
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='228056', job_status='RUN', time_executed='2023-01-10 02:43:49.843045', time_epoch_executed='1673347429.84' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/228056

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/228056/ft1_4FGL_J2236.5-1433_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/228056/ft1_4FGL_J2236.5-1433_daily_bin1757.fits outfile=/scratch/kocevski/228056/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1757.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=694742401.0 tmax=695001601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.94
user 2.71
sys 0.20

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

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

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/228056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/228056/ltcube_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.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/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits
.....................!
real 15.99
user 15.57
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/228056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/228056/ltcube_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.fits outfile=/scratch/kocevski/228056/expmap_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.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/228056/ltcube_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.fits
.....................!
real 193.34
user 187.01
sys 5.66

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/228056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1757.fits scfile=/scratch/kocevski/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits outfile=/scratch/kocevski/228056/cmap_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.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/228056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1757.fits scfile=/scratch/kocevski/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits outfile=/scratch/kocevski/228056/cmap_HighResolution_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/228056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/228056/Model_4FGL_J2236.5-1433_daily_bin1757.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/228056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1757.fits.....................!
real 55.67
user 54.26
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/228056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1757.fits', '/scratch/kocevski/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits', expMap='/scratch/kocevski/228056/expmap_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.fits', expCube='/scratch/kocevski/228056/ltcube_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/228056/Model_4FGL_J2236.5-1433_daily_bin1757.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  0.000e+00  1.000e+06 ( 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 -5.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/228056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/228056/ft2_4FGL_J2236.5-1433_daily_bin1757.fits
Exposure map: /scratch/kocevski/228056/expmap_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.fits
Exposure cube: /scratch/kocevski/228056/ltcube_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/228056/Model_4FGL_J2236.5-1433_daily_bin1757.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) = 6262.03868342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.127       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17104E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.844       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.202       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12513E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .44893E-01   1.0000          .0000       .10000E+07
     7 'norm      '    6.0525       1.0000          .0000       .10000E+07
     8 'Prefactor '    .33702E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .47172E-05   1.0000          .0000       .10000E+07
    10 'norm      '    3.9888       1.0000          .0000       .10000E+07
    11 'norm      '    4.8542       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36682       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.949       1.0000          .0000       .10000E+07
    14 'norm      '    .38941E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.270       1.0000          .0000       .10000E+07
    16 'Prefactor '    .56305E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .73268E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .91084       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84579       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6261.931     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1128 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.201        8.8452        .18389E-06   -.18099E-02
   2  Prefactor     .25535E-08    60.713        .43211E-07** at limit **
   3  Prefactor     14.360        10.765       -.17379E-06    .53305E-01
   4  Prefactor     10.302        9.6851       -.22717E-06   -.19305E-01
   5  Prefactor     .55511E-10    2.1509       -.70170E-06** at limit **
   6  Prefactor     .89601E-06    53.007       -.24487E-05** at limit **
   7  norm          6.0261        4.0781       -.19554E-06    .34580E-03
   8  Prefactor      .0000        16.804        .84649E-08** at limit **
   9  Prefactor     .74940E-08    6.0210       -.29631E-08** at limit **
  10  norm          3.9821        1.2146       -.54133E-07   -.47828E-03
  11  norm          4.8594        2.4403       -.12350E-06   -.58697E-04
  12  Prefactor     .14383E-06    55.655       -.11800E-06** at limit **
  13  Prefactor     14.101        18.602       -.43010E-06    .59418E-01
  14  norm          .55511E-10    .72811       -.89641E-08** at limit **
  15  Prefactor     7.8327        47.860        .71412E-06    .19230E-01
  16  Prefactor      .0000        3.3469       -.32474E-06** at limit **
  17  Prefactor     .64948E-08    9.5619        .66310E-06** at limit **
  18  Normalizat    .91320        .20117       -.48006E-05   -.27115E-04
  19  Prefactor     .84520        .15277        .35055E-05   -.10643E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.201
  Prefactor  = 2.55351e-09
  Prefactor  = 14.3598
  Prefactor  = 10.3017
  Prefactor  = 5.55112e-11
  Prefactor  = 8.96005e-07
  norm       = 6.0261
  Prefactor  = 0
  Prefactor  = 7.49401e-09
  norm       = 3.9821
  norm       = 4.85943
  Prefactor  = 1.43829e-07
  Prefactor  = 14.1013
  norm       = 5.55112e-11
  Prefactor  = 7.83269
  Prefactor  = 0
  Prefactor  = 6.4948e-09
  Normalizat = 0.913197
  Prefactor  = 0.845199
 **********
 **   18 **HESSE 
 **********

 FCN=   6261.931     FROM HESSE     STATUS=OK           302 CALLS     1430 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.201        8.8592        .26622E-03   -1.5633    
   2  Prefactor     .25535E-08    60.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.360        13.773        .25970E-03   -1.5632    
   4  Prefactor     10.302        9.8097        .31346E-03   -1.5644    
   5  Prefactor     .55511E-10    2.1407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .89601E-06    60.176        .15750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0261        4.0846        .40788E-03   -1.5659    
   8  Prefactor      .0000        16.791        .16261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .74940E-08    6.0868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.9821        1.2223        .50475E-03   -1.5668    
  11  norm          4.8594        2.4425        .45633E-03   -1.5664    
  12  Prefactor     .14383E-06    56.786        .93436E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.101        20.614        .27810E-03   -1.5633    
  14  norm          .55511E-10    .72772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.8327        52.270        .31242E-03   -1.5652    
  16  Prefactor      .0000        3.3498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .64948E-08    9.6228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .91320        .17744        .45040E-01   -.95998    
  19  Prefactor     .84520        .13246        .44310E-01   -.98083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07732e-07
Minuit parameter uncertainties:
  1  8.85918
  2  0.000786297
  3  13.7726
  4  9.80967
  5  1.95026e-05
  6  0.014686
  7  4.08461
  8  5.07683e-06
  9  0.000427506
  10  1.22228
  11  2.44253
  12  0.00571553
  13  20.6136
  14  9.29116e-06
  15  40.4687
  16  1.30098e-05
  17  0.000500503
  18  0.177552
  19  0.13251
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.982e+00  1.222e+00  0.000e+00  1.000e+06 ( 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 -5.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:  8.452e-01  1.325e-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:  9.132e-01  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.80
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.54e-07 +/- 4.74e-08
Energy Flux (Fixed Index): 7.55e-05 +/- 2.32e-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) = 6261.20041475
delta logL = 0.731029118179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6261.19047577
delta logL = 0.740968100745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6644       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4401       1.0000          .0000       5.0000    
     3 'Normalizat'    .85432       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87087       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=   6261.190     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      262 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6644        1.1938        .39680E-05    .21502E-01
   2  alpha         2.4401        .32168        .76218E-02    .91439E-04
   3  Normalizat    .85432        .20302        .27120E-03    .56131E-04
   4  Prefactor     .87087        .15343        .20718E-03    .40223E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.66437
  alpha      = 2.44013
  Normalizat = 0.854323
  Prefactor  = 0.870875
 **********
 **   18 **HESSE 
 **********

 FCN=   6261.190     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6644        1.1756        .15872E-06   -1.5670    
   2  alpha         2.4401        .31654        .30487E-03   -.23949E-01
   3  Normalizat    .85432        .20306        .10848E-04   -.98084    
   4  Prefactor     .87087        .15348        .82870E-05   -.97166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3607e-10
Minuit parameter uncertainties:
  1  1.17561
  2  0.317393
  3  0.203243
  4  0.153555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/228056': 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) = 6261.19047576
delta logL = 0.740968106081

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.664e+00  1.176e+00  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  2.440e+00  3.174e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  7.101e-02  0.000e+00 -5.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:  8.709e-01  1.536e-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:  8.543e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.23
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.44 +/- 0.32
Photon Flux (Free Index): 2.09e-07 +/- 7.13e-08
Energy Flux (Free Index): 6.33e-05 +/- 1.89e-05

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/228056/cmap_HighResolution_694742401_695001601_4FGL_J2236.5-1433_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='6.33e-05', photon_flux_error='4.74e-08', dlogl='7.41e-01', energy_flux='7.55e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2023-01-10 02:51:38.647158', photon_index_error2='0.32', photon_index2='2.44', ts='30.80', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.89e-05', EG='0.91', time_epoch_completed='1673347898.65', return_code='0', job_id='228056', GAL2='0.87', EG2='0.85', return_code2='0', energy_flux_error='2.32e-05', photon_flux_error2='7.13e-08', ts2='32.23', photon_index='2.06' WHERE bin_id='1757' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:51:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 228056: <4FGL_J2236.5-1433_daily_bin1757> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1757> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jan 10 02:40:13 2023
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:42:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:42:12 2023
Terminated at Tue Jan 10 02:51:39 2023
Results reported at Tue Jan 10 02:51:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1757 339.144 -14.5557 694742401 695001601 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 :                                   471.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            686 sec.

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

