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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1749
RA = 339.096, Dec = 28.4832
tmin = 692668801, tmax = 692928001
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='964253', job_status='RUN', time_executed='2022-12-17 01:31:42.251264', time_epoch_executed='1671269502.25' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964253/ft1_4FGL_J2236.3+2828_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964253/ft1_4FGL_J2236.3+2828_daily_bin1749.fits outfile=/scratch/kocevski/964253/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1749.fits ra=339.096 dec=28.4832 rad=12.0 tmin=692668801.0 tmax=692928001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.74
user 3.50
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits

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

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

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

Number of photons that the gtmktime cut: 948

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964253/ft1_filtered_4FGL_J2236.3+2828_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/964253/ltcube_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.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/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits
.....................!
real 12.06
user 11.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964253/ft1_filtered_4FGL_J2236.3+2828_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/964253/ltcube_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.fits outfile=/scratch/kocevski/964253/expmap_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.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/964253/ltcube_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.fits
.....................!
real 192.61
user 186.48
sys 5.75

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2236.3+2828 @ 339.096 28.4832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/964253/ft1_filtered_4FGL_J2236.3+2828_daily_bin1749.fits scfile=/scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits outfile=/scratch/kocevski/964253/cmap_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.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.096 yref=28.4832 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/964253/ft1_filtered_4FGL_J2236.3+2828_daily_bin1749.fits scfile=/scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits outfile=/scratch/kocevski/964253/cmap_HighResolution_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.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.096 yref=28.4832 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/964253/ft1_filtered_4FGL_J2236.3+2828_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/964253/Model_4FGL_J2236.3+2828_daily_bin1749.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/964253/ft1_filtered_4FGL_J2236.3+2828_daily_bin1749.fits.....................!
real 101.59
user 100.07
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/964253/ft1_filtered_4FGL_J2236.3+2828_daily_bin1749.fits', '/scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits', expMap='/scratch/kocevski/964253/expmap_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.fits', expCube='/scratch/kocevski/964253/ltcube_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/964253/Model_4FGL_J2236.3+2828_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.3+2828'

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  2.238e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/964253/ft1_filtered_4FGL_J2236.3+2828_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/964253/ft2_4FGL_J2236.3+2828_daily_bin1749.fits
Exposure map: /scratch/kocevski/964253/expmap_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.fits
Exposure cube: /scratch/kocevski/964253/ltcube_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/964253/Model_4FGL_J2236.3+2828_daily_bin1749.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) = 9925.63173685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3634       1.0000          .0000       .10000E+07
     2 'norm      '    .78493E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    39.197       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14842E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .24641E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .55020       1.0000          .0000       .10000E+07
     7 'norm      '    1.5600       1.0000          .0000       .10000E+07
     8 'norm      '    .23870E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.653       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.644       1.0000          .0000       .10000E+07
    11 'Prefactor '    15.037       1.0000          .0000       .10000E+07
    12 'norm      '    .62942       1.0000          .0000       .10000E+07
    13 'Prefactor '    41.950       1.0000          .0000       .10000E+07
    14 'Prefactor '    108.95       1.0000          .0000       .10000E+07
    15 'norm      '    1.2519       1.0000          .0000       .10000E+07
    16 'Prefactor '    16.215       1.0000          .0000       .10000E+07
    17 'Normalizat'    .77469       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0432       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9923.670     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     1148 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3789        9.2298       -.23733E-06   -.71248E-02
   2  norm          .55511E-10    .26139        .13386E-07** at limit **
   3  Prefactor     39.183        41.523        .12174E-05   -.18178E-03
   4  Prefactor     .72164E-09    54.672        .32031E-06** at limit **
   5  norm           .0000        1.3462        .32694E-08** at limit **
   6  Prefactor     .74819        43.734        .22235E-05   -.19834E-02
   7  norm          1.5624        .93220        .43314E-08   -.53386E-02
   8  norm           .0000        .41581        .88558E-09** at limit **
   9  Prefactor     12.029        12.316        .40637E-07   -.14302E-02
  10  Prefactor     11.529        12.490        .21658E-07   -.11982E-03
  11  Prefactor     15.280        15.819        .47155E-06   -.29038E-04
  12  norm          .62988        .80979       -.35964E-09   -.10818E-01
  13  Prefactor     41.388        25.444        .70788E-06   -.88186E-04
  14  Prefactor     111.29        39.860        .64419E-07    .48878E-05
  15  norm          1.2462        3.1288        .95693E-07   -.85322E-02
  16  Prefactor     16.218        17.760       -.74794E-06   -.65666E-03
  17  Normalizat    .77180        .22063       -.55589E-05   -.25402E-03
  18  Prefactor     1.0435        .96878E-01    .76473E-06   -.63308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37892
  norm       = 5.55112e-11
  Prefactor  = 39.1829
  Prefactor  = 7.21645e-10
  norm       = 0
  Prefactor  = 0.748186
  norm       = 1.56235
  norm       = 0
  Prefactor  = 12.0287
  Prefactor  = 11.5292
  Prefactor  = 15.2803
  norm       = 0.629882
  Prefactor  = 41.3876
  Prefactor  = 111.287
  norm       = 1.24617
  Prefactor  = 16.2181
  Normalizat = 0.7718
  Prefactor  = 1.04352
 **********
 **   18 **HESSE 
 **********

 FCN=   9923.670     FROM HESSE     STATUS=OK           252 CALLS     1400 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3789        9.6655        .37381E-04   -1.5684    
   2  norm          .55511E-10    1.1114        .97987E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     39.183        41.462        .63897E-05   -1.5583    
   4  Prefactor     .72164E-09    55.090        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        1.3471        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .74819        41.858        .29525E-04   -1.5691    
   7  norm          1.5624        .92372        .71328E-05   -1.5683    
   8  norm           .0000        .41599        .62722E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.029        12.315        .11729E-04   -1.5639    
  10  Prefactor     11.529        12.495        .11733E-04   -1.5640    
  11  Prefactor     15.280        15.814        .10321E-04   -1.5630    
  12  norm          .62988        .79404        .98183E-05   -1.5692    
  13  Prefactor     41.388        25.408        .61764E-05   -1.5579    
  14  Prefactor     111.29        39.812        .38324E-05   -1.5497    
  15  norm          1.2462        3.0222        .25673E-04   -1.5686    
  16  Prefactor     16.218        17.409        .99382E-05   -1.5627    
  17  Normalizat    .77180        .24814        .41318E-03   -1.0112    
  18  Prefactor     1.0435        .11137        .16832E-03   -.91293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16209e-09
