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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin1747
RA = 214.029, Dec = 13.347
tmin = 692150401, tmax = 692409601
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='803558', job_status='RUN', time_executed='2022-12-11 01:01:01.484050', time_epoch_executed='1670749261.48' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803558

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803558/ft1_4FGL_J1416.1+1320_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803558/ft1_4FGL_J1416.1+1320_daily_bin1747.fits outfile=/scratch/kocevski/803558/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1747.fits ra=214.029 dec=13.347 rad=12.0 tmin=692150401.0 tmax=692409601.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.98
user 3.74
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.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/803558/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/803558/ft1_filtered_4FGL_J1416.1+1320_daily_bin1747.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 691

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/803558/ft1_filtered_4FGL_J1416.1+1320_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/803558/ltcube_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.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/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.fits
.....................!
real 11.85
user 11.51
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803558/ft1_filtered_4FGL_J1416.1+1320_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/803558/ltcube_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.fits outfile=/scratch/kocevski/803558/expmap_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.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/803558/ltcube_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.fits
.....................!
real 189.51
user 185.06
sys 4.13

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/803558/ft1_filtered_4FGL_J1416.1+1320_daily_bin1747.fits scfile=/scratch/kocevski/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.fits outfile=/scratch/kocevski/803558/cmap_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/803558/ft1_filtered_4FGL_J1416.1+1320_daily_bin1747.fits scfile=/scratch/kocevski/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.fits outfile=/scratch/kocevski/803558/cmap_HighResolution_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/803558/ft1_filtered_4FGL_J1416.1+1320_daily_bin1747.fits', '/scratch/kocevski/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.fits', expMap='/scratch/kocevski/803558/expmap_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.fits', expCube='/scratch/kocevski/803558/ltcube_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/803558/Model_4FGL_J1416.1+1320_daily_bin1747.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/803558/ft1_filtered_4FGL_J1416.1+1320_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/803558/ft2_4FGL_J1416.1+1320_daily_bin1747.fits
Exposure map: /scratch/kocevski/803558/expmap_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.fits
Exposure cube: /scratch/kocevski/803558/ltcube_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/803558/Model_4FGL_J1416.1+1320_daily_bin1747.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) = 7745.51506684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.893       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.5066       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.8470       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3909       1.0000          .0000       .10000E+07
     5 'Prefactor '    .39987E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .85754E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    77.088       1.0000          .0000       .10000E+07
     8 'norm      '    2.1477       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25320E-05   1.0000          .0000       .10000E+07
    10 'norm      '    6.5485       1.0000          .0000       .10000E+07
    11 'norm      '    .13761E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .14880E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .13279E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    15.976       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20081E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .66709E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4086       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .81721       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=   7745.467     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1270 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.818        3.3819        .12138E-07   -.65089E-03
   2  Prefactor     6.5307        4.3028       -.84334E-07   -.27210E-03
   3  Prefactor     3.8404        3.2710       -.12450E-07   -.13815E-03
   4  Prefactor     9.2534        11.622        .17500E-07   -.77327E-02
   5  Prefactor     .84610E-06    6.8455        .51218E-07** at limit **
   6  Prefactor     .22204E-09    5.4828       -.40505E-07** at limit **
   7  Prefactor     78.758        32.669       -.56477E-07   -.79668E-02
   8  norm          1.6801        3.5404        .12234E-06   -.76581E-02
   9  Prefactor      .0000        2.6695        .84199E-07** at limit **
  10  norm          6.5502        2.5469        .32941E-07   -.42427E-03
  11  norm          .11102E-09    10.671       -.26543E-06** at limit **
  12  Prefactor     .20983E-07    24.577        .47987E-06** at limit **
  13  norm          .12768E-08    9.7222       -.19328E-06** at limit **
  14  Prefactor     16.326        2.3244       -.24881E-07   -.20483E-01
  15  Prefactor     .53435E-06    10.413        .16852E-06** at limit **
  16  Prefactor     .69111E-07    11.138       -.13994E-06** at limit **
  17  Normalizat    1.4071        .23149        .12600E-05   -.77561E-05
  18  Prefactor     .81788        .16523       -.95752E-06   -.67944E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8178
  Prefactor  = 6.53071
  Prefactor  = 3.84044
  Prefactor  = 9.25335
  Prefactor  = 8.46101e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 78.758
  norm       = 1.68014
  Prefactor  = 0
  norm       = 6.55021
  norm       = 1.11022e-10
  Prefactor  = 2.09832e-08
  norm       = 1.27676e-09
  Prefactor  = 16.3265
  Prefactor  = 5.3435e-07
  Prefactor  = 6.91114e-08
  Normalizat = 1.40714
  Prefactor  = 0.81788
 **********
 **   18 **HESSE 
 **********

 FCN=   7745.467     FROM HESSE     STATUS=OK           284 CALLS     1554 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.818        34.953        .26847E-03   -1.5634    
   2  Prefactor     6.5307        4.2982        .39320E-03   -1.5657    
   3  Prefactor     3.8404        3.2716        .51429E-03   -1.5669    
   4  Prefactor     9.2534        11.701        .32679E-03   -1.5647    
   5  Prefactor     .84610E-06    15.193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    5.4954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     78.758        32.957        .11390E-03   -1.5530    
   8  norm          1.6801        84.041        .70287E-03   -1.5682    
   9  Prefactor      .0000        2.6699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.5502        2.5508        .39193E-03   -1.5657    
  11  norm          .11102E-09    1.4092        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .20983E-07    25.554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .12768E-08    9.7147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.326        21.583        .25031E-03   -1.5627    
  15  Prefactor     .53435E-06    16.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .69111E-07    11.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4071        .19274        .59697E-01   -.80422    
  18  Prefactor     .81788        .13911        .43941E-01   -.99073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27653e-07
