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


Performing analysis on: 4FGL_J1517.7+6525_daily_bin1760
RA = 229.436, Dec = 65.424
tmin = 695520001, tmax = 695779201
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='741755', job_status='RUN', time_executed='2023-01-19 01:10:51.333526', time_epoch_executed='1674119451.33' WHERE source_name='4FGL J1517.7+6525' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/741755

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/741755/ft1_4FGL_J1517.7+6525_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/741755/ft1_4FGL_J1517.7+6525_daily_bin1760.fits outfile=/scratch/kocevski/741755/ft1_filteredMKT_4FGL_J1517.7+6525_daily_bin1760.fits ra=229.436 dec=65.424 rad=12.0 tmin=695520001.0 tmax=695779201.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 2.45
user 2.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.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/741755/ft1_filteredMKT_4FGL_J1517.7+6525_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.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.54
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 793

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/741755/ltcube_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.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/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits
.....................!
real 16.97
user 16.34
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/741755/ltcube_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.fits outfile=/scratch/kocevski/741755/expmap_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.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/741755/ltcube_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.fits
.....................!
real 193.79
user 187.13
sys 5.94

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/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.fits scfile=/scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits outfile=/scratch/kocevski/741755/cmap_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.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.56
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.fits scfile=/scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits outfile=/scratch/kocevski/741755/cmap_HighResolution_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/741755/Model_4FGL_J1517.7+6525_daily_bin1760.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/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.fits.....................!
real 71.55
user 69.67
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.fits', '/scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits', expMap='/scratch/kocevski/741755/expmap_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.fits', expCube='/scratch/kocevski/741755/ltcube_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/741755/Model_4FGL_J1517.7+6525_daily_bin1760.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/741755/ft1_filtered_4FGL_J1517.7+6525_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/741755/ft2_4FGL_J1517.7+6525_daily_bin1760.fits
Exposure map: /scratch/kocevski/741755/expmap_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.fits
Exposure cube: /scratch/kocevski/741755/ltcube_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/741755/Model_4FGL_J1517.7+6525_daily_bin1760.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) = 8673.32471763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.400       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12884E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.6139       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15998E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12221E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10402E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.9140       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.0971       1.0000          .0000       .10000E+07
     9 'Prefactor '    17.778       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17557E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .79207       1.0000          .0000       .10000E+07
    12 'Prefactor '    .12065E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19390E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .92964       1.0000          .0000       .10000E+07
    15 'Prefactor '    51.816       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13911E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.1222       1.0000          .0000       .10000E+07
    18 'Prefactor '    .20273E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .13145E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    29.165       1.0000          .0000       .10000E+07
    21 'norm      '    .15102E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .34972E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    7.3590       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.1797       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0734       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0168       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=   8673.271     FROM MIGRAD    STATUS=CONVERGED    193 CALLS     2258 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.561        35.417        .21799E-06   -.95377E-01
   2  Prefactor     .95751E-06    7.5055        .51153E-06** at limit **
   3  Prefactor     1.5983        4.2385       -.17628E-06    .24322E-03
   4  Prefactor     .22204E-09    8.1379        .78055E-06** at limit **
   5  Prefactor     .98993E-06    7.6983        .47148E-06** at limit **
   6  Prefactor     .11168E-04    21.260       -.28768E-06** at limit **
   7  Prefactor     3.6157        127.31       -.35791E-05    .52226E-01
   8  Prefactor     5.0619        11.142        .30995E-06   -.16253E-03
   9  Prefactor     17.607        17.253       -.72593E-07    .15517E-01
  10  Prefactor      .0000        10.299       -.17679E-06** at limit **
  11  Prefactor     .22288E-02    314.97       -.32713E-05** at limit **
  12  Prefactor     .31690E-01    9.3074       -.12744E-05** at limit **
  13  Prefactor     .11102E-09    6.7754       -.22274E-06** at limit **
  14  norm          .93851        1.4372       -.47834E-07    .97189E-04
  15  Prefactor     48.792        50.912       -.15107E-05   -.20033    
  16  Prefactor      .0000        1.9579       -.52198E-07** at limit **
  17  norm          1.0956        4.8177       -.28418E-06    .21184E-05
  18  Prefactor     .71110E-07    33.674       -.10291E-05** at limit **
  19  Prefactor     .13232E-04    21.235       -.90112E-07** at limit **
  20  Prefactor     29.155        2.4444       -.15134E-07   -.43740E-01
  21  norm           .0000        1.9422       -.39029E-06** at limit **
  22  norm           .0000        .19893       -.24102E-08** at limit **
  23  Prefactor     7.3292        5.6100       -.92546E-07    .77056E-03
  24  Prefactor     4.2463        10.923       -.15296E-06    .63256E-03
  25  Normalizat    1.0747        .16553        .43580E-05   -.17779E-04
  26  Prefactor     1.0169        .16374       -.19782E-05    .53674E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.5611
  Prefactor  = 9.57512e-07
  Prefactor  = 1.5983
  Prefactor  = 2.22045e-10
  Prefactor  = 9.8993e-07
  Prefactor  = 1.11682e-05
  Prefactor  = 3.61572
  Prefactor  = 5.06189
  Prefactor  = 17.6072
  Prefactor  = 0
  Prefactor  = 0.0022288
  Prefactor  = 0.0316901
  Prefactor  = 1.11022e-10
  norm       = 0.938512
  Prefactor  = 48.7924
  Prefactor  = 0
  norm       = 1.0956
  Prefactor  = 7.11098e-08
  Prefactor  = 1.32316e-05
  Prefactor  = 29.1552
  norm       = 0
  norm       = 0
  Prefactor  = 7.32922
  Prefactor  = 4.24629
  Normalizat = 1.07469
  Prefactor  = 1.01691
 **********
 **   18 **HESSE 
 **********

 FCN=   8673.271     FROM HESSE     STATUS=OK           516 CALLS     2774 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.561        96.084        .14526E-03   -1.5569    
   2  Prefactor     .95751E-06    13.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.5983        4.3523        .83322E-03   -1.5683    
   4  Prefactor     .22204E-09    8.1286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .98993E-06    13.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11168E-04    42.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6157        154.48        .45349E-03   -1.5670    
   8  Prefactor     5.0619        11.204        .44510E-03   -1.5663    
   9  Prefactor     17.607        18.190        .23726E-03   -1.5624    
  10  Prefactor      .0000        10.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22288E-02    29.006        .14487E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .31690E-01    6.4005        .56778E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11102E-09    6.7821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .93851        1.4534        .43732E-03   -1.5689    
  15  Prefactor     48.792        65.578        .13893E-03   -1.5568    
  16  Prefactor      .0000        1.9558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0956        4.8631        .11073E-02   -1.5687    
  18  Prefactor     .71110E-07    33.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .13232E-04    41.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     29.155        27.430        .18520E-03   -1.5600    
  21  norm           .0000        1.9369        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .19720        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.3292        5.6375        .36949E-03   -1.5654    
  24  Prefactor     4.2463        10.986        .49272E-03   -1.5667    
  25  Normalizat    1.0747        .14770        .39204E-01   -.90569    
  26  Prefactor     1.0169        .14327        .42480E-01   -.92168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.69395e-06
