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


Performing analysis on: 4FGL_J1416.1+1320_daily_bin1711
RA = 214.029, Dec = 13.347
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='143437', job_status='RUN', time_executed='2022-09-16 18:16:47.421262', time_epoch_executed='1663377407.42' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/143437

Creating custom pfile directory:
/scratch/kocevski/143437/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/143437/ft1_4FGL_J1416.1+1320_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/143437/ft2_4FGL_J1416.1+1320_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/143437/ft1_4FGL_J1416.1+1320_daily_bin1711.fits outfile=/scratch/kocevski/143437/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1711.fits ra=214.029 dec=13.347 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 4.59
user 4.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/143437/ft2_4FGL_J1416.1+1320_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/143437/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/143437/ft1_filtered_4FGL_J1416.1+1320_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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 585

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/143437/ft1_filtered_4FGL_J1416.1+1320_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/143437/ft2_4FGL_J1416.1+1320_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/143437/ltcube_682819201_683078401_4FGL_J1416.1+1320_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/143437/ft2_4FGL_J1416.1+1320_daily_bin1711.fits
.....................!
real 14.60
user 14.10
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/143437/ft1_filtered_4FGL_J1416.1+1320_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/143437/ft2_4FGL_J1416.1+1320_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/143437/ltcube_682819201_683078401_4FGL_J1416.1+1320_daily_bin1711.fits outfile=/scratch/kocevski/143437/expmap_682819201_683078401_4FGL_J1416.1+1320_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/143437/ltcube_682819201_683078401_4FGL_J1416.1+1320_daily_bin1711.fits
.....................!
real 192.01
user 186.17
sys 4.65

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/143437/ft1_filtered_4FGL_J1416.1+1320_daily_bin1711.fits scfile=/scratch/kocevski/143437/ft2_4FGL_J1416.1+1320_daily_bin1711.fits outfile=/scratch/kocevski/143437/cmap_682819201_683078401_4FGL_J1416.1+1320_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=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/143437/ft1_filtered_4FGL_J1416.1+1320_daily_bin1711.fits scfile=/scratch/kocevski/143437/ft2_4FGL_J1416.1+1320_daily_bin1711.fits outfile=/scratch/kocevski/143437/cmap_HighResolution_682819201_683078401_4FGL_J1416.1+1320_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=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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/143437/ft1_filtered_4FGL_J1416.1+1320_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/143437/ft2_4FGL_J1416.1+1320_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/143437/Model_4FGL_J1416.1+1320_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/143437/ft1_filtered_4FGL_J1416.1+1320_daily_bin1711.fits.....................!
real 51.32
user 49.89
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .88394E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .83655E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .68834E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    15.755       1.0000          .0000       .10000E+07
     5 'Prefactor '    .42911E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .39460E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    120.45       1.0000          .0000       .10000E+07
     8 'norm      '    30.450       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13686E-02   1.0000          .0000       .10000E+07
    10 'norm      '    13.505       1.0000          .0000       .10000E+07
    11 'norm      '    2.4842       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11959E-04   1.0000          .0000       .10000E+07
    13 'norm      '    30.005       1.0000          .0000       .10000E+07
    14 'Prefactor '    24.235       1.0000          .0000       .10000E+07
    15 'Prefactor '    69.031       1.0000          .0000       .10000E+07
    16 'Prefactor '    .48612E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .97654       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1239       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=   6612.472     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1298 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42314E-05    32.836        .47507E-06** at limit **
   2  Prefactor      .0000        1.3490       -.12659E-06** at limit **
   3  Prefactor      .0000        1.2845       -.15381E-06** at limit **
   4  Prefactor     15.908        1.4108       -.16768E-07    .20770E-01
   5  Prefactor      .0000        6.6918        .43309E-06** at limit **
   6  Prefactor     .44713E-05    95.137       -.30519E-05** at limit **
   7  Prefactor     122.02        17.514        .24698E-06    .67933E-01
   8  norm          32.406        15.754       -.37984E-07    .13202    
   9  Prefactor      .0000        6.2295       -.80627E-07** at limit **
  10  norm          13.534        4.2933       -.41652E-07    .71065E-03
  11  norm          2.4923        2.8957       -.35253E-07    .95566E-04
  12  Prefactor     .46074E-08    16.112        .23124E-06** at limit **
  13  norm          29.957        18.325       -.10526E-07   -.77521E-01
  14  Prefactor     24.385        2.1994       -.20195E-08    .95417E-02
  15  Prefactor     69.302        3.8932        .51086E-08    .42578E-01
  16  Prefactor     .21944E-06    26.507       -.25290E-06** at limit **
  17  Normalizat    .97507        .26912        .49435E-05   -.13670E-04
  18  Prefactor     1.1228        .19823       -.10633E-05   -.10616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.23145e-06
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 15.9079
  Prefactor  = 0
  Prefactor  = 4.47131e-06
  Prefactor  = 122.021
  norm       = 32.4056
  Prefactor  = 0
  norm       = 13.5341
  norm       = 2.49228
  Prefactor  = 4.60743e-09
  norm       = 29.9573
  Prefactor  = 24.3848
  Prefactor  = 69.3025
  Prefactor  = 2.19436e-07
  Normalizat = 0.975075
  Prefactor  = 1.12279
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.472     FROM HESSE     STATUS=OK           278 CALLS     1576 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42314E-05    38.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.3519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.2837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.908        20.519        .25206E-03   -1.5628    
   5  Prefactor      .0000        6.6864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44713E-05    109.69        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     122.02        47.962        .91122E-04   -1.5487    
   8  norm          32.406        32.076        .18125E-03   -1.5594    
   9  Prefactor      .0000        6.1795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.534        4.2994        .27231E-03   -1.5634    
  11  norm          2.4923        2.9154        .64833E-03   -1.5676    
  12  Prefactor     .46074E-08    16.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          29.957        19.603        .18259E-03   -1.5598    
  14  Prefactor     24.385        27.205        .20318E-03   -1.5609    
  15  Prefactor     69.302        32.153        .12037E-03   -1.5541    
  16  Prefactor     .21944E-06    26.902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .97507        .23299        .73480E-01   -.93870    
  18  Prefactor     1.1228        .16686        .36742E-01   -.88741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.57736e-07
