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 92 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_bin1758
RA = 214.029, Dec = 13.347
tmin = 695001601, tmax = 695260801
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='367770', job_status='RUN', time_executed='2023-01-13 00:54:29.113617', time_epoch_executed='1673600069.11' WHERE source_name='4FGL J1416.1+1320' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/367770

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/367770/ft1_4FGL_J1416.1+1320_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/367770/ft2_4FGL_J1416.1+1320_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/367770/ft1_4FGL_J1416.1+1320_daily_bin1758.fits outfile=/scratch/kocevski/367770/ft1_filteredMKT_4FGL_J1416.1+1320_daily_bin1758.fits ra=214.029 dec=13.347 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.80
user 2.56
sys 0.20

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

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

Number of photons that the gtmktime cut: 870

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/367770/ft1_filtered_4FGL_J1416.1+1320_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/367770/ft2_4FGL_J1416.1+1320_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/367770/ltcube_695001601_695260801_4FGL_J1416.1+1320_daily_bin1758.fits outfile=/scratch/kocevski/367770/expmap_695001601_695260801_4FGL_J1416.1+1320_daily_bin1758.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/367770/ltcube_695001601_695260801_4FGL_J1416.1+1320_daily_bin1758.fits
.....................!
real 193.23
user 187.49
sys 5.15

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/367770/ft1_filtered_4FGL_J1416.1+1320_daily_bin1758.fits scfile=/scratch/kocevski/367770/ft2_4FGL_J1416.1+1320_daily_bin1758.fits outfile=/scratch/kocevski/367770/cmap_695001601_695260801_4FGL_J1416.1+1320_daily_bin1758.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/367770/ft1_filtered_4FGL_J1416.1+1320_daily_bin1758.fits scfile=/scratch/kocevski/367770/ft2_4FGL_J1416.1+1320_daily_bin1758.fits outfile=/scratch/kocevski/367770/cmap_HighResolution_695001601_695260801_4FGL_J1416.1+1320_daily_bin1758.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33948       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.3085       1.0000          .0000       .10000E+07
     3 'Prefactor '    .55705E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.2113       1.0000          .0000       .10000E+07
     5 'Prefactor '    .52169E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9065       1.0000          .0000       .10000E+07
     7 'Prefactor '    40.063       1.0000          .0000       .10000E+07
     8 'norm      '    .79825E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.9655       1.0000          .0000       .10000E+07
    10 'norm      '    6.0243       1.0000          .0000       .10000E+07
    11 'norm      '    1.7291       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15620E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .28705E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .15306E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .55608E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12837E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    .87432       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1318       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=   9553.040     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1023 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17163E-05    69.884        .61255E-06** at limit **
   2  Prefactor     4.3079        3.1797        .27088E-06    .44435E-03
   3  Prefactor      .0000        1.0695        .70901E-07** at limit **
   4  Prefactor     3.2125        8.9280        .46568E-06    .11634E-01
   5  Prefactor      .0000        3.2267       -.98272E-08** at limit **
   6  Prefactor     6.9186        1.2042        .15800E-07    .48917E-03
   7  Prefactor     40.870        16.001       -.26230E-07   -.42992E-01
   8  norm          .89262E-07    3.6046        .24595E-08** at limit **
   9  Prefactor     2.9126        3.8847       -.11882E-06   -.15429E-03
  10  norm          6.0240        2.4825        .48602E-07    .20958E-03
  11  norm          1.7310        1.6221       -.13359E-07   -.32035E-03
  12  Prefactor     .44409E-09    13.866        .13073E-05** at limit **
  13  norm          .18985E-07    6.3575       -.34775E-07** at limit **
  14  Prefactor     .40523E-08    11.012        .47884E-06** at limit **
  15  Prefactor     .14433E-08    4.6602        .31627E-07** at limit **
  16  Prefactor     .13878E-06    2.8920       -.13445E-06** at limit **
  17  Normalizat    .87400        .19386       -.10876E-04   -.23356E-04
  18  Prefactor     1.1318        .14727        .85667E-05   -.12554E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71629e-06
  Prefactor  = 4.30787
  Prefactor  = 0
  Prefactor  = 3.21253
  Prefactor  = 0
  Prefactor  = 6.91855
  Prefactor  = 40.8704
  norm       = 8.92619e-08
  Prefactor  = 2.91264
  norm       = 6.02402
  norm       = 1.73102
  Prefactor  = 4.44089e-10
  norm       = 1.89848e-08
  Prefactor  = 4.05231e-09
  Prefactor  = 1.44329e-09
  Prefactor  = 1.38778e-07
  Normalizat = 0.874
  Prefactor  = 1.13184
 **********
 **   18 **HESSE 
 **********

 FCN=   9553.040     FROM HESSE     STATUS=OK           280 CALLS     1303 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17163E-05    116.47        .96862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3079        3.1835        .48509E-03   -1.5666    
   3  Prefactor      .0000        1.0689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2125        9.2328        .56510E-03   -1.5672    
   5  Prefactor      .0000        3.2421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.9186        15.969        .38152E-03   -1.5655    
   7  Prefactor     40.870        24.342        .15800E-03   -1.5580    
   8  norm          .89262E-07    5.3820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9126        3.9087        .58939E-03   -1.5674    
  10  norm          6.0240        2.4827        .40885E-03   -1.5659    
  11  norm          1.7310        1.6352        .79812E-03   -1.5682    
  12  Prefactor     .44409E-09    14.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .18985E-07    6.7849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .40523E-08    11.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .14433E-08    4.6880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .13878E-06    5.7645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .87400        .16191        .66094E-01   -.97380    
  18  Prefactor     1.1318        .12260        .36488E-01   -.88455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00128e-08
