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


Performing analysis on: 4FGL_J1317.6+3428_daily_bin1708
RA = 199.401, Dec = 34.4676
tmin = 682041601, tmax = 682300801
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='130106', job_status='RUN', time_executed='2022-09-16 17:28:31.390513', time_epoch_executed='1663374511.39' WHERE source_name='4FGL J1317.6+3428' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/130106

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/130106/ft1_4FGL_J1317.6+3428_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/130106/ft1_4FGL_J1317.6+3428_daily_bin1708.fits outfile=/scratch/kocevski/130106/ft1_filteredMKT_4FGL_J1317.6+3428_daily_bin1708.fits ra=199.401 dec=34.4676 rad=12.0 tmin=682041601.0 tmax=682300801.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.34
user 3.08
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.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/130106/ft1_filteredMKT_4FGL_J1317.6+3428_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.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.45
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 540

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/130106/ltcube_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.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/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits
.....................!
real 14.36
user 13.37
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/130106/ltcube_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.fits outfile=/scratch/kocevski/130106/expmap_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.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/130106/ltcube_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.fits
.....................!
real 157.98
user 152.49
sys 4.32

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

Setting source of interest to:
4FGL J1317.6+3428 @ 199.401 34.4676

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.fits scfile=/scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits outfile=/scratch/kocevski/130106/cmap_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.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=199.401 yref=34.4676 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.48
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.fits scfile=/scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits outfile=/scratch/kocevski/130106/cmap_HighResolution_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.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=199.401 yref=34.4676 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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/130106/Model_4FGL_J1317.6+3428_daily_bin1708.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/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.fits....................!
real 43.11
user 41.56
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.fits', '/scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits', expMap='/scratch/kocevski/130106/expmap_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.fits', expCube='/scratch/kocevski/130106/ltcube_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/130106/Model_4FGL_J1317.6+3428_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1317.6+3428'

4FGL J1317.6+3428
   Spectrum: PowerLaw
319    Prefactor:  1.307e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.534e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  7.492e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/130106/ft1_filtered_4FGL_J1317.6+3428_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/130106/ft2_4FGL_J1317.6+3428_daily_bin1708.fits
Exposure map: /scratch/kocevski/130106/expmap_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.fits
Exposure cube: /scratch/kocevski/130106/ltcube_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/130106/Model_4FGL_J1317.6+3428_daily_bin1708.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) = 6094.60438909

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3328       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13373E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    24.795       1.0000          .0000       .10000E+07
     4 'Prefactor '    .39684E-05   1.0000          .0000       .10000E+07
     5 'norm      '    25.206       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14015       1.0000          .0000       .10000E+07
     7 'norm      '    .78049E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    11.969       1.0000          .0000       .10000E+07
     9 'norm      '    .53925E-03   1.0000          .0000       .10000E+07
    10 'norm      '    5.3389       1.0000          .0000       .10000E+07
    11 'norm      '    39.143       1.0000          .0000       .10000E+07
    12 'norm      '    16.064       1.0000          .0000       .10000E+07
    13 'norm      '    30.462       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11713E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .62250E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12717       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.132       1.0000          .0000       .10000E+07
    18 'Prefactor '    .84890E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .23486       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.1769       1.0000          .0000       .10000E+07
    21 'norm      '    .66985E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .99845       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0005       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6094.564     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1888 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3100        7.0024        .49441E-06    .46268E-02
   2  Prefactor     .22093E-07    8.7965        .13009E-06** at limit **
   3  Prefactor     24.961        5.1461        .33771E-06   -.95068E-01
   4  Prefactor      .0000        4.5061       -.84490E-06** at limit **
   5  norm          25.171        8.5069       -.56932E-06   -.43843E-01
   6  Prefactor     .15231E-04    12.030       -.17764E-05** at limit **
   7  norm           .0000        1.0954        .11603E-06** at limit **
   8  Prefactor     11.936        3.8933        .28952E-07    .12168E-01
   9  norm          .88818E-09    3.1851        .59995E-06** at limit **
  10  norm          5.3665        1.3352        .60722E-07   -.36090E-02
  11  norm          39.108        6.2440        .29289E-06    .32146E-01
  12  norm          16.049        4.2456        .38583E-06    .55579E-02
  13  norm          30.497        1.4015        .63814E-07   -.21725E-01
  14  Prefactor      .0000        1.4407        .14384E-06** at limit **
  15  Prefactor     .73830E-08    3.8069        .56181E-06** at limit **
  16  Prefactor     .39968E-08    1.6859        .34788E-06** at limit **
  17  Prefactor     18.128        2.6166        .15464E-06   -.15758E-01
  18  Prefactor     .23792E-06    16.990       -.35175E-06** at limit **
  19  norm          .23511        1.8859        .11358E-06** at limit **
  20  Prefactor     7.1234        5.0706       -.20446E-07    .12554E-03
  21  norm          .10020E-06    12.744        .69494E-06** at limit **
  22  Normalizat    .99899        .22162        .11636E-04    .10209E-05
  23  Prefactor     1.0004        .26396       -.68994E-05    .25552E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.31001
  Prefactor  = 2.20934e-08
  Prefactor  = 24.9606
  Prefactor  = 0
  norm       = 25.1707
  Prefactor  = 1.52315e-05
  norm       = 0
  Prefactor  = 11.9364
  norm       = 8.88178e-10
  norm       = 5.36652
  norm       = 39.1079
  norm       = 16.049
  norm       = 30.4974
  Prefactor  = 0
  Prefactor  = 7.38298e-09
  Prefactor  = 3.9968e-09
  Prefactor  = 18.1282
  Prefactor  = 2.37921e-07
  norm       = 0.23511
  Prefactor  = 7.12341
  norm       = 1.00198e-07
  Normalizat = 0.998994
  Prefactor  = 1.00036
 **********
 **   18 **HESSE 
 **********

 FCN=   6094.564     FROM HESSE     STATUS=OK           428 CALLS     2316 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3100        7.0171        .48369E-03   -1.5666    
   2  Prefactor     .22093E-07    8.8758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.961        27.642        .20087E-03   -1.5608    
   4  Prefactor      .0000        4.5708        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          25.171        9.4630        .19922E-03   -1.5608    
   6  Prefactor     .15231E-04    41.000        .14703E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.936        20.520        .28931E-03   -1.5639    
   9  norm          .88818E-09    7.0649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3665        13.159        .43471E-03   -1.5662    
  11  norm          39.108        12.146        .15985E-03   -1.5583    
  12  norm          16.049        17.283        .24963E-03   -1.5628    
  13  norm          30.497        24.340        .18121E-03   -1.5598    
  14  Prefactor      .0000        1.4367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .73830E-08    6.7650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .39968E-08    44.817        .13250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.128        19.447        .23494E-03   -1.5623    
  18  Prefactor     .23792E-06    18.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .23511        1.0606        .29680E-02   -1.5718    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.1234        5.0971        .37419E-03   -1.5655    
  21  norm          .10020E-06    13.165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99899        .18793        .46148E-01   -.93064    
  23  Prefactor     1.0004        .22287        .69606E-01   -.92718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64179e-07
