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


Performing analysis on: 4FGL_J1517.7+6525_daily_bin1708
RA = 229.436, Dec = 65.424
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='159744', job_status='RUN', time_executed='2022-09-16 19:02:24.945785', time_epoch_executed='1663380144.95' WHERE source_name='4FGL J1517.7+6525' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159744

Creating custom pfile directory:
/scratch/kocevski/159744/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/159744/ft1_4FGL_J1517.7+6525_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/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159744/ft1_4FGL_J1517.7+6525_daily_bin1708.fits outfile=/scratch/kocevski/159744/ft1_filteredMKT_4FGL_J1517.7+6525_daily_bin1708.fits ra=229.436 dec=65.424 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.99
user 3.74
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_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/159744/ft1_filteredMKT_4FGL_J1517.7+6525_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/159744/ft1_filtered_4FGL_J1517.7+6525_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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159744/ft1_filtered_4FGL_J1517.7+6525_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/159744/ltcube_682041601_682300801_4FGL_J1517.7+6525_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/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits
.....................!
real 13.61
user 13.19
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159744/ft1_filtered_4FGL_J1517.7+6525_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/159744/ltcube_682041601_682300801_4FGL_J1517.7+6525_daily_bin1708.fits outfile=/scratch/kocevski/159744/expmap_682041601_682300801_4FGL_J1517.7+6525_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/159744/ltcube_682041601_682300801_4FGL_J1517.7+6525_daily_bin1708.fits
.....................!
real 195.37
user 188.19
sys 5.55

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

Setting source of interest to:
4FGL J1517.7+6525 @ 229.436 65.424

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/159744/ft1_filtered_4FGL_J1517.7+6525_daily_bin1708.fits scfile=/scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits outfile=/scratch/kocevski/159744/cmap_682041601_682300801_4FGL_J1517.7+6525_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=229.436 yref=65.424 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159744/ft1_filtered_4FGL_J1517.7+6525_daily_bin1708.fits scfile=/scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits outfile=/scratch/kocevski/159744/cmap_HighResolution_682041601_682300801_4FGL_J1517.7+6525_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=229.436 yref=65.424 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159744/ft1_filtered_4FGL_J1517.7+6525_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159744/Model_4FGL_J1517.7+6525_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/159744/ft1_filtered_4FGL_J1517.7+6525_daily_bin1708.fits.....................!
real 59.41
user 57.80
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159744/ft1_filtered_4FGL_J1517.7+6525_daily_bin1708.fits', '/scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits', expMap='/scratch/kocevski/159744/expmap_682041601_682300801_4FGL_J1517.7+6525_daily_bin1708.fits', expCube='/scratch/kocevski/159744/ltcube_682041601_682300801_4FGL_J1517.7+6525_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159744/Model_4FGL_J1517.7+6525_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7+6525'

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  8.633e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/159744/ft1_filtered_4FGL_J1517.7+6525_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/159744/ft2_4FGL_J1517.7+6525_daily_bin1708.fits
Exposure map: /scratch/kocevski/159744/expmap_682041601_682300801_4FGL_J1517.7+6525_daily_bin1708.fits
Exposure cube: /scratch/kocevski/159744/ltcube_682041601_682300801_4FGL_J1517.7+6525_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159744/Model_4FGL_J1517.7+6525_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) = 6834.66402005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.985       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11626E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24994E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20216E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    31.303       1.0000          .0000       .10000E+07
     6 'Prefactor '    .72451E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .74336E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .23219E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16287E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .31855E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.900       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.5832       1.0000          .0000       .10000E+07
    13 'Prefactor '    30.924       1.0000          .0000       .10000E+07
    14 'norm      '    .17852E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .25005       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12358E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .13266E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .41461E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.4966       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.3062       1.0000          .0000       .10000E+07
    21 'norm      '    19.772       1.0000          .0000       .10000E+07
    22 'norm      '    .19540E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    .40549E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .12771E-01   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1635       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .68510       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6834.658     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2215 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.518        55.796        .47721E-05    .44907E-01
   2  Prefactor     .76661E-06    11.095        .15190E-05** at limit **
   3  Prefactor      .0000        3.2219        .25550E-06** at limit **
   4  Prefactor     .16653E-09    23.955        .28219E-05** at limit **
   5  Prefactor     31.130        27.037       -.73016E-06   -.93786E-01
   6  Prefactor     .53918E-05    11.182        .72980E-06** at limit **
   7  Prefactor     .23948E-06    10.598        .95357E-08** at limit **
   8  Prefactor     .17053E-06    4.4192       -.16021E-06** at limit **
   9  Prefactor     .55089E-06    4.8556        .44477E-07** at limit **
  10  Prefactor      .0000        5.7083        .11838E-06** at limit **
  11  Prefactor     18.017        10.329        .89383E-07    .53725E-02
  12  Prefactor     9.5944        8.1453       -.12605E-06   -.73818E-03
  13  Prefactor     30.914        4.9309        .52783E-07    .36030E-01
  14  norm           .0000        1.6133       -.11129E-06** at limit **
  15  Prefactor     .18208E-07    46.970        .15460E-05** at limit **
  16  Prefactor      .0000        2.3014       -.17527E-06** at limit **
  17  norm           .0000        4.7844        .35598E-06** at limit **
  18  Prefactor     .28098E-05    6.1314       -.10220E-05** at limit **
  19  Prefactor     3.0226        212.05       -.17807E-04    .20902E-01
  20  Prefactor     8.2968        1.5130        .14002E-07   -.16898E-02
  21  norm          19.765        8.3613       -.21828E-06   -.25241E-02
  22  norm           .0000        .33361        .14803E-06** at limit **
  23  Prefactor      .0000        2.0989        .18032E-06** at limit **
  24  Prefactor     .28624E-05    17.287        .51959E-06** at limit **
  25  Normalizat    1.1636        .17252       -.73636E-05    .16409E-05
  26  Prefactor     .68518        .16935        .14221E-04    .16335E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.5182
  Prefactor  = 7.66609e-07
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 31.1297
  Prefactor  = 5.3918e-06
  Prefactor  = 2.39475e-07
  Prefactor  = 1.7053e-07
  Prefactor  = 5.50893e-07
  Prefactor  = 0
  Prefactor  = 18.0168
  Prefactor  = 9.59443
  Prefactor  = 30.9144
  norm       = 0
  Prefactor  = 1.82077e-08
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.80975e-06
  Prefactor  = 3.02257
  Prefactor  = 8.29676
  norm       = 19.7652
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.86238e-06
  Normalizat = 1.1636
  Prefactor  = 0.685179
 **********
 **   18 **HESSE 
 **********

 FCN=   6834.658     FROM HESSE     STATUS=OK           506 CALLS     2721 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.518        73.398        .14006E-03   -1.5564    
   2  Prefactor     .76661E-06    15.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        3.1944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    6.3671        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.130        35.782        .17876E-03   -1.5596    
   6  Prefactor     .53918E-05    18.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .23948E-06    10.911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .17053E-06    13.239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55089E-06    13.233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.7053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.017        32.663        .23645E-03   -1.5623    
  12  Prefactor     9.5944        8.1269        .32347E-03   -1.5646    
  13  Prefactor     30.914        24.828        .17985E-03   -1.5597    
  14  norm           .0000        1.5993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .18208E-07    46.910        .10945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.3000        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        4.7492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .28098E-05    12.128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0226        594.73        .54046E-03   -1.5673    
  20  Prefactor     8.2968        20.663        .34761E-03   -1.5650    
  21  norm          19.765        8.3701        .22497E-03   -1.5619    
  22  norm           .0000        .32598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        2.0974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .28624E-05    20.480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1636        .14977        .35854E-01   -.87735    
  26  Prefactor     .68518        .14742        .42203E-01   -1.0411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43617e-06
