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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin1765
RA = 214.029, Dec = 13.347
tmin = 696816001, tmax = 697075201
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='636852', job_status='RUN', time_executed='2023-02-03 01:08:31.534795', time_epoch_executed='1675415311.53' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636852

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636852/ft1_4FGL_J1416.1+1320_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636852/ft1_4FGL_J1416.1+1320_daily_bin1765.fits outfile=/scratch/kocevski/636852/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1765.fits ra=214.029 dec=13.347 rad=12.0 tmin=696816001.0 tmax=697075201.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.76
user 3.51
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.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/636852/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.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: 639

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/636852/ltcube_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.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/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits
.....................!
real 16.69
user 16.14
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/636852/ltcube_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.fits outfile=/scratch/kocevski/636852/expmap_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.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/636852/ltcube_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.fits
.....................!
real 195.70
user 189.48
sys 5.29

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

Setting source of interest to:
4FGL J1416.1+1320 @ 214.029 13.347

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.fits scfile=/scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits outfile=/scratch/kocevski/636852/cmap_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.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=214.029 yref=13.347 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.fits scfile=/scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits outfile=/scratch/kocevski/636852/cmap_HighResolution_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.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=214.029 yref=13.347 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636852/Model_4FGL_J1416.1+1320_daily_bin1765.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/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.fits.....................!
real 54.16
user 52.79
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.fits', '/scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits', expMap='/scratch/kocevski/636852/expmap_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.fits', expCube='/scratch/kocevski/636852/ltcube_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636852/Model_4FGL_J1416.1+1320_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1416.1+1320'

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.909e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/636852/ft1_filtered_4FGL_J1416.1+1320_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/636852/ft2_4FGL_J1416.1+1320_daily_bin1765.fits
Exposure map: /scratch/kocevski/636852/expmap_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.fits
Exposure cube: /scratch/kocevski/636852/ltcube_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636852/Model_4FGL_J1416.1+1320_daily_bin1765.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) = 7193.97151527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99541E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8845       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.7917       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16554E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23059E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    27.220       1.0000          .0000       .10000E+07
     7 'Prefactor '    95.545       1.0000          .0000       .10000E+07
     8 'norm      '    17.660       1.0000          .0000       .10000E+07
     9 'Prefactor '    .36881E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.5848       1.0000          .0000       .10000E+07
    11 'norm      '    .13037E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.774       1.0000          .0000       .10000E+07
    13 'norm      '    4.1084       1.0000          .0000       .10000E+07
    14 'Prefactor '    .24370E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.1516       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24198E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .97274       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1851       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7193.953     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1315 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54401E-08    20.870        .53103E-06** at limit **
   2  Prefactor     8.8895        4.5225        .39588E-06   -.42630E-02
   3  Prefactor     2.7917        3.1714        .11918E-06   -.28891E-03
   4  Prefactor     .27145E-07    7.4668       -.54565E-06** at limit **
   5  Prefactor     .27756E-09    5.6427        .16578E-07** at limit **
   6  Prefactor     27.396        2.5091        .73659E-06   -.24770E-01
   7  Prefactor     96.208        8.3348        .10281E-05   -.14071    
   8  norm          17.445        19.214       -.75719E-05    .61594E-01
   9  Prefactor      .0000        2.5042       -.37311E-06** at limit **
  10  norm          1.5862        1.7592        .10463E-06   -.63911E-03
  11  norm           .0000        2.1044       -.22683E-06** at limit **
  12  Prefactor     12.642        64.580       -.59321E-05   -.59924E-02
  13  norm          3.2777        54.350        .18323E-05    .46830E-03
  14  Prefactor     .12101E-07    6.9354        .85062E-06** at limit **
  15  Prefactor     8.1242        6.6851       -.36486E-05   -.15571    
  16  Prefactor     .11608E-05    73.804       -.56164E-05** at limit **
  17  Normalizat    .97203        .25182        .44746E-05   -.29771E-04
  18  Prefactor     1.1851        .18826        .15417E-04   -.42870E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44009e-09
  Prefactor  = 8.88949
  Prefactor  = 2.7917
  Prefactor  = 2.7145e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 27.3965
  Prefactor  = 96.2081
  norm       = 17.4451
  Prefactor  = 0
  norm       = 1.58621
  norm       = 0
  Prefactor  = 12.642
  norm       = 3.27766
  Prefactor  = 1.21014e-08
  Prefactor  = 8.12424
  Prefactor  = 1.16079e-06
  Normalizat = 0.972026
  Prefactor  = 1.18511
 **********
 **   18 **HESSE 
 **********

 FCN=   7193.953     FROM HESSE     STATUS=OK           280 CALLS     1595 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54401E-08    20.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.8895        4.5324        .33603E-03   -1.5648    
   3  Prefactor     2.7917        3.1719        .60869E-03   -1.5675    
   4  Prefactor     .27145E-07    7.5042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    5.6465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.396        23.332        .19170E-03   -1.5603    
   7  Prefactor     96.208        38.543        .10231E-03   -1.5512    
   8  norm          17.445        22.352        .23806E-03   -1.5624    
   9  Prefactor      .0000        2.5015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5862        1.7630        .84300E-03   -1.5683    
  11  norm           .0000        2.0936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.642        79.841        .30499E-03   -1.5637    
  13  norm          3.2777        67.384        .49711E-03   -1.5672    
  14  Prefactor     .12101E-07    6.9552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1242        12.974        .35092E-03   -1.5651    
  16  Prefactor     .11608E-05    75.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .97203        .21114        .70652E-01   -.93974    
  18  Prefactor     1.1851        .15634        .34993E-01   -.86791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.7061e-07
