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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1669
RA = 339.144, Dec = -14.5557
tmin = 671932801, tmax = 672192001
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='692226', job_status='RUN', time_executed='2022-04-21 00:37:34.086351', time_epoch_executed='1650526654.09' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692226

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692226/ft1_4FGL_J2236.5-1433_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692226/ft1_4FGL_J2236.5-1433_daily_bin1669.fits outfile=/scratch/kocevski/692226/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1669.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=671932801.0 tmax=672192001.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.74
user 3.50
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.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/692226/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 686

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/692226/ltcube_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.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/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits
.....................!
real 11.99
user 11.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/692226/ltcube_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.fits outfile=/scratch/kocevski/692226/expmap_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.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/692226/ltcube_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.fits
.....................!
real 190.96
user 185.78
sys 4.84

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/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.fits scfile=/scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits outfile=/scratch/kocevski/692226/cmap_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.fits scfile=/scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits outfile=/scratch/kocevski/692226/cmap_HighResolution_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692226/Model_4FGL_J2236.5-1433_daily_bin1669.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/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.fits.....................!
real 61.45
user 60.03
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.fits', '/scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits', expMap='/scratch/kocevski/692226/expmap_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.fits', expCube='/scratch/kocevski/692226/ltcube_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/692226/Model_4FGL_J2236.5-1433_daily_bin1669.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/692226/ft1_filtered_4FGL_J2236.5-1433_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/692226/ft2_4FGL_J2236.5-1433_daily_bin1669.fits
Exposure map: /scratch/kocevski/692226/expmap_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.fits
Exposure cube: /scratch/kocevski/692226/ltcube_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/692226/Model_4FGL_J2236.5-1433_daily_bin1669.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) = 7426.97303602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0423       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .95343E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.668       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.901       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .91727       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1050       1.0000         .10000E-03   10000.    
    11 'norm      '    4.6181       1.0000         .10000E-03   10000.    
    12 'norm      '    .10111E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.781       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.3411       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0407       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87543       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.

 FCN=   7426.888     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2223 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0393        6.1005       -.45525E-06   -.17867E-03
   2  Prefactor     .10000E-03    23.563        .56749E-05** at limit **
   3  Prefactor     22.664        11.947       -.33769E-06   -.36337E-04
   4  Prefactor     11.898        12.821       -.85419E-06   -.10133E-02
   5  Prefactor     .10000E-03    65.338       -.94360E-05** at limit **
   6  Prefactor     .91890        3.2342       -.11862E-05   -.13360E-02
   7  Prefactor     .10000E-03    33.231       -.51808E-07** at limit **
   8  norm          .10000E-03    1.2584       -.43052E-08** at limit **
   9  Prefactor     .10000E-03    61.480        .95656E-05** at limit **
  10  Prefactor     2.1076        8.4387        .44057E-06   -.27570E-03
  11  norm          4.6184        1.0935       -.25337E-07    .16814E-03
  12  norm          .10000E-03    1.1096        .24840E-06** at limit **
  13  Prefactor     30.772        39.459       -.86360E-05    .14346E-03
  14  Prefactor     .10000E-03    9.5387        .25041E-07** at limit **
  15  norm          .10000E-03    .30766       -.40247E-07** at limit **
  16  Prefactor     .10000E-03    19.752       -.15607E-05** at limit **
  17  Prefactor     .10000E-03    10.949       -.22693E-06** at limit **
  18  Prefactor     7.3424        7.4044       -.16451E-06    .16665E-04
  19  Prefactor     .10000E-03    8.2415       -.18284E-07** at limit **
  20  Normalizat    1.0406        .17219        .13935E-05   -.42123E-04
  21  Prefactor     .87549        .12928       -.34885E-07    .41545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.03933
  Prefactor  = 0.000100002
  Prefactor  = 22.6638
  Prefactor  = 11.8978
  Prefactor  = 0.000100002
  Prefactor  = 0.918898
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.10759
  norm       = 4.61839
  norm       = 0.0001
  Prefactor  = 30.772
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.3424
  Prefactor  = 0.0001
  Normalizat = 1.0406
  Prefactor  = 0.875491
 **********
 **   18 **HESSE 
 **********

 FCN=   7426.888     FROM HESSE     STATUS=OK           317 CALLS     2540 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0393        6.1165        .13329E-03   -1.5107    
   2  Prefactor     .10000E-03    23.993        .41587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.664        11.967        .84130E-04   -1.4755    
   4  Prefactor     11.898        12.519        .58060E-03   -1.5018    
   5  Prefactor     .10000E-03    64.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .91890        3.2482        .25909E-03   -1.5516    
   7  Prefactor     .10000E-03    33.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.3631        .18690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    60.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1076        8.3579        .28440E-03   -1.5418    
  11  norm          4.6184        1.0920        .41909E-04   -1.5278    
  12  norm          .10000E-03    1.1546        .17731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.772        37.805        .72219E-04   -1.4598    
  14  Prefactor     .10000E-03    9.6504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .39326        .92279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.3424        7.4050        .14803E-03   -1.5166    
  19  Prefactor     .10000E-03    8.2450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0406        .20018        .25661E-03   -.91682    
  21  Prefactor     .87549        .15081        .21483E-03   -.97003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96056e-09