Minuit parameter uncertainties:
  1  0.0282772
  2  3.1835
  3  1.26093e-06
  4  9.23289
  5  1.30211e-05
  6  15.969
  7  24.3422
  8  0.00138623
  9  3.9087
  10  2.48273
  11  1.63518
  12  0.000161146
  13  0.000717858
  14  0.00042698
  15  0.000165186
  16  0.00178878
  17  0.161999
  18  0.122634
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  4.087e+01  2.434e+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.132e+00  1.226e-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:  8.740e-01  1.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.56
Ra Dec: 214.029 13.347
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 5.34e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.08e-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) = 9552.56418754
delta logL = 0.476277043812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9552.56284434
delta logL = 0.477620236774

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.615       1.0000          .0000       .10000E+07
     2 'Index     '    1.9393       1.0000          .0000       10.000    
     3 'Normalizat'    .89376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1201       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=   9552.563     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      277 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.593        32.025        .53165E-05   -.68429E-04
   2  Index         1.9393        .39047        .73700E-02    .29432E-05
   3  Normalizat    .89382        .19175        .28937E-03   -.38188E-04
   4  Prefactor     1.1201        .14680        .19952E-03    .51055E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.5932
  Index      = 1.93931
  Normalizat = 0.893824
  Prefactor  = 1.12006
 **********
 **   18 **HESSE 
 **********

 FCN=   9552.563     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.593        31.907        .10633E-05   -1.5558    
   2  Index         1.9393        .38899        .29480E-03   -.65876    
   3  Normalizat    .89382        .19195        .11575E-04   -.96677    
   4  Prefactor     1.1201        .14696        .79807E-05   -.88828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36369e-11
Minuit parameter uncertainties:
  1  31.9069
  2  0.389623
  3  0.192097
  4  0.147016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/367770': 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) = 9552.56284404
delta logL = 0.477620539375

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  5.659e+01  3.191e+01  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  1.939e+00  3.896e-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.120e+00  1.470e-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:  8.938e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.48
Ra Dec: 214.029 13.347
Photon Index (Free Index): 1.94 +/- 0.39
Photon Flux (Free Index): 4.18e-08 +/- 2.86e-08
Energy Flux (Free Index): 3.37e-05 +/- 2.87e-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/367770/cmap_HighResolution_695001601_695260801_4FGL_J1416.1+1320_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.34e-08', energy_flux2='3.37e-05', photon_flux_error='3.18e-08', dlogl='4.78e-01', energy_flux='1.82e-05', photon_flux2='4.18e-08', job_status='DONE', time_completed='2023-01-13 01:03:01.610528', photon_index_error2='0.39', photon_index2='1.94', ts='4.56', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.87e-05', EG='0.87', time_epoch_completed='1673600581.61', return_code='0', job_id='367770', GAL2='1.12', EG2='0.89', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='2.86e-08', ts2='5.48', photon_index='2.37' WHERE bin_id='1758' AND source_name='4FGL J1416.1+1320' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 01:03:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 367770: <4FGL_J1416.1+1320_daily_bin1758> in cluster <slac> Done

Job <4FGL_J1416.1+1320_daily_bin1758> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Jan 13 00:50:19 2023
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:52:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:52:48 2023
Terminated at Fri Jan 13 01:03:02 2023
Results reported at Fri Jan 13 01:03:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_daily_bin1758 214.029 13.347 695001601 695260801 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 :                                   514.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            763 sec.

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

