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 202 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_bin1745
RA = 154.607, Dec = 35.6802
tmin = 691632001, tmax = 691891201
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='642964', job_status='RUN', time_executed='2022-12-05 00:28:54.859442', time_epoch_executed='1670228934.86' WHERE source_name='4FGL J1018.4+3540' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/642964

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/642964/ft1_4FGL_J1018.4+3540_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/642964/ft2_4FGL_J1018.4+3540_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/642964/ft1_4FGL_J1018.4+3540_daily_bin1745.fits outfile=/scratch/kocevski/642964/ft1_filteredMKT_4FGL_J1018.4+3540_daily_bin1745.fits ra=154.607 dec=35.6802 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.34
user 2.15
sys 0.17

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

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

Number of photons that the gtmktime cut: 533

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/642964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/642964/ft2_4FGL_J1018.4+3540_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/642964/ltcube_691632001_691891201_4FGL_J1018.4+3540_daily_bin1745.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/642964/ft2_4FGL_J1018.4+3540_daily_bin1745.fits
.....................!
real 12.28
user 11.88
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/642964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/642964/ft2_4FGL_J1018.4+3540_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/642964/ltcube_691632001_691891201_4FGL_J1018.4+3540_daily_bin1745.fits outfile=/scratch/kocevski/642964/expmap_691632001_691891201_4FGL_J1018.4+3540_daily_bin1745.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/642964/ltcube_691632001_691891201_4FGL_J1018.4+3540_daily_bin1745.fits
.....................!
real 190.22
user 184.98
sys 4.86

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/642964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1745.fits scfile=/scratch/kocevski/642964/ft2_4FGL_J1018.4+3540_daily_bin1745.fits outfile=/scratch/kocevski/642964/cmap_691632001_691891201_4FGL_J1018.4+3540_daily_bin1745.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/642964/ft1_filtered_4FGL_J1018.4+3540_daily_bin1745.fits scfile=/scratch/kocevski/642964/ft2_4FGL_J1018.4+3540_daily_bin1745.fits outfile=/scratch/kocevski/642964/cmap_HighResolution_691632001_691891201_4FGL_J1018.4+3540_daily_bin1745.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.55
user 0.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57603E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .15748E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .56581       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2554       1.0000          .0000       .10000E+07
     5 'Prefactor '    56.539       1.0000          .0000       .10000E+07
     6 'Prefactor '    .33630E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .51401E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .97548       1.0000          .0000       .10000E+07
     9 'norm      '    3.9175       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5829       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6702       1.0000          .0000       .10000E+07
    12 'norm      '    4.6985       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24769       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.580       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13836E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    13.050       1.0000          .0000       .10000E+07
    17 'Prefactor '    93.787       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.0816       1.0000          .0000       .10000E+07
    19 'norm      '    1.8373       1.0000          .0000       .10000E+07
    20 'Prefactor '    .16086       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13049E-02   1.0000          .0000       .10000E+07
    22 'norm      '    31.728       1.0000          .0000       .10000E+07
    23 'Normalizat'    .74412       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0530       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=   6004.442     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     2077 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    3.1365        .42429E-07** at limit **
   2  norm          .55511E-09    13.668        .53716E-06** at limit **
   3  Prefactor     .88120E-01    310.18        .10656E-04** at limit **
   4  Prefactor     1.0486        295.54        .13353E-04    .11272E-03
   5  Prefactor     57.438        51.767       -.10866E-05    .32892E-01
   6  Prefactor      .0000        2.9341       -.16995E-06** at limit **
   7  Prefactor      .0000        5.7779        .18866E-06** at limit **
   8  Prefactor     .95553        2.2073        .34518E-06   -.21421E-02
   9  norm          3.9112        4.5054       -.94028E-07   -.56862E-03
  10  Prefactor     1.5824        2.0337       -.21786E-06    .19553E-02
  11  Prefactor     7.6638        4.0418       -.16138E-06    .34044E-03
  12  norm          4.7022        7.5485       -.18544E-06   -.11381E-02
  13  Prefactor     .28477E-07    55.679        .55538E-05** at limit **
  14  Prefactor     10.432        7.8925        .12941E-05   -.41975E-01
  15  Prefactor      .0000        2.1211        .33086E-07** at limit **
  16  Prefactor     13.114        3.0867       -.26453E-06   -.25086E-02
  17  Prefactor     93.925        6.0406       -.47739E-07   -.10595    
  18  Prefactor     3.0655        8.0821       -.10454E-05   -.27489E-02
  19  norm          1.8373        .35806        .50889E-08   -.17377E-01
  20  Prefactor     .52791E-07    56.850       -.59905E-05** at limit **
  21  Prefactor     .55511E-10    4.3560        .31488E-06** at limit **
  22  norm          31.999        14.803        .79407E-06    .15470E-01
  23  Normalizat    .74503        .18955       -.11289E-05   -.43435E-03
  24  Prefactor     1.0533        .22001        .14672E-05   -.54963E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 5.55112e-10
  Prefactor  = 0.0881199
  Prefactor  = 1.04858
  Prefactor  = 57.4385
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.95553
  norm       = 3.91119
  Prefactor  = 1.58239
  Prefactor  = 7.66379
  norm       = 4.70221
  Prefactor  = 2.84772e-08
  Prefactor  = 10.4322
  Prefactor  = 0
  Prefactor  = 13.1142
  Prefactor  = 93.925
  Prefactor  = 3.06549
  norm       = 1.83735
  Prefactor  = 5.27911e-08
  Prefactor  = 5.55112e-11
  norm       = 31.9992
  Normalizat = 0.745025
  Prefactor  = 1.05333
 **********
 **   18 **HESSE 
 **********

 FCN=   6004.442     FROM HESSE     STATUS=OK           461 CALLS     2538 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    3.1377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-09    13.591        .17334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .88120E-01    28.606        .10987E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0486        429.45        .68382E-03   -1.5687    
   5  Prefactor     57.438        62.573        .13300E-03   -1.5556    
   6  Prefactor      .0000        2.9324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        5.7778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .95553        2.2314        .42896E-03   -1.5688    
   9  norm          3.9112        4.5170        .50948E-03   -1.5668    
  10  Prefactor     1.5824        2.0573        .84366E-03   -1.5683    
  11  Prefactor     7.6638        4.0610        .36185E-03   -1.5653    
  12  norm          4.7022        7.6190        .46400E-03   -1.5665    
  13  Prefactor     .28477E-07    55.891        .10982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.432        29.423        .30778E-03   -1.5643    
  15  Prefactor      .0000        2.1120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.114        14.101        .27702E-03   -1.5636    
  17  Prefactor     93.925        101.06        .10327E-03   -1.5514    
  18  Prefactor     3.0655        8.1052        .57752E-03   -1.5673    
  19  norm          1.8373        .36424        .44534E-03   -1.5681    
  20  Prefactor     .52791E-07    12.390        .88130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55511E-10    4.3780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          31.999        15.791        .17756E-03   -1.5595    
  23  Normalizat    .74503        .16363        .42876E-01   -1.0214    
  24  Prefactor     1.0533        .18604        .57756E-01   -.90972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85842e-06
