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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1763
RA = 339.144, Dec = -14.5557
tmin = 696297601, tmax = 696556801
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='296590', job_status='RUN', time_executed='2023-01-28 01:51:19.407722', time_epoch_executed='1674899479.41' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/296590

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/296590/ft1_4FGL_J2236.5-1433_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/296590/ft2_4FGL_J2236.5-1433_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/296590/ft1_4FGL_J2236.5-1433_daily_bin1763.fits outfile=/scratch/kocevski/296590/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1763.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=696297601.0 tmax=696556801.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.65
user 3.39
sys 0.21

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

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

Number of photons that the gtmktime cut: 447

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/296590/ft1_filtered_4FGL_J2236.5-1433_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/296590/ft2_4FGL_J2236.5-1433_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/296590/ltcube_696297601_696556801_4FGL_J2236.5-1433_daily_bin1763.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/296590/ft2_4FGL_J2236.5-1433_daily_bin1763.fits
.....................!
real 15.79
user 15.24
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/296590/ft1_filtered_4FGL_J2236.5-1433_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/296590/ft2_4FGL_J2236.5-1433_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/296590/ltcube_696297601_696556801_4FGL_J2236.5-1433_daily_bin1763.fits outfile=/scratch/kocevski/296590/expmap_696297601_696556801_4FGL_J2236.5-1433_daily_bin1763.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/296590/ltcube_696297601_696556801_4FGL_J2236.5-1433_daily_bin1763.fits
.....................!
real 195.34
user 187.22
sys 5.88

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/296590/ft1_filtered_4FGL_J2236.5-1433_daily_bin1763.fits scfile=/scratch/kocevski/296590/ft2_4FGL_J2236.5-1433_daily_bin1763.fits outfile=/scratch/kocevski/296590/cmap_696297601_696556801_4FGL_J2236.5-1433_daily_bin1763.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/296590/ft1_filtered_4FGL_J2236.5-1433_daily_bin1763.fits scfile=/scratch/kocevski/296590/ft2_4FGL_J2236.5-1433_daily_bin1763.fits outfile=/scratch/kocevski/296590/cmap_HighResolution_696297601_696556801_4FGL_J2236.5-1433_daily_bin1763.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/296590/ft1_filtered_4FGL_J2236.5-1433_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/296590/ft2_4FGL_J2236.5-1433_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/296590/Model_4FGL_J2236.5-1433_daily_bin1763.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/296590/ft1_filtered_4FGL_J2236.5-1433_daily_bin1763.fits.....................!
real 47.81
user 45.97
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2973       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.571       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24066       1.0000          .0000       .10000E+07
     5 'Prefactor '    .51370       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34879E-02   1.0000          .0000       .10000E+07
     7 'norm      '    1.8350       1.0000          .0000       .10000E+07
     8 'Prefactor '    50.328       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.7950       1.0000          .0000       .10000E+07
    10 'norm      '    3.2266       1.0000          .0000       .10000E+07
    11 'norm      '    4.0661       1.0000          .0000       .10000E+07
    12 'Prefactor '    .40091E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    36.142       1.0000          .0000       .10000E+07
    14 'norm      '    .54318E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .26984E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    21.683       1.0000          .0000       .10000E+07
    17 'Prefactor '    27.616       1.0000          .0000       .10000E+07
    18 'Normalizat'    .40373       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.4569       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=   5072.009     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1467 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2898        8.7095        .29389E-07    .16278E-02
   2  Prefactor     15.370        16.176        .17691E-07   -.28824E-01
   3  Prefactor     10.463        14.330       -.23446E-06    .43803E-01
   4  Prefactor     .47296E-07    57.146       -.67681E-06** at limit **
   5  Prefactor     .52984        4.2052       -.19748E-06   -.11270E-02
   6  Prefactor     .15810E-06    36.982       -.25639E-06** at limit **
   7  norm          1.8464        4.1204        .10297E-06    .16994E-02
   8  Prefactor     46.930        63.717       -.17102E-06    .23310E-02
   9  Prefactor     4.6906        6.7566        .56751E-08    .55716E-03
  10  norm          3.2234        1.4628       -.29917E-07   -.57970E-02
  11  norm          4.0647        2.6944        .71039E-07    .62010E-02
  12  Prefactor     .44370E-06    24.643       -.16211E-06** at limit **
  13  Prefactor     36.247        9.5156        .62010E-07    .22169    
  14  norm          .13323E-08    1.9841        .55883E-07** at limit **
  15  Prefactor     .25844E-05    24.040       -.29688E-06** at limit **
  16  Prefactor     21.477        5.4181        .48317E-07    .22898E-01
  17  Prefactor     28.600        5.9475        .26970E-07   -.19046E-01
  18  Normalizat    .40403        .26082       -.13330E-05    .34453E-04
  19  Prefactor     1.4580        .20905        .14263E-05    .12181E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.28984
  Prefactor  = 15.3702
  Prefactor  = 10.4625
  Prefactor  = 4.72955e-08
  Prefactor  = 0.529837
  Prefactor  = 1.58096e-07
  norm       = 1.84642
  Prefactor  = 46.93
  Prefactor  = 4.69061
  norm       = 3.22342
  norm       = 4.06467
  Prefactor  = 4.43701e-07
  Prefactor  = 36.2466
  norm       = 1.33227e-09
  Prefactor  = 2.58438e-06
  Prefactor  = 21.4772
  Prefactor  = 28.5998
  Normalizat = 0.404031
  Prefactor  = 1.458
 **********
 **   18 **HESSE 
 **********

 FCN=   5072.009     FROM HESSE     STATUS=OK           320 CALLS     1787 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2898        8.7230        .37106E-03   -1.5654    
   2  Prefactor     15.370        16.415        .25147E-03   -1.5630    
   3  Prefactor     10.463        16.024        .30792E-03   -1.5643    
   4  Prefactor     .47296E-07    8.9543        .11093E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .52984        4.4609        .77343E-03   -1.5693    
   6  Prefactor     .15810E-06    38.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8464        4.1556        .76997E-03   -1.5681    
   8  Prefactor     46.930        63.937        .14097E-03   -1.5571    
   9  Prefactor     4.6906        6.7786        .45921E-03   -1.5665    
  10  norm          3.2234        1.4834        .56369E-03   -1.5672    
  11  norm          4.0647        2.6934        .49977E-03   -1.5668    
  12  Prefactor     .44370E-06    25.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     36.247        19.839        .16636E-03   -1.5588    
  14  norm          .13323E-08    1.9749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .25844E-05    27.887        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.477        18.606        .21481E-03   -1.5615    
  17  Prefactor     28.600        29.728        .19032E-03   -1.5601    
  18  Normalizat    .40403        .25824        .99385E-01   -1.1709    
  19  Prefactor     1.4580        .19542        .43680E-01   -.78723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.31221e-07