Minuit parameter uncertainties:
  1  96.087
  2  0.0072551
  3  4.35229
  4  8.32534e-05
  5  0.00736261
  6  0.0435618
  7  47.2682
  8  11.204
  9  18.1897
  10  2.24891e-05
  11  0.50852
  12  0.900736
  13  4.87281e-05
  14  1.45336
  15  65.5785
  16  1.73653e-06
  17  4.61651
  18  0.00310438
  19  0.0468099
  20  27.4304
  21  4.78246e-06
  22  2.10565e-08
  23  5.63748
  24  10.9857
  25  0.147759
  26  0.143326
Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  1.110e-10  4.873e-05  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:  1.017e+00  1.433e-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.075e+00  1.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.436 65.424
Photon Flux Upper Limit: 2.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/741755/likelihoodResults_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.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) = 8673.34207306
delta logL = -0.0706056520667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8673.27146751
delta logL = -1.0356598068e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19151E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .89683       1.0000          .0000       10.000    
     3 'Normalizat'    1.0747       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0169       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=   8673.271     FROM MIGRAD    STATUS=CONVERGED     23 CALLS      190 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    8.3482       -.39818E-05** at limit **
   2  Index         1.5968        2.5120        .12967E-03    .79574E-11
   3  Normalizat    1.0747        .15836        .19683E-05    .37624E-03
   4  Prefactor     1.0169        .16165        .28014E-05    .37750E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.5968
  Normalizat = 1.07469
  Prefactor  = 1.01691
 **********
 **   18 **HESSE 
 **********

 FCN=   8673.271     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      221 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .30757E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5968        6.2549        .44965       -.74864    
   3  Normalizat    1.0747        .21176E-03    .39139E-01   -.90569    
   4  Prefactor     1.0169        .21619E-03    .42465E-01   -.92168    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.86427e-14
Minuit parameter uncertainties:
  1  2.54147e-06
  2  7731.25
  3  0.000211759
  4  0.000216185
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/741755': 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): 102
logL (Free Index) = 8673.27146741
delta logL = -4.54747350886e-11

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  5.551e-11  2.541e-06  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.597e+00  7.731e+03  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:  1.017e+00  2.162e-04  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.075e+00  2.118e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.436 65.424

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/741755/cmap_HighResolution_695520001_695779201_4FGL_J1517.7+6525_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-03', job_status='DONE', photon_flux_upper_limit='2.05e-08', time_completed='2023-01-19 01:25:31.789754', job_id='741755', GAL2='1.02', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1674120331.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-4.55e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1760' AND source_name='4FGL J1517.7+6525' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:25:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 741755: <4FGL_J1517.7+6525_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1517.7+6525_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 01:10:15 2023
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 01:10:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 01:10:38 2023
Terminated at Thu Jan 19 01:25:32 2023
Results reported at Thu Jan 19 01:25:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1517.7+6525_daily_bin1760 229.436 65.424 695520001 695779201 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 :                                   881.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             346.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            917 sec.

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