Minuit parameter uncertainties:
  1  7.0171
  2  0.000885369
  3  27.6419
  4  1.10493e-05
  5  9.46299
  6  0.0499798
  7  4.30889e-06
  8  20.5204
  9  0.000158906
  10  13.159
  11  12.1459
  12  17.2833
  13  24.3402
  14  7.10898e-06
  15  0.000446134
  16  0.000846856
  17  19.4468
  18  0.00420286
  19  0.998692
  20  5.09713
  21  0.00229723
  22  0.188057
  23  0.223076
Done.

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

Extracting fit parameters...

4FGL J1317.6+3428
   Spectrum: PowerLaw
319    Prefactor:  0.000e+00  7.109e-06  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.534e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  7.492e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.000e+00  2.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  9.990e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 199.401 34.468
Photon Flux Upper Limit: 7.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/130106/likelihoodResults_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.txt

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): 102
logL (Free Index) = 6094.56600789
delta logL = -0.00161583484714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6094.56439296
delta logL = -9.036020856e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62006E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3076       1.0000          .0000       10.000    
     3 'Normalizat'    .99918       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0002       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6094.564     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      241 TOTAL
                     EDM=   .58E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .65160        .42118E-03** at limit **
   2  Index         3.4646        1.5185        .21208E-04     .0000    
   3  Normalizat    .99899        1.3288        .48366E-05   -.84912E-04
   4  Prefactor     1.0004        1.3292        .83218E-08   -.54861E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.46464
  Normalizat = 0.998994
  Prefactor  = 1.00036
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6094.564     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .58E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .65160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3371        2.2078        .21208E-04   -.31211    
   3  Normalizat    .99899        1.3288        .48366E-05   -.93064    
   4  Prefactor     1.0004        1.3292        .83218E-08   -.92718    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.84961e-12
Minuit parameter uncertainties:
  1  8.91716e-07
  2  1.54548
  3  1.37714
  4  1.37705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/130106': 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): 101
logL (Free Index) = 6094.56439205
delta logL = -1.81898940355e-12

Extracting fit parameters...

4FGL J1317.6+3428
   Spectrum: PowerLaw
319    Prefactor:  0.000e+00  8.917e-07  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  3.465e+00  1.545e+00  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  7.492e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.000e+00  1.377e+00  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  9.990e-01  1.377e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 199.401 34.468

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/130106/cmap_HighResolution_682041601_682300801_4FGL_J1317.6+3428_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.21e-08', time_completed='2022-09-16 17:36:45.018804', job_id='130106', GAL2='1.00', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1663375005.02', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='-1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1708' AND source_name='4FGL J1317.6+3428' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:36:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 130106: <4FGL_J1317.6+3428_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1317.6+3428_daily_bin1708> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Sep 16 17:20:23 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:27:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:27:46 2022
Terminated at Fri Sep 16 17:36:45 2022
Results reported at Fri Sep 16 17:36:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1317.6+3428_daily_bin1708 199.401 34.4676 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1317.6+3428 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   490.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   539 sec.
    Turnaround time :                            982 sec.

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

