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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1753
RA = 339.144, Dec = -14.5557
tmin = 693705601, tmax = 693964801
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='467582', job_status='RUN', time_executed='2022-12-29 01:41:24.037717', time_epoch_executed='1672306884.04' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/467582

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/467582/ft1_4FGL_J2236.5-1433_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/467582/ft2_4FGL_J2236.5-1433_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/467582/ft1_4FGL_J2236.5-1433_daily_bin1753.fits outfile=/scratch/kocevski/467582/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1753.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=693705601.0 tmax=693964801.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.73
user 4.44
sys 0.23

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

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

Number of photons that the gtmktime cut: 697

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/467582/ft1_filtered_4FGL_J2236.5-1433_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/467582/ft2_4FGL_J2236.5-1433_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/467582/ltcube_693705601_693964801_4FGL_J2236.5-1433_daily_bin1753.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/467582/ft2_4FGL_J2236.5-1433_daily_bin1753.fits
.....................!
real 16.29
user 15.86
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/467582/ft1_filtered_4FGL_J2236.5-1433_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/467582/ft2_4FGL_J2236.5-1433_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/467582/ltcube_693705601_693964801_4FGL_J2236.5-1433_daily_bin1753.fits outfile=/scratch/kocevski/467582/expmap_693705601_693964801_4FGL_J2236.5-1433_daily_bin1753.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/467582/ltcube_693705601_693964801_4FGL_J2236.5-1433_daily_bin1753.fits
.....................!
real 194.57
user 189.22
sys 4.89

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/467582/ft1_filtered_4FGL_J2236.5-1433_daily_bin1753.fits scfile=/scratch/kocevski/467582/ft2_4FGL_J2236.5-1433_daily_bin1753.fits outfile=/scratch/kocevski/467582/cmap_693705601_693964801_4FGL_J2236.5-1433_daily_bin1753.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/467582/ft1_filtered_4FGL_J2236.5-1433_daily_bin1753.fits scfile=/scratch/kocevski/467582/ft2_4FGL_J2236.5-1433_daily_bin1753.fits outfile=/scratch/kocevski/467582/cmap_HighResolution_693705601_693964801_4FGL_J2236.5-1433_daily_bin1753.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/467582/ft1_filtered_4FGL_J2236.5-1433_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/467582/ft2_4FGL_J2236.5-1433_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/467582/Model_4FGL_J2236.5-1433_daily_bin1753.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/467582/ft1_filtered_4FGL_J2236.5-1433_daily_bin1753.fits.....................!
real 63.29
user 61.83
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9856       1.0000          .0000       .10000E+07
     2 'Prefactor '    20.186       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.2394       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17232E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22420       1.0000          .0000       .10000E+07
     6 'Prefactor '    .90581E-02   1.0000          .0000       .10000E+07
     7 'norm      '    3.0797       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13187E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19246E-05   1.0000          .0000       .10000E+07
    10 'norm      '    1.5634       1.0000          .0000       .10000E+07
    11 'norm      '    4.0073       1.0000          .0000       .10000E+07
    12 'Prefactor '    .55266E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    37.907       1.0000          .0000       .10000E+07
    14 'norm      '    .13572E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    9.5962       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.1370       1.0000          .0000       .10000E+07
    17 'Prefactor '    .20214E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .91504       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0450       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=   7538.357     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1543 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9974        6.2306       -.18331E-06   -.26643E-02
   2  Prefactor     20.185        2.0565        .21466E-06   -.95843E-03
   3  Prefactor     9.2055        11.477        .25701E-05   -.17658E-03
   4  Prefactor      .0000        3.9876       -.73393E-06** at limit **
   5  Prefactor     .22426        11.582        .20912E-05** at limit **
   6  Prefactor     .33307E-09    27.702        .33615E-06** at limit **
   7  norm          3.0772        3.1888        .32752E-06    .10772E-02
   8  Prefactor      .0000        22.452       -.23585E-05** at limit **
   9  Prefactor      .0000        2.4640        .90163E-06** at limit **
  10  norm          1.5623        .90796        .75028E-07    .90249E-02
  11  norm          4.0086        1.8676        .58955E-07    .26514E-02
  12  Prefactor      .0000        10.381       -.79817E-06** at limit **
  13  Prefactor     38.194        19.600        .56629E-06   -.58977E-03
  14  norm          .55511E-10    1.3571        .93796E-07** at limit **
  15  Prefactor     8.8721        39.270       -.12285E-05   -.49884E-03
  16  Prefactor     4.1353        7.0827        .42302E-06    .13087E-03
  17  Prefactor     .55511E-10    6.3579        .82676E-07** at limit **
  18  Normalizat    .91557        .20073       -.14066E-04   -.16868E-04
  19  Prefactor     1.0448        .15599        .58455E-05    .37977E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.99744
  Prefactor  = 20.1851
  Prefactor  = 9.20549
  Prefactor  = 0
  Prefactor  = 0.224261
  Prefactor  = 3.33067e-10
  norm       = 3.07725
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.56233
  norm       = 4.00862
  Prefactor  = 0
  Prefactor  = 38.1936
  norm       = 5.55112e-11
  Prefactor  = 8.87215
  Prefactor  = 4.13529
  Prefactor  = 5.55112e-11
  Normalizat = 0.915567
  Prefactor  = 1.04483
 **********
 **   18 **HESSE 
 **********

 FCN=   7538.357     FROM HESSE     STATUS=OK           314 CALLS     1857 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9974        6.2527        .35457E-03   -1.5651    
   2  Prefactor     20.185        16.612        .22265E-03   -1.5618    
   3  Prefactor     9.2055        11.723        .32947E-03   -1.5647    
   4  Prefactor      .0000        4.0136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22426        1.8198        .68984E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33307E-09    27.745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.0772        3.2214        .57771E-03   -1.5673    
   8  Prefactor      .0000        22.466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.4696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5623        .91994        .85045E-03   -1.5683    
  11  norm          4.0086        1.8692        .50355E-03   -1.5668    
  12  Prefactor      .0000        10.384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     38.194        20.233        .16244E-03   -1.5584    
  14  norm          .55511E-10    1.3667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.8721        41.411        .32325E-03   -1.5648    
  16  Prefactor     4.1353        7.0967        .49534E-03   -1.5667    
  17  Prefactor     .55511E-10    6.3664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .91557        .17500        .45093E-01   -.95915    
  19  Prefactor     1.0448        .13474        .40213E-01   -.91250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66483e-08
