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


Performing analysis on: 4FGL_J1051.6+2109_daily_bin1751
RA = 162.913, Dec = 21.1651
tmin = 693187201, tmax = 693446401
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='75190', job_status='RUN', time_executed='2022-12-23 00:32:06.401292', time_epoch_executed='1671784326.4' WHERE source_name='4FGL J1051.6+2109' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75190

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75190/ft1_4FGL_J1051.6+2109_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75190/ft2_4FGL_J1051.6+2109_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75190/ft1_4FGL_J1051.6+2109_daily_bin1751.fits outfile=/scratch/kocevski/75190/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1751.fits ra=162.913 dec=21.1651 rad=12.0 tmin=693187201.0 tmax=693446401.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.63
user 3.40
sys 0.21

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

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

Number of photons that the gtmktime cut: 519

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75190/ft1_filtered_4FGL_J1051.6+2109_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75190/ft2_4FGL_J1051.6+2109_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/75190/ltcube_693187201_693446401_4FGL_J1051.6+2109_daily_bin1751.fits outfile=/scratch/kocevski/75190/expmap_693187201_693446401_4FGL_J1051.6+2109_daily_bin1751.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/75190/ltcube_693187201_693446401_4FGL_J1051.6+2109_daily_bin1751.fits
.....................!
real 192.08
user 186.56
sys 5.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 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/75190/ft1_filtered_4FGL_J1051.6+2109_daily_bin1751.fits scfile=/scratch/kocevski/75190/ft2_4FGL_J1051.6+2109_daily_bin1751.fits outfile=/scratch/kocevski/75190/cmap_693187201_693446401_4FGL_J1051.6+2109_daily_bin1751.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75190/ft1_filtered_4FGL_J1051.6+2109_daily_bin1751.fits scfile=/scratch/kocevski/75190/ft2_4FGL_J1051.6+2109_daily_bin1751.fits outfile=/scratch/kocevski/75190/cmap_HighResolution_693187201_693446401_4FGL_J1051.6+2109_daily_bin1751.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3386       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.370       1.0000          .0000       .10000E+07
     3 'Prefactor '    40.427       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.6244       1.0000          .0000       .10000E+07
     5 'Prefactor '    .54956E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.5139       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.876       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68029E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.6238       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27048E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35523E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .35050E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1240       1.0000          .0000       .10000E+07
    14 'Prefactor '    .33057E-06   1.0000          .0000       .10000E+07
    15 'norm      '    8.6549       1.0000          .0000       .10000E+07
    16 'Prefactor '    .38534E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .90449       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0489       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=   5806.733     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1299 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3408        3.5726        .14448E-06    .58824E-03
   2  Prefactor     17.526        14.662       -.36601E-07    .18788    
   3  Prefactor     40.105        54.223       -.16064E-06    .73185E-01
   4  Prefactor     8.6605        7.9611       -.24228E-09    .25860E-01
   5  Prefactor      .0000        .81413       -.11001E-06** at limit **
   6  Prefactor     9.4773        6.9123        .46654E-07    .21897E-02
   7  Prefactor     18.877        11.006       -.83189E-07   -.98152E-01
   8  Prefactor     .45519E-08    14.462        .62062E-06** at limit **
   9  Prefactor     6.6754        7.9140       -.65310E-08    .12243E-01
  10  Prefactor     .51625E-08    9.8730       -.14906E-05** at limit **
  11  Prefactor     .29976E-08    5.3977       -.88846E-06** at limit **
  12  norm           .0000        .63592        .17888E-06** at limit **
  13  Prefactor     3.1199        2.9967       -.31785E-07    .16768E-03
  14  Prefactor      .0000        2.3967       -.43656E-06** at limit **
  15  norm          8.6531        2.3219       -.21947E-07    .66152E-02
  16  Prefactor     .30531E-08    4.9140       -.24147E-06** at limit **
  17  Normalizat    .90443        .20972        .66054E-05    .29981E-04
  18  Prefactor     1.0488        .21278       -.53128E-05    .71294E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.34081
  Prefactor  = 17.5259
  Prefactor  = 40.105
  Prefactor  = 8.66047
  Prefactor  = 0
  Prefactor  = 9.47728
  Prefactor  = 18.8771
  Prefactor  = 4.55191e-09
  Prefactor  = 6.67535
  Prefactor  = 5.16254e-09
  Prefactor  = 2.9976e-09
  norm       = 0
  Prefactor  = 3.1199
  Prefactor  = 0
  norm       = 8.65307
  Prefactor  = 3.05311e-09
  Normalizat = 0.904431
  Prefactor  = 1.0488
 **********
 **   18 **HESSE 
 **********

 FCN=   5806.733     FROM HESSE     STATUS=OK           280 CALLS     1579 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3408        3.5702        .55368E-03   -1.5671    
   2  Prefactor     17.526        30.845        .24004E-03   -1.5624    
   3  Prefactor     40.105        61.142        .15729E-03   -1.5581    
   4  Prefactor     8.6605        8.0439        .34109E-03   -1.5649    
   5  Prefactor      .0000        .81430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4773        6.9117        .32466E-03   -1.5646    
   7  Prefactor     18.877        11.146        .23025E-03   -1.5621    
   8  Prefactor     .45519E-08    14.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.6754        7.9754        .38967E-03   -1.5656    
  10  Prefactor     .51625E-08    9.8509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .29976E-08    5.3994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .62701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.1199        2.9987        .57337E-03   -1.5673    
  14  Prefactor      .0000        2.4010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.6531        12.759        .34049E-03   -1.5649    
  16  Prefactor     .30531E-08    4.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .90443        .17991        .44959E-01   -.96305    
  18  Prefactor     1.0488        .18296        .39972E-01   -.91120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52897e-06
