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


Performing analysis on: 4FGL_J2236.5-1433_daily_bin1765
RA = 339.144, Dec = -14.5557
tmin = 696816001, tmax = 697075201
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='648360', job_status='RUN', time_executed='2023-02-03 01:48:00.094106', time_epoch_executed='1675417680.09' WHERE source_name='4FGL J2236.5-1433' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/648360

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/648360/ft1_4FGL_J2236.5-1433_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/648360/ft2_4FGL_J2236.5-1433_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/648360/ft1_4FGL_J2236.5-1433_daily_bin1765.fits outfile=/scratch/kocevski/648360/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1765.fits ra=339.144 dec=-14.5557 rad=12.0 tmin=696816001.0 tmax=697075201.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.67
user 3.40
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/648360/ft2_4FGL_J2236.5-1433_daily_bin1765.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/648360/ft1_filteredMKT_4FGL_J2236.5-1433_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/648360/ft1_filtered_4FGL_J2236.5-1433_daily_bin1765.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 420

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/648360/ft1_filtered_4FGL_J2236.5-1433_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/648360/ft2_4FGL_J2236.5-1433_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/648360/ltcube_696816001_697075201_4FGL_J2236.5-1433_daily_bin1765.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/648360/ft2_4FGL_J2236.5-1433_daily_bin1765.fits
.....................!
real 18.09
user 17.00
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/648360/ft1_filtered_4FGL_J2236.5-1433_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/648360/ft2_4FGL_J2236.5-1433_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/648360/ltcube_696816001_697075201_4FGL_J2236.5-1433_daily_bin1765.fits outfile=/scratch/kocevski/648360/expmap_696816001_697075201_4FGL_J2236.5-1433_daily_bin1765.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/648360/ltcube_696816001_697075201_4FGL_J2236.5-1433_daily_bin1765.fits
.....................!
real 197.34
user 189.16
sys 5.33

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/648360/ft1_filtered_4FGL_J2236.5-1433_daily_bin1765.fits scfile=/scratch/kocevski/648360/ft2_4FGL_J2236.5-1433_daily_bin1765.fits outfile=/scratch/kocevski/648360/cmap_696816001_697075201_4FGL_J2236.5-1433_daily_bin1765.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/648360/ft1_filtered_4FGL_J2236.5-1433_daily_bin1765.fits scfile=/scratch/kocevski/648360/ft2_4FGL_J2236.5-1433_daily_bin1765.fits outfile=/scratch/kocevski/648360/cmap_HighResolution_696816001_697075201_4FGL_J2236.5-1433_daily_bin1765.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.58
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/648360/ft1_filtered_4FGL_J2236.5-1433_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/648360/ft2_4FGL_J2236.5-1433_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/648360/Model_4FGL_J2236.5-1433_daily_bin1765.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/648360/ft1_filtered_4FGL_J2236.5-1433_daily_bin1765.fits....................!
real 45.75
user 44.36
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.927       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58847E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    14.799       1.0000          .0000       .10000E+07
     4 'Prefactor '    .42899E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19364E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .20649E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .12376E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .40934E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.807       1.0000          .0000       .10000E+07
    10 'norm      '    3.2069       1.0000          .0000       .10000E+07
    11 'norm      '    .81990E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    37.329       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.740       1.0000          .0000       .10000E+07
    14 'norm      '    .29457E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .13510E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .38035E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11026E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .99701       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0178       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=   4775.549     FROM MIGRAD    STATUS=CONVERGED    167 CALLS     1524 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.942        8.4414        .11837E-05    .46817E-02
   2  Prefactor     .14960E-05    10.023        .10084E-05** at limit **
   3  Prefactor     14.856        17.517       -.47826E-06   -.29596E-01
   4  Prefactor     .13323E-08    8.5018       -.12387E-05** at limit **
   5  Prefactor      .0000        1.8808       -.32145E-06** at limit **
   6  Prefactor     .11695E-04    49.703        .84053E-05** at limit **
   7  norm           .0000        .94232       -.23940E-06** at limit **
   8  Prefactor     .55511E-10    34.369       -.14931E-05** at limit **
   9  Prefactor     10.659        13.637        .76262E-06    .16449    
  10  norm          3.2139        1.3836        .10576E-06    .14207E-02
  11  norm           .0000        1.5065        .94896E-06** at limit **
  12  Prefactor     38.967        74.438        .10127E-05    .35909E-01
  13  Prefactor     15.225        14.720        .12697E-05    .56306E-02
  14  norm          .66613E-09    7.1837       -.27950E-06** at limit **
  15  Prefactor     .10735E-04    46.971        .11481E-05** at limit **
  16  Prefactor      .0000        5.7600        .14163E-05** at limit **
  17  Prefactor     .13794E-05    10.505        .19829E-05** at limit **
  18  Normalizat    .99709        .26707       -.25548E-04   -.65676E-04
  19  Prefactor     1.0180        .19635        .79700E-05   -.34148E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9419
  Prefactor  = 1.49597e-06
  Prefactor  = 14.8564
  Prefactor  = 1.33227e-09
  Prefactor  = 0
  Prefactor  = 1.16951e-05
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 10.6591
  norm       = 3.21395
  norm       = 0
  Prefactor  = 38.9669
  Prefactor  = 15.2252
  norm       = 6.66134e-10
  Prefactor  = 1.07346e-05
  Prefactor  = 0
  Prefactor  = 1.3794e-06
  Normalizat = 0.997092
  Prefactor  = 1.01798
 **********
 **   18 **HESSE 
 **********

 FCN=   4775.549     FROM HESSE     STATUS=OK           306 CALLS     1830 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.942        8.4506        .30283E-03   -1.5642    
   2  Prefactor     .14960E-05    19.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.856        17.562        .26010E-03   -1.5631    
   4  Prefactor     .13323E-08    8.5093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.8728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11695E-04    56.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .94112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    34.278        .15922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.659        23.322        .30452E-03   -1.5643    
  10  norm          3.2139        1.3855        .56551E-03   -1.5672    
  11  norm           .0000        1.5004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.967        74.995        .16369E-03   -1.5583    
  13  Prefactor     15.225        18.777        .25219E-03   -1.5630    
  14  norm          .66613E-09    1.1282        .32703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10735E-04    53.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        5.7681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .13794E-05    19.437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .99709        .23618        .46129E-01   -.93128    
  19  Prefactor     1.0180        .16966        .42369E-01   -.92133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63217e-06
