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


Performing analysis on: 4FGL_J1016.0+0512_daily_bin1760
RA = 154.009, Dec = 5.2089
tmin = 695520001, tmax = 695779201
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='733585', job_status='RUN', time_executed='2023-01-19 00:43:51.406800', time_epoch_executed='1674117831.41' WHERE source_name='4FGL J1016.0+0512' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733585

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733585/ft1_4FGL_J1016.0+0512_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733585/ft1_4FGL_J1016.0+0512_daily_bin1760.fits outfile=/scratch/kocevski/733585/ft1_filteredMKT_4FGL_J1016.0+0512_daily_bin1760.fits ra=154.009 dec=5.2089 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.45
user 2.23
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.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/733585/ft1_filteredMKT_4FGL_J1016.0+0512_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/733585/ft1_filtered_4FGL_J1016.0+0512_daily_bin1760.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.34
sys 0.17

Number of photons that the gtmktime cut: 504

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/733585/ft1_filtered_4FGL_J1016.0+0512_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/733585/ltcube_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.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/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.fits
.....................!
real 16.58
user 16.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733585/ft1_filtered_4FGL_J1016.0+0512_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/733585/ltcube_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.fits outfile=/scratch/kocevski/733585/expmap_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.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/733585/ltcube_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.fits
.....................!
real 193.07
user 186.92
sys 5.77

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/733585/ft1_filtered_4FGL_J1016.0+0512_daily_bin1760.fits scfile=/scratch/kocevski/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.fits outfile=/scratch/kocevski/733585/cmap_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.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 0.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733585/ft1_filtered_4FGL_J1016.0+0512_daily_bin1760.fits scfile=/scratch/kocevski/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.fits outfile=/scratch/kocevski/733585/cmap_HighResolution_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.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 0.58
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/733585/ft1_filtered_4FGL_J1016.0+0512_daily_bin1760.fits', '/scratch/kocevski/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.fits', expMap='/scratch/kocevski/733585/expmap_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.fits', expCube='/scratch/kocevski/733585/ltcube_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/733585/Model_4FGL_J1016.0+0512_daily_bin1760.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/733585/ft1_filtered_4FGL_J1016.0+0512_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/733585/ft2_4FGL_J1016.0+0512_daily_bin1760.fits
Exposure map: /scratch/kocevski/733585/expmap_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.fits
Exposure cube: /scratch/kocevski/733585/ltcube_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/733585/Model_4FGL_J1016.0+0512_daily_bin1760.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) = 5807.50561101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48100       1.0000          .0000       .10000E+07
     2 'norm      '    .99990       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.383       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7727       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10774E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2174       1.0000          .0000       .10000E+07
     7 'Prefactor '    76.569       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4534       1.0000          .0000       .10000E+07
     9 'Prefactor '    .59419E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .13500       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3067       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.0556       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4096       1.0000          .0000       .10000E+07
    14 'norm      '    .64107       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2621       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .80083       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=   5807.501     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1130 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47629        1.4253        .40424E-08    .10970E-04
   2  norm          1.0003        .60510       -.89485E-08    .11392E-02
   3  Prefactor     12.338        10.596        .45670E-07    .18916E-02
   4  Prefactor     .98962        392.05       -.46090E-05   -.59264E-03
   5  Prefactor      .0000        8.4218       -.19046E-06** at limit **
   6  Prefactor     .62220        257.20       -.29773E-05    .38575E-02
   7  Prefactor     75.535        38.558       -.37586E-06   -.12681    
   8  Prefactor     4.6940        958.77        .55004E-05   -.71794E-02
   9  Prefactor      .0000        7.6880        .18537E-07** at limit **
  10  norm          .13884        1.7632       -.14279E-09** at limit **
  11  Prefactor     3.3045        4.7109       -.18445E-07    .16678E-05
  12  Prefactor     2.0484        4.1317        .31486E-07   -.58940E-03
  13  Prefactor     5.4423        9.9892       -.50829E-07   -.60950E-03
  14  norm          .64068        .41927       -.40993E-08    .22918E-02
  15  Normalizat    1.2635        .24701        .16677E-05   -.48848E-04
  16  Prefactor     .80113        .18615       -.18103E-06   -.30191E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.476293
  norm       = 1.00029
  Prefactor  = 12.3375
  Prefactor  = 0.989616
  Prefactor  = 0
  Prefactor  = 0.622198
  Prefactor  = 75.5354
  Prefactor  = 4.69398
  Prefactor  = 0
  norm       = 0.138844
  Prefactor  = 3.3045
  Prefactor  = 2.04841
  Prefactor  = 5.44231
  norm       = 0.640679
  Normalizat = 1.26345
  Prefactor  = 0.801131
 **********
 **   18 **HESSE 
 **********

 FCN=   5807.501     FROM HESSE     STATUS=NOT POSDEF   245 CALLS     1375 TOTAL
                     EDM=   .50E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47629        1.3628        .80644E-03   -1.5694    
   2  norm          1.0003        .56416        .43762E-03   -1.5688    
   3  Prefactor     12.338        10.269        .28441E-03   -1.5638    
   4  Prefactor     .98962        337.64        .61091E-03   -1.5688    
   5  Prefactor      .0000        7.3908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .62220        2256.0        .10228E-02   -1.5692    
   7  Prefactor     75.535        71.671        .11429E-03   -1.5534    
   8  Prefactor     4.6940        8243.5        .89297E-03   -1.5665    
   9  Prefactor      .0000        6.7533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .13884        .73894        .23767E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3045        4.4192        .55648E-03   -1.5672    
  12  Prefactor     2.0484        3.8583        .72060E-03   -1.5679    
  13  Prefactor     5.4423        9.2772        .43181E-03   -1.5661    
  14  norm          .64068        .39465        .65627E-03   -1.5692    
  15  Normalizat    1.2635        .15982        .56748E-01   -.84664    
  16  Prefactor     .80113        .12320        .43728E-01   -.99687    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.97298e-06
