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


Performing analysis on: 4FGL_J1017.8+0715_daily_bin1767
RA = 154.473, Dec = 7.2638
tmin = 697334401, tmax = 697593601
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='72882', job_status='RUN', time_executed='2023-02-09 01:02:53.054035', time_epoch_executed='1675933373.05' WHERE source_name='4FGL J1017.8+0715' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72882

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72882/ft1_4FGL_J1017.8+0715_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72882/ft1_4FGL_J1017.8+0715_daily_bin1767.fits outfile=/scratch/kocevski/72882/ft1_filteredMKT_4FGL_J1017.8+0715_daily_bin1767.fits ra=154.473 dec=7.2638 rad=12.0 tmin=697334401.0 tmax=697593601.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.59
user 3.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.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/72882/ft1_filteredMKT_4FGL_J1017.8+0715_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/72882/ft1_filtered_4FGL_J1017.8+0715_daily_bin1767.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 590

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/72882/ft1_filtered_4FGL_J1017.8+0715_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/72882/ltcube_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.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/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.fits
.....................!
real 14.19
user 13.77
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72882/ft1_filtered_4FGL_J1017.8+0715_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/72882/ltcube_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.fits outfile=/scratch/kocevski/72882/expmap_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.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/72882/ltcube_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.fits
.....................!
real 192.53
user 186.18
sys 5.66

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/72882/ft1_filtered_4FGL_J1017.8+0715_daily_bin1767.fits scfile=/scratch/kocevski/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.fits outfile=/scratch/kocevski/72882/cmap_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/72882/ft1_filtered_4FGL_J1017.8+0715_daily_bin1767.fits scfile=/scratch/kocevski/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.fits outfile=/scratch/kocevski/72882/cmap_HighResolution_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/72882/ft1_filtered_4FGL_J1017.8+0715_daily_bin1767.fits', '/scratch/kocevski/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.fits', expMap='/scratch/kocevski/72882/expmap_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.fits', expCube='/scratch/kocevski/72882/ltcube_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/72882/Model_4FGL_J1017.8+0715_daily_bin1767.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/72882/ft1_filtered_4FGL_J1017.8+0715_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/72882/ft2_4FGL_J1017.8+0715_daily_bin1767.fits
Exposure map: /scratch/kocevski/72882/expmap_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.fits
Exposure cube: /scratch/kocevski/72882/ltcube_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/72882/Model_4FGL_J1017.8+0715_daily_bin1767.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) = 6586.92070405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3840       1.0000          .0000       .10000E+07
     2 'norm      '    .78214E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25531E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .19985E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.4009       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25438E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17938E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .27382       1.0000          .0000       .10000E+07
     9 'Prefactor '    .70810E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .37590E-03   1.0000          .0000       .10000E+07
    11 'norm      '    2.9829       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4835       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2875       1.0000          .0000       .10000E+07
    14 'Prefactor '    18.490       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15339E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .25907       1.0000          .0000       .10000E+07
    17 'Prefactor '    .93597E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.5728       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .75547       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=   6586.878     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1217 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3857        1.2378        .83570E-08   -.16943E-02
   2  norm           .0000        5.2000       -.48484E-06** at limit **
   3  Prefactor     .58564E-07    4.1743        .10437E-06** at limit **
   4  Prefactor     .17025E-06    7.5329        .23323E-06** at limit **
   5  Prefactor     8.8742        13.175        .42103E-07   -.32536E-01
   6  Prefactor      .0000        3.2709       -.72424E-07** at limit **
   7  Prefactor     .12035E-06    16.578        .24302E-06** at limit **
   8  Prefactor     .22204E-09    35.412        .30055E-06** at limit **
   9  Prefactor     .21094E-07    13.654        .33224E-06** at limit **
  10  Prefactor     .62894E-07    3.8332        .16991E-06** at limit **
  11  norm          2.9821        1.5674        .15869E-07    .93096E-03
  12  Prefactor     3.4852        5.1754       -.20530E-06   -.41162E-03
  13  Prefactor     2.2856        3.3237        .41638E-08   -.14910E-03
  14  Prefactor     18.495        9.7638        .31567E-07    .12218E-01
  15  Prefactor      .0000        4.3726       -.13060E-06** at limit **
  16  norm          .25921        .40092        .54119E-07    .31426E-02
  17  Prefactor     .21722E-06    6.4440        .23132E-06** at limit **
  18  Normalizat    1.5728        .23130       -.16422E-05   -.14163E-04
  19  Prefactor     .75538        .18499        .57160E-06   -.16808E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38568
  norm       = 0
  Prefactor  = 5.85643e-08
  Prefactor  = 1.70253e-07
  Prefactor  = 8.87417
  Prefactor  = 0
  Prefactor  = 1.20348e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 2.10942e-08
  Prefactor  = 6.28941e-08
  norm       = 2.98211
  Prefactor  = 3.48516
  Prefactor  = 2.28558
  Prefactor  = 18.4954
  Prefactor  = 0
  norm       = 0.259211
  Prefactor  = 2.17215e-07
  Normalizat = 1.57279
  Prefactor  = 0.755376
 **********
 **   18 **HESSE 
 **********

 FCN=   6586.878     FROM HESSE     STATUS=OK           312 CALLS     1529 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3857        1.2651        .92434E-03   -1.5684    
   2  norm           .0000        .22284        .26574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .58564E-07    6.2717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .17025E-06    11.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.8742        25.658        .34563E-03   -1.5648    
   6  Prefactor      .0000        3.2969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12035E-06    19.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    49.950        .10586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21094E-07    17.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .62894E-07    6.3847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.9821        1.5845        .58756E-03   -1.5673    
  12  Prefactor     3.4852        5.1957        .54152E-03   -1.5671    
  13  Prefactor     2.2856        3.3411        .67847E-03   -1.5678    
  14  Prefactor     18.495        9.7928        .23264E-03   -1.5622    
  15  Prefactor      .0000        4.3627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .25921        .46979        .15536E-02   -1.5698    
  17  Prefactor     .21722E-06    12.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.5728        .19763        .54393E-01   -.75753    
  19  Prefactor     .75538        .15894        .43135E-01   -1.0139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27829e-07