Minuit parameter uncertainties:
  1  7.3015
  2  1.46372e-05
  3  41.4625
  4  0.00040017
  5  2.18906e-06
  6  11.1925
  7  0.92372
  8  3.7433e-07
  9  12.3152
  10  12.4946
  11  15.8136
  12  0.79404
  13  25.4081
  14  39.8117
  15  3.0222
  16  17.4092
  17  0.248499
  18  0.111399
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.562e+00  9.237e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  2.146e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.046e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.044e+00  1.114e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  7.718e-01  2.485e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.75
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 5.01e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.20e-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) = 9923.17858446
delta logL = 0.49184840246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9923.16126341
delta logL = 0.509169457153

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5274       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6946       1.0000          .0000       5.0000    
     3 'Normalizat'    .79274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0376       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9923.161     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 71.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5273        .90241       -.34018E-08    .29527E-01
   2  alpha         1.6947        .83769E-01    .11530E-05    .85498E-04
   3  Normalizat    .79275        .19939       -.40985E-07   -.15023E-04
   4  Prefactor     1.0376        .93656E-01    .16767E-07   -.96431E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.52734
  alpha      = 1.69468
  Normalizat = 0.792746
  Prefactor  = 1.0376
 **********
 **   18 **HESSE 
 **********

 FCN=   9923.161     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5273        .94056        .71716E-05   -1.5683    
   2  alpha         1.6947        .41433        .73089E-01   -.32798    
   3  Normalizat    .79275        .22818        .40801E-03   -1.0034    
   4  Prefactor     1.0376        .10731        .16871E-03   -.91486    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.29558e-10
Minuit parameter uncertainties:
  1  0.940555
  2  0.416476
  3  0.228455
  4  0.107327
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964253': 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) = 9923.1612634
delta logL = 0.509169463601

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.527e+00  9.406e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  1.695e+00  4.165e-01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.046e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  5.754e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.038e+00  1.073e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  7.927e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.72
Ra Dec: 339.096 28.483
Photon Index (Free Index): 1.69 +/- 0.42
Photon Flux (Free Index): 3.61e-08 +/- 2.48e-08
Energy Flux (Free Index): 3.06e-05 +/- 2.39e-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/964253/cmap_HighResolution_692668801_692928001_4FGL_J2236.3+2828_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.01e-08', energy_flux2='3.06e-05', photon_flux_error='2.96e-08', dlogl='5.09e-01', energy_flux='2.03e-05', photon_flux2='3.61e-08', job_status='DONE', time_completed='2022-12-17 01:41:21.537697', photon_index_error2='0.42', photon_index2='1.69', ts='5.75', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.39e-05', EG='0.77', time_epoch_completed='1671270081.54', return_code='0', job_id='964253', GAL2='1.04', EG2='0.79', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='2.48e-08', ts2='6.72', photon_index='2.15' WHERE bin_id='1749' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:41:21 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 964253: <4FGL_J2236.3+2828_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1749> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Dec 17 01:30:21 2022
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:30:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:30:22 2022
Terminated at Sat Dec 17 01:41:22 2022
Results reported at Sat Dec 17 01:41:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1749 339.096 28.4832 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2236.3+2828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   581.41 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             321.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            661 sec.

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

