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


Performing analysis on: 4FGL_J1416.1+1320_weekly_bin751
RA = 214.029, Dec = 13.347
tmin = 693187201, tmax = 693792001
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='676585', job_status='RUN', time_executed='2022-12-27 01:19:52.350611', time_epoch_executed='1672132792.35' WHERE source_name='4FGL J1416.1+1320' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/676585

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/676585/ft1_4FGL_J1416.1+1320_weekly_bin751.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/676585/ft2_4FGL_J1416.1+1320_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/676585/ft1_4FGL_J1416.1+1320_weekly_bin751.fits outfile=/scratch/kocevski/676585/ft1_filteredMKT_4FGL_J1416.1+1320_weekly_bin751.fits ra=214.029 dec=13.347 rad=12.0 tmin=693187201.0 tmax=693792001.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 7.70
user 7.37
sys 0.28

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

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

Number of photons that the gtmktime cut: 1390

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/676585/ft1_filtered_4FGL_J1416.1+1320_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/676585/ft2_4FGL_J1416.1+1320_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/676585/ltcube_693187201_693792001_4FGL_J1416.1+1320_weekly_bin751.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/676585/ft2_4FGL_J1416.1+1320_weekly_bin751.fits
.....................!
real 32.01
user 31.49
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/676585/ft1_filtered_4FGL_J1416.1+1320_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/676585/ft2_4FGL_J1416.1+1320_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/676585/ltcube_693187201_693792001_4FGL_J1416.1+1320_weekly_bin751.fits outfile=/scratch/kocevski/676585/expmap_693187201_693792001_4FGL_J1416.1+1320_weekly_bin751.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/676585/ltcube_693187201_693792001_4FGL_J1416.1+1320_weekly_bin751.fits
.....................!
real 191.31
user 186.27
sys 4.67

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/676585/ft1_filtered_4FGL_J1416.1+1320_weekly_bin751.fits scfile=/scratch/kocevski/676585/ft2_4FGL_J1416.1+1320_weekly_bin751.fits outfile=/scratch/kocevski/676585/cmap_693187201_693792001_4FGL_J1416.1+1320_weekly_bin751.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.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/676585/ft1_filtered_4FGL_J1416.1+1320_weekly_bin751.fits scfile=/scratch/kocevski/676585/ft2_4FGL_J1416.1+1320_weekly_bin751.fits outfile=/scratch/kocevski/676585/cmap_HighResolution_693187201_693792001_4FGL_J1416.1+1320_weekly_bin751.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.61
user 0.42
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56337E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18055E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0176       1.0000          .0000       .10000E+07
     4 'Prefactor '    .58784E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.290       1.0000          .0000       .10000E+07
     6 'Prefactor '    .70836E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    50.495       1.0000          .0000       .10000E+07
     8 'norm      '    5.2520       1.0000          .0000       .10000E+07
     9 'Prefactor '    .40318E-05   1.0000          .0000       .10000E+07
    10 'norm      '    3.8243       1.0000          .0000       .10000E+07
    11 'norm      '    1.3783       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53853E-04   1.0000          .0000       .10000E+07
    13 'norm      '    5.6731       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.2003       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.4615       1.0000          .0000       .10000E+07
    16 'Prefactor '    .54201E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1926       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90952       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=   14934.23     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1080 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.1646       -.30067E-07** at limit **
   2  Prefactor      .0000        .92987       -.10498E-06** at limit **
   3  Prefactor     1.0177        1.0566        .11873E-08    .32851E-04
   4  Prefactor      .0000        5.2661       -.18534E-06** at limit **
   5  Prefactor     11.214        7.5542       -.41916E-07    .18908E-04
   6  Prefactor      .0000        14.316       -.14645E-06** at limit **
   7  Prefactor     50.261        1.3607       -.91853E-09   -.57966E-02
   8  norm          5.2659        3.3276       -.26646E-07   -.12759E-01
   9  Prefactor      .0000        4.2480       -.31541E-07** at limit **
  10  norm          3.8208        1.5631       -.55691E-07    .25792E-02
  11  norm          1.3772        1.6625       -.26284E-07    .34560E-03
  12  Prefactor     .27756E-09    11.913       -.24690E-06** at limit **
  13  norm          5.6269        7.0570       -.12385E-06    .34476E-03
  14  Prefactor     5.1470        11.645       -.60436E-07    .33617E-02
  15  Prefactor     2.4513        6.6245       -.75788E-07   -.74343E-04
  16  Prefactor     .49960E-09    51.720       -.96994E-06** at limit **
  17  Normalizat    1.1929        .15564        .81181E-06    .20313E-04
  18  Prefactor     .90981        .11520        .24555E-06    .29431E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.01773
  Prefactor  = 0
  Prefactor  = 11.2144
  Prefactor  = 0
  Prefactor  = 50.2613
  norm       = 5.26589
  Prefactor  = 0
  norm       = 3.82078
  norm       = 1.37715
  Prefactor  = 2.77556e-10
  norm       = 5.62688
  Prefactor  = 5.14698
  Prefactor  = 2.45131
  Prefactor  = 4.996e-10
  Normalizat = 1.1929
  Prefactor  = 0.909809
 **********
 **   18 **HESSE 
 **********

 FCN=   14934.23     FROM HESSE     STATUS=OK           284 CALLS     1364 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.1955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .92476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.0177        1.4198        .27531E-02   -1.5688    
   4  Prefactor      .0000        5.2618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.214        7.5114        .29791E-03   -1.5641    
   6  Prefactor      .0000        14.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     50.261        19.711        .14074E-03   -1.5566    
   8  norm          5.2659        10.737        .43836E-03   -1.5662    
   9  Prefactor      .0000        4.2301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.8208        1.5631        .51587E-03   -1.5669    
  11  norm          1.3772        1.6843        .92709E-03   -1.5684    
  12  Prefactor     .27756E-09    11.943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.6269        7.0614        .42150E-03   -1.5661    
  14  Prefactor     5.1470        12.126        .44058E-03   -1.5663    
  15  Prefactor     2.4513        6.6469        .65159E-03   -1.5677    
  16  Prefactor     .49960E-09    51.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1929        .12831        .58323E-01   -.86822    
  18  Prefactor     .90981        .94640E-01    .45126E-01   -.95799    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4621e-07
