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


Performing analysis on: 4FGL_J1051.6+2109_daily_bin1710
RA = 162.913, Dec = 21.1651
tmin = 682560001, tmax = 682819201
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='96174', job_status='RUN', time_executed='2022-09-16 15:32:33.245296', time_epoch_executed='1663367553.25' WHERE source_name='4FGL J1051.6+2109' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96174

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96174/ft1_4FGL_J1051.6+2109_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96174/ft1_4FGL_J1051.6+2109_daily_bin1710.fits outfile=/scratch/kocevski/96174/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1710.fits ra=162.913 dec=21.1651 rad=12.0 tmin=682560001.0 tmax=682819201.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.70
user 3.41
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.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/96174/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/96174/ft1_filtered_4FGL_J1051.6+2109_daily_bin1710.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.33
sys 0.18

Number of photons that the gtmktime cut: 505

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/96174/ft1_filtered_4FGL_J1051.6+2109_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/96174/ltcube_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.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/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.fits
.....................!
real 14.95
user 14.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96174/ft1_filtered_4FGL_J1051.6+2109_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/96174/ltcube_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.fits outfile=/scratch/kocevski/96174/expmap_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.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/96174/ltcube_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.fits
.....................!
real 192.44
user 186.07
sys 5.48

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/96174/ft1_filtered_4FGL_J1051.6+2109_daily_bin1710.fits scfile=/scratch/kocevski/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.fits outfile=/scratch/kocevski/96174/cmap_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96174/ft1_filtered_4FGL_J1051.6+2109_daily_bin1710.fits scfile=/scratch/kocevski/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.fits outfile=/scratch/kocevski/96174/cmap_HighResolution_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.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.59
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/96174/ft1_filtered_4FGL_J1051.6+2109_daily_bin1710.fits', '/scratch/kocevski/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.fits', expMap='/scratch/kocevski/96174/expmap_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.fits', expCube='/scratch/kocevski/96174/ltcube_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/96174/Model_4FGL_J1051.6+2109_daily_bin1710.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/96174/ft1_filtered_4FGL_J1051.6+2109_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/96174/ft2_4FGL_J1051.6+2109_daily_bin1710.fits
Exposure map: /scratch/kocevski/96174/expmap_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.fits
Exposure cube: /scratch/kocevski/96174/ltcube_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/96174/Model_4FGL_J1051.6+2109_daily_bin1710.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) = 5818.91461671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.904       1.0000          .0000       .10000E+07
     2 'Prefactor '    55.238       1.0000          .0000       .10000E+07
     3 'Prefactor '    14.498       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.7837       1.0000          .0000       .10000E+07
     5 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    14.137       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.7818       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.5008       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11331E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18558E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.0476       1.0000          .0000       .10000E+07
    12 'norm      '    1.8846       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23204E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.193       1.0000          .0000       .10000E+07
    15 'norm      '    .61231E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13674E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1309       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5818.901     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1290 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.910        3.5339        .18576E-06   -.59013E-01
   2  Prefactor     55.064        29.532       -.34164E-06    .27235E-01
   3  Prefactor     14.705        25.225        .54293E-06   -.32008E-02
   4  Prefactor     7.7174        7.3746       -.47130E-06   -.67843E-02
   5  Prefactor      .0000        1.2532       -.12892E-06** at limit **
   6  Prefactor     14.124        8.3107       -.36610E-06   -.22815E-01
   7  Prefactor     1.8871        7.5390        .43610E-06   -.20111E-02
   8  Prefactor     7.4598        7.5054        .13090E-06   -.46675E-01
   9  Prefactor      .0000        4.9589        .59453E-06** at limit **
  10  Prefactor      .0000        3.3071        .52063E-06** at limit **
  11  Prefactor     9.0711        2.6166       -.15942E-06    .14413E-01
  12  norm          1.8848        1.3566        .74437E-07    .11529E-03
  13  Prefactor      .0000        .88413        .19448E-06** at limit **
  14  Prefactor     11.220        7.9139       -.65630E-06   -.29468E-01
  15  norm          .11102E-09    17.533        .16221E-07** at limit **
  16  Prefactor      .0000        10.869        .45367E-06** at limit **
  17  Normalizat    1.1308        .20327        .13230E-04    .38560E-04
  18  Prefactor     .80445        .19979       -.77299E-05    .76850E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 34.9098
  Prefactor  = 55.0639
  Prefactor  = 14.7045
  Prefactor  = 7.71741
  Prefactor  = 0
  Prefactor  = 14.1241
  Prefactor  = 1.88712
  Prefactor  = 7.45976
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 9.07108
  norm       = 1.88485
  Prefactor  = 0
  Prefactor  = 11.2199
  norm       = 1.11022e-10
  Prefactor  = 0
  Normalizat = 1.13083
  Prefactor  = 0.804447
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.901     FROM HESSE     STATUS=OK           286 CALLS     1576 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.910        12.598        .16928E-03   -1.5590    
   2  Prefactor     55.064        40.607        .13456E-03   -1.5560    
   3  Prefactor     14.705        40.300        .26278E-03   -1.5631    
   4  Prefactor     7.7174        7.3946        .35918E-03   -1.5652    
   5  Prefactor      .0000        1.2462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.124        8.5200        .26614E-03   -1.5633    
   7  Prefactor     1.8871        8.9368        .78368E-03   -1.5680    
   8  Prefactor     7.4598        25.965        .36595E-03   -1.5653    
   9  Prefactor      .0000        4.9571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.3077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.0711        11.913        .33297E-03   -1.5648    
  12  norm          1.8848        1.3648        .75788E-03   -1.5681    
  13  Prefactor      .0000        .88283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.220        8.2913        .29921E-03   -1.5641    
  15  norm          .11102E-09    17.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        10.860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1308        .17517        .53163E-01   -.88768    
  18  Prefactor     .80445        .17205        .62782E-01   -.99565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43734e-07