Minuit parameter uncertainties:
  1  1.93686e-05
  2  0.000176209
  3  3.17538
  4  42.4444
  5  62.5741
  6  7.06489e-06
  7  2.32765e-05
  8  2.23139
  9  4.51698
  10  2.05726
  11  4.06099
  12  7.61902
  13  0.00252199
  14  29.4236
  15  3.01672e-07
  16  14.1008
  17  101.058
  18  8.10518
  19  0.364245
  20  0.00161721
  21  3.71725e-05
  22  15.7905
  23  0.163733
  24  0.18615
Done.

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

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  7.664e+00  4.061e+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.053e+00  1.861e-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:  7.450e-01  1.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.39
Ra Dec: 154.607 35.680
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 6.28e-08 +/- 3.33e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 8.81e-06

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) = 6003.7356133
delta logL = 0.706809773964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6003.6485769
delta logL = 0.793846167791

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7374       1.0000          .0000       .10000E+07
     2 'Index     '    2.0133       1.0000          .0000       10.000    
     3 'Normalizat'    .77192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0308       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=   6003.649     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7344        7.0538        .32089E-03    .10460E-02
   2  Index         2.0130        .49908        .17791       -.74686E-04
   3  Normalizat    .77200        .15780        .43243E-01    .21899E-03
   4  Prefactor     1.0307        .18873        .41195E-01    .79209E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.73439
  Index      = 2.01295
  Normalizat = 0.771999
  Prefactor  = 1.03074
 **********
 **   18 **HESSE 
 **********

 FCN=   6003.649     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7344        5.2743        .12665E-04   -1.5646    
   2  Index         2.0130        .42099        .69529E-02   -.64027    
   3  Normalizat    .77200        .18190        .24549E-03   -1.0112    
   4  Prefactor     1.0307        .21746        .25757E-03   -.91712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56109e-10
Minuit parameter uncertainties:
  1  5.27426
  2  0.421767
  3  0.182043
  4  0.217644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/642964': 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) = 6003.64857635
delta logL = 0.793846720001

Extracting fit parameters...

4FGL J1018.4+3540
   Spectrum: PowerLaw
303    Prefactor:  9.734e+00  5.274e+00  0.000e+00  1.000e+06 ( 1.000e-12)
304        Index:  2.013e+00  4.218e-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.031e+00  2.176e-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:  7.720e-01  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.95
Ra Dec: 154.607 35.680
Photon Index (Free Index): 2.01 +/- 0.42
Photon Flux (Free Index): 4.23e-08 +/- 2.87e-08
Energy Flux (Free Index): 2.83e-05 +/- 2.31e-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/642964/cmap_HighResolution_691632001_691891201_4FGL_J1018.4+3540_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.28e-08', energy_flux2='2.83e-05', photon_flux_error='3.33e-08', dlogl='7.94e-01', energy_flux='1.66e-05', photon_flux2='4.23e-08', job_status='DONE', time_completed='2022-12-05 00:38:25.645572', photon_index_error2='0.42', photon_index2='2.01', ts='9.39', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.31e-05', EG='0.75', time_epoch_completed='1670229505.65', return_code='0', job_id='642964', GAL2='1.03', EG2='0.77', return_code2='0', energy_flux_error='8.81e-06', photon_flux_error2='2.87e-08', ts2='10.95', photon_index='2.59' WHERE bin_id='1745' AND source_name='4FGL J1018.4+3540' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:38:25 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 642964: <4FGL_J1018.4+3540_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1018.4+3540_daily_bin1745> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Dec  5 00:25:22 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:25:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:25:23 2022
Terminated at Mon Dec  5 00:38:26 2022
Results reported at Mon Dec  5 00:38:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.4+3540_daily_bin1745 154.607 35.6802 691632001 691891201 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 :                                   573.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

