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


Performing analysis on: 4FGL_J1517.7+6525_daily_bin1716
RA = 229.436, Dec = 65.424
tmin = 684115201, tmax = 684374401
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='159756', job_status='RUN', time_executed='2022-09-16 19:02:12.882572', time_epoch_executed='1663380132.88' WHERE source_name='4FGL J1517.7+6525' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159756/ft1_4FGL_J1517.7+6525_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159756/ft2_4FGL_J1517.7+6525_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159756/ft1_4FGL_J1517.7+6525_daily_bin1716.fits outfile=/scratch/kocevski/159756/ft1_filteredMKT_4FGL_J1517.7+6525_daily_bin1716.fits ra=229.436 dec=65.424 rad=12.0 tmin=684115201.0 tmax=684374401.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.41
user 3.16
sys 0.22

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

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

Number of photons that the gtmktime cut: 562

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159756/ft1_filtered_4FGL_J1517.7+6525_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/159756/ft2_4FGL_J1517.7+6525_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/159756/ltcube_684115201_684374401_4FGL_J1517.7+6525_daily_bin1716.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/159756/ft2_4FGL_J1517.7+6525_daily_bin1716.fits
.....................!
real 13.61
user 12.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159756/ft1_filtered_4FGL_J1517.7+6525_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/159756/ft2_4FGL_J1517.7+6525_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/159756/ltcube_684115201_684374401_4FGL_J1517.7+6525_daily_bin1716.fits outfile=/scratch/kocevski/159756/expmap_684115201_684374401_4FGL_J1517.7+6525_daily_bin1716.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/159756/ltcube_684115201_684374401_4FGL_J1517.7+6525_daily_bin1716.fits
.....................!
real 162.90
user 152.42
sys 4.13

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/159756/ft1_filtered_4FGL_J1517.7+6525_daily_bin1716.fits scfile=/scratch/kocevski/159756/ft2_4FGL_J1517.7+6525_daily_bin1716.fits outfile=/scratch/kocevski/159756/cmap_684115201_684374401_4FGL_J1517.7+6525_daily_bin1716.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.49
user 0.34
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159756/ft1_filtered_4FGL_J1517.7+6525_daily_bin1716.fits scfile=/scratch/kocevski/159756/ft2_4FGL_J1517.7+6525_daily_bin1716.fits outfile=/scratch/kocevski/159756/cmap_HighResolution_684115201_684374401_4FGL_J1517.7+6525_daily_bin1716.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.50
user 0.33
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159756/ft1_filtered_4FGL_J1517.7+6525_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/159756/ft2_4FGL_J1517.7+6525_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159756/Model_4FGL_J1517.7+6525_daily_bin1716.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/159756/ft1_filtered_4FGL_J1517.7+6525_daily_bin1716.fits.....................!
real 45.10
user 43.83
sys 1.04

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23230E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11311E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9675       1.0000          .0000       .10000E+07
     4 'Prefactor '    .71633E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .65219E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .30617E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    47.371       1.0000          .0000       .10000E+07
     8 'Prefactor '    .21166E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.133       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.9051       1.0000          .0000       .10000E+07
    11 'Prefactor '    .28399       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.634       1.0000          .0000       .10000E+07
    13 'Prefactor '    30.214       1.0000          .0000       .10000E+07
    14 'norm      '    .76994E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .31058       1.0000          .0000       .10000E+07
    16 'Prefactor '    13.007       1.0000          .0000       .10000E+07
    17 'norm      '    .11858E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    33.779       1.0000          .0000       .10000E+07
    19 'Prefactor '    .77390E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    60.532       1.0000          .0000       .10000E+07
    21 'norm      '    20.305       1.0000          .0000       .10000E+07
    22 'norm      '    .44964E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    17.966       1.0000          .0000       .10000E+07
    24 'Prefactor '    .71212E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .81647       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90381       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=   6066.844     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     2212 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49644E-06    49.984        .47641E-07** at limit **
   2  Prefactor     .16653E-08    9.2079       -.51876E-07** at limit **
   3  Prefactor     2.9689        3.8469        .18815E-07    .14269E-03
   4  Prefactor     .89145E-06    7.1991        .26813E-07** at limit **
   5  Prefactor     .28588E-07    16.892       -.11529E-06** at limit **
   6  Prefactor     .27500E-05    31.633       -.10695E-05** at limit **
   7  Prefactor     46.902        3.4809       -.14428E-07   -.29591E-01
   8  Prefactor     .28810E-07    7.7046       -.11069E-06** at limit **
   9  Prefactor     14.913        6.0186       -.96187E-07    .17703E-01
  10  Prefactor     5.7849        8.7153       -.34274E-06   -.77257E-03
  11  Prefactor     .35490E-05    70.308        .51443E-06** at limit **
  12  Prefactor     12.635        9.1672       -.17332E-06    .21526E-02
  13  Prefactor     29.453        9.8403       -.93858E-07    .23408E-01
  14  norm           .0000        .71416       -.14247E-06** at limit **
  15  Prefactor     .26645E-08    6.3257        .35458E-07** at limit **
  16  Prefactor     13.104        8.2698        .14997E-06    .76905E-02
  17  norm          .72580E-05    15.952       -.53859E-06** at limit **
  18  Prefactor     35.038        17.557       -.54716E-07   -.42888E-01
  19  Prefactor     .44187E-07    6.2676       -.22011E-06** at limit **
  20  Prefactor     61.351        6.8486        .40807E-09   -.17819E-01
  21  norm          20.367        9.9251       -.23869E-07   -.35553E-02
  22  norm           .0000        .22193        .27750E-07** at limit **
  23  Prefactor     17.856        9.6503        .54919E-07    .26789E-02
  24  Prefactor     .60951E-07    7.7503        .39936E-07** at limit **
  25  Normalizat    .81658        .17761        .27116E-05   -.17290E-04
  26  Prefactor     .90378        .17815       -.40038E-05   -.22914E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.96436e-07
  Prefactor  = 1.66533e-09
  Prefactor  = 2.9689
  Prefactor  = 8.91454e-07
  Prefactor  = 2.85882e-08
  Prefactor  = 2.74997e-06
  Prefactor  = 46.902
  Prefactor  = 2.88103e-08
  Prefactor  = 14.9127
  Prefactor  = 5.78494
  Prefactor  = 3.54905e-06
  Prefactor  = 12.6351
  Prefactor  = 29.4529
  norm       = 0
  Prefactor  = 2.66454e-09
  Prefactor  = 13.1039
  norm       = 7.25797e-06
  Prefactor  = 35.0384
  Prefactor  = 4.41869e-08
  Prefactor  = 61.3515
  norm       = 20.3671
  norm       = 0
  Prefactor  = 17.8556
  Prefactor  = 6.09512e-08
  Normalizat = 0.816584
  Prefactor  = 0.903776
 **********
 **   18 **HESSE 
 **********

 FCN=   6066.844     FROM HESSE     STATUS=OK           512 CALLS     2724 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49644E-06    63.812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-08    9.2539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9689        3.8676        .58919E-03   -1.5674    
   4  Prefactor     .89145E-06    9.6112        .74171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .28588E-07    18.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27500E-05    42.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.902        33.900        .14530E-03   -1.5571    
   8  Prefactor     .28810E-07    7.8736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.913        23.310        .25721E-03   -1.5631    
  10  Prefactor     5.7849        8.7523        .41301E-03   -1.5660    
  11  Prefactor     .35490E-05    97.426        .10439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.635        9.1732        .28156E-03   -1.5637    
  13  Prefactor     29.453        21.805        .18196E-03   -1.5599    
  14  norm           .0000        .71437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26645E-08    103.95        .10068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.104        8.3599        .27748E-03   -1.5636    
  17  norm          .72580E-05    53.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     35.038        39.162        .17208E-03   -1.5590    
  19  Prefactor     .44187E-07    240.39        .14582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     61.351        38.558        .12854E-03   -1.5551    
  21  norm          20.367        9.9336        .22199E-03   -1.5618    
  22  norm           .0000        .22078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.856        9.7724        .23602E-03   -1.5623    
  24  Prefactor     .60951E-07    8.0024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .81658        .15481        .43825E-01   -.99456    
  26  Prefactor     .90378        .15372        .45054E-01   -.96009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85077e-07
