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


Performing analysis on: 4FGL_J1017.8+0715_daily_bin1714
RA = 154.473, Dec = 7.2638
tmin = 683596801, tmax = 683856001
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='90493', job_status='RUN', time_executed='2022-09-16 15:13:32.982016', time_epoch_executed='1663366412.98' WHERE source_name='4FGL J1017.8+0715' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90493

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90493/ft1_4FGL_J1017.8+0715_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90493/ft1_4FGL_J1017.8+0715_daily_bin1714.fits outfile=/scratch/kocevski/90493/ft1_filteredMKT_4FGL_J1017.8+0715_daily_bin1714.fits ra=154.473 dec=7.2638 rad=12.0 tmin=683596801.0 tmax=683856001.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.50
user 3.24
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.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/90493/ft1_filteredMKT_4FGL_J1017.8+0715_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.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.50
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 656

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/90493/ltcube_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.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/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits
.....................!
real 14.85
user 14.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/90493/ltcube_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.fits outfile=/scratch/kocevski/90493/expmap_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.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/90493/ltcube_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.fits
.....................!
real 193.06
user 187.33
sys 5.15

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

Setting source of interest to:
4FGL J1017.8+0715 @ 154.473 7.2638

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.fits scfile=/scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits outfile=/scratch/kocevski/90493/cmap_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.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=154.473 yref=7.2638 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.fits scfile=/scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits outfile=/scratch/kocevski/90493/cmap_HighResolution_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.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=154.473 yref=7.2638 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90493/Model_4FGL_J1017.8+0715_daily_bin1714.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/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.fits.....................!
real 70.37
user 68.95
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.fits', '/scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits', expMap='/scratch/kocevski/90493/expmap_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.fits', expCube='/scratch/kocevski/90493/ltcube_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90493/Model_4FGL_J1017.8+0715_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1017.8+0715'

4FGL J1017.8+0715
   Spectrum: PowerLaw
205    Prefactor:  7.924e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
206        Index:  2.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
207        Scale:  6.199e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/90493/ft1_filtered_4FGL_J1017.8+0715_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/90493/ft2_4FGL_J1017.8+0715_daily_bin1714.fits
Exposure map: /scratch/kocevski/90493/expmap_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.fits
Exposure cube: /scratch/kocevski/90493/ltcube_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90493/Model_4FGL_J1017.8+0715_daily_bin1714.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) = 7472.89587825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6345       1.0000          .0000       .10000E+07
     2 'norm      '    .69111E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .94481E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20048       1.0000          .0000       .10000E+07
     5 'Prefactor '    45.696       1.0000          .0000       .10000E+07
     6 'Prefactor '    .23966E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .19040E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .67413E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4475       1.0000          .0000       .10000E+07
    10 'Prefactor '    34.792       1.0000          .0000       .10000E+07
    11 'norm      '    2.7716       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29043E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    15.648       1.0000          .0000       .10000E+07
    14 'Prefactor '    28.033       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.7794       1.0000          .0000       .10000E+07
    16 'norm      '    1.0822       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11888E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    .63137       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.6116       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7472.889     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1469 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6335        1.3936       -.69006E-07    .23166E-02
   2  norm           .0000        .69559        .33956E-06** at limit **
   3  Prefactor     .55511E-10    4.9098        .92447E-06** at limit **
   4  Prefactor     .16653E-09    44.894       -.10461E-05** at limit **
   5  Prefactor     45.928        4.3744       -.25660E-06   -.12625    
   6  Prefactor     .15543E-08    17.041        .57444E-05** at limit **
   7  Prefactor     .61473E-06    98.090        .64614E-05** at limit **
   8  Prefactor     .19929E-07    20.206       -.49665E-05** at limit **
   9  Prefactor     .19170E-05    753.75       -.47542E-04** at limit **
  10  Prefactor     36.205        21.063        .15234E-05    .12100E-02
  11  norm          2.7712        1.7585        .23185E-06    .12460E-01
  12  Prefactor     .55511E-10    2.6410        .69842E-06** at limit **
  13  Prefactor     15.622        5.9942        .25605E-06    .91476E-02
  14  Prefactor     28.052        11.002       -.21587E-06   -.34749E-02
  15  Prefactor     2.7781        10.796        .13302E-05    .13314E-02
  16  norm          1.0823        .60401       -.14043E-06   -.13730E-02
  17  Prefactor     .88818E-09    13.916        .21448E-05** at limit **
  18  Normalizat    .63208        .23503        .50360E-05    .33825E-03
  19  Prefactor     1.6113        .19905       -.23915E-05    .43496E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.63354
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 45.9277
  Prefactor  = 1.55431e-09
  Prefactor  = 6.1473e-07
  Prefactor  = 1.99285e-08
  Prefactor  = 1.91702e-06
  Prefactor  = 36.2046
  norm       = 2.77123
  Prefactor  = 5.55112e-11
  Prefactor  = 15.6223
  Prefactor  = 28.0524
  Prefactor  = 2.77807
  norm       = 1.0823
  Prefactor  = 8.88178e-10
  Normalizat = 0.63208
  Prefactor  = 1.61128
 **********
 **   18 **HESSE 
 **********

 FCN=   7472.889     FROM HESSE     STATUS=OK           312 CALLS     1781 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6335        1.4104        .82657E-03   -1.5682    
   2  norm           .0000        .31295        .15651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    4.9406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    44.239        .11767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     45.928        44.471        .14794E-03   -1.5572    
   6  Prefactor     .15543E-08    17.222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61473E-06    97.844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19929E-07    20.460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19170E-05    788.94        .54446E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     36.205        21.307        .16955E-03   -1.5588    
  11  norm          2.7712        1.7674        .61104E-03   -1.5675    
  12  Prefactor     .55511E-10    2.6409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.622        6.0544        .25293E-03   -1.5629    
  14  Prefactor     28.052        11.039        .18890E-03   -1.5602    
  15  Prefactor     2.7781        11.123        .61013E-03   -1.5675    
  16  norm          1.0823        .60851        .10970E-02   -1.5687    
  17  Prefactor     .88818E-09    13.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .63208        .21129        .86619E-01   -1.0664    
  19  Prefactor     1.6113        .17487        .50795E-01   -.74469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.00721e-07