Minuit parameter uncertainties:
  1  8.72306
  2  16.4149
  3  16.0238
  4  0.00130183
  5  3.07479
  6  0.00493702
  7  4.15561
  8  63.9382
  9  6.77857
  10  1.48342
  11  2.69343
  12  0.00670541
  13  19.8391
  14  0.000103618
  15  0.016979
  16  18.6058
  17  29.7278
  18  0.259009
  19  0.195519
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.223e+00  1.483e+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.458e+00  1.955e-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:  4.040e-01  2.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.54
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.25e-07 +/- 5.75e-08
Energy Flux (Fixed Index): 6.11e-05 +/- 2.81e-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) = 5070.47213688
delta logL = 1.53661933301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5070.45368631
delta logL = 1.55506990808

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7153       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8046       1.0000          .0000       5.0000    
     3 'Normalizat'    .28786       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5071       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=   5070.454     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      242 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7153        12.865        .61782E-03   -.49506E-02
   2  alpha         2.8046        3.8682        .18474        .49639E-04
   3  Normalizat    .28785        .14037        .11670        .55843E-04
   4  Prefactor     1.5071        .93665E-01    .42939E-01   -.58133E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.71531
  alpha      = 2.80458
  Normalizat = 0.287846
  Prefactor  = 1.50712
 **********
 **   18 **HESSE 
 **********

 FCN=   5070.454     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7153        1.3992        .38880E-05   -1.5675    
   2  alpha         2.8046        .45126        .78462E-02    .12214    
   3  Normalizat    .28785        .26594        .51638E-03   -1.2357    
   4  Prefactor     1.5071        .20827        .18978E-03   -.77341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.53545e-11
Minuit parameter uncertainties:
  1  1.39924
  2  0.453783
  3  0.267116
  4  0.208386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/296590': 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) = 5070.4536863
delta logL = 1.5550699138

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.715e+00  1.399e+00  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  2.805e+00  4.538e-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.507e+00  2.084e-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:  2.878e-01  2.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.92
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.80 +/- 0.45
Photon Flux (Free Index): 2.40e-07 +/- 9.79e-08
Energy Flux (Free Index): 5.50e-05 +/- 1.98e-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/296590/cmap_HighResolution_696297601_696556801_4FGL_J2236.5-1433_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-07', energy_flux2='5.50e-05', photon_flux_error='5.75e-08', dlogl='1.56e+00', energy_flux='6.11e-05', photon_flux2='2.40e-07', job_status='DONE', time_completed='2023-01-28 01:59:03.209193', photon_index_error2='0.45', photon_index2='2.80', ts='11.54', fit_tolerance='1e-08', GAL='1.46', photon_index_error='0.00', energy_flux_error2='1.98e-05', EG='0.40', time_epoch_completed='1674899943.21', return_code='0', job_id='296590', GAL2='1.51', EG2='0.29', return_code2='0', energy_flux_error='2.81e-05', photon_flux_error2='9.79e-08', ts2='14.92', photon_index='2.06' WHERE bin_id='1763' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:59:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 296590: <4FGL_J2236.5-1433_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1763> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jan 28 01:45:29 2023
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:48:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:48:13 2023
Terminated at Sat Jan 28 01:59:04 2023
Results reported at Sat Jan 28 01:59:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1763 339.144 -14.5557 696297601 696556801 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 :                                   462.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             276.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            815 sec.

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