Minuit parameter uncertainties:
  1  0.011257
  2  0.00024881
  3  3.86761
  4  0.00585414
  5  0.00146478
  6  0.0216975
  7  33.9004
  8  0.000952926
  9  23.3101
  10  8.75232
  11  0.0371903
  12  9.17317
  13  21.8053
  14  9.18011e-07
  15  0.001058
  16  8.35988
  17  0.039285
  18  39.1626
  19  0.00651871
  20  38.5585
  21  9.93361
  22  8.18014e-08
  23  9.77237
  24  0.00139682
  25  0.154892
  26  0.153792
Done.

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

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  2.945e+01  2.181e+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:  9.038e-01  1.538e-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:  8.166e-01  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 229.436 65.424
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 1.75e-08 +/- 1.29e-08
Energy Flux (Fixed Index): 1.99e-05 +/- 1.48e-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) = 6066.84113673
delta logL = 0.00314604002415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6066.83896052
delta logL = 0.00532225301777

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6066.839     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      264 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.332        30.194        .35744E-04    .10604E-02
   2  Index         1.7629        .52604        .62263E-02   -.12564E-04
   3  Normalizat    .81751        .17176        .23348E-03   -.11599E-03
   4  Prefactor     .90332        .17672        .22841E-03    .24886E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.3322
  Index      = 1.76293
  Normalizat = 0.817512
  Prefactor  = 0.903324
 **********
 **   18 **HESSE 
 **********

 FCN=   6066.839     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.332        29.253        .14298E-05   -1.5596    
   2  Index         1.7629        .50977        .24905E-03   -.70419    
   3  Normalizat    .81751        .17189        .93390E-05   -.99422    
   4  Prefactor     .90332        .17688        .91366E-05   -.96025    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11509e-10
