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


Performing analysis on: 4FGL_J1051.6+2109_daily_bin1711
RA = 162.913, Dec = 21.1651
tmin = 682819201, tmax = 683078401
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='96176', job_status='RUN', time_executed='2022-09-16 15:33:01.603671', time_epoch_executed='1663367581.6' WHERE source_name='4FGL J1051.6+2109' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/96176

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/96176/ft1_4FGL_J1051.6+2109_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/96176/ft2_4FGL_J1051.6+2109_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/96176/ft1_4FGL_J1051.6+2109_daily_bin1711.fits outfile=/scratch/kocevski/96176/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1711.fits ra=162.913 dec=21.1651 rad=12.0 tmin=682819201.0 tmax=683078401.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 5.12
user 4.31
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/96176/ft2_4FGL_J1051.6+2109_daily_bin1711.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/96176/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/96176/ft1_filtered_4FGL_J1051.6+2109_daily_bin1711.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.50
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 508

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/96176/ft1_filtered_4FGL_J1051.6+2109_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/96176/ft2_4FGL_J1051.6+2109_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/96176/ltcube_682819201_683078401_4FGL_J1051.6+2109_daily_bin1711.fits outfile=/scratch/kocevski/96176/expmap_682819201_683078401_4FGL_J1051.6+2109_daily_bin1711.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/96176/ltcube_682819201_683078401_4FGL_J1051.6+2109_daily_bin1711.fits
.....................!
real 191.74
user 186.22
sys 4.92

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/96176/ft1_filtered_4FGL_J1051.6+2109_daily_bin1711.fits scfile=/scratch/kocevski/96176/ft2_4FGL_J1051.6+2109_daily_bin1711.fits outfile=/scratch/kocevski/96176/cmap_682819201_683078401_4FGL_J1051.6+2109_daily_bin1711.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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/96176/ft1_filtered_4FGL_J1051.6+2109_daily_bin1711.fits scfile=/scratch/kocevski/96176/ft2_4FGL_J1051.6+2109_daily_bin1711.fits outfile=/scratch/kocevski/96176/cmap_HighResolution_682819201_683078401_4FGL_J1051.6+2109_daily_bin1711.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.60
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.388       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18467E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    83.273       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8990       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20703E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    23.917       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2165       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11256E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19398E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18963E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21909E-02   1.0000          .0000       .10000E+07
    12 'norm      '    2.0304       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25896E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    8.3275       1.0000          .0000       .10000E+07
    15 'norm      '    .44176E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2896       1.0000          .0000       .10000E+07
    17 'Normalizat'    .90970       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3985       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=   5833.954     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1314 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.419        13.275        .48387E-07   -.11861E-01
   2  Prefactor      .0000        20.592        .15309E-06** at limit **
   3  Prefactor     87.093        89.544       -.15073E-07    .11773E-02
   4  Prefactor     1.8173        8.9489        .12755E-06   -.10338E-02
   5  Prefactor      .0000        1.1513        .72169E-07** at limit **
   6  Prefactor     23.945        2.8206       -.60058E-08   -.47520E-01
   7  Prefactor     1.2485        17.092        .11453E-05   -.39635E-03
   8  Prefactor     .55511E-10    13.557       -.42559E-07** at limit **
   9  Prefactor     .49960E-09    7.7543        .15976E-06** at limit **
  10  Prefactor     .55511E-10    4.3965        .94831E-07** at limit **
  11  Prefactor     .55511E-10    5.8313        .15255E-06** at limit **
  12  norm          2.0323        1.5119       -.83415E-08    .34653E-03
  13  Prefactor      .0000        1.1844       -.34210E-07** at limit **
  14  Prefactor     8.3509        7.6687       -.30472E-07    .14227E-02
  15  norm           .0000        4.2485        .74336E-07** at limit **
  16  Prefactor     3.3321        2.1315       -.43218E-07   -.98061E-02
  17  Normalizat    .90854        .25240       -.17109E-05   -.47428E-06
  18  Prefactor     1.3987        .25620        .27299E-06    .76778E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 27.4192
  Prefactor  = 0
  Prefactor  = 87.093
  Prefactor  = 1.81731
  Prefactor  = 0
  Prefactor  = 23.9454
  Prefactor  = 1.2485
  Prefactor  = 5.55112e-11
  Prefactor  = 4.996e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 2.03232
  Prefactor  = 0
  Prefactor  = 8.35092
  norm       = 0
  Prefactor  = 3.33214
  Normalizat = 0.908539
  Prefactor  = 1.3987
 **********
 **   18 **HESSE 
 **********

 FCN=   5833.954     FROM HESSE     STATUS=OK           282 CALLS     1596 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.419        13.859        .19112E-03   -1.5603    
   2  Prefactor      .0000        20.627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     87.093        88.853        .10959E-03   -1.5521    
   4  Prefactor     1.8173        9.0509        .75449E-03   -1.5681    
   5  Prefactor      .0000        1.1473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.945        12.092        .20452E-03   -1.5610    
   7  Prefactor     1.2485        17.251        .10235E-02   -1.5686    
   8  Prefactor     .55511E-10    13.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .49960E-09    7.7888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    4.3948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.8470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0323        1.5267        .72572E-03   -1.5679    
  13  Prefactor      .0000        1.1806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.3509        7.9169        .34716E-03   -1.5650    
  15  norm           .0000        4.2459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.3321        11.876        .55799E-03   -1.5671    
  17  Normalizat    .90854        .21499        .66049E-01   -.96161    
  18  Prefactor     1.3987        .21076        .57631E-01   -.80418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55225e-06