Minuit parameter uncertainties:
  1  6.11692
  2  0.000409457
  3  11.9687
  4  12.5218
  5  0.000667431
  6  3.24885
  7  1.20095e-05
  8  2.59369e-06
  9  0.000689818
  10  8.36249
  11  1.09202
  12  2.6959e-05
  13  37.8343
  14  1.49969e-05
  15  2.15817e-06
  16  3.44279e-05
  17  1.14762e-05
  18  7.40593
  19  3.00114e-06
  20  0.200323
  21  0.150884
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  4.618e+00  1.092e+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

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.755e-01  1.509e-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.041e+00  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 64.51
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.79e-07 +/- 4.24e-08
Energy Flux (Fixed Index): 8.76e-05 +/- 2.07e-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) = 7426.84520638
delta logL = 0.0427154905283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7426.84361131
delta logL = 0.0443105688964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6568       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9988       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0499       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87153       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=   7426.844     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.6569        1.3249        .46624E-02   -.44671E-03
   2  alpha         1.9987        .25279        .16688        .13664E-04
   3  Normalizat    1.0499        .16712        .40562E-01   -.10886E-04
   4  Prefactor     .87152        .12883        .44641E-01    .54794E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.65689
  alpha      = 1.99875
  Normalizat = 1.04993
  Prefactor  = 0.871521
 **********
 **   18 **HESSE 
 **********

 FCN=   7426.844     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.6569        1.1159        .42625E-04   -1.5276    
   2  alpha         1.9987        .22031        .71220E-02   -.20187    
   3  Normalizat    1.0499        .19437        .25570E-03   -.91376    
   4  Prefactor     .87152        .14961        .21532E-03   -.97143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04335e-11
Minuit parameter uncertainties:
  1  1.11588
  2  0.220607
  3  0.194501
  4  0.149677
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692226': 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) = 7426.8436113
delta logL = 0.0443105741415

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  4.657e+00  1.116e+00  1.000e-04  1.000e+04 ( 1.000e-11)
258        alpha:  1.999e+00  2.206e-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:  8.715e-01  1.497e-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.050e+00  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 64.44
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.00 +/- 0.22
Photon Flux (Free Index): 1.70e-07 +/- 4.99e-08
Energy Flux (Free Index): 9.31e-05 +/- 3.01e-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/692226/cmap_HighResolution_671932801_672192001_4FGL_J2236.5-1433_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.79e-07', energy_flux2='9.31e-05', photon_flux_error='4.24e-08', dlogl='4.43e-02', energy_flux='8.76e-05', photon_flux2='1.70e-07', job_status='DONE', time_completed='2022-04-21 00:47:08.462471', photon_index_error2='0.22', photon_index2='2.00', ts='64.51', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='3.01e-05', EG='1.04', time_epoch_completed='1650527228.46', return_code='0', job_id='692226', GAL2='0.87', EG2='1.05', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='4.99e-08', ts2='64.44', photon_index='2.06' WHERE bin_id='1669' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:47:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 692226: <4FGL_J2236.5-1433_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1669> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Apr 21 00:35:38 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:35:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:35:39 2022
Terminated at Thu Apr 21 00:47:09 2022
Results reported at Thu Apr 21 00:47:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1669 339.144 -14.5557 671932801 672192001 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 :                                   576.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            691 sec.

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