Minuit parameter uncertainties:
  1  29.2534
  2  0.511302
  3  0.172008
  4  0.176994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159756': 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) = 6066.83896004
delta logL = 0.00532273352292

Extracting fit parameters...

4FGL J1517.7+6525
   Spectrum: PowerLaw
340    Prefactor:  3.133e+01  2.925e+01  0.000e+00  1.000e+06 ( 1.000e-14)
341        Index:  1.763e+00  5.113e-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:  9.033e-01  1.770e-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:  8.175e-01  1.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.63
Ra Dec: 229.436 65.424
Photon Index (Free Index): 1.76 +/- 0.51
Photon Flux (Free Index): 1.66e-08 +/- 1.50e-08
Energy Flux (Free Index): 2.22e-05 +/- 2.86e-05

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/159756/cmap_HighResolution_684115201_684374401_4FGL_J1517.7+6525_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.75e-08', energy_flux2='2.22e-05', photon_flux_error='1.29e-08', dlogl='5.32e-03', energy_flux='1.99e-05', photon_flux2='1.66e-08', job_status='DONE', time_completed='2022-09-16 19:11:51.121331', photon_index_error2='0.51', photon_index2='1.76', ts='5.63', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.86e-05', EG='0.82', time_epoch_completed='1663380711.12', return_code='0', job_id='159756', GAL2='0.90', EG2='0.82', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='1.50e-08', ts2='5.63', photon_index='1.82' WHERE bin_id='1716' AND source_name='4FGL J1517.7+6525' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:11:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 159756: <4FGL_J1517.7+6525_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1517.7+6525_daily_bin1716> 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) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:01:49 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:49 2022
Terminated at Fri Sep 16 19:11:52 2022
Results reported at Fri Sep 16 19:11:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1517.7+6525_daily_bin1716 229.436 65.424 684115201 684374401 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 :                                   547.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            689 sec.

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

