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


Performing analysis on: 4FGL_J1317.6+3428_daily_bin1748
RA = 199.401, Dec = 34.4676
tmin = 692409601, tmax = 692668801
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='886394', job_status='RUN', time_executed='2022-12-14 00:42:19.754396', time_epoch_executed='1671007339.75' WHERE source_name='4FGL J1317.6+3428' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886394

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886394/ft1_4FGL_J1317.6+3428_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886394/ft1_4FGL_J1317.6+3428_daily_bin1748.fits outfile=/scratch/kocevski/886394/ft1_filteredMKT_4FGL_J1317.6+3428_daily_bin1748.fits ra=199.401 dec=34.4676 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.34
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.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/886394/ft1_filteredMKT_4FGL_J1317.6+3428_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/886394/ft1_filtered_4FGL_J1317.6+3428_daily_bin1748.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.49
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 668

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/886394/ft1_filtered_4FGL_J1317.6+3428_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/886394/ltcube_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.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/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.fits
.....................!
real 11.71
user 11.39
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886394/ft1_filtered_4FGL_J1317.6+3428_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/886394/ltcube_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.fits outfile=/scratch/kocevski/886394/expmap_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.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/886394/ltcube_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.fits
.....................!
real 189.67
user 184.71
sys 4.46

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/886394/ft1_filtered_4FGL_J1317.6+3428_daily_bin1748.fits scfile=/scratch/kocevski/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.fits outfile=/scratch/kocevski/886394/cmap_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886394/ft1_filtered_4FGL_J1317.6+3428_daily_bin1748.fits scfile=/scratch/kocevski/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.fits outfile=/scratch/kocevski/886394/cmap_HighResolution_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/886394/ft1_filtered_4FGL_J1317.6+3428_daily_bin1748.fits', '/scratch/kocevski/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.fits', expMap='/scratch/kocevski/886394/expmap_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.fits', expCube='/scratch/kocevski/886394/ltcube_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/886394/Model_4FGL_J1317.6+3428_daily_bin1748.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/886394/ft1_filtered_4FGL_J1317.6+3428_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/886394/ft2_4FGL_J1317.6+3428_daily_bin1748.fits
Exposure map: /scratch/kocevski/886394/expmap_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.fits
Exposure cube: /scratch/kocevski/886394/ltcube_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/886394/Model_4FGL_J1317.6+3428_daily_bin1748.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) = 7301.74791066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.755       1.0000          .0000       .10000E+07
     2 'Prefactor '    24.937       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.7101       1.0000          .0000       .10000E+07
     4 'Prefactor '    .86012E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .15150E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.295       1.0000          .0000       .10000E+07
     7 'norm      '    .71329E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .71685E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .17318E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .24274E-05   1.0000          .0000       .10000E+07
    11 'norm      '    31.302       1.0000          .0000       .10000E+07
    12 'norm      '    .60160E-02   1.0000          .0000       .10000E+07
    13 'norm      '    15.988       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13411E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    13.614       1.0000          .0000       .10000E+07
    16 'Prefactor '    .49482E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55857E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    9.6834       1.0000          .0000       .10000E+07
    19 'norm      '    4.7665       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.5407       1.0000          .0000       .10000E+07
    21 'norm      '    35.449       1.0000          .0000       .10000E+07
    22 'Normalizat'    .86173       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1812       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=   7301.713     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1474 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.731        4.9872       -.86381E-07   -.30518E-01
   2  Prefactor     24.915        2.6303       -.34808E-07   -.16969E-01
   3  Prefactor     3.5710        1.8630        .15066E-06    .21855E-02
   4  Prefactor      .0000        1.8243        .27942E-07** at limit **
   5  norm          .10436E-07    9.9354        .53268E-06** at limit **
   6  Prefactor     13.560        23.589       -.10717E-05    .36805E-03
   7  norm          .13351E-01    102.64        .80128E-06** at limit **
   8  Prefactor     .27756E-08    7.9310       -.29797E-07** at limit **
   9  norm           .0000        1.4897       -.45577E-07** at limit **
  10  norm          .55511E-10    3.4700       -.52644E-07** at limit **
  11  norm          31.183        5.8457       -.21620E-08   -.74127E-03
  12  norm          .83267E-09    8.1237       -.31013E-06** at limit **
  13  norm          15.697        6.6560       -.16903E-06    .36616E-01
  14  Prefactor      .0000        1.2574        .12267E-07** at limit **
  15  Prefactor     13.622        2.2725       -.43162E-07   -.11309E-02
  16  Prefactor     .16709E-07    11.605       -.16769E-06** at limit **
  17  Prefactor      .0000        3.1651        .34400E-06** at limit **
  18  Prefactor     9.6845        9.8637       -.16560E-06   -.12874E-01
  19  norm          4.7667        1.7157        .26967E-07   -.83629E-04
  20  Prefactor     1.5424        2.8264        .89955E-07    .13196E-03
  21  norm          35.136        6.8398       -.13550E-06    .28229E-01
  22  Normalizat    .86121        .18953       -.90776E-06   -.20858E-04
  23  Prefactor     1.1817        .23634        .25397E-05   -.24648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7315
  Prefactor  = 24.9153
  Prefactor  = 3.57102
  Prefactor  = 0
  norm       = 1.04361e-08
  Prefactor  = 13.5603
  norm       = 0.0133515
  Prefactor  = 2.77556e-09
  norm       = 0
  norm       = 5.55112e-11
  norm       = 31.1827
  norm       = 8.32667e-10
  norm       = 15.6966
  Prefactor  = 0
  Prefactor  = 13.6219
  Prefactor  = 1.67089e-08
  Prefactor  = 0
  Prefactor  = 9.68455
  norm       = 4.76667
  Prefactor  = 1.5424
  norm       = 35.1362
  Normalizat = 0.861212
  Prefactor  = 1.18167
 **********
 **   18 **HESSE 
 **********

 FCN=   7301.713     FROM HESSE     STATUS=OK           422 CALLS     1896 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.731        12.714        .28022E-03   -1.5637    
   2  Prefactor     24.915        13.106        .20030E-03   -1.5608    
   3  Prefactor     3.5710        21.939        .52404E-03   -1.5670    
   4  Prefactor      .0000        1.8232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10436E-07    11.615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.560        23.746        .28543E-03   -1.5634    
   7  norm          .13351E-01    2.2917        .42118E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-08    8.0679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.4867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    3.4697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          31.183        6.1300        .17876E-03   -1.5596    
  12  norm          .83267E-09    8.6505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.697        19.925        .25021E-03   -1.5629    
  14  Prefactor      .0000        1.2549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.622        14.752        .27121E-03   -1.5634    
  16  Prefactor     .16709E-07    12.754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.1726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.6845        10.204        .32179E-03   -1.5646    
  19  norm          4.7667        1.7181        .46061E-03   -1.5664    
  20  Prefactor     1.5424        2.8625        .85864E-03   -1.5683    
  21  norm          35.136        17.579        .16798E-03   -1.5589    
  22  Normalizat    .86121        .16079        .44411E-01   -.97837    
  23  Prefactor     1.1817        .19830        .63664E-01   -.86897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.90479e-08
