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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1747
RA = 339.144, Dec = -14.5557
tmin = 692150401, tmax = 692409601
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='816056', job_status='RUN', time_executed='2022-12-11 01:53:37.308921', time_epoch_executed='1670752417.31' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816056

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816056/ft1_4FGL_J2236.5-1433_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816056/ft2_4FGL_J2236.5-1433_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816056/ft1_4FGL_J2236.5-1433_daily_bin1747.fits outfile=/scratch/kocevski/816056/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1747.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=692150401.0 tmax=692409601.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 4.01
user 3.79
sys 0.21

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

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

Number of photons that the gtmktime cut: 414

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/816056/ft2_4FGL_J2236.5-1433_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/816056/ltcube_692150401_692409601_4FGL_J2236.5-1433_daily_bin1747.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/816056/ft2_4FGL_J2236.5-1433_daily_bin1747.fits
.....................!
real 12.17
user 11.79
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816056/ft2_4FGL_J2236.5-1433_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/816056/ltcube_692150401_692409601_4FGL_J2236.5-1433_daily_bin1747.fits outfile=/scratch/kocevski/816056/expmap_692150401_692409601_4FGL_J2236.5-1433_daily_bin1747.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/816056/ltcube_692150401_692409601_4FGL_J2236.5-1433_daily_bin1747.fits
.....................!
real 190.63
user 185.07
sys 5.05

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/816056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1747.fits scfile=/scratch/kocevski/816056/ft2_4FGL_J2236.5-1433_daily_bin1747.fits outfile=/scratch/kocevski/816056/cmap_692150401_692409601_4FGL_J2236.5-1433_daily_bin1747.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/816056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1747.fits scfile=/scratch/kocevski/816056/ft2_4FGL_J2236.5-1433_daily_bin1747.fits outfile=/scratch/kocevski/816056/cmap_HighResolution_692150401_692409601_4FGL_J2236.5-1433_daily_bin1747.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/816056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816056/ft2_4FGL_J2236.5-1433_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/816056/Model_4FGL_J2236.5-1433_daily_bin1747.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/816056/ft1_filtered_4FGL_J2236.5-1433_daily_bin1747.fits.....................!
real 45.78
user 44.49
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2630       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.318       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1575       1.0000          .0000       .10000E+07
     4 'Prefactor '    35.355       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.1200       1.0000          .0000       .10000E+07
     6 'Prefactor '    44.257       1.0000          .0000       .10000E+07
     7 'norm      '    .28052E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .58940E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    7.4284       1.0000          .0000       .10000E+07
    10 'norm      '    4.9849       1.0000          .0000       .10000E+07
    11 'norm      '    5.1675       1.0000          .0000       .10000E+07
    12 'Prefactor '    55.788       1.0000          .0000       .10000E+07
    13 'Prefactor '    .60049E-01   1.0000          .0000       .10000E+07
    14 'norm      '    2.6411       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11755E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .55511E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .21812       1.0000          .0000       .10000E+07
    18 'Normalizat'    .91571       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0293       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=   4697.602     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1469 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2904        8.8072       -.87770E-07    .82227E-04
   2  Prefactor     12.342        13.349       -.18583E-06    .57039E-03
   3  Prefactor     2.0679        19.211       -.30114E-06    .18707E-03
   4  Prefactor     35.273        18.777        .25905E-07    .74500E-03
   5  Prefactor     2.1335        4.4500        .77439E-07    .62718E-03
   6  Prefactor     48.088        93.515        .40893E-06    .36824E-02
   7  norm          .31641E-08    197.52       -.24149E-05** at limit **
   8  Prefactor      .0000        30.747       -.29215E-06** at limit **
   9  Prefactor     7.4855        19.810       -.50404E-07    .10903E-02
  10  norm          4.9732        1.7010        .21885E-08   -.35024E-03
  11  norm          5.1537        3.6403       -.12538E-06    .16833E-02
  12  Prefactor     56.387        14.606        .79614E-07   -.25449E-01
  13  Prefactor     .83267E-09    111.52       -.27192E-05** at limit **
  14  norm          2.6412        1.5082       -.39029E-08   -.20633E-02
  15  Prefactor     .11102E-09    38.247       -.68471E-06** at limit **
  16  Prefactor      .0000        4.2382        .10088E-06** at limit **
  17  Prefactor     .55511E-10    75.163       -.32174E-06** at limit **
  18  Normalizat    .91356        .29529       -.14940E-05    .59498E-04
  19  Prefactor     1.0299        .21425       -.88424E-07    .69230E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.29036
  Prefactor  = 12.3422
  Prefactor  = 2.06793
  Prefactor  = 35.2727
  Prefactor  = 2.13346
  Prefactor  = 48.0881
  norm       = 3.16414e-09
  Prefactor  = 0
  Prefactor  = 7.48545
  norm       = 4.97315
  norm       = 5.15372
  Prefactor  = 56.3874
  Prefactor  = 8.32667e-10
  norm       = 2.64116
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.913562
  Prefactor  = 1.02991
 **********
 **   18 **HESSE 
 **********

 FCN=   4697.602     FROM HESSE     STATUS=OK           324 CALLS     1793 TOTAL
                     EDM=   .99E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2904        8.8453        .43790E-03   -1.5662    
   2  Prefactor     12.342        13.360        .28516E-03   -1.5638    
   3  Prefactor     2.0679        19.545        .70106E-03   -1.5679    
   4  Prefactor     35.273        18.940        .16820E-03   -1.5589    
   5  Prefactor     2.1335        4.5176        .70805E-03   -1.5679    
   6  Prefactor     48.088        94.465        .15033E-03   -1.5569    
   7  norm          .31641E-08    4.1526        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        30.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4855        21.240        .36774E-03   -1.5653    
  10  norm          4.9732        1.7066        .45019E-03   -1.5663    
  11  norm          5.1537        4.1706        .44200E-03   -1.5663    
  12  Prefactor     56.387        90.129        .13389E-03   -1.5558    
  13  Prefactor     .83267E-09    16.301        .12798E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6412        1.8321        .62712E-03   -1.5675    
  15  Prefactor     .11102E-09    38.514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        4.2457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    72.331        .11462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .91356        .25273        .69277E-01   -.95985    
  19  Prefactor     1.0299        .18054        .41311E-01   -.91739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90745e-08
