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


Performing analysis on: 4FGL_J1317.6+3428_daily_bin1762
RA = 199.401, Dec = 34.4676
tmin = 696038401, tmax = 696297601
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='109198', job_status='RUN', time_executed='2023-01-25 00:57:43.271133', time_epoch_executed='1674637063.27' WHERE source_name='4FGL J1317.6+3428' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/109198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/109198/ft1_4FGL_J1317.6+3428_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/109198/ft2_4FGL_J1317.6+3428_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/109198/ft1_4FGL_J1317.6+3428_daily_bin1762.fits outfile=/scratch/kocevski/109198/ft1_filteredMKT_4FGL_J1317.6+3428_daily_bin1762.fits ra=199.401 dec=34.4676 rad=12.0 tmin=696038401.0 tmax=696297601.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.67
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/109198/ft2_4FGL_J1317.6+3428_daily_bin1762.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/109198/ft1_filteredMKT_4FGL_J1317.6+3428_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/109198/ft1_filtered_4FGL_J1317.6+3428_daily_bin1762.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 586

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/109198/ft1_filtered_4FGL_J1317.6+3428_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/109198/ft2_4FGL_J1317.6+3428_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/109198/ltcube_696038401_696297601_4FGL_J1317.6+3428_daily_bin1762.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/109198/ft2_4FGL_J1317.6+3428_daily_bin1762.fits
.....................!
real 14.01
user 13.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/109198/ft1_filtered_4FGL_J1317.6+3428_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/109198/ft2_4FGL_J1317.6+3428_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/109198/ltcube_696038401_696297601_4FGL_J1317.6+3428_daily_bin1762.fits outfile=/scratch/kocevski/109198/expmap_696038401_696297601_4FGL_J1317.6+3428_daily_bin1762.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/109198/ltcube_696038401_696297601_4FGL_J1317.6+3428_daily_bin1762.fits
.....................!
real 192.72
user 187.47
sys 4.81

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/109198/ft1_filtered_4FGL_J1317.6+3428_daily_bin1762.fits scfile=/scratch/kocevski/109198/ft2_4FGL_J1317.6+3428_daily_bin1762.fits outfile=/scratch/kocevski/109198/cmap_696038401_696297601_4FGL_J1317.6+3428_daily_bin1762.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.59
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/109198/ft1_filtered_4FGL_J1317.6+3428_daily_bin1762.fits scfile=/scratch/kocevski/109198/ft2_4FGL_J1317.6+3428_daily_bin1762.fits outfile=/scratch/kocevski/109198/cmap_HighResolution_696038401_696297601_4FGL_J1317.6+3428_daily_bin1762.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.59
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4983       1.0000          .0000       .10000E+07
     2 'Prefactor '    .81169E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    16.854       1.0000          .0000       .10000E+07
     4 'Prefactor '    .58301E-03   1.0000          .0000       .10000E+07
     5 'norm      '    10.157       1.0000          .0000       .10000E+07
     6 'Prefactor '    36.083       1.0000          .0000       .10000E+07
     7 'norm      '    5.6577       1.0000          .0000       .10000E+07
     8 'Prefactor '    .61025E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .85863E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .54897E-02   1.0000          .0000       .10000E+07
    11 'norm      '    41.155       1.0000          .0000       .10000E+07
    12 'norm      '    19.897       1.0000          .0000       .10000E+07
    13 'norm      '    67.223       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12937E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .13062E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    13.860       1.0000          .0000       .10000E+07
    17 'Prefactor '    17.219       1.0000          .0000       .10000E+07
    18 'Prefactor '    .82156E-03   1.0000          .0000       .10000E+07
    19 'norm      '    2.6468       1.0000          .0000       .10000E+07
    20 'Prefactor '    7.0549       1.0000          .0000       .10000E+07
    21 'norm      '    13.428       1.0000          .0000       .10000E+07
    22 'Normalizat'    .97394       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1730       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=   6598.505     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1895 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5170        8.8444       -.78595E-07    .44128E-03
   2  Prefactor      .0000        3.6071       -.94916E-07** at limit **
   3  Prefactor     16.873        3.1085        .60710E-08   -.26371E-01
   4  Prefactor      .0000        4.0267       -.11722E-06** at limit **
   5  norm          10.152        8.3171       -.37629E-07    .26111E-02
   6  Prefactor     35.725        5.5689        .14808E-07   -.30229E-01
   7  norm          5.6891        4.5316        .23481E-07   -.16150E-03
   8  Prefactor     .11102E-09    10.744       -.71887E-07** at limit **
   9  norm           .0000        2.0627        .11285E-06** at limit **
  10  norm           .0000        4.9842       -.21277E-06** at limit **
  11  norm          41.552        12.274       -.17090E-06    .34097E-02
  12  norm          19.201        17.118        .28124E-06   -.43784E-03
  13  norm          65.400        14.361        .12330E-06    .22336E-01
  14  Prefactor     .55511E-10    7.4214       -.20586E-06** at limit **
  15  Prefactor     .85709E-07    44.862        .10210E-05** at limit **
  16  Prefactor     16.820        65.866       -.30294E-06   -.17072E-02
  17  Prefactor     17.184        22.495        .14297E-06    .78770E-03
  18  Prefactor     .27756E-09    41.338        .34323E-06** at limit **
  19  norm          2.6514        2.0301        .26646E-07   -.79412E-04
  20  Prefactor     7.1072        5.6444       -.69353E-07    .63003E-03
  21  norm          13.533        13.871        .72332E-07    .51590E-02
  22  Normalizat    .97185        .22866       -.58194E-05    .80957E-04
  23  Prefactor     1.1743        .26523        .33427E-05    .48908E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.51696
  Prefactor  = 0
  Prefactor  = 16.8733
  Prefactor  = 0
  norm       = 10.152
  Prefactor  = 35.7253
  norm       = 5.68909
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 0
  norm       = 41.5522
  norm       = 19.2014
  norm       = 65.4003
  Prefactor  = 5.55112e-11
  Prefactor  = 8.57092e-08
  Prefactor  = 16.82
  Prefactor  = 17.1838
  Prefactor  = 2.77556e-10
  norm       = 2.65145
  Prefactor  = 7.10722
  norm       = 13.5329
  Normalizat = 0.97185
  Prefactor  = 1.17428
 **********
 **   18 **HESSE 
 **********

 FCN=   6598.505     FROM HESSE     STATUS=OK           420 CALLS     2315 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5170        8.8385        .32492E-03   -1.5646    
   2  Prefactor      .0000        3.6064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.873        15.173        .24369E-03   -1.5626    
   4  Prefactor      .0000        4.0047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.152        10.298        .31415E-03   -1.5644    
   6  Prefactor     35.725        51.390        .16649E-03   -1.5588    
   7  norm          5.6891        4.5603        .42208E-03   -1.5660    
   8  Prefactor     .11102E-09    10.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.0637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        4.9897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          41.552        12.507        .15589E-03   -1.5579    
  12  norm          19.201        17.069        .22426E-03   -1.5620    
  13  norm          65.400        33.751        .12197E-03   -1.5546    
  14  Prefactor     .55511E-10    7.2975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .85709E-07    53.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.820        66.107        .26878E-03   -1.5626    
  17  Prefactor     17.184        22.617        .24110E-03   -1.5625    
  18  Prefactor     .27756E-09    41.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.6514        2.0362        .62638E-03   -1.5675    
  20  Prefactor     7.1072        5.6513        .37745E-03   -1.5655    
  21  norm          13.533        14.039        .27309E-03   -1.5634    
  22  Normalizat    .97185        .19407        .45840E-01   -.93980    
  23  Prefactor     1.1743        .22501        .70246E-01   -.87126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.03099e-08
