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


Performing analysis on: 4FGL_J2236.3+2828_daily_bin1746
RA = 339.096, Dec = 28.4832
tmin = 691891201, tmax = 692150401
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='742501', job_status='RUN', time_executed='2022-12-08 01:52:21.014383', time_epoch_executed='1670493141.01' WHERE source_name='4FGL J2236.3+2828' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/742501

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/742501/ft1_4FGL_J2236.3+2828_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/742501/ft2_4FGL_J2236.3+2828_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/742501/ft1_4FGL_J2236.3+2828_daily_bin1746.fits outfile=/scratch/kocevski/742501/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1746.fits ra=339.096 dec=28.4832 rad=12.0 tmin=691891201.0 tmax=692150401.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.45
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/742501/ft2_4FGL_J2236.3+2828_daily_bin1746.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/742501/ft1_filteredMKT_4FGL_J2236.3+2828_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/742501/ft1_filtered_4FGL_J2236.3+2828_daily_bin1746.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.33
sys 0.16

Number of photons that the gtmktime cut: 970

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/742501/ft1_filtered_4FGL_J2236.3+2828_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/742501/ft2_4FGL_J2236.3+2828_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/742501/ltcube_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.fits outfile=/scratch/kocevski/742501/expmap_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.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/742501/ltcube_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.fits
.....................!
real 191.37
user 185.90
sys 5.08

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/742501/ft1_filtered_4FGL_J2236.3+2828_daily_bin1746.fits scfile=/scratch/kocevski/742501/ft2_4FGL_J2236.3+2828_daily_bin1746.fits outfile=/scratch/kocevski/742501/cmap_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/742501/ft1_filtered_4FGL_J2236.3+2828_daily_bin1746.fits scfile=/scratch/kocevski/742501/ft2_4FGL_J2236.3+2828_daily_bin1746.fits outfile=/scratch/kocevski/742501/cmap_HighResolution_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.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.56
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/742501/ft1_filtered_4FGL_J2236.3+2828_daily_bin1746.fits', '/scratch/kocevski/742501/ft2_4FGL_J2236.3+2828_daily_bin1746.fits', expMap='/scratch/kocevski/742501/expmap_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.fits', expCube='/scratch/kocevski/742501/ltcube_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/742501/Model_4FGL_J2236.3+2828_daily_bin1746.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/742501/ft1_filtered_4FGL_J2236.3+2828_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/742501/ft2_4FGL_J2236.3+2828_daily_bin1746.fits
Exposure map: /scratch/kocevski/742501/expmap_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.fits
Exposure cube: /scratch/kocevski/742501/ltcube_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/742501/Model_4FGL_J2236.3+2828_daily_bin1746.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) = 10089.3927171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65616E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .97737       1.0000          .0000       .10000E+07
     3 'Prefactor '    .97598E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    16.451       1.0000          .0000       .10000E+07
     5 'norm      '    1.6341       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.2501       1.0000          .0000       .10000E+07
     7 'norm      '    1.5929       1.0000          .0000       .10000E+07
     8 'norm      '    2.6192       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1902       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6818       1.0000          .0000       .10000E+07
    11 'Prefactor '    .37774E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.4182       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.134       1.0000          .0000       .10000E+07
    14 'Prefactor '    207.52       1.0000          .0000       .10000E+07
    15 'norm      '    .95770E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.5965       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81789       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .97276       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10089.37     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1317 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28866E-08    10.359        .10661E-05** at limit **
   2  norm          .97651        .81333       -.29433E-07    .15804E-02
   3  Prefactor     .23870E-08    18.513       -.60913E-06** at limit **
   4  Prefactor     16.443        8.1701        .48612E-07    .62129E-01
   5  norm          1.6431        4.6142        .69600E-07    .37806E-05
   6  Prefactor     5.1079        6.7348       -.12307E-06   -.49336E-03
   7  norm          1.5927        .83357        .20375E-07   -.17085E-02
   8  norm          2.6182        1.5824        .54507E-07   -.20614E-02
   9  Prefactor     5.2275        8.4039        .37265E-07    .45106E-03
  10  Prefactor     1.6886        19.273       -.19697E-06   -.91296E-02
  11  Prefactor     .22204E-09    5.9315        .42119E-07** at limit **
  12  norm          3.4187        1.5685       -.54721E-07    .24847E-02
  13  Prefactor     14.360        12.594       -.14671E-07    .69576E-01
  14  Prefactor     207.12        47.940       -.25539E-07    .64771E-01
  15  norm           .0000        2.2478       -.18607E-07** at limit **
  16  Prefactor     3.4527        11.999        .91427E-07   -.67991E-02
  17  Normalizat    .81860        .22720        .59368E-05   -.33663E-04
  18  Prefactor     .97262        .10416       -.14903E-05   -.16489E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.88658e-09
  norm       = 0.976512
  Prefactor  = 2.38698e-09
  Prefactor  = 16.4428
  norm       = 1.64311
  Prefactor  = 5.10793
  norm       = 1.59273
  norm       = 2.61824
  Prefactor  = 5.22747
  Prefactor  = 1.68862
  Prefactor  = 2.22045e-10
  norm       = 3.41873
  Prefactor  = 14.3603
  Prefactor  = 207.118
  norm       = 0
  Prefactor  = 3.4527
  Normalizat = 0.818596
  Prefactor  = 0.972623
 **********
 **   18 **HESSE 
 **********

 FCN=   10089.37     FROM HESSE     STATUS=OK           286 CALLS     1603 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28866E-08    10.236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .97651        .81981        .42963E-03   -1.5688    
   3  Prefactor     .23870E-08    18.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.443        12.448        .24667E-03   -1.5627    
   5  norm          1.6431        4.6404        .82668E-03   -1.5682    
   6  Prefactor     5.1079        6.7586        .43844E-03   -1.5663    
   7  norm          1.5927        .83242        .84024E-03   -1.5683    
   8  norm          2.6182        1.5831        .62994E-03   -1.5676    
   9  Prefactor     5.2275        8.4329        .44102E-03   -1.5662    
  10  Prefactor     1.6886        20.928        .81189E-03   -1.5682    
  11  Prefactor     .22204E-09    5.9532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4187        1.5775        .54689E-03   -1.5671    
  13  Prefactor     14.360        25.433        .26616E-03   -1.5632    
  14  Prefactor     207.12        49.208        .69426E-04   -1.5420    
  15  norm           .0000        2.2415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4527        15.448        .53258E-03   -1.5671    
  17  Normalizat    .81860        .20498        .90605E-01   -.99383    
  18  Prefactor     .97262        .90655E-01    .45926E-01   -.93648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69928e-06
