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


Performing analysis on: 4FGL_J1016.0+0512_daily_bin1751
RA = 154.009, Dec = 5.2089
tmin = 693187201, tmax = 693446401
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='75120', job_status='RUN', time_executed='2022-12-23 00:33:50.464002', time_epoch_executed='1671784430.46' WHERE source_name='4FGL J1016.0+0512' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75120

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75120/ft1_4FGL_J1016.0+0512_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75120/ft1_4FGL_J1016.0+0512_daily_bin1751.fits outfile=/scratch/kocevski/75120/ft1_filteredMKT_4FGL_J1016.0+0512_daily_bin1751.fits ra=154.009 dec=5.2089 rad=12.0 tmin=693187201.0 tmax=693446401.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.45
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.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/75120/ft1_filteredMKT_4FGL_J1016.0+0512_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.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.52
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/75120/ltcube_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.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/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits
.....................!
real 12.41
user 11.99
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/75120/ltcube_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.fits outfile=/scratch/kocevski/75120/expmap_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.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/75120/ltcube_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.fits
.....................!
real 198.66
user 185.68
sys 6.27

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

Setting source of interest to:
4FGL J1016.0+0512 @ 154.009 5.2089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.fits scfile=/scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits outfile=/scratch/kocevski/75120/cmap_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.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=154.009 yref=5.2089 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 9.52
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.fits scfile=/scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits outfile=/scratch/kocevski/75120/cmap_HighResolution_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.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=154.009 yref=5.2089 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 1.76
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75120/Model_4FGL_J1016.0+0512_daily_bin1751.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/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.fits.....................!
real 60.89
user 59.43
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.fits', '/scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits', expMap='/scratch/kocevski/75120/expmap_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.fits', expCube='/scratch/kocevski/75120/ltcube_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75120/Model_4FGL_J1016.0+0512_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1016.0+0512'

4FGL J1016.0+0512
   Spectrum: PowerLaw
210    Prefactor:  6.181e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
211        Index:  2.223e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.475e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/75120/ft1_filtered_4FGL_J1016.0+0512_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/75120/ft2_4FGL_J1016.0+0512_daily_bin1751.fits
Exposure map: /scratch/kocevski/75120/expmap_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.fits
Exposure cube: /scratch/kocevski/75120/ltcube_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75120/Model_4FGL_J1016.0+0512_daily_bin1751.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6485.14727882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0591       1.0000          .0000       .10000E+07
     2 'norm      '    .10359       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27874E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20609E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23034E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.1376       1.0000          .0000       .10000E+07
     7 'Prefactor '    17.102       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12812E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .28595E-02   1.0000          .0000       .10000E+07
    10 'norm      '    5.9923       1.0000          .0000       .10000E+07
    11 'Prefactor '    .59483E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.1938       1.0000          .0000       .10000E+07
    13 'Prefactor '    .26957E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .63275       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89048       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1705       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6485.041     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      917 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0675        1.4937       -.12509E-07    .12137E-02
   2  norm          .10658        .47357        .85932E-07** at limit **
   3  Prefactor     .55511E-10    29.672       -.96081E-06** at limit **
   4  Prefactor      .0000        14.329       -.11376E-07** at limit **
   5  Prefactor     .31974E-07    14.391       -.29020E-06** at limit **
   6  Prefactor     4.7554        8.9102        .12139E-07    .19882E-03
   7  Prefactor     23.700        49.902        .72301E-06    .86293E-04
   8  Prefactor     .26590E-07    15.240       -.30401E-06** at limit **
   9  Prefactor      .0000        7.6601       -.91165E-07** at limit **
  10  norm          6.0004        2.0198       -.20399E-07    .56735E-03
  11  Prefactor      .0000        19.484        .12781E-06** at limit **
  12  Prefactor     1.1878        2.3359        .43672E-07   -.10409E-02
  13  Prefactor     .19298        88.862        .10388E-05** at limit **
  14  norm          .63262        .48352       -.77469E-08   -.79655E-03
  15  Normalizat    .88509        .22494        .31890E-06   -.39128E-05
  16  Prefactor     1.1720        .18389       -.13827E-05   -.19981E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0675
  norm       = 0.106582
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 3.19744e-08
  Prefactor  = 4.75536
  Prefactor  = 23.6998
  Prefactor  = 2.65898e-08
  Prefactor  = 0
  norm       = 6.00041
  Prefactor  = 0
  Prefactor  = 1.1878
  Prefactor  = 0.192982
  norm       = 0.632623
  Normalizat = 0.885094
  Prefactor  = 1.17201
 **********
 **   18 **HESSE 
 **********

 FCN=   6485.041     FROM HESSE     STATUS=OK           247 CALLS     1164 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0675        1.4918        .57976E-03   -1.5673    
   2  norm          .10658        .48270        .13834E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    5.9434        .10287E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        14.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31974E-07    30.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.7554        9.1584        .44331E-03   -1.5664    
   7  Prefactor     23.700        50.259        .24192E-03   -1.5611    
   8  Prefactor     .26590E-07    29.127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        7.6226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.0004        2.0344        .40995E-03   -1.5659    
  11  Prefactor      .0000        19.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1878        2.3984        .10410E-02   -1.5686    
  13  Prefactor     .19298        3.6170        .11039E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .63262        .48350        .66344E-03   -1.5692    
  15  Normalizat    .88509        .19454        .65814E-01   -.96986    
  16  Prefactor     1.1720        .15861        .35370E-01   -.87197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46173e-07