Minuit parameter uncertainties:
  1  34.9534
  2  4.29816
  3  3.27162
  4  11.7009
  5  0.00717077
  6  6.58981e-05
  7  32.9574
  8  23.7659
  9  1.1225e-05
  10  2.55078
  11  2.52007e-05
  12  0.00146358
  13  0.000221531
  14  21.5828
  15  0.00594214
  16  0.00180181
  17  0.192839
  18  0.13917
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  7.876e+01  3.296e+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:  8.179e-01  1.392e-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.407e+00  1.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.51
Ra Dec: 214.029 13.347
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.03e-07 +/- 4.30e-08
Energy Flux (Fixed Index): 3.50e-05 +/- 1.46e-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) = 7745.35997156
delta logL = 0.10716810851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7745.34325161
delta logL = 0.123888059984

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.126       1.0000          .0000       .10000E+07
     2 'Index     '    2.1832       1.0000          .0000       10.000    
     3 'Normalizat'    1.4265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80993       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=   7745.343     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      302 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     86.168        38.933        .21552E-04   -.18357E-03
   2  Index         2.1836        .37907        .61478E-02    .17320E-04
   3  Normalizat    1.4261        .23182        .26260E-03    .30738E-05
   4  Prefactor     .80999        .16539        .24261E-03   -.47797E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 86.1684
  Index      = 2.18363
  Normalizat = 1.42612
  Prefactor  = 0.80999
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     86.168        38.627        .86208E-06   -1.5522    
   2  Index         2.1836        .37579        .24591E-03   -.59834    
   3  Normalizat    1.4261        .23201        .10504E-04   -.79876    
   4  Prefactor     .80999        .16555        .97045E-05   -.99361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48466e-12
Minuit parameter uncertainties:
  1  38.627
  2  0.376311
  3  0.232181
  4  0.165656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803558': 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) = 7745.34324778
delta logL = 0.123891887146

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  8.617e+01  3.863e+01  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.184e+00  3.763e-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:  8.100e-01  1.657e-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.426e+00  2.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.74
Ra Dec: 214.029 13.347
Photon Index (Free Index): 2.18 +/- 0.38
Photon Flux (Free Index): 8.63e-08 +/- 5.04e-08
Energy Flux (Free Index): 4.00e-05 +/- 2.16e-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/803558/cmap_HighResolution_692150401_692409601_4FGL_J1416.1+1320_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-07', energy_flux2='4.00e-05', photon_flux_error='4.30e-08', dlogl='1.24e-01', energy_flux='3.50e-05', photon_flux2='8.63e-08', job_status='DONE', time_completed='2022-12-11 01:08:58.857640', photon_index_error2='0.38', photon_index2='2.18', ts='14.51', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='1.41', time_epoch_completed='1670749738.86', return_code='0', job_id='803558', GAL2='0.81', EG2='1.43', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='5.04e-08', ts2='14.74', photon_index='2.37' WHERE bin_id='1747' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:08:58 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 803558: <4FGL_J1416.1+1320_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1747> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Dec 11 01:00:28 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:00:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:00:30 2022
Terminated at Sun Dec 11 01:08:59 2022
Results reported at Sun Dec 11 01:08:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1747 214.029 13.347 692150401 692409601 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 :                                   479.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   509 sec.
    Turnaround time :                            511 sec.

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

