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


Performing analysis on: 4FGL_J1051.4-3139_daily_bin1748
RA = 162.85, Dec = -31.6507
tmin = 692409601, tmax = 692668801
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='883170', job_status='RUN', time_executed='2022-12-14 00:32:53.253141', time_epoch_executed='1671006773.25' WHERE source_name='4FGL J1051.4-3139' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883170

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883170/ft1_4FGL_J1051.4-3139_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883170/ft1_4FGL_J1051.4-3139_daily_bin1748.fits outfile=/scratch/kocevski/883170/ft1_filteredMKT_4FGL_J1051.4-3139_daily_bin1748.fits ra=162.85 dec=-31.6507 rad=12.0 tmin=692409601.0 tmax=692668801.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.56
user 3.34
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.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/883170/ft1_filteredMKT_4FGL_J1051.4-3139_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1069

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/883170/ltcube_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.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/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits
.....................!
real 11.94
user 11.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/883170/ltcube_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.fits outfile=/scratch/kocevski/883170/expmap_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.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/883170/ltcube_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.fits
.....................!
real 189.85
user 185.15
sys 4.18

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

Setting source of interest to:
4FGL J1051.4-3139 @ 162.85 -31.6507

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits scfile=/scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits outfile=/scratch/kocevski/883170/cmap_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.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=162.85 yref=-31.6507 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits scfile=/scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits outfile=/scratch/kocevski/883170/cmap_HighResolution_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.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=162.85 yref=-31.6507 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/883170/Model_4FGL_J1051.4-3139_daily_bin1748.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/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits.....................!
real 104.32
user 102.82
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits', '/scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits', expMap='/scratch/kocevski/883170/expmap_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.fits', expCube='/scratch/kocevski/883170/ltcube_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/883170/Model_4FGL_J1051.4-3139_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.4-3139'

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  1.422e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.716e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/883170/ft1_filtered_4FGL_J1051.4-3139_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/883170/ft2_4FGL_J1051.4-3139_daily_bin1748.fits
Exposure map: /scratch/kocevski/883170/expmap_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.fits
Exposure cube: /scratch/kocevski/883170/ltcube_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/883170/Model_4FGL_J1051.4-3139_daily_bin1748.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) = 11227.9518924

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10039E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26740E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .43855E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .59895E-04   1.0000          .0000       .10000E+07
     5 'norm      '    13.993       1.0000          .0000       .10000E+07
     6 'Prefactor '    .24678E-05   1.0000          .0000       .10000E+07
     7 'norm      '    2.6178       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.571       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13837E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .33331E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.9295       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.306       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2188       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.3392       1.0000          .0000       .10000E+07
    15 'Normalizat'    .97522       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0252       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11227.90     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      882 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88818E-09    3.3357        .37462E-06** at limit **
   2  Prefactor     .55345E-07    2.1841        .11240E-05** at limit **
   3  Prefactor     .17142E-06    3.4853       -.18840E-05** at limit **
   4  norm           .0000        2.6239        .12294E-05** at limit **
   5  norm          13.892        6.4037       -.15533E-06   -.14196E-01
   6  Prefactor     .44048E-06    5.2029       -.19597E-05** at limit **
   7  norm          2.6183        2.2688       -.23881E-07    .49331E-03
   8  Prefactor     13.617        1.5571        .12215E-06    .33192E-02
   9  Prefactor     .19817E-05    9.6015        .10881E-05** at limit **
  10  Prefactor     .16825E-06    6.9192        .13548E-05** at limit **
  11  Prefactor     7.9116        5.2552        .23862E-07    .34225E-02
  12  Prefactor     11.285        6.2428       -.18237E-07   -.10689E-02
  13  Prefactor     1.2085        7.8979       -.79886E-07    .62980E-04
  14  Prefactor     9.3025        19.204       -.49682E-05    .69508E-01
  15  Normalizat    .97543        .20994       -.24672E-05   -.37909E-03
  16  Prefactor     1.0253        .10011        .16868E-05   -.83808E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.88178e-10
  Prefactor  = 5.53446e-08
  Prefactor  = 1.71418e-07
  norm       = 0
  norm       = 13.8923
  Prefactor  = 4.40481e-07
  norm       = 2.61826
  Prefactor  = 13.6168
  Prefactor  = 1.98169e-06
  Prefactor  = 1.68254e-07
  Prefactor  = 7.91163
  Prefactor  = 11.285
  Prefactor  = 1.20854
  Prefactor  = 9.30247
  Normalizat = 0.975431
  Prefactor  = 1.0253
 **********
 **   18 **HESSE 
 **********

 FCN=   11227.90     FROM HESSE     STATUS=OK           241 CALLS     1123 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88818E-09    3.3933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55345E-07    4.1093        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .17142E-06    3.8187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        4.7304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          13.892        6.4125        .26750E-03   -1.5633    
   6  Prefactor     .44048E-06    5.8749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.6183        2.3261        .63013E-03   -1.5676    
   8  Prefactor     13.617        13.359        .27164E-03   -1.5634    
   9  Prefactor     .19817E-05    1.9338        .50286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16825E-06    7.2268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.9116        5.2492        .35583E-03   -1.5652    
  12  Prefactor     11.285        6.2467        .29770E-03   -1.5641    
  13  Prefactor     1.2085        7.8608        .10218E-02   -1.5686    
  14  Prefactor     9.3025        29.885        .32770E-03   -1.5647    
  15  Normalizat    .97543        .18224        .79094E-01   -.93858    
  16  Prefactor     1.0253        .85099E-01    .41655E-01   -.91891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83209e-06