Minuit parameter uncertainties:
  1  0.000676148
  2  4.53245
  3  3.17188
  4  0.000902459
  5  7.73907e-05
  6  23.3324
  7  38.5435
  8  22.3517
  9  1.03968e-05
  10  1.76301
  11  2.14023e-06
  12  63.5418
  13  29.7232
  14  0.000580475
  15  12.9738
  16  0.018751
  17  0.211321
  18  0.156402
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  9.621e+01  3.854e+01  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.373e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  1.185e+00  1.564e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  9.720e-01  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.67
Ra Dec: 214.029 13.347
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 5.03e-08
Energy Flux (Fixed Index): 4.27e-05 +/- 1.71e-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) = 7193.60427714
delta logL = 0.348923772011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7193.56402799
delta logL = 0.389172919121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    114.50       1.0000          .0000       .10000E+07
     2 'Index     '    2.0366       1.0000          .0000       10.000    
     3 'Normalizat'    1.0116       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1662       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4610E+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=   7193.564     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      281 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     114.49        48.103        .18692E-04   -.30411E-04
   2  Index         2.0366        .36554        .59678E-02    .12499E-03
   3  Normalizat    1.0116        .25559        .30719E-03   -.80012E-04
   4  Prefactor     1.1662        .18715        .21301E-03    .39601E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 114.489
  Index      = 2.03664
  Normalizat = 1.0116
  Prefactor  = 1.16621
 **********
 **   18 **HESSE 
 **********

 FCN=   7193.564     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     114.49        47.959        .74767E-06   -1.5494    
   2  Index         2.0366        .36426        .11936E-02   -.63437    
   3  Normalizat    1.0116        .25590        .12288E-04   -.92643    
   4  Prefactor     1.1662        .18737        .85206E-05   -.87378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82276e-11
Minuit parameter uncertainties:
  1  47.9592
  2  0.364761
  3  0.256212
  4  0.18748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636852': 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) = 7193.5640279
delta logL = 0.389173011842

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.145e+02  4.796e+01  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.037e+00  3.648e-01  0.000e+00  1.000e+01 (-1.000e+00)
244        Scale:  8.905e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
458    Prefactor:  1.166e+00  1.875e-01  0.000e+00  1.000e+01 ( 1.000e+00)
459        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
460        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
457   Normalization:  1.012e+00  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.40
Ra Dec: 214.029 13.347
Photon Index (Free Index): 2.04 +/- 0.36
Photon Flux (Free Index): 9.49e-08 +/- 5.50e-08
Energy Flux (Free Index): 6.00e-05 +/- 3.69e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/636852/cmap_HighResolution_696816001_697075201_4FGL_J1416.1+1320_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='6.00e-05', photon_flux_error='5.03e-08', dlogl='3.89e-01', energy_flux='4.27e-05', photon_flux2='9.49e-08', job_status='DONE', time_completed='2023-02-03 01:16:38.326754', photon_index_error2='0.36', photon_index2='2.04', ts='11.67', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='3.69e-05', EG='0.97', time_epoch_completed='1675415798.33', return_code='0', job_id='636852', GAL2='1.17', EG2='1.01', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='5.50e-08', ts2='12.40', photon_index='2.37' WHERE bin_id='1765' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:16:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 636852: <4FGL_J1416.1+1320_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:05:27 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:06:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:06:16 2023
Terminated at Fri Feb  3 01:16:38 2023
Results reported at Fri Feb  3 01:16:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1765 214.029 13.347 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1416.1+1320 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   488.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             240.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            671 sec.

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

