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


Performing analysis on: 4FGL_J0814.2-1013_daily_bin1776
RA = 123.551, Dec = -10.2172
tmin = 699667201, tmax = 699926401
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='829936', job_status='RUN', time_executed='2023-03-08 00:26:34.723402', time_epoch_executed='1678263994.72' WHERE source_name='4FGL J0814.2-1013' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829936

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829936/ft1_4FGL_J0814.2-1013_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829936/ft1_4FGL_J0814.2-1013_daily_bin1776.fits outfile=/scratch/kocevski/829936/ft1_filteredMKT_4FGL_J0814.2-1013_daily_bin1776.fits ra=123.551 dec=-10.2172 rad=12.0 tmin=699667201.0 tmax=699926401.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.22
user 2.98
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.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/829936/ft1_filteredMKT_4FGL_J0814.2-1013_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.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.45
user 0.31
sys 0.13

Number of photons that the gtmktime cut: 625

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/829936/ltcube_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.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/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits
.....................!
real 11.33
user 10.94
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/829936/ltcube_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.fits outfile=/scratch/kocevski/829936/expmap_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.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/829936/ltcube_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.fits
.....................!
real 153.09
user 148.39
sys 4.34

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

Setting source of interest to:
4FGL J0814.2-1013 @ 123.551 -10.2172

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.fits scfile=/scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits outfile=/scratch/kocevski/829936/cmap_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.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=123.551 yref=-10.2172 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.47
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.fits scfile=/scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits outfile=/scratch/kocevski/829936/cmap_HighResolution_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.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=123.551 yref=-10.2172 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.47
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/829936/Model_4FGL_J0814.2-1013_daily_bin1776.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/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.fits.....................!
real 71.00
user 69.56
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.fits', '/scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits', expMap='/scratch/kocevski/829936/expmap_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.fits', expCube='/scratch/kocevski/829936/ltcube_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/829936/Model_4FGL_J0814.2-1013_daily_bin1776.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0814.2-1013'

4FGL J0814.2-1013
   Spectrum: PowerLaw
279    Prefactor:  3.187e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
280        Index:  2.113e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.815e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/829936/ft1_filtered_4FGL_J0814.2-1013_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/829936/ft2_4FGL_J0814.2-1013_daily_bin1776.fits
Exposure map: /scratch/kocevski/829936/expmap_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.fits
Exposure cube: /scratch/kocevski/829936/ltcube_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/829936/Model_4FGL_J0814.2-1013_daily_bin1776.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) = 6902.44662955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52061E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .94225E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    44.721       1.0000          .0000       .10000E+07
     4 'norm      '    .24256E-04   1.0000          .0000       .10000E+07
     5 'norm      '    5.3754       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12913E-02   1.0000          .0000       .10000E+07
     7 'norm      '    7.4213       1.0000          .0000       .10000E+07
     8 'norm      '    2.1586       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20965E-03   1.0000          .0000       .10000E+07
    10 'norm      '    4.3143       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21956E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8136       1.0000          .0000       .10000E+07
    13 'norm      '    .11550E-02   1.0000          .0000       .10000E+07
    14 'norm      '    16.058       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40274E-04   1.0000          .0000       .10000E+07
    16 'norm      '    2.8974       1.0000          .0000       .10000E+07
    17 'norm      '    2.5528       1.0000          .0000       .10000E+07
    18 'Prefactor '    .93567E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0187       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6902.446     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1639 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55783E-01    10.392       -.22224E-07** at limit **
   2  Prefactor     .98699E-07    6.9240       -.12120E-06** at limit **
   3  Prefactor     44.762        1.5638        .47773E-08   -.24238E-01
   4  norm          .55511E-10    2.2355        .61955E-07** at limit **
   5  norm          5.3750        4.4488       -.14392E-06    .84317E-03
   6  Prefactor     .33307E-09    6.3195        .15302E-06** at limit **
   7  norm          7.4403        9.9084       -.11354E-07   -.16935E-02
   8  norm          2.1603        2.7922       -.75656E-07   -.46738E-05
   9  Prefactor     .15987E-07    7.7819        .16001E-06** at limit **
  10  norm          4.3141        1.5796        .10525E-07   -.74317E-03
  11  Prefactor     .11102E-09    2.3046        .61519E-07** at limit **
  12  Prefactor     1.8093        5.6633        .24759E-06   -.34465E-03
  13  norm          .81379E-07    5.9764       -.70125E-07** at limit **
  14  norm          16.060        1.5023        .27773E-08    .47804E-02
  15  Prefactor     .29310E-07    13.006        .70062E-07** at limit **
  16  norm          2.9072        7.2553       -.11200E-06   -.53158E-04
  17  norm          2.5512        2.3924        .42627E-07   -.13503E-02
  18  Prefactor     .15543E-08    20.345       -.10356E-07** at limit **
  19  Normalizat    1.0188        .22843        .35163E-06   -.43701E-04
  20  Prefactor     .95483        .96649E-01    .10798E-05   -.10224E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0557825
  Prefactor  = 9.86988e-08
  Prefactor  = 44.7617
  norm       = 5.55112e-11
  norm       = 5.37497
  Prefactor  = 3.33067e-10
  norm       = 7.44034
  norm       = 2.16033
  Prefactor  = 1.59872e-08
  norm       = 4.31412
  Prefactor  = 1.11022e-10
  Prefactor  = 1.80931
  norm       = 8.13793e-08
  norm       = 16.0599
  Prefactor  = 2.93099e-08
  norm       = 2.90721
  norm       = 2.55121
  Prefactor  = 1.55431e-09
  Normalizat = 1.01876
  Prefactor  = 0.954834
 **********
 **   18 **HESSE 
 **********

 FCN=   6902.446     FROM HESSE     STATUS=OK           339 CALLS     1978 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55783E-01    .68495        .44994E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .98699E-07    11.862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     44.762        46.364        .14955E-03   -1.5574    
   4  norm          .55511E-10    4.4838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.3750        4.4518        .43321E-03   -1.5662    
   6  Prefactor     .33307E-09    6.3108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.4403        9.9819        .36792E-03   -1.5653    
   8  norm          2.1603        2.8179        .70086E-03   -1.5679    
   9  Prefactor     .15987E-07    8.5929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.3141        1.5836        .48475E-03   -1.5666    
  11  Prefactor     .11102E-09    4.5329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.8093        5.6960        .77537E-03   -1.5681    
  13  norm          .81379E-07    9.8059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.060        12.469        .24967E-03   -1.5628    
  15  Prefactor     .29310E-07    14.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9072        7.2438        .59672E-03   -1.5674    
  17  norm          2.5512        2.3966        .63878E-03   -1.5676    
  18  Prefactor     .15543E-08    20.484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0188        .21388        .87406E-01   -.92405    
  20  Prefactor     .95483        .86374E-01    .45701E-01   -.94251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.84177e-07