Minuit parameter uncertainties:
  1  12.5982
  2  40.6077
  3  40.3009
  4  7.39462
  5  1.41329e-06
  6  8.52001
  7  8.21339
  8  25.9658
  9  8.11733e-06
  10  9.39896e-08
  11  11.9132
  12  1.36484
  13  8.17726e-07
  14  8.29135
  15  9.32446e-05
  16  9.00319e-06
  17  0.17526
  18  0.172161
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.887e+00  8.213e+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

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  8.044e-01  1.722e-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.131e+00  1.753e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 162.913 21.165
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/96174/likelihoodResults_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.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) = 5818.85365307
delta logL = 0.0476523600128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5818.84992929
delta logL = 0.0513761413167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3938       1.0000          .0000       .10000E+07
     2 'Index     '    2.2285       1.0000          .0000       10.000    
     3 'Normalizat'    1.1338       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79950       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5818.850     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      302 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3942        9.0040        .21958E-04   -.14290E-03
   2  Index         2.2288        1.2987        .17364E-01   -.55861E-05
   3  Normalizat    1.1338        .19638        .23476E-03   -.80968E-04
   4  Prefactor     .79946        .19961        .27843E-03   -.78316E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.39422
  Index      = 2.22875
  Normalizat = 1.13383
  Prefactor  = 0.799464
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.850     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3942        9.0055        .87831E-06   -1.5671    
   2  Index         2.2288        1.3002        .69456E-03   -.58746    
   3  Normalizat    1.1338        .19655        .93906E-05   -.88673    
   4  Prefactor     .79946        .19971        .11137E-04   -.99748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.73201e-12
Minuit parameter uncertainties:
  1  9.00556
  2  1.32237
  3  0.19668
  4  0.19989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96174': 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) = 5818.84992925
delta logL = 0.0513761817265

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  3.394e+00  9.006e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.229e+00  1.322e+00  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:  7.995e-01  1.999e-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.134e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 162.913 21.165

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/96174/cmap_HighResolution_682560001_682819201_4FGL_J1051.6+2109_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.64e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-09-16 15:41:19.263732', job_id='96174', GAL2='0.80', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1663368079.26', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='5.14e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='1710' AND source_name='4FGL J1051.6+2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:41:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 96174: <4FGL_J1051.6+2109_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1051.6+2109_daily_bin1710> 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) <bullet0259>, 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:41:20 2022
Results reported at Fri Sep 16 15:41:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+2109_daily_bin1710 162.913 21.1651 682560001 682819201 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 :                                   526.48 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             359.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   586 sec.
    Turnaround time :                            658 sec.

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