Minuit parameter uncertainties:
  1  13.8587
  2  2.60892e-05
  3  88.854
  4  8.11131
  5  2.30157e-06
  6  12.0916
  7  9.28189
  8  4.29573e-05
  9  0.000126542
  10  2.72516e-05
  11  3.6594e-05
  12  1.52666
  13  5.76914e-07
  14  7.91695
  15  1.07105e-05
  16  11.8757
  17  0.215195
  18  0.210887
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.248e+00  9.282e+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:  1.399e+00  2.109e-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:  9.085e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/96176/likelihoodResults_682819201_683078401_4FGL_J1051.6+2109_daily_bin1711.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) = 5833.95308948
delta logL = 0.00071698578904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5833.95302701
delta logL = 0.000779455703196

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3426       1.0000          .0000       .10000E+07
     2 'Index     '    2.6596       1.0000          .0000       10.000    
     3 'Normalizat'    .90932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3981       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5833.953     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      288 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3548        18.797        .18905E-03    .43579E-02
   2  Index         2.6656        2.5231        .19792E-01   -.31621E-05
   3  Normalizat    .90898        .24321        .29210E-03   -.10431E-04
   4  Prefactor     1.3982        .25496        .25487E-03    .23641E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.35485
  Index      = 2.66559
  Normalizat = 0.908976
  Prefactor  = 1.39823
 **********
 **   18 **HESSE 
 **********

 FCN=   5833.953     FROM HESSE     STATUS=OK            27 CALLS      315 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3548        17.302        .37810E-04   -1.5685    
   2  Index         2.6656        2.4376        .79167E-03   -.48576    
   3  Normalizat    .90898        .24356        .11684E-04   -.96145    
   4  Prefactor     1.3982        .25523        .10195E-04   -.80431    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.89943e-12
Minuit parameter uncertainties:
  1  9.68331
  2  2.58185
  3  0.243854
  4  0.255459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/96176': 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) = 5833.95302133
delta logL = 0.000785138670835

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.355e+00  9.683e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.666e+00  2.582e+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:  1.398e+00  2.555e-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:  9.090e-01  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/96176/cmap_HighResolution_682819201_683078401_4FGL_J1051.6+2109_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.57e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2022-09-16 15:41:45.832949', job_id='96176', GAL2='1.40', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1663368105.83', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.40', dlogl='7.85e-04', ts2='0.02', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='1711' AND source_name='4FGL J1051.6+2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:41:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 96176: <4FGL_J1051.6+2109_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1051.6+2109_daily_bin1711> 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) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:31:35 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:35 2022
Terminated at Fri Sep 16 15:41:46 2022
Results reported at Fri Sep 16 15:41:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+2109_daily_bin1711 162.913 21.1651 682819201 683078401 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.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            684 sec.

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