Minuit parameter uncertainties:
  1  0.000108819
  2  0.000953585
  3  0.00161822
  4  2.08414e-05
  5  6.41246
  6  0.00321739
  7  2.32615
  8  13.3587
  9  0.00391513
  10  0.00220543
  11  5.24917
  12  6.24667
  13  6.16445
  14  29.8857
  15  0.18236
  16  0.0851098
Done.

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

Extracting fit parameters...

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  1.683e-07  2.205e-03  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.716e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.025e+00  8.511e-02  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.754e-01  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 162.850 -31.651
Photon Flux Upper Limit: 7.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/883170/likelihoodResults_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.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) = 11227.9004491
delta logL = -0.00058992526283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11227.8998606
delta logL = -1.43943725561e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20167E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.4607       1.0000          .0000       10.000    
     3 'Normalizat'    .97513       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0255       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+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=   11227.55     FROM MIGRAD    STATUS=CONVERGED    203 CALLS      413 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13778E-03    .22464E-03    .18933E-05** at limit **
   2  Index        10.0000        6.3852        .50000    ** at limit **
   3  Normalizat    .94101        .20748        .35582E-03    .81793E-05
   4  Prefactor     1.0365        .10056        .16626E-03    .20376E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000137784
  Index      = 10
  Normalizat = 0.941007
  Prefactor  = 1.0365
 **********
 **   18 **HESSE 
 **********

 FCN=   11227.55     FROM HESSE     STATUS=OK            29 CALLS      442 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13778E-03    .21448E-03    .37865E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        6.2773        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .94101        .20786        .14233E-04   -.95034    
   4  Prefactor     1.0365        .10069        .66506E-05   -.91523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.96809e-09
Minuit parameter uncertainties:
  1  0.000214478
  2  1.18633e-05
  3  0.208043
  4  0.100711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883170': 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) = 11227.5487989
delta logL = 0.35106033422

Extracting fit parameters...

4FGL J1051.4-3139
   Spectrum: PowerLaw
294    Prefactor:  1.378e-04  2.145e-04  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  1.000e+01  1.186e-05  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  5.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.037e+00  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.410e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 162.850 -31.651

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/883170/cmap_HighResolution_692409601_692668801_4FGL_J1051.4-3139_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2022-12-14 00:44:30.649881', job_id='883170', GAL2='1.04', fit_tolerance='1e-08', EG2='0.94', EG='0.98', time_epoch_completed='1671007470.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.51e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1748' AND source_name='4FGL J1051.4-3139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:44:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 883170: <4FGL_J1051.4-3139_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1051.4-3139_daily_bin1748> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec 14 00:30:14 2022
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:30:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:30:15 2022
Terminated at Wed Dec 14 00:44:31 2022
Results reported at Wed Dec 14 00:44:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.4-3139_daily_bin1748 162.85 -31.6507 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1051.4-3139 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   699.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

