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


Performing analysis on: 4FGL_J1018.4+3540_daily_bin1769
RA = 154.607, Dec = 35.6802
tmin = 697852801, tmax = 698112001
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='430964', job_status='RUN', time_executed='2023-02-15 00:31:10.950461', time_epoch_executed='1676449870.95' WHERE source_name='4FGL J1018.4+3540' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430964

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430964/ft1_4FGL_J1018.4+3540_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430964/ft2_4FGL_J1018.4+3540_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430964/ft1_4FGL_J1018.4+3540_daily_bin1769.fits outfile=/scratch/kocevski/430964/ft1_filteredMKT_4FGL_J1018.4+3540_daily_bin1769.fits ra=154.607 dec=35.6802 rad=12.0 tmin=697852801.0 tmax=698112001.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.37
user 4.12
sys 0.20

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

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

Number of photons that the gtmktime cut: 526

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/430964/ft2_4FGL_J1018.4+3540_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/430964/ltcube_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.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/430964/ft2_4FGL_J1018.4+3540_daily_bin1769.fits
.....................!
real 12.38
user 11.99
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/430964/ft2_4FGL_J1018.4+3540_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/430964/ltcube_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.fits outfile=/scratch/kocevski/430964/expmap_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.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/430964/ltcube_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.fits
.....................!
real 191.67
user 186.32
sys 4.95

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/430964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1769.fits scfile=/scratch/kocevski/430964/ft2_4FGL_J1018.4+3540_daily_bin1769.fits outfile=/scratch/kocevski/430964/cmap_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1769.fits scfile=/scratch/kocevski/430964/ft2_4FGL_J1018.4+3540_daily_bin1769.fits outfile=/scratch/kocevski/430964/cmap_HighResolution_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1769.fits', '/scratch/kocevski/430964/ft2_4FGL_J1018.4+3540_daily_bin1769.fits', expMap='/scratch/kocevski/430964/expmap_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.fits', expCube='/scratch/kocevski/430964/ltcube_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430964/Model_4FGL_J1018.4+3540_daily_bin1769.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/430964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/430964/ft2_4FGL_J1018.4+3540_daily_bin1769.fits
Exposure map: /scratch/kocevski/430964/expmap_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.fits
Exposure cube: /scratch/kocevski/430964/ltcube_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430964/Model_4FGL_J1018.4+3540_daily_bin1769.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) = 5698.39259425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21686E-03   1.0000          .0000       .10000E+07
     2 'norm      '    18.042       1.0000          .0000       .10000E+07
     3 'Prefactor '    20.359       1.0000          .0000       .10000E+07
     4 'Prefactor '    48.711       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31273E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .32468E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .28367E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .69788       1.0000          .0000       .10000E+07
     9 'norm      '    25.292       1.0000          .0000       .10000E+07
    10 'Prefactor '    .97509       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17537E-05   1.0000          .0000       .10000E+07
    12 'norm      '    19.648       1.0000          .0000       .10000E+07
    13 'Prefactor '    .57163E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    49.805       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.1416       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17214E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3680       1.0000          .0000       .10000E+07
    18 'Prefactor '    .68703       1.0000          .0000       .10000E+07
    19 'norm      '    1.0578       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.144       1.0000          .0000       .10000E+07
    21 'Prefactor '    .64243E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .23789E-05   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0139       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .63555       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=   5698.278     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1612 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.7348        .47381E-07** at limit **
   2  norm          19.131        17.720       -.56077E-07    .91735E-01
   3  Prefactor     20.219        3.9353       -.17127E-07   -.46616E-01
   4  Prefactor     46.197        26.372       -.12609E-06    .70982E-01
   5  Prefactor     .44964E-08    10.992        .65458E-07** at limit **
   6  Prefactor      .0000        4.3213       -.38790E-07** at limit **
   7  Prefactor     .27715E-05    48.282        .12421E-06** at limit **
   8  Prefactor     .68952        1.8805        .90114E-08    .72952E-03
   9  norm          25.209        11.084       -.80083E-07    .25664E-01
  10  Prefactor     .97828        2.0469       -.70523E-07   -.74393E-03
  11  Prefactor      .0000        1.4399       -.57047E-07** at limit **
  12  norm          19.674        10.068       -.68130E-07   -.10671    
  13  Prefactor     .36637E-08    28.176       -.63693E-06** at limit **
  14  Prefactor     47.909        14.767        .36766E-08    .46643E-01
  15  Prefactor     1.1422        1.4962       -.81971E-08   -.28496E-03
  16  Prefactor     .55511E-10    9.3734        .12776E-06** at limit **
  17  Prefactor     2.3198        449.18       -.35167E-06    .58038E-03
  18  Prefactor     .60203        17.347        .31542E-06    .35258E-01
  19  norm          1.0578        .28265        .32667E-08    .34955E-02
  20  Prefactor     17.090        12.616       -.15160E-06    .10910E-01
  21  Prefactor      .0000        4.1518        .84163E-07** at limit **
  22  norm           .0000        3.6183       -.70689E-07** at limit **
  23  Normalizat    1.0179        .18047       -.84057E-06    .15434E-03
  24  Prefactor     .63389        .21218        .44996E-05    .16645E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 19.131
  Prefactor  = 20.2194
  Prefactor  = 46.1968
  Prefactor  = 4.4964e-09
  Prefactor  = 0
  Prefactor  = 2.77151e-06
  Prefactor  = 0.689516
  norm       = 25.2086
  Prefactor  = 0.978278
  Prefactor  = 0
  norm       = 19.6735
  Prefactor  = 3.66374e-09
  Prefactor  = 47.909
  Prefactor  = 1.14225
  Prefactor  = 5.55112e-11
  Prefactor  = 2.31984
  Prefactor  = 0.602033
  norm       = 1.05776
  Prefactor  = 17.0904
  Prefactor  = 0
  norm       = 0
  Normalizat = 1.01786
  Prefactor  = 0.633888
 **********
 **   18 **HESSE 
 **********

 FCN=   5698.278     FROM HESSE     STATUS=OK           451 CALLS     2063 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.7421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.131        19.872        .23552E-03   -1.5620    
   3  Prefactor     20.219        21.803        .22169E-03   -1.5618    
   4  Prefactor     46.197        28.550        .14329E-03   -1.5572    
   5  Prefactor     .44964E-08    11.063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.3124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27715E-05    56.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .68952        1.9059        .60881E-03   -1.5691    
   9  norm          25.209        11.141        .19888E-03   -1.5608    
  10  Prefactor     .97828        2.0597        .42882E-03   -1.5688    
  11  Prefactor      .0000        1.4446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          19.674        10.772        .22568E-03   -1.5619    
  13  Prefactor     .36637E-08    28.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.909        31.485        .14171E-03   -1.5570    
  15  Prefactor     1.1422        1.5301        .10871E-02   -1.5687    
  16  Prefactor     .55511E-10    9.3536        .17227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.3198        451.88        .48168E-03   -1.5678    
  18  Prefactor     .60203        30.280        .61767E-03   -1.5692    
  19  norm          1.0578        .28265        .44720E-03   -1.5687    
  20  Prefactor     17.090        12.636        .24162E-03   -1.5625    
  21  Prefactor      .0000        4.1588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        3.6279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0179        .15299        .44465E-01   -.92434    
  24  Prefactor     .63389        .18187        .68659E-01   -1.0618    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58076e-07
