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


Performing analysis on: 4FGL_J1018.4+3540_daily_bin1711
RA = 154.607, Dec = 35.6802
tmin = 682819201, tmax = 683078401
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='91736', job_status='RUN', time_executed='2022-09-16 15:19:01.018905', time_epoch_executed='1663366741.02' WHERE source_name='4FGL J1018.4+3540' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91736

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91736/ft1_4FGL_J1018.4+3540_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91736/ft1_4FGL_J1018.4+3540_daily_bin1711.fits outfile=/scratch/kocevski/91736/ft1_filteredMKT_4FGL_J1018.4+3540_daily_bin1711.fits ra=154.607 dec=35.6802 rad=12.0 tmin=682819201.0 tmax=683078401.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.58
user 4.32
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.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/91736/ft1_filteredMKT_4FGL_J1018.4+3540_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.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.35
sys 0.16

Number of photons that the gtmktime cut: 506

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/91736/ltcube_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.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/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits
.....................!
real 15.82
user 15.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/91736/ltcube_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.fits outfile=/scratch/kocevski/91736/expmap_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.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/91736/ltcube_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.fits
.....................!
real 191.38
user 186.63
sys 4.30

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

Setting source of interest to:
4FGL J1018.4+3540 @ 154.607 35.6802

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.fits scfile=/scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits outfile=/scratch/kocevski/91736/cmap_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.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.607 yref=35.6802 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.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.fits scfile=/scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits outfile=/scratch/kocevski/91736/cmap_HighResolution_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.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.607 yref=35.6802 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/91736/Model_4FGL_J1018.4+3540_daily_bin1711.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/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.fits.....................!
real 50.76
user 49.39
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.fits', '/scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits', expMap='/scratch/kocevski/91736/expmap_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.fits', expCube='/scratch/kocevski/91736/ltcube_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/91736/Model_4FGL_J1018.4+3540_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+3540'

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/91736/ft1_filtered_4FGL_J1018.4+3540_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/91736/ft2_4FGL_J1018.4+3540_daily_bin1711.fits
Exposure map: /scratch/kocevski/91736/expmap_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.fits
Exposure cube: /scratch/kocevski/91736/ltcube_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/91736/Model_4FGL_J1018.4+3540_daily_bin1711.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) = 5679.8137039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13361E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.7576       1.0000          .0000       .10000E+07
     3 'Prefactor '    45.398       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.2226       1.0000          .0000       .10000E+07
     5 'Prefactor '    .81603E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10329E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .47626E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89736       1.0000          .0000       .10000E+07
     9 'norm      '    39.241       1.0000          .0000       .10000E+07
    10 'Prefactor '    .51761E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    19.002       1.0000          .0000       .10000E+07
    12 'norm      '    7.9226       1.0000          .0000       .10000E+07
    13 'Prefactor '    103.80       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21055E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    12.247       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18270E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11097       1.0000          .0000       .10000E+07
    18 'Prefactor '    .36357E-05   1.0000          .0000       .10000E+07
    19 'norm      '    1.6701       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.766       1.0000          .0000       .10000E+07
    21 'Prefactor '    .29443E-06   1.0000          .0000       .10000E+07
    22 'norm      '    32.067       1.0000          .0000       .10000E+07
    23 'Normalizat'    .87559       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5679.778     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1979 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    2.8215        .13580E-06** at limit **
   2  norm          3.5696        8.2660       -.48980E-06    .56995E-01
   3  Prefactor     45.063        33.191       -.64870E-07   -.49114E-01
   4  Prefactor     6.4881        7.2557        .10216E-06   -.22780E-01
   5  Prefactor     .56177E-07    98.349       -.60278E-06** at limit **
   6  Prefactor      .0000        2.1997       -.19529E-06** at limit **
   7  Prefactor     .46518E-07    29.052       -.10090E-05** at limit **
   8  Prefactor     .90692        2.5976       -.47707E-06   -.61077E-03
   9  norm          39.041        5.6443       -.14749E-06    .10409    
  10  Prefactor     .85487E-08    5.0976       -.73194E-06** at limit **
  11  Prefactor     18.893        7.1611       -.19037E-06    .53765E-03
  12  norm          7.8866        8.0969       -.19787E-06    .82633E-03
  13  Prefactor     105.70        82.673        .34003E-06   -.48526E-02
  14  Prefactor     .10547E-08    47.229       -.80576E-06** at limit **
  15  Prefactor     12.250        6.0971        .19606E-06    .20873E-02
  16  Prefactor     .16653E-09    19.854        .18241E-07** at limit **
  17  Prefactor     .60435E-06    98.503       -.27963E-05** at limit **
  18  Prefactor     .20700E-06    4.2818       -.67357E-06** at limit **
  19  norm          1.6704        .38000        .90574E-08    .16682E-02
  20  Prefactor     13.752        1.8990       -.16599E-07    .15489E-01
  21  Prefactor     .15121E-06    4.4678        .13658E-06** at limit **
  22  norm          32.065        1.5933        .23042E-07   -.40039E-01
  23  Normalizat    .87562        .22064        .27715E-05    .24056E-05
  24  Prefactor     1.0836        .25253       -.10481E-06   -.39191E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 3.56963
  Prefactor  = 45.063
  Prefactor  = 6.48806
  Prefactor  = 5.61773e-08
  Prefactor  = 0
  Prefactor  = 4.65183e-08
  Prefactor  = 0.906923
  norm       = 39.0406
  Prefactor  = 8.54872e-09
  Prefactor  = 18.8933
  norm       = 7.8866
  Prefactor  = 105.695
  Prefactor  = 1.05471e-09
  Prefactor  = 12.2496
  Prefactor  = 1.66533e-10
  Prefactor  = 6.0435e-07
  Prefactor  = 2.07001e-07
  norm       = 1.67043
  Prefactor  = 13.7522
  Prefactor  = 1.51212e-07
  norm       = 32.0648
  Normalizat = 0.875622
  Prefactor  = 1.08363
 **********
 **   18 **HESSE 
 **********

 FCN=   5679.778     FROM HESSE     STATUS=OK           449 CALLS     2428 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    2.8227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5696        22.718        .52059E-03   -1.5670    
   3  Prefactor     45.063        35.038        .14843E-03   -1.5574    
   4  Prefactor     6.4881        27.142        .40219E-03   -1.5657    
   5  Prefactor     .56177E-07    101.83        .14452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.2053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .46518E-07    28.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .90692        2.6140        .45943E-03   -1.5689    
   9  norm          39.041        15.740        .15965E-03   -1.5583    
  10  Prefactor     .85487E-08    5.0982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.893        7.1622        .22948E-03   -1.5621    
  12  norm          7.8866        8.1030        .35599E-03   -1.5652    
  13  Prefactor     105.70        82.670        .98157E-04   -1.5502    
  14  Prefactor     .10547E-08    46.271        .16968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.250        6.0938        .28600E-03   -1.5638    
  16  Prefactor     .16653E-09    19.909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .60435E-06    107.10        .13643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .20700E-06    4.9174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.6704        .38335        .48527E-03   -1.5682    
  20  Prefactor     13.752        15.435        .26970E-03   -1.5634    
  21  Prefactor     .15121E-06    4.9320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          32.065        21.219        .17662E-03   -1.5595    
  23  Normalizat    .87562        .19224        .44589E-01   -.97322    
  24  Prefactor     1.0836        .21695        .64943E-01   -.89992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22062e-06