Minuit parameter uncertainties:
  1  1.49184
  2  0.453639
  3  4.09587e-05
  4  1.49548e-05
  5  0.00196851
  6  9.15839
  7  50.2602
  8  0.00175943
  9  1.00548e-05
  10  2.03438
  11  9.10484e-07
  12  2.39837
  13  1.67095
  14  0.483504
  15  0.194694
  16  0.158679
Done.

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

Extracting fit parameters...

4FGL J1016.0+0512
   Spectrum: PowerLaw
210    Prefactor:  4.755e+00  9.158e+00  0.000e+00  1.000e+06 ( 1.000e-13)
211        Index:  2.223e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  1.475e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.172e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  8.851e-01  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.40
Ra Dec: 154.009 5.209
Photon Flux Upper Limit: 9.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75120/likelihoodResults_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.txt

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) = 6485.03641929
delta logL = 0.00472779289976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6485.03352886
delta logL = 0.00761822637742

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9936       1.0000          .0000       .10000E+07
     2 'Index     '    2.4184       1.0000          .0000       10.000    
     3 'Normalizat'    .88030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1747       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4910E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6485.034     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      254 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9903        13.965        .10089E-03   -.46089E-03
   2  Index         2.4190        2.2183        .98749E-02    .13530E-03
   3  Normalizat    .88016        .22202        .29186E-03   -.40121E-05
   4  Prefactor     1.1748        .18644        .21871E-03   -.58219E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.99029
  Index      = 2.41903
  Normalizat = 0.880163
  Prefactor  = 1.17478
 **********
 **   18 **HESSE 
 **********

 FCN=   6485.034     FROM HESSE     STATUS=OK            27 CALLS      281 TOTAL
                     EDM=   .55E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9903        10.720        .40355E-05   -1.5668    
   2  Index         2.4190        1.7361        .19750E-02   -.54240    
   3  Normalizat    .88016        .21935        .11675E-04   -.97161    
   4  Prefactor     1.1748        .18495        .87483E-05   -.87111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54599e-12
Minuit parameter uncertainties:
  1  10.7199
  2  1.78753
  3  0.219568
  4  0.185056
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75120': 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) = 6485.03352862
delta logL = 0.0076184657546

Extracting fit parameters...

4FGL J1016.0+0512
   Spectrum: PowerLaw
210    Prefactor:  3.990e+00  1.072e+01  0.000e+00  1.000e+06 ( 1.000e-13)
211        Index:  2.419e+00  1.788e+00  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  1.475e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
488    Prefactor:  1.175e+00  1.851e-01  0.000e+00  1.000e+01 ( 1.000e+00)
489        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
490        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
487   Normalization:  8.802e-01  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.40
Ra Dec: 154.009 5.209

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/75120/cmap_HighResolution_693187201_693446401_4FGL_J1016.0+0512_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.88e-03', job_status='DONE', photon_flux_upper_limit='9.01e-08', time_completed='2022-12-23 00:41:54.511085', job_id='75120', GAL2='1.17', fit_tolerance='1e-08', EG2='0.88', EG='0.89', time_epoch_completed='1671784914.51', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='7.62e-03', ts2='0.41', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1751' AND source_name='4FGL J1016.0+0512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:41:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 75120: <4FGL_J1016.0+0512_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1016.0+0512_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 00:30:15 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:30:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:30:16 2022
Terminated at Fri Dec 23 00:41:55 2022
Results reported at Fri Dec 23 00:41:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1016.0+0512_daily_bin1751 154.009 5.2089 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1016.0+0512 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   469.36 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             200.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            700 sec.

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