Minuit parameter uncertainties:
  1  1.2651
  2  9.48331e-07
  3  0.00121182
  4  0.00280336
  5  25.6578
  6  4.3042e-07
  7  0.00309602
  8  0.000198794
  9  0.00121473
  10  0.00126744
  11  1.58455
  12  5.19573
  13  3.34105
  14  9.79285
  15  1.81147e-05
  16  0.469793
  17  0.00328784
  18  0.19773
  19  0.15904
Done.

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

Extracting fit parameters...

4FGL J1017.8+0715
   Spectrum: PowerLaw
205    Prefactor:  1.203e-07  3.096e-03  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:  7.554e-01  1.590e-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:  1.573e+00  1.977e-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: 7.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/72882/likelihoodResults_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.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) = 6586.90179172
delta logL = -0.0240157657927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6586.87777615
delta logL = -1.90663740796e-07

Fit tolerance = 1e-08

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

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

 FCN=   6586.878     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      240 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12768E-08    .21787        .42118E-03** at limit **
   2  Index         3.3840        6.9163        .50000        .31832E-09
   3  Normalizat    1.5728        .69607E-03    .54393E-01   -.48322E-04
   4  Prefactor     .75538        .57232E-03    .43134E-01    .15758E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27676e-09
  Index      = 3.38402
  Normalizat = 1.57278
  Prefactor  = 0.755377
 **********
 **   18 **HESSE 
 **********

 FCN=   6586.878     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12768E-08    1.1038        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3840        5.6862        .50000       -.32910    
   3  Normalizat    1.5728        .15657E-02    .24049E-03   -.75753    
   4  Prefactor     .75538        .12871E-02    .27155E-03   -1.0139    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.05397e-11
Minuit parameter uncertainties:
  1  7.44689e-05
  2  16561
  3  0.00156568
  4  0.00128709
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72882': 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) = 6586.87777595
delta logL = 2.96222424367e-09

Extracting fit parameters...

4FGL J1017.8+0715
   Spectrum: PowerLaw
205    Prefactor:  1.277e-09  7.447e-05  0.000e+00  1.000e+06 ( 1.000e-13)
206        Index:  3.384e+00  1.656e+04  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:  7.554e-01  1.287e-03  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:  1.573e+00  1.566e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/72882/cmap_HighResolution_697334401_697593601_4FGL_J1017.8+0715_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.45e-08', time_completed='2023-02-09 01:11:36.274439', job_id='72882', GAL2='0.76', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1675933896.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.96e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1767' AND source_name='4FGL J1017.8+0715' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 01:11:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 72882: <4FGL_J1017.8+0715_daily_bin1767> in cluster <slac> Done

Job <4FGL_J1017.8+0715_daily_bin1767> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Feb  9 00:55:25 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:01:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:01:27 2023
Terminated at Thu Feb  9 01:11:37 2023
Results reported at Thu Feb  9 01:11:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1017.8+0715_daily_bin1767 154.473 7.2638 697334401 697593601 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 :                                   524.26 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             272.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            972 sec.

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