Minuit parameter uncertainties:
  1  6.25271
  2  16.6125
  3  11.7226
  4  6.1808e-06
  5  1.27768
  6  0.00018571
  7  3.22141
  8  2.74492e-05
  9  1.07361e-05
  10  0.919942
  11  1.86919
  12  1.96899e-06
  13  20.2328
  14  1.88133e-05
  15  38.3358
  16  7.09673
  17  4.56914e-05
  18  0.175108
  19  0.134788
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  1.562e+00  9.199e-01  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.045e+00  1.348e-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.156e-01  1.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.65
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 6.06e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 2.96e-05 +/- 1.74e-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) = 7535.62947092
delta logL = 2.72725692581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7535.60682452
delta logL = 2.74990332973

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92403       1.0000          .0000       .10000E+07
     2 'alpha     '    3.2796       1.0000          .0000       5.0000    
     3 'Normalizat'    .81186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0915       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=   7535.607     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      218 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92367        4.5874        .44113E-03    .75365E-02
   2  alpha         3.2799        3.9474        .21941        .66843E-04
   3  Normalizat    .81190        .70877E-01    .66189E-01    .11247E-04
   4  Prefactor     1.0914        .54195E-01    .37920E-01    .22679E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.923671
  alpha      = 3.27986
  Normalizat = 0.811904
  Prefactor  = 1.09145
 **********
 **   18 **HESSE 
 **********

 FCN=   7535.607     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92367        .83702        .30123E-05   -1.5689    
   2  alpha         3.2799        .66658        .93052E-02    .31724    
   3  Normalizat    .81190        .19899        .29282E-03   -.99629    
   4  Prefactor     1.0914        .15639        .20414E-03   -.89740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.35434e-09
Minuit parameter uncertainties:
  1  0.837016
  2  0.67566
  3  0.199173
  4  0.156453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/467582': 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) = 7535.60682434
delta logL = 2.74990350525

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  9.237e-01  8.370e-01  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  3.280e+00  6.757e-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.091e+00  1.565e-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.119e-01  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.39
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 3.28 +/- 0.68
Photon Flux (Free Index): 1.54e-07 +/- 6.21e-08
Energy Flux (Free Index): 2.84e-05 +/- 1.14e-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/467582/cmap_HighResolution_693705601_693964801_4FGL_J2236.5-1433_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.06e-08', energy_flux2='2.84e-05', photon_flux_error='3.57e-08', dlogl='2.75e+00', energy_flux='2.96e-05', photon_flux2='1.54e-07', job_status='DONE', time_completed='2022-12-29 01:50:37.276404', photon_index_error2='0.68', photon_index2='3.28', ts='4.65', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.14e-05', EG='0.92', time_epoch_completed='1672307437.28', return_code='0', job_id='467582', GAL2='1.09', EG2='0.81', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='6.21e-08', ts2='10.39', photon_index='2.06' WHERE bin_id='1753' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:50:37 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 467582: <4FGL_J2236.5-1433_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1753> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec 29 01:40:23 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:40:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:40:46 2022
Terminated at Thu Dec 29 01:50:38 2022
Results reported at Thu Dec 29 01:50:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1753 339.144 -14.5557 693705601 693964801 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 :                                   551.49 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            615 sec.

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