Minuit parameter uncertainties:
  1  0.000342288
  2  0.819815
  3  0.00042002
  4  12.4481
  5  4.64043
  6  6.75864
  7  0.832415
  8  1.58314
  9  8.43291
  10  11.8895
  11  7.18081e-05
  12  1.57752
  13  25.4335
  14  49.2079
  15  1.17785e-05
  16  14.6065
  17  0.205171
  18  0.0906694
Done.

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

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  1.593e+00  8.324e-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:  9.726e-01  9.067e-02  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:  8.186e-01  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.21
Ra Dec: 339.096 28.483
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 5.11e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.08e-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) = 10088.5764044
delta logL = 0.791124096571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10088.5761984
delta logL = 0.791330111275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87850       1.0000          .0000       .10000E+07
     2 'alpha     '    1.3411       1.0000          .0000       5.0000    
     3 'Normalizat'    .86490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96220       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.

 FCN=   10088.58     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      214 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87850        .58158        .47258E-03   -.21762E-01
   2  alpha         1.3411        .36024        .36898       -.65606E-04
   3  Normalizat    .86484        .19052        .88310E-01    .51831E-04
   4  Prefactor     .96222        .89311E-01    .45793E-01    .13900E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.878501
  alpha      = 1.34114
  Normalizat = 0.86484
  Prefactor  = 0.962224
 **********
 **   18 **HESSE 
 **********

 FCN=   10088.58     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87850        .84133        .56031E-05   -1.5689    
   2  alpha         1.3411        .57082        .14755E-01   -.48199    
   3  Normalizat    .86484        .21926        .39110E-03   -.97707    
   4  Prefactor     .96222        .10295        .17398E-03   -.94000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57793e-10
Minuit parameter uncertainties:
  1  0.84133
  2  0.577333
  3  0.219483
  4  0.102975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/742501': 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) = 10088.5761984
delta logL = 0.791330156615

Extracting fit parameters...

4FGL J2236.3+2828
   Spectrum: LogParabola
286         norm:  8.785e-01  8.413e-01  0.000e+00  1.000e+06 ( 1.000e-11)
287        alpha:  1.341e+00  5.773e-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:  9.622e-01  1.030e-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:  8.648e-01  2.195e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.64
Ra Dec: 339.096 28.483
Photon Index (Free Index): 1.34 +/- 0.58
Photon Flux (Free Index): 1.91e-08 +/- 1.80e-08
Energy Flux (Free Index): 3.64e-05 +/- 3.45e-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/742501/cmap_HighResolution_691891201_692150401_4FGL_J2236.3+2828_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.11e-08', energy_flux2='3.64e-05', photon_flux_error='2.67e-08', dlogl='7.91e-01', energy_flux='2.07e-05', photon_flux2='1.91e-08', job_status='DONE', time_completed='2022-12-08 02:02:32.897848', photon_index_error2='0.58', photon_index2='1.34', ts='16.21', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='3.45e-05', EG='0.82', time_epoch_completed='1670493752.9', return_code='0', job_id='742501', GAL2='0.96', EG2='0.86', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='1.80e-08', ts2='17.64', photon_index='2.15' WHERE bin_id='1746' AND source_name='4FGL J2236.3+2828' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 02:02:32 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 742501: <4FGL_J2236.3+2828_daily_bin1746> in cluster <slac> Done

Job <4FGL_J2236.3+2828_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 01:50:18 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:50:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:50:19 2022
Terminated at Thu Dec  8 02:02:33 2022
Results reported at Thu Dec  8 02:02:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2236.3+2828_daily_bin1746 339.096 28.4832 691891201 692150401 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 :                                   614.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            735 sec.

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