Minuit parameter uncertainties:
  1  12.7141
  2  13.106
  3  17.7024
  4  3.43173e-06
  5  0.000696323
  6  23.7466
  7  0.349846
  8  0.000298129
  9  5.21379e-06
  10  2.02271e-05
  11  6.12999
  12  0.000171595
  13  19.9255
  14  1.73413e-06
  15  14.7516
  16  0.00092284
  17  1.41202e-05
  18  10.2035
  19  1.71809
  20  2.86253
  21  17.5793
  22  0.160874
  23  0.198425
Done.

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

Extracting fit parameters...

4FGL J1317.6+3428
   Spectrum: PowerLaw
319    Prefactor:  0.000e+00  1.734e-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.182e+00  1.984e-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:  8.612e-01  1.609e-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: 5.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886394/likelihoodResults_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.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): 0
logL (Free Index) = 7301.71520087
delta logL = -0.00196015231722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7301.7132414
delta logL = -6.8025838118e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78715E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.2290       1.0000          .0000       10.000    
     3 'Normalizat'    .86121       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1818       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.

 FCN=   7301.713     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      274 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .13749        .22917E-02** at limit **
   2  Index         3.8989        3.3702        .50000        .68212E-10
   3  Normalizat    .86122        .29289E-02    .44404E-01   -.70992E-04
   4  Prefactor     1.1817        .37134E-02    .63664E-01   -.43060E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.89892
  Normalizat = 0.861216
  Prefactor  = 1.18166
 **********
 **   18 **HESSE 
 **********

 FCN=   7301.713     FROM HESSE     STATUS=OK            33 CALLS      307 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.0682        .81124E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.8989        6.9008        .50000       -.22204    
   3  Normalizat    .86122        .18449        .25702E-03   -.97837    
   4  Prefactor     1.1817        .23376        .28159E-03   -.86898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.33241e-10
Minuit parameter uncertainties:
  1  1.7179e-05
  2  5.61402
  3  0.184629
  4  0.233969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886394': 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) = 7301.71324072
delta logL = -3.95630195271e-10

Extracting fit parameters...

4FGL J1317.6+3428
   Spectrum: PowerLaw
319    Prefactor:  5.551e-11  1.718e-05  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  3.899e+00  5.614e+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.182e+00  2.340e-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:  8.612e-01  1.846e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/886394/cmap_HighResolution_692409601_692668801_4FGL_J1317.6+3428_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-03', job_status='DONE', photon_flux_upper_limit='5.79e-08', time_completed='2022-12-14 00:52:15.550144', job_id='886394', GAL2='1.18', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1671007935.55', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-3.96e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1748' AND source_name='4FGL J1317.6+3428' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:52:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0145>
Subject: Job 886394: <4FGL_J1317.6+3428_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1317.6+3428_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:40:21 2022
Job was executed on host(s) <bullet0145>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:40:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:40:22 2022
Terminated at Wed Dec 14 00:52:15 2022
Results reported at Wed Dec 14 00:52:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1317.6+3428_daily_bin1748 199.401 34.4676 692409601 692668801 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 :                                   597.62 sec.
    Max Memory :                                 774 MB
    Average Memory :                             298.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            714 sec.

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

