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


Performing analysis on: 4FGL_J1051.6+2109_daily_bin1709
RA = 162.913, Dec = 21.1651
tmin = 682300801, tmax = 682560001
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='96173', job_status='RUN', time_executed='2022-09-16 15:34:53.324896', time_epoch_executed='1663367693.32' WHERE source_name='4FGL J1051.6+2109' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96173

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96173/ft1_4FGL_J1051.6+2109_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96173/ft1_4FGL_J1051.6+2109_daily_bin1709.fits outfile=/scratch/kocevski/96173/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1709.fits ra=162.913 dec=21.1651 rad=12.0 tmin=682300801.0 tmax=682560001.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.83
user 3.61
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.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/96173/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.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.53
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 540

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/96173/ltcube_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.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/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits
.....................!
real 15.55
user 15.11
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/96173/ltcube_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.fits outfile=/scratch/kocevski/96173/expmap_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.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/96173/ltcube_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.fits
.....................!
real 192.63
user 187.47
sys 4.79

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

Setting source of interest to:
4FGL J1051.6+2109 @ 162.913 21.1651

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.fits scfile=/scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits outfile=/scratch/kocevski/96173/cmap_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.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.913 yref=21.1651 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.59
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.fits scfile=/scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits outfile=/scratch/kocevski/96173/cmap_HighResolution_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.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.913 yref=21.1651 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/96173/Model_4FGL_J1051.6+2109_daily_bin1709.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/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.fits....................!
real 58.03
user 56.65
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.fits', '/scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits', expMap='/scratch/kocevski/96173/expmap_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.fits', expCube='/scratch/kocevski/96173/ltcube_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/96173/Model_4FGL_J1051.6+2109_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.6+2109'

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.594e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/96173/ft1_filtered_4FGL_J1051.6+2109_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/96173/ft2_4FGL_J1051.6+2109_daily_bin1709.fits
Exposure map: /scratch/kocevski/96173/expmap_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.fits
Exposure cube: /scratch/kocevski/96173/ltcube_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/96173/Model_4FGL_J1051.6+2109_daily_bin1709.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) = 6177.38721007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.843       1.0000          .0000       .10000E+07
     2 'Prefactor '    .69730E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    72.283       1.0000          .0000       .10000E+07
     4 'Prefactor '    18.387       1.0000          .0000       .10000E+07
     5 'Prefactor '    .51975E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    17.587       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.480       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.115       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15066E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    15.887       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12248E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .80074       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27323E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.0201       1.0000          .0000       .10000E+07
    15 'norm      '    6.9547       1.0000          .0000       .10000E+07
    16 'Prefactor '    .65919E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0987       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6177.387     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1630 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.862        12.213        .13086E-07    .27778E-03
   2  Prefactor      .0000        10.594       -.99250E-09** at limit **
   3  Prefactor     72.492        79.214        .12408E-06    .99467E-03
   4  Prefactor     18.314        10.818        .13851E-07   -.22601E-03
   5  Prefactor      .0000        1.3290       -.10522E-08** at limit **
   6  Prefactor     17.612        9.6449        .82281E-08   -.28653E-03
   7  Prefactor     23.424        11.690        .13510E-08   -.14344E-04
   8  Prefactor     13.249        44.822        .17729E-07   -.33869E-03
   9  Prefactor      .0000        6.7365        .27977E-08** at limit **
  10  Prefactor     15.884        12.618        .94514E-08    .48049E-04
  11  Prefactor      .0000        5.7715       -.22713E-08** at limit **
  12  norm          .80163        1.1937        .19469E-07   -.14561E-03
  13  Prefactor      .0000        .88057       -.17503E-08** at limit **
  14  Prefactor     5.9566        6.9305        .33301E-06   -.90073E-03
  15  norm          6.9784        10.610        .19744E-07    .99511E-05
  16  Prefactor      .0000        4.6910       -.97309E-08** at limit **
  17  Normalizat    1.0990        .19426       -.71106E-07   -.28505E-04
  18  Prefactor     .95918        .18702       -.10036E-05    .38986E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 26.8617
  Prefactor  = 0
  Prefactor  = 72.4923
  Prefactor  = 18.3141
  Prefactor  = 0
  Prefactor  = 17.6119
  Prefactor  = 23.4244
  Prefactor  = 13.2487
  Prefactor  = 0
  Prefactor  = 15.884
  Prefactor  = 0
  norm       = 0.801633
  Prefactor  = 0
  Prefactor  = 5.95659
  norm       = 6.97838
  Prefactor  = 0
  Normalizat = 1.09898
  Prefactor  = 0.959183
 **********
 **   18 **HESSE 
 **********

 FCN=   6177.387     FROM HESSE     STATUS=OK           250 CALLS     1880 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.862        12.228        .77219E-05   -1.5604    
   2  Prefactor      .0000        10.595        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     72.492        79.248        .23525E-04   -1.5538    
   4  Prefactor     18.314        10.853        .93319E-05   -1.5622    
   5  Prefactor      .0000        1.3319        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.612        9.6746        .95421E-05   -1.5624    
   7  Prefactor     23.424        11.720        .82569E-05   -1.5611    
   8  Prefactor     13.249        45.051        .11053E-04   -1.5635    
   9  Prefactor      .0000        6.7394        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.884        12.633        .10041E-04   -1.5628    
  11  Prefactor      .0000        5.7739        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .80163        1.1818        .99620E-05   -1.5690    
  13  Prefactor      .0000        .88116        .72017E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.9566        6.9354        .81798E-04   -1.5659    
  15  norm          6.9784        10.609        .15207E-04   -1.5655    
  16  Prefactor      .0000        4.6950        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0990        .22849        .25733E-03   -.89785    
  18  Prefactor     .95918        .21696        .27883E-03   -.94103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16386e-10