Minuit parameter uncertainties:
  1  1.41037
  2  5.79999e-06
  3  4.03689e-05
  4  0.000166549
  5  44.4714
  6  0.000329151
  7  0.015511
  8  0.00127682
  9  0.0777894
  10  21.3073
  11  1.76737
  12  2.9423e-05
  13  6.05442
  14  11.0392
  15  11.1179
  16  0.608515
  17  0.000220039
  18  0.211558
  19  0.174931
Done.

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

Extracting fit parameters...

4FGL J1017.8+0715
   Spectrum: PowerLaw
205    Prefactor:  6.147e-07  1.551e-02  0.000e+00  1.000e+06 ( 1.000e-13)
206        Index:  2.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
207        Scale:  6.199e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.611e+00  1.749e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  6.321e-01  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 154.473 7.264
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90493/likelihoodResults_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7472.89439692
delta logL = -0.00503091031987

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7472.88662703
delta logL = 0.00273898407795

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9268       1.0000          .0000       .10000E+07
     2 'Index     '    2.0600       1.0000          .0000       10.000    
     3 'Normalizat'    .63201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   7472.887     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      316 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9276        199.86        .20354E-04   -.30273E-03
   2  Index         2.0602        2.4801        .28191E-01   -.13438E-04
   3  Normalizat    .63202        .22150        .38371E-03    .28769E-04
   4  Prefactor     1.6103        .19864        .22459E-03    .59326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.92756
  Index      = 2.06022
  Normalizat = 0.632017
  Prefactor  = 1.61025
 **********
 **   18 **HESSE 
 **********

 FCN=   7472.887     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9276        185.44        .81416E-06   -1.5668    
   2  Index         2.0602        2.4064        .11276E-02   -.62853    
   3  Normalizat    .63202        .22164        .15348E-04   -1.0664    
   4  Prefactor     1.6103        .19866        .89837E-05   -.74497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21958e-10
Minuit parameter uncertainties:
  1  53.977
  2  2.57735
  3  0.221953
  4  0.19876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90493': 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) = 7472.88662702
delta logL = 0.00273899060448

Extracting fit parameters...

4FGL J1017.8+0715
   Spectrum: PowerLaw
205    Prefactor:  3.928e+00  5.398e+01  0.000e+00  1.000e+06 ( 1.000e-13)
206        Index:  2.060e+00  2.577e+00  0.000e+00  1.000e+01 (-1.000e+00)
207        Scale:  6.199e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.610e+00  1.988e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  6.320e-01  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 154.473 7.264

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/90493/cmap_HighResolution_683596801_683856001_4FGL_J1017.8+0715_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.99e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2022-09-16 15:23:01.090565', job_id='90493', GAL2='1.61', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1663366981.09', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.61', dlogl='2.74e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1714' AND source_name='4FGL J1017.8+0715' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:23:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 90493: <4FGL_J1017.8+0715_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1017.8+0715_daily_bin1714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:10:37 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:12:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:12:34 2022
Terminated at Fri Sep 16 15:23:01 2022
Results reported at Fri Sep 16 15:23:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1017.8+0715_daily_bin1714 154.473 7.2638 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1017.8+0715 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   569.09 sec.
    Max Memory :                                 1001 MB
    Average Memory :                             322.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            744 sec.

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