Minuit parameter uncertainties:
  1  3.57024
  2  30.8455
  3  61.1432
  4  8.04394
  5  1.44236e-06
  6  6.91166
  7  11.1463
  8  0.000514234
  9  7.97542
  10  0.000450945
  11  0.000255602
  12  2.82799e-06
  13  2.99868
  14  1.19808e-06
  15  12.7587
  16  0.000243912
  17  0.180034
  18  0.183068
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.888e+01  1.115e+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:  1.049e+00  1.831e-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.044e-01  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.54
Ra Dec: 162.913 21.165
Photon Index (Fixed Index): 2.77 +/- 0.00
Photon Flux (Fixed Index): 9.56e-08 +/- 5.64e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 1.29e-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) = 5805.55369334
delta logL = 1.17976900183

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5805.54744169
delta logL = 1.18602064777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1475       1.0000          .0000       .10000E+07
     2 'Index     '    4.0860       1.0000          .0000       10.000    
     3 'Normalizat'    .82201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1182       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=   5805.547     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      279 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1462        15.338        .78373E-05   -.85686E-02
   2  Index         4.0862        1.8787        .45809E-02   -.19552E-03
   3  Normalizat    .82201        .20881        .25433E-03   -.62882E-03
   4  Prefactor     1.1182        .22015        .23860E-03   -.64347E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.14625
  Index      = 4.08616
  Normalizat = 0.822013
  Prefactor  = 1.11817
 **********
 **   18 **HESSE 
 **********

 FCN=   5805.547     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1462        8.5835        .31349E-06   -1.5658    
   2  Index         4.0862        1.0690        .18324E-03   -.18380    
   3  Normalizat    .82201        .20794        .50865E-04   -.99257    
   4  Prefactor     1.1182        .21800        .47719E-04   -.88888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.50188e-10
Minuit parameter uncertainties:
  1  8.58348
  2  1.0776
  3  0.208143
  4  0.218175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75190': 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) = 5805.54744167
delta logL = 1.18602066798

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  6.146e+00  8.583e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  4.086e+00  1.078e+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.118e+00  2.182e-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:  8.220e-01  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.47
Ra Dec: 162.913 21.165
Photon Index (Free Index): 4.09 +/- 1.08
Photon Flux (Free Index): 1.51e-07 +/- 6.98e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.04e-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/75190/cmap_HighResolution_693187201_693446401_4FGL_J1051.6+2109_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.56e-08', energy_flux2='2.23e-05', photon_flux_error='5.64e-08', dlogl='1.19e+00', energy_flux='2.18e-05', photon_flux2='1.51e-07', job_status='DONE', time_completed='2022-12-23 00:40:23.405820', photon_index_error2='1.08', photon_index2='4.09', ts='4.54', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.04e-05', EG='0.90', time_epoch_completed='1671784823.41', return_code='0', job_id='75190', GAL2='1.12', EG2='0.82', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='6.98e-08', ts2='7.47', photon_index='2.77' WHERE bin_id='1751' AND source_name='4FGL J1051.6+2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:40:23 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 75190: <4FGL_J1051.6+2109_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1051.6+2109_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 00:30:21 2022
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:30:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:30:22 2022
Terminated at Fri Dec 23 00:40:24 2022
Results reported at Fri Dec 23 00:40:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+2109_daily_bin1751 162.913 21.1651 693187201 693446401 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 :                                   499.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            603 sec.

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