Minuit parameter uncertainties:
  1  12.2285
  2  1.32398e-06
  3  79.2496
  4  10.8535
  5  1.60017e-07
  6  9.67461
  7  11.7202
  8  45.0525
  9  2.32051e-06
  10  12.633
  11  4.37569e-06
  12  1.18177
  13  1.39336e-07
  14  6.93539
  15  10.6089
  16  7.43804e-06
  17  0.228697
  18  0.21716
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  2.342e+01  1.172e+01  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  9.592e-01  2.172e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.099e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.91
Ra Dec: 162.913 21.165
Photon Index (Fixed Index): 2.77 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 5.93e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.36e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6177.30355326
delta logL = 0.0833019682477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6177.30163824
delta logL = 0.0852169914706

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6177.302     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      261 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.258        276.38        .19527E-03    .36464E-03
   2  Index         2.5224        6.1993        .20464        .64787E-04
   3  Normalizat    1.1211        .13816        .57700E-01    .14052E-04
   4  Prefactor     .94062        .13603        .45522E-01   -.46259E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.2581
  Index      = 2.52236
  Normalizat = 1.12108
  Prefactor  = 0.940623
 **********
 **   18 **HESSE 
 **********

 FCN=   6177.302     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.258        14.011        .78107E-05   -1.5605    
   2  Index         2.5224        .57458        .72566E-02   -.51844    
   3  Normalizat    1.1211        .21922        .25517E-03   -.89078    
   4  Prefactor     .94062        .21946        .28114E-03   -.94736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19485e-11
Minuit parameter uncertainties:
  1  14.011
  2  0.576272
  3  0.219394
  4  0.219666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96173': 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) = 6177.30163287
delta logL = 0.085222355

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  2.626e+01  1.401e+01  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.522e+00  5.763e-01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  9.406e-01  2.197e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.121e+00  2.194e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.04
Ra Dec: 162.913 21.165
Photon Index (Free Index): 2.52 +/- 0.58
Photon Flux (Free Index): 1.03e-07 +/- 6.39e-08
Energy Flux (Free Index): 2.93e-05 +/- 1.63e-05

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/96173/cmap_HighResolution_682300801_682560001_4FGL_J1051.6+2109_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='2.93e-05', photon_flux_error='5.93e-08', dlogl='8.52e-02', energy_flux='2.71e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2022-09-16 15:43:47.717242', photon_index_error2='0.58', photon_index2='2.52', ts='6.91', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.63e-05', EG='1.10', time_epoch_completed='1663368227.72', return_code='0', job_id='96173', GAL2='0.94', EG2='1.12', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='6.39e-08', ts2='7.04', photon_index='2.77' WHERE bin_id='1709' AND source_name='4FGL J1051.6+2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:43:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 96173: <4FGL_J1051.6+2109_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1051.6+2109_daily_bin1709> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:30:22 2022
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:31:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:31:33 2022
Terminated at Fri Sep 16 15:43:48 2022
Results reported at Fri Sep 16 15:43:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+2109_daily_bin1709 162.913 21.1651 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1051.6+2109 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   536.62 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             252.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            806 sec.

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