Minuit parameter uncertainties:
  1  8.83854
  2  7.02925e-06
  3  15.1734
  4  9.92079e-06
  5  10.2976
  6  51.3907
  7  4.56034
  8  6.73924e-05
  9  2.40557e-06
  10  1.88986e-05
  11  12.5074
  12  17.0686
  13  33.7509
  14  4.2599e-05
  15  0.00429323
  16  66.1101
  17  22.617
  18  0.000212333
  19  2.03623
  20  5.65135
  21  14.0386
  22  0.194206
  23  0.225195
Done.

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

Extracting fit parameters...

4FGL J1317.6+3428
   Spectrum: PowerLaw
319    Prefactor:  5.551e-11  4.260e-05  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.174e+00  2.252e-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.719e-01  1.942e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/109198/likelihoodResults_696038401_696297601_4FGL_J1317.6+3428_daily_bin1762.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) = 6598.50957061
delta logL = -0.00490605165214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6598.5046648
delta logL = -2.4101609597e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34819E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.8642       1.0000          .0000       10.000    
     3 'Normalizat'    .97176       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1744       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=   6598.505     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      245 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3731        .42118E-03** at limit **
   2  Index         1.4620        .78607       -.16034E-03     .0000    
   3  Normalizat    .97185        1.3033        .24140E-04   -.40082E-03
   4  Prefactor     1.1743        1.1120       -.15820E-04   -.24905E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.46196
  Normalizat = 0.971847
  Prefactor  = 1.17428
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6598.505     FROM HESSE     STATUS=FAILED         9 CALLS      254 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .18745        1.3632       -.16034E-03   -.78611    
   3  Normalizat    .97185        1.3033        .24140E-04   -.93980    
   4  Prefactor     1.1743        1.1120       -.15820E-04   -.87126    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.03161e-10
Minuit parameter uncertainties:
  1  9.07278e-06
  2  0.792706
  3  1.35
  4  1.13535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/109198': 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) = 6598.50466456
delta logL = -1.05501385406e-10

Extracting fit parameters...

4FGL J1317.6+3428
   Spectrum: PowerLaw
319    Prefactor:  0.000e+00  9.073e-06  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  1.462e+00  7.927e-01  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.174e+00  1.135e+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.718e-01  1.350e+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/109198/cmap_HighResolution_696038401_696297601_4FGL_J1317.6+3428_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.20e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2023-01-25 01:08:22.964522', job_id='109198', GAL2='1.17', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1674637702.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='-1.06e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1762' AND source_name='4FGL J1317.6+3428' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:08:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 109198: <4FGL_J1317.6+3428_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1317.6+3428_daily_bin1762> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Jan 25 00:55:27 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:57:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:57:01 2023
Terminated at Wed Jan 25 01:08:23 2023
Results reported at Wed Jan 25 01:08:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1317.6+3428_daily_bin1762 199.401 34.4676 696038401 696297601 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 :                                   641.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            776 sec.

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