Minuit parameter uncertainties:
  1  0.39094
  2  0.00216409
  3  46.3643
  4  2.95228e-05
  5  4.45184
  6  9.50129e-05
  7  9.98189
  8  2.81789
  9  0.000741747
  10  1.58359
  11  4.22746e-05
  12  5.69606
  13  0.00178653
  14  12.469
  15  0.00130914
  16  7.24377
  17  2.39664
  18  0.00035627
  19  0.214065
  20  0.0863865
Done.

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

Extracting fit parameters...

4FGL J0814.2-1013
   Spectrum: PowerLaw
279    Prefactor:  1.110e-10  4.227e-05  0.000e+00  1.000e+06 ( 1.000e-13)
280        Index:  2.113e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.815e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  9.548e-01  8.639e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.019e+00  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 123.551 -10.217
Photon Flux Upper Limit: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/829936/likelihoodResults_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.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) = 6902.4463785
delta logL = -0.000154012556777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6902.4462291
delta logL = -4.61657873529e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6902.446     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      242 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.8082        .42118E-03** at limit **
   2  Index         2.3287        1.7523       -.28690E-04     .0000    
   3  Normalizat    1.0188        1.2674       -.99024E-05   -.87240E-04
   4  Prefactor     .95483        1.2967        .52447E-05   -.16691E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.32871
  Normalizat = 1.01876
  Prefactor  = 0.954834
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6902.446     FROM HESSE     STATUS=FAILED         9 CALLS      251 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.8082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .60531        1.9638       -.28690E-04   -.56363    
   3  Normalizat    1.0188        1.2674       -.99024E-05   -.92405    
   4  Prefactor     .95483        1.2967        .52447E-05   -.94251    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.02397e-11
Minuit parameter uncertainties:
  1  1.11648e-06
  2  1.80679
  3  1.30822
  4  1.343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829936': 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): 101
logL (Free Index) = 6902.44622449
delta logL = 6.36646291241e-12

Extracting fit parameters...

4FGL J0814.2-1013
   Spectrum: PowerLaw
279    Prefactor:  0.000e+00  1.116e-06  0.000e+00  1.000e+06 ( 1.000e-13)
280        Index:  2.329e+00  1.807e+00  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.815e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  9.548e-01  1.343e+00  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.019e+00  1.308e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 123.551 -10.217

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/829936/cmap_HighResolution_699667201_699926401_4FGL_J0814.2-1013_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2023-03-08 00:34:33.182267', job_id='829936', GAL2='0.95', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1678264473.18', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='6.37e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1776' AND source_name='4FGL J0814.2-1013' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:34:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0175>
Subject: Job 829936: <4FGL_J0814.2-1013_daily_bin1776> in cluster <slac> Done

Job <4FGL_J0814.2-1013_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:25:20 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:25:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:25:21 2023
Terminated at Wed Mar  8 00:34:34 2023
Results reported at Wed Mar  8 00:34:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0814.2-1013_daily_bin1776 123.551 -10.2172 699667201 699926401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0814.2-1013 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   480.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   552 sec.
    Turnaround time :                            554 sec.

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