Minuit parameter uncertainties:
  1  1.36283
  2  0.56416
  3  10.2692
  4  36.5608
  5  1.1275e-05
  6  74.9591
  7  71.672
  8  393.964
  9  2.66999e-05
  10  0.640618
  11  4.4192
  12  3.85835
  13  9.27722
  14  0.394646
  15  0.159881
  16  0.123241
Done.

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

Extracting fit parameters...

4FGL J1016.0+0512
   Spectrum: PowerLaw
210    Prefactor:  6.222e-01  7.496e+01  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:  8.011e-01  1.232e-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:  1.263e+00  1.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/733585/likelihoodResults_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.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): 102
logL (Free Index) = 5807.48596258
delta logL = 0.0146397597946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5807.4691568
delta logL = 0.0314455391353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9960       1.0000          .0000       .10000E+07
     2 'Index     '    1.8084       1.0000          .0000       10.000    
     3 'Normalizat'    1.2647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79918       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=   5807.469     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      289 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9960        8.2319        .14658E-03   -.42638E-02
   2  Index         1.8083        1.3031        .12691E-01    .31141E-04
   3  Normalizat    1.2647        .22948        .25083E-03   -.45325E-07
   4  Prefactor     .79918        .18321        .24418E-03    .49352E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.99597
  Index      = 1.80831
  Normalizat = 1.26466
  Prefactor  = 0.799176
 **********
 **   18 **HESSE 
 **********

 FCN=   5807.469     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9960        7.9902        .58632E-05   -1.5680    
   2  Index         1.8083        1.2854        .25383E-02   -.69234    
   3  Normalizat    1.2647        .22969        .10033E-04   -.84627    
   4  Prefactor     .79918        .18337        .48836E-04   -.99759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16948e-10
Minuit parameter uncertainties:
  1  7.98705
  2  1.3106
  3  0.229876
  4  0.18351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733585': 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) = 5807.46915679
delta logL = 0.0314455433208

Extracting fit parameters...

4FGL J1016.0+0512
   Spectrum: PowerLaw
210    Prefactor:  1.996e+00  7.987e+00  0.000e+00  1.000e+06 ( 1.000e-13)
211        Index:  1.808e+00  1.311e+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:  7.992e-01  1.835e-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:  1.265e+00  2.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/733585/cmap_HighResolution_695520001_695779201_4FGL_J1016.0+0512_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.58e-08', time_completed='2023-01-19 00:51:50.609590', job_id='733585', GAL2='0.80', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1674118310.61', return_code2='0', ts='0.01', comment='SUCCESS', return_code='102', GAL='0.80', dlogl='3.14e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1760' AND source_name='4FGL J1016.0+0512' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:51:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 733585: <4FGL_J1016.0+0512_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1016.0+0512_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 00:40:27 2023
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:43:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:43:03 2023
Terminated at Thu Jan 19 00:51:51 2023
Results reported at Thu Jan 19 00:51:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1016.0+0512_daily_bin1760 154.009 5.2089 695520001 695779201 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 :                                   482.00 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             321.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   527 sec.
    Turnaround time :                            684 sec.

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