Minuit parameter uncertainties:
  1  8.45065
  2  0.0108803
  3  17.5621
  4  0.00021172
  5  9.28236e-06
  6  0.0515187
  7  4.05361e-06
  8  9.62718e-05
  9  23.3225
  10  1.38554
  11  3.24125e-06
  12  74.9968
  13  18.7775
  14  5.5768e-05
  15  0.0478896
  16  2.34366e-07
  17  0.0103559
  18  0.236429
  19  0.16975
Done.

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

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  3.214e+00  1.386e+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.018e+00  1.697e-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.971e-01  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.31
Ra Dec: 339.144 -14.556
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 1.25e-07 +/- 5.37e-08
Energy Flux (Fixed Index): 6.09e-05 +/- 2.63e-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) = 4774.50884716
delta logL = 1.03972685932

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4774.50792236
delta logL = 1.04065166026

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5913       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6970       1.0000          .0000       5.0000    
     3 'Normalizat'    .91600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0563       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=   4774.508     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      242 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5911        15.246        .63361E-03    .18964E-02
   2  alpha         2.6971        3.8485        .20093        .38724E-04
   3  Normalizat    .91601        .13988        .66861E-01    .13283E-04
   4  Prefactor     1.0563        .92840E-01    .39556E-01    .23782E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.59114
  alpha      = 2.69705
  Normalizat = 0.916007
  Prefactor  = 1.05628
 **********
 **   18 **HESSE 
 **********

 FCN=   4774.508     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5911        1.3886        .40212E-05   -1.5676    
   2  alpha         2.6971        .48136        .84694E-02    .78902E-01
   3  Normalizat    .91601        .26542        .29577E-03   -.95900    
   4  Prefactor     1.0563        .19767        .20919E-03   -.90876    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4388e-12
Minuit parameter uncertainties:
  1  1.38858
  2  0.484401
  3  0.265801
  4  0.197806
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/648360': 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) = 4774.50792234
delta logL = 1.04065167604

Extracting fit parameters...

4FGL J2236.5-1433
   Spectrum: LogParabola
257         norm:  2.591e+00  1.389e+00  0.000e+00  1.000e+06 ( 1.000e-11)
258        alpha:  2.697e+00  4.844e-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.056e+00  1.978e-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.160e-01  2.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.41
Ra Dec: 339.144 -14.556
Photon Index (Free Index): 2.70 +/- 0.48
Photon Flux (Free Index): 2.00e-07 +/- 8.86e-08
Energy Flux (Free Index): 4.91e-05 +/- 1.96e-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/648360/cmap_HighResolution_696816001_697075201_4FGL_J2236.5-1433_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-07', energy_flux2='4.91e-05', photon_flux_error='5.37e-08', dlogl='1.04e+00', energy_flux='6.09e-05', photon_flux2='2.00e-07', job_status='DONE', time_completed='2023-02-03 01:55:43.868732', photon_index_error2='0.48', photon_index2='2.70', ts='10.31', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='1.00', time_epoch_completed='1675418143.87', return_code='0', job_id='648360', GAL2='1.06', EG2='0.92', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='8.86e-08', ts2='12.41', photon_index='2.06' WHERE bin_id='1765' AND source_name='4FGL J2236.5-1433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:55:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 648360: <4FGL_J2236.5-1433_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2236.5-1433_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 01:45:16 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:46:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:46:31 2023
Terminated at Fri Feb  3 01:55:44 2023
Results reported at Fri Feb  3 01:55:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.5-1433_daily_bin1765 339.144 -14.5557 696816001 697075201 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 :                                   463.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   553 sec.
    Turnaround time :                            628 sec.

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