Minuit parameter uncertainties:
  1  9.91306e-06
  2  19.8721
  3  21.8035
  4  28.5502
  5  0.000446305
  6  1.90859e-05
  7  0.0250373
  8  1.90588
  9  11.141
  10  2.05965
  11  6.40609e-06
  12  10.7724
  13  0.000645096
  14  31.485
  15  1.53009
  16  4.48828e-05
  17  64.7597
  18  8.53931
  19  0.282646
  20  12.6359
  21  1.24246e-05
  22  1.80815e-05
  23  0.153061
  24  0.182041
Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  0.000e+00  6.406e-06  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:  6.339e-01  1.820e-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:  1.018e+00  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.607 35.680
Photon Flux Upper Limit: 5.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430964/likelihoodResults_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.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) = 5698.28524543
delta logL = -0.00694225752522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5698.27830438
delta logL = -1.20181357488e-06

Fit tolerance = 1e-08

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

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

 FCN=   5698.278     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      294 TOTAL
                     EDM=   .47E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .31299E-02    .42118E-03** at limit **
   2  Index         3.3938        5.2268        .39168        .29025E-09
   3  Normalizat    1.0179        .26387E-03    .43695E-01   -.59724E-03
   4  Prefactor     .63388        .32061E-03    .68659E-01   -.55389E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.39378
  Normalizat = 1.01786
  Prefactor  = 0.633882
 **********
 **   18 **HESSE 
 **********

 FCN=   5698.278     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      323 TOTAL
                     EDM=   .46E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .17638E-01    .57734E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3938        5.3862        .50000       -.32704    
   3  Normalizat    1.0179        .62438E-03    .20253E-03   -.92434    
   4  Prefactor     .63388        .75743E-03    .30386E-03   -1.0618    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.63109e-13
Minuit parameter uncertainties:
  1  1.47089e-06
  2  9532.78
  3  0.000624378
  4  0.000757425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430964': 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) = 5698.27830318
delta logL = -3.39241523761e-10

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  5.551e-11  1.471e-06  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  3.394e+00  9.533e+03  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:  6.339e-01  7.574e-04  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:  1.018e+00  6.244e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.607 35.680

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/430964/cmap_HighResolution_697852801_698112001_4FGL_J1018.4+3540_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-03', job_status='DONE', photon_flux_upper_limit='5.49e-08', time_completed='2023-02-15 00:41:01.325097', job_id='430964', GAL2='0.63', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1676450461.33', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='-3.39e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1769' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:41:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 430964: <4FGL_J1018.4+3540_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1018.4+3540_daily_bin1769> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Feb 15 00:30:27 2023
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:30:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:30:28 2023
Terminated at Wed Feb 15 00:41:02 2023
Results reported at Wed Feb 15 00:41:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+3540_daily_bin1769 154.607 35.6802 697852801 698112001 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 :                                   592.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             366.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            635 sec.

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

