/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 181 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7414
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1517.7-2422_daily_bin182
RA = 229.425, Dec = -24.373
tmin = 286502401, tmax = 286761601
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='468496', job_status='RUN', time_executed='2021-09-12 00:10:21.703108', time_epoch_executed='1631430621.7' WHERE source_name='4FGL J1517.7-2422' and cadence='daily' and bin_id='182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/468496

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/468496/ft1_4FGL_J1517.7-2422_daily_bin182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/468496/ft1_4FGL_J1517.7-2422_daily_bin182.fits outfile=/scratch/kocevski/468496/ft1_filteredMKT_4FGL_J1517.7-2422_daily_bin182.fits ra=229.425 dec=-24.373 rad=12.0 tmin=286502401.0 tmax=286761601.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 4.52
user 4.28
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.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/468496/ft1_filteredMKT_4FGL_J1517.7-2422_daily_bin182.fits evtable="EVENTS" outfile="/scratch/kocevski/468496/ft1_filtered_4FGL_J1517.7-2422_daily_bin182.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/468496/ft1_filtered_4FGL_J1517.7-2422_daily_bin182.fits" evtable="EVENTS" scfile=/scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits sctable="SC_DATA" outfile=/scratch/kocevski/468496/ltcube_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.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/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits
.....................!
real 13.89
user 13.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/468496/ft1_filtered_4FGL_J1517.7-2422_daily_bin182.fits evtable="EVENTS" scfile=/scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits sctable="SC_DATA" expcube=/scratch/kocevski/468496/ltcube_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.fits outfile=/scratch/kocevski/468496/expmap_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.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/468496/ltcube_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.fits
.....................!
real 190.80
user 185.91
sys 4.50

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 193 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1517.7-2422 @ 229.425 -24.373

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/468496/ft1_filtered_4FGL_J1517.7-2422_daily_bin182.fits scfile=/scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits outfile=/scratch/kocevski/468496/cmap_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.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.425 yref=-24.373 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.52
user 0.37
sys 0.14

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/468496/ft1_filtered_4FGL_J1517.7-2422_daily_bin182.fits evtable="EVENTS" scfile=/scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/468496/Model_4FGL_J1517.7-2422_daily_bin182.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/468496/ft1_filtered_4FGL_J1517.7-2422_daily_bin182.fits.....................!
real 85.82
user 84.50
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/468496/ft1_filtered_4FGL_J1517.7-2422_daily_bin182.fits', '/scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits', expMap='/scratch/kocevski/468496/expmap_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.fits', expCube='/scratch/kocevski/468496/ltcube_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/468496/Model_4FGL_J1517.7-2422_daily_bin182.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1517.7-2422'

4FGL J1517.7-2422
   Spectrum: LogParabola
315         norm:  1.141e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
316        alpha:  2.079e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
317         beta:  2.845e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
318           Eb:  8.112e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/468496/ft1_filtered_4FGL_J1517.7-2422_daily_bin182.fits
Spacecraft file(s): /scratch/kocevski/468496/ft2_4FGL_J1517.7-2422_daily_bin182.fits
Exposure map: /scratch/kocevski/468496/expmap_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.fits
Exposure cube: /scratch/kocevski/468496/ltcube_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/468496/Model_4FGL_J1517.7-2422_daily_bin182.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) = 8292.76202834

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.716       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .75734       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.080       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .45692       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .17678E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3519       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11677E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .13472E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.2168       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1032       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .71465       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8292.760     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2146 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.728        30.024        .31300E-04   -.14543E-03
   2  Prefactor     .30116E-03    51.763       -.43716E-05** at limit **
   3  Prefactor     16.080        48.556       -.98266E-05    .42657E-05
   4  Prefactor     .10001E-03    283.76        .33006E-03** at limit **
   5  Prefactor     .10000E-03    13.523       -.34895E-06** at limit **
   6  Prefactor     .10000E-03    10.204       -.40888E-07** at limit **
   7  Prefactor     .41813        5.6274       -.68427E-07   -.34141E-03
   8  norm          .10000E-03    3.3610        .26368E-07** at limit **
   9  norm          .10001E-03    222.53       -.14675E-03** at limit **
  10  norm          1.3520        .68570        .12680E-07   -.39534E-04
  11  Prefactor     .10000E-03    8.4836       -.12508E-06** at limit **
  12  norm          .10000E-03    1.4482        .80361E-07** at limit **
  13  norm          .10000E-03    2.6790       -.11477E-06** at limit **
  14  Prefactor     .10000E-03    23.754        .16589E-05** at limit **
  15  Prefactor     .10000E-03    17.330       -.65714E-06** at limit **
  16  norm          7.2163        8.4346        .35424E-08    .65235E-05
  17  Prefactor     1.1028        3.0016       -.77210E-06   -.14890E-02
  18  Prefactor     .10000E-03    27.109       -.19954E-05** at limit **
  19  Normalizat    .71484        .33217       -.43144E-05    .43092E-05
  20  Prefactor     1.0068        .87408E-01    .47645E-06    .41573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7285
  Prefactor  = 0.000301159
  Prefactor  = 16.08
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.418128
  norm       = 0.0001
  norm       = 0.000100009
  norm       = 1.35197
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.21629
  Prefactor  = 1.10283
  Prefactor  = 0.0001
  Normalizat = 0.714844
  Prefactor  = 1.00681
 **********
 **   18 **HESSE 
 **********

 FCN=   8292.760     FROM HESSE     STATUS=OK           301 CALLS     2447 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.728        29.855        .11704E-03   -1.5023    
   2  Prefactor     .30116E-03    51.034        .18912       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.080        48.510        .99880E-04   -1.4906    
   4  Prefactor     .10001E-03    283.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .41813        67.201        .40124E-02   -1.5579    
   8  norm          .10000E-03    3.4002        .16299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    224.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3520        .68264        .51759E-04   -1.5475    
  11  Prefactor     .10000E-03    8.7621        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    13.983        .21142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.6828        .14556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.2163        8.4361        .14931E-03   -1.5171    
  17  Prefactor     1.1028        3.0035        .24177E-03   -1.5498    
  18  Prefactor     .10000E-03    27.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .71484        .34934        .57959E-03   -1.0331    
  20  Prefactor     1.0068        .93322E-01    .13438E-03   -.92503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.95173e-09