Minuit parameter uncertainties:
  1  73.3988
  2  0.00690126
  3  2.79166e-06
  4  6.83399e-05
  5  35.7822
  6  0.019845
  7  0.0032329
  8  0.00300514
  9  0.00540018
  10  5.54574e-06
  11  32.6629
  12  8.12686
  13  24.8277
  14  1.49475e-06
  15  0.00184757
  16  1.43359e-06
  17  1.08818e-05
  18  0.0116748
  19  84.8049
  20  20.6634
  21  8.37012
  22  5.55878e-08
  23  1.41476e-06
  24  0.0153131
  25  0.149824
  26  0.147506
Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  3.091e+01  2.483e+01  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.816e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  6.852e-01  1.475e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.164e+00  1.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.94
Ra Dec: 229.436 65.424
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.83e-08 +/- 1.47e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 1.68e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6834.25393456
delta logL = 0.404434820374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6834.25388011
delta logL = 0.404489267183

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.336       1.0000          .0000       .10000E+07
     2 'Index     '    1.2557       1.0000          .0000       10.000    
     3 'Normalizat'    1.1712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68414       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6834.254     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      236 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.374        40.118        .16591E-03    .17220E-03
   2  Index         1.2560        .66241        .22080       -.56075E-04
   3  Normalizat    1.1713        .14637        .35639E-01   -.58771E-04
   4  Prefactor     .68408        .14549        .42190E-01   -.18155E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.3741
  Index      = 1.25599
  Normalizat = 1.17129
  Prefactor  = 0.684078
 **********
 **   18 **HESSE 
 **********

 FCN=   6834.254     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.374        30.222        .66365E-05   -1.5587    
   2  Index         1.2560        .56138        .11539E-01   -.84625    
   3  Normalizat    1.1713        .16768        .20146E-03   -.87495    
   4  Prefactor     .68408        .16743        .25540E-03   -1.0415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83181e-11
Minuit parameter uncertainties:
  1  30.222
  2  0.564095
  3  0.167752
  4  0.167558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159744': 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) = 6834.25387926
delta logL = 0.404490112437

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  3.637e+01  3.022e+01  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.256e+00  5.641e-01  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  3.014e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  6.841e-01  1.676e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  1.171e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.74
Ra Dec: 229.436 65.424
Photon Index (Free Index): 1.26 +/- 0.56
Photon Flux (Free Index): 8.49e-09 +/- 9.39e-09
Energy Flux (Free Index): 5.98e-05 +/- 7.57e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/159744/cmap_HighResolution_682041601_682300801_4FGL_J1517.7+6525_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.83e-08', energy_flux2='5.98e-05', photon_flux_error='1.47e-08', dlogl='4.04e-01', energy_flux='2.09e-05', photon_flux2='8.49e-09', job_status='DONE', time_completed='2022-09-16 19:14:09.365542', photon_index_error2='0.56', photon_index2='1.26', ts='5.94', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='7.57e-05', EG='1.16', time_epoch_completed='1663380849.37', return_code='0', job_id='159744', GAL2='0.68', EG2='1.17', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='9.39e-09', ts2='6.74', photon_index='1.82' WHERE bin_id='1708' AND source_name='4FGL J1517.7+6525' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:14:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 159744: <4FGL_J1517.7+6525_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1517.7+6525_daily_bin1708> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 19:00:23 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:01:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 19:01:43 2022
Terminated at Fri Sep 16 19:14:10 2022
Results reported at Fri Sep 16 19:14:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1517.7+6525_daily_bin1708 229.436 65.424 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1517.7+6525 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   704.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             359.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            827 sec.

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