Minuit parameter uncertainties:
  1  8.84533
  2  13.3604
  3  12.715
  4  18.9402
  5  4.51762
  6  94.4681
  7  0.000230009
  8  5.65204e-05
  9  21.2398
  10  1.70658
  11  4.17056
  12  90.1315
  13  0.000229968
  14  1.8321
  15  0.000141469
  16  3.8851e-06
  17  9.84755e-05
  18  0.253054
  19  0.180651
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  4.973e+00  1.707e+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:  1.030e+00  1.807e-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.136e-01  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.77
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.93e-07 +/- 6.62e-08
Energy Flux (Fixed Index): 9.43e-05 +/- 3.24e-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) = 4697.57903776
delta logL = 0.022807296371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4697.5782904
delta logL = 0.0235546536014

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9734       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1336       1.0000          .0000       5.0000    
     3 'Normalizat'    .90004       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0355       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=   4697.578     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9771        2.0839        .45072E-03    .91354E-04
   2  alpha         2.1333        .38595        .18668        .43694E-05
   3  Normalizat    .90067        .24203        .69692E-01   -.26403E-04
   4  Prefactor     1.0351        .18007        .40847E-01   -.52404E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.97712
  alpha      = 2.13332
  Normalizat = 0.90067
  Prefactor  = 1.03507
 **********
 **   18 **HESSE 
 **********

 FCN=   4697.578     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9771        1.6397        .47788E-05   -1.5663    
   2  alpha         2.1333        .31685        .78805E-02   -.14720    
   3  Normalizat    .90067        .28516        .30835E-03   -.96437    
   4  Prefactor     1.0351        .21216        .21818E-03   -.91570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65841e-12
Minuit parameter uncertainties:
  1  1.63967
  2  0.317721
  3  0.285642
  4  0.212335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816056': 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) = 4697.57828484
delta logL = 0.0235602135444

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  4.977e+00  1.640e+00  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  2.133e+00  3.177e-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:  1.035e+00  2.123e-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.007e-01  2.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.76
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.13 +/- 0.32
Photon Flux (Free Index): 2.06e-07 +/- 8.92e-08
Energy Flux (Free Index): 9.04e-05 +/- 3.43e-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/816056/cmap_HighResolution_692150401_692409601_4FGL_J2236.5-1433_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-07', energy_flux2='9.04e-05', photon_flux_error='6.62e-08', dlogl='2.36e-02', energy_flux='9.43e-05', photon_flux2='2.06e-07', job_status='DONE', time_completed='2022-12-11 02:00:56.422433', photon_index_error2='0.32', photon_index2='2.13', ts='31.77', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='3.43e-05', EG='0.91', time_epoch_completed='1670752856.42', return_code='0', job_id='816056', GAL2='1.04', EG2='0.90', return_code2='0', energy_flux_error='3.24e-05', photon_flux_error2='8.92e-08', ts2='31.76', photon_index='2.06' WHERE bin_id='1747' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:00:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 816056: <4FGL_J2236.5-1433_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:50:12 2022
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:50:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:50:15 2022
Terminated at Sun Dec 11 02:00:57 2022
Results reported at Sun Dec 11 02:00:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1747 339.144 -14.5557 692150401 692409601 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 :                                   441.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            645 sec.

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