Minuit parameter uncertainties:
  1  29.8929
  2  0.202815
  3  48.6289
  4  0.00343349
  5  5.30117e-05
  6  6.70074e-06
  7  10.6125
  8  2.68015e-06
  9  0.00279619
  10  0.682644
  11  2.05487e-06
  12  9.10673e-05
  13  1.76142e-06
  14  7.38428e-06
  15  2.84132e-05
  16  8.43748
  17  3.00393
  18  9.66903e-06
  19  0.350437
  20  0.0933374
Done.

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

Extracting fit parameters...

4FGL J1517.7-2422
   Spectrum: LogParabola
315         norm:  1.352e+00  6.826e-01  1.000e-04  1.000e+04 ( 1.000e-11)
316        alpha:  2.079e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
317         beta:  2.845e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
318           Eb:  8.112e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.007e+00  9.334e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
651   Normalization:  7.148e-01  3.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.16
Ra Dec: 229.425 -24.373
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 9.15e-08 +/- 4.62e-08
Energy Flux (Fixed Index): 4.91e-05 +/- 2.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) = 8292.648884
delta logL = 0.110641304866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8292.64679499
delta logL = 0.112730314482

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3635       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8877       1.0000          .0000       5.0000    
     3 'Normalizat'    .73151       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8292.647     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3631        20.253        .93455E-02    .10577E-03
   2  alpha         1.8871        3.1128        .32651       -.74998E-05
   3  Normalizat    .73224        .37250        .12920        .41137E-04
   4  Prefactor     1.0045        .92825E-01    .30444E-01    .47876E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.36312
  alpha      = 1.88712
  Normalizat = 0.73224
  Prefactor  = 1.0045
 **********
 **   18 **HESSE 
 **********

 FCN=   8292.647     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3631        .71978        .54130E-04   -1.5474    
   2  alpha         1.8871        .39795        .12355E-01   -.24768    
   3  Normalizat    .73224        .33795        .57327E-03   -1.0263    
   4  Prefactor     1.0045        .92342E-01    .13453E-03   -.92580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66945e-12
Minuit parameter uncertainties:
  1  0.719786
  2  0.399764
  3  0.338919
  4  0.0923561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/468496': 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) = 8292.64679197
delta logL = 0.11273333431

Extracting fit parameters...

4FGL J1517.7-2422
   Spectrum: LogParabola
315         norm:  1.363e+00  7.198e-01  1.000e-04  1.000e+04 ( 1.000e-11)
316        alpha:  1.887e+00  3.998e-01  0.000e+00  5.000e+00 ( 1.000e+00)
317         beta:  2.845e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
318           Eb:  8.112e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.004e+00  9.236e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
651   Normalization:  7.322e-01  3.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.38
Ra Dec: 229.425 -24.373
Photon Index (Free Index): 1.89 +/- 0.40
Photon Flux (Free Index): 7.51e-08 +/- 5.18e-08
Energy Flux (Free Index): 6.17e-05 +/- 4.63e-05

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/468496/cmap_HighResolution_286502401_286761601_4FGL_J1517.7-2422_daily_bin182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.15e-08', energy_flux2='6.17e-05', photon_flux_error='4.62e-08', dlogl='1.13e-01', energy_flux='4.91e-05', photon_flux2='7.51e-08', job_status='DONE', time_completed='2021-09-12 00:21:58.514441', photon_index_error2='0.40', photon_index2='1.89', ts='13.16', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='4.63e-05', EG='0.71', time_epoch_completed='1631431318.51', return_code='0', job_id='468496', GAL2='1.00', EG2='0.73', return_code2='0', energy_flux_error='2.48e-05', photon_flux_error2='5.18e-08', ts2='13.38', photon_index='2.08' WHERE bin_id='182' AND source_name='4FGL J1517.7-2422' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 00:21:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 468496: <4FGL_J1517.7-2422_daily_bin182> in cluster <slac> Done

Job <4FGL_J1517.7-2422_daily_bin182> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 12 00:07:06 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 00:07:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 00:07:08 2021
Terminated at Sun Sep 12 00:21:59 2021
Results reported at Sun Sep 12 00:21:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1517.7-2422_daily_bin182 229.425 -24.373 286502401 286761601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1517.7-2422 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   692.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            893 sec.

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