Minuit parameter uncertainties:
  1  2.39264e-05
  2  2.63713e-06
  3  1.41979
  4  1.9027e-05
  5  7.5114
  6  2.50908e-05
  7  19.7113
  8  10.7369
  9  4.33855e-06
  10  1.56311
  11  1.68428
  12  0.000109399
  13  7.06138
  14  12.1256
  15  6.64688
  16  0.000313303
  17  0.128339
  18  0.0946575
Done.

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

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  5.026e+01  1.971e+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:  9.098e-01  9.466e-02  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.193e+00  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.85
Ra Dec: 214.029 13.347
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.57e-08 +/- 2.57e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 8.75e-06

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) = 14933.9216996
delta logL = 0.309664907258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14933.9178897
delta logL = 0.313474805898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.119       1.0000          .0000       .10000E+07
     2 'Index     '    2.6819       1.0000          .0000       10.000    
     3 'Normalizat'    1.1698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92099       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=   14933.92     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      291 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.113        23.667        .63960E-05    .73822E-02
   2  Index         2.6818        .44104        .55999E-02    .28509E-03
   3  Normalizat    1.1698        .15724        .26007E-03   -.14730E-02
   4  Prefactor     .92111        .11577        .21601E-03   -.22168E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.1127
  Index      = 2.68182
  Normalizat = 1.16983
  Prefactor  = 0.92111
 **********
 **   18 **HESSE 
 **********

 FCN=   14933.92     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.113        22.013        .12792E-05   -1.5583    
   2  Index         2.6818        .40976        .22400E-03   -.48209    
   3  Normalizat    1.1698        .15704        .52013E-04   -.87540    
   4  Prefactor     .92111        .11571        .43203E-04   -.95407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25487e-09
Minuit parameter uncertainties:
  1  22.0133
  2  0.410346
  3  0.157105
  4  0.115741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/676585': 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) = 14933.9178872
delta logL = 0.313477242331

Extracting fit parameters...

4FGL J1416.1+1320
   Spectrum: PowerLaw
242    Prefactor:  3.911e+01  2.201e+01  0.000e+00  1.000e+06 ( 1.000e-13)
243        Index:  2.682e+00  4.103e-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:  9.211e-01  1.157e-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.170e+00  1.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.51
Ra Dec: 214.029 13.347
Photon Index (Free Index): 2.68 +/- 0.41
Photon Flux (Free Index): 8.20e-08 +/- 3.59e-08
Energy Flux (Free Index): 2.00e-05 +/- 7.72e-06

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/676585/cmap_HighResolution_693187201_693792001_4FGL_J1416.1+1320_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.57e-08', energy_flux2='2.00e-05', photon_flux_error='2.57e-08', dlogl='3.13e-01', energy_flux='2.23e-05', photon_flux2='8.20e-08', job_status='DONE', time_completed='2022-12-27 01:31:22.597147', photon_index_error2='0.41', photon_index2='2.68', ts='12.85', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='7.72e-06', EG='1.19', time_epoch_completed='1672133482.6', return_code='0', job_id='676585', GAL2='0.92', EG2='1.17', return_code2='0', energy_flux_error='8.75e-06', photon_flux_error2='3.59e-08', ts2='13.51', photon_index='2.37' WHERE bin_id='751' AND source_name='4FGL J1416.1+1320' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:31:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 676585: <4FGL_J1416.1+1320_weekly_bin751> in cluster <slac> Done

Job <4FGL_J1416.1+1320_weekly_bin751> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Dec 27 01:15:24 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 01:16:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 27 01:16:41 2022
Terminated at Tue Dec 27 01:31:23 2022
Results reported at Tue Dec 27 01:31:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1416.1+1320_weekly_bin751 214.029 13.347 693187201 693792001 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            959 sec.

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