Minuit parameter uncertainties:
  1  2.04514e-05
  2  18.0108
  3  35.0381
  4  26.5407
  5  0.00478348
  6  1.50509e-05
  7  0.00232207
  8  2.61401
  9  15.74
  10  0.000417032
  11  7.16222
  12  8.10304
  13  82.6711
  14  0.000443088
  15  6.09382
  16  0.000108421
  17  0.0160907
  18  0.00201771
  19  0.383353
  20  15.4355
  21  0.00172729
  22  21.2191
  23  0.192393
  24  0.217122
Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.889e+01  7.162e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.590e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.084e+00  2.171e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  8.756e-01  1.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.92
Ra Dec: 154.607 35.680
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 1.55e-07 +/- 5.87e-08
Energy Flux (Fixed Index): 4.10e-05 +/- 1.55e-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) = 5679.77154054
delta logL = 0.00663341010204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5679.76667862
delta logL = 0.0114953320044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.130       1.0000          .0000       .10000E+07
     2 'Index     '    2.6541       1.0000          .0000       10.000    
     3 'Normalizat'    .86749       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0906       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+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=   5679.767     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      239 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.132        8.8641        .93979E-05    .39074E-03
   2  Index         2.6541        .43873        .47860E-02    .16234E-04
   3  Normalizat    .86755        .22132        .26871E-03    .59740E-04
   4  Prefactor     1.0906        .25470        .28648E-03   -.18493E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1325
  Index      = 2.65408
  Normalizat = 0.86755
  Prefactor  = 1.09057
 **********
 **   18 **HESSE 
 **********

 FCN=   5679.767     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.132        8.6105        .37591E-06   -1.5623    
   2  Index         2.6541        .42572        .19144E-03   -.48837    
   3  Normalizat    .86755        .22134        .10748E-04   -.97610    
   4  Prefactor     1.0906        .25474        .11459E-04   -.89768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70847e-11
Minuit parameter uncertainties:
  1  8.61052
  2  0.426385
  3  0.221571
  4  0.255026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91736': 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) = 5679.76667839
delta logL = 0.0114955613599

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  1.813e+01  8.611e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.654e+00  4.264e-01  0.000e+00  1.000e+01 (-1.000e+00)
305        Scale:  6.553e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.091e+00  2.550e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  8.675e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.79
Ra Dec: 154.607 35.680
Photon Index (Free Index): 2.65 +/- 0.43
Photon Flux (Free Index): 1.61e-07 +/- 7.27e-08
Energy Flux (Free Index): 4.03e-05 +/- 1.57e-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/91736/cmap_HighResolution_682819201_683078401_4FGL_J1018.4+3540_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.55e-07', energy_flux2='4.03e-05', photon_flux_error='5.87e-08', dlogl='1.15e-02', energy_flux='4.10e-05', photon_flux2='1.61e-07', job_status='DONE', time_completed='2022-09-16 15:28:39.172368', photon_index_error2='0.43', photon_index2='2.65', ts='13.92', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.57e-05', EG='0.88', time_epoch_completed='1663367319.17', return_code='0', job_id='91736', GAL2='1.09', EG2='0.87', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='7.27e-08', ts2='13.79', photon_index='2.59' WHERE bin_id='1711' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:28:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 91736: <4FGL_J1018.4+3540_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1018.4+3540_daily_bin1711> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 15:15:17 2022
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:17:13 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:17:13 2022
Terminated at Fri Sep 16 15:28:39 2022
Results reported at Fri Sep 16 15:28:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+3540_daily_bin1711 154.607 35.6802 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.4+3540 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   580.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            802 sec.

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