Minuit parameter uncertainties:
  1  0.0254804
  2  3.38471e-06
  3  1.15918e-06
  4  20.5193
  5  6.69925e-06
  6  0.0442932
  7  47.9625
  8  32.0763
  9  1.87963e-05
  10  4.29938
  11  2.91536
  12  0.000544426
  13  19.6027
  14  27.205
  15  32.1526
  16  0.00485962
  17  0.233234
  18  0.166936
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.220e+02  4.796e+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.123e+00  1.669e-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.751e-01  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.65
Ra Dec: 214.029 13.347
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.59e-07 +/- 6.26e-08
Energy Flux (Fixed Index): 5.42e-05 +/- 2.13e-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) = 6612.33042389
delta logL = 0.141224423107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6612.32757248
delta logL = 0.144075827181

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    136.85       1.0000          .0000       .10000E+07
     2 'Index     '    2.1864       1.0000          .0000       10.000    
     3 'Normalizat'    1.0029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1091       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=   6612.328     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      303 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     136.86        59.461        .17098E-04    .31916E-04
   2  Index         2.1863        .34395        .52086E-02    .29587E-03
   3  Normalizat    1.0031        .27523        .32119E-03    .16424E-04
   4  Prefactor     1.1089        .19843        .22350E-03   -.20449E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 136.861
  Index      = 2.18627
  Normalizat = 1.00314
  Prefactor  = 1.1089
 **********
 **   18 **HESSE 
 **********

 FCN=   6612.328     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     136.86        58.901        .68391E-06   -1.5474    
   2  Index         2.1863        .34051        .10417E-02   -.59770    
   3  Normalizat    1.0031        .27547        .12848E-04   -.92925    
   4  Prefactor     1.1089        .19860        .89398E-05   -.89183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59357e-12
Minuit parameter uncertainties:
  1  58.9016
  2  0.340897
  3  0.275864
  4  0.198737
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/143437': 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) = 6612.32757213
delta logL = 0.144076177949

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  1.369e+02  5.890e+01  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.186e+00  3.409e-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.109e+00  1.987e-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.003e+00  2.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.83
Ra Dec: 214.029 13.347
Photon Index (Free Index): 2.19 +/- 0.34
Photon Flux (Free Index): 1.38e-07 +/- 7.08e-08
Energy Flux (Free Index): 6.34e-05 +/- 3.31e-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/143437/cmap_HighResolution_682819201_683078401_4FGL_J1416.1+1320_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.59e-07', energy_flux2='6.34e-05', photon_flux_error='6.26e-08', dlogl='1.44e-01', energy_flux='5.42e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2022-09-16 18:24:37.113005', photon_index_error2='0.34', photon_index2='2.19', ts='12.65', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='3.31e-05', EG='0.98', time_epoch_completed='1663377877.11', return_code='0', job_id='143437', GAL2='1.11', EG2='1.00', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='7.08e-08', ts2='12.83', photon_index='2.37' WHERE bin_id='1711' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:24:37 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 143437: <4FGL_J1416.1+1320_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1711> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 18:10:18 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:15:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:15:00 2022
Terminated at Fri Sep 16 18:24:37 2022
Results reported at Fri Sep 16 18:24:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1711 214.029 13.347 682819201 683078401 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 :                                   471.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            859 sec.

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

