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


Performing analysis on: 4FGL_J1018.1+1905_daily_bin1780
RA = 154.548, Dec = 19.0963
tmin = 700704001, tmax = 700963201
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='58489', job_status='RUN', time_executed='2023-03-20 00:36:16.071183', time_epoch_executed='1679297776.07' WHERE source_name='4FGL J1018.1+1905' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/58489

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/58489/ft1_4FGL_J1018.1+1905_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/58489/ft1_4FGL_J1018.1+1905_daily_bin1780.fits outfile=/scratch/kocevski/58489/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1780.fits ra=154.548 dec=19.0963 rad=12.0 tmin=700704001.0 tmax=700963201.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.08
user 3.81
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.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/58489/ft1_filteredMKT_4FGL_J1018.1+1905_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.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: 406

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/58489/ltcube_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.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/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits
.....................!
real 12.35
user 12.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/58489/ltcube_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.fits outfile=/scratch/kocevski/58489/expmap_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.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/58489/ltcube_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.fits
.....................!
real 191.04
user 185.06
sys 5.63

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

Setting source of interest to:
4FGL J1018.1+1905 @ 154.548 19.0963

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.fits scfile=/scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits outfile=/scratch/kocevski/58489/cmap_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.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.548 yref=19.0963 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.fits scfile=/scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits outfile=/scratch/kocevski/58489/cmap_HighResolution_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.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.548 yref=19.0963 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/58489/Model_4FGL_J1018.1+1905_daily_bin1780.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/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.fits.....................!
real 46.49
user 45.21
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.fits', '/scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits', expMap='/scratch/kocevski/58489/expmap_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.fits', expCube='/scratch/kocevski/58489/ltcube_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/58489/Model_4FGL_J1018.1+1905_daily_bin1780.xml', optimizer='MINUIT')

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

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  4.691e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/58489/ft1_filtered_4FGL_J1018.1+1905_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/58489/ft2_4FGL_J1018.1+1905_daily_bin1780.fits
Exposure map: /scratch/kocevski/58489/expmap_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.fits
Exposure cube: /scratch/kocevski/58489/ltcube_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/58489/Model_4FGL_J1018.1+1905_daily_bin1780.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) = 4749.59711284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23150E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .41562E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .62846E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7404       1.0000          .0000       .10000E+07
     5 'Prefactor '    .47188E-04   1.0000          .0000       .10000E+07
     6 'norm      '    10.177       1.0000          .0000       .10000E+07
     7 'Prefactor '    .14080E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    67.496       1.0000          .0000       .10000E+07
     9 'Prefactor '    .97965E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .38688E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.376       1.0000          .0000       .10000E+07
    12 'Prefactor '    .83851E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.0586       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.146       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2672       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .70099       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4749.550     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1117 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    8.5671       -.54655E-06** at limit **
   2  norm           .0000        2.1952       -.32539E-06** at limit **
   3  Prefactor     .94369E-09    140.37       -.84715E-07** at limit **
   4  Prefactor     2.7547        6.3721       -.74251E-06    .31321E-03
   5  Prefactor     .55511E-10    1.9692       -.75764E-06** at limit **
   6  norm          10.196        8.8316        .54001E-07   -.20767E-03
   7  Prefactor     .22204E-08    35.787        .24413E-06** at limit **
   8  Prefactor     69.101        47.180        .28438E-06    .57547E-04
   9  Prefactor      .0000        3.0512        .24083E-06** at limit **
  10  Prefactor      .0000        1.4729       -.21420E-06** at limit **
  11  Prefactor     11.456        10.620       -.16449E-06    .27872E-03
  12  Prefactor     .59952E-08    25.142       -.40925E-06** at limit **
  13  Prefactor     7.0129        11.715       -.30636E-06    .37092E-02
  14  Prefactor     19.835        4.9585       -.36713E-07   -.20733E-01
  15  Normalizat    1.2654        .22868        .11645E-04    .41193E-05
  16  Prefactor     .70129        .20825       -.14544E-04    .22325E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  norm       = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 2.75469
  Prefactor  = 5.55112e-11
  norm       = 10.1956
  Prefactor  = 2.22045e-09
  Prefactor  = 69.1007
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 11.4562
  Prefactor  = 5.9952e-09
  Prefactor  = 7.01286
  Prefactor  = 19.8349
  Normalizat = 1.26539
  Prefactor  = 0.701285
 **********
 **   18 **HESSE 
 **********

 FCN=   4749.550     FROM HESSE     STATUS=OK           235 CALLS     1352 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    8.5745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.1497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .94369E-09    135.29        .15061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7547        6.3878        .61477E-03   -1.5675    
   5  Prefactor     .55511E-10    1.9530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.196        8.8370        .31385E-03   -1.5644    
   7  Prefactor     .22204E-08    35.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     69.101        47.121        .12173E-03   -1.5542    
   9  Prefactor      .0000        3.0521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.4694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.456        10.598        .29678E-03   -1.5640    
  12  Prefactor     .59952E-08    25.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.0129        13.172        .37735E-03   -1.5655    
  14  Prefactor     19.835        21.554        .22862E-03   -1.5619    
  15  Normalizat    1.2654        .19244        .49694E-01   -.84605    
  16  Prefactor     .70129        .17577        .60644E-01   -1.0348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43997e-08
Minuit parameter uncertainties:
  1  7.41305e-05
  2  6.16308e-06
  3  0.000724543
  4  6.38777
  5  1.69614e-05
  6  8.83699
  7  0.000562911
  8  47.1212
  9  4.1639e-06
  10  3.91849e-07
  11  10.5976
  12  0.000784249
  13  13.1716
  14  21.5542
  15  0.192553
  16  0.175914
Done.

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

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  6.910e+01  4.712e+01  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  7.013e-01  1.759e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.265e+00  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.78
Ra Dec: 154.548 19.096
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 4.91e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.93e-05 +/- 2.00e-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) = 4749.54891999
delta logL = 0.00136642049529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4749.54752351
delta logL = 0.00276289506746

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.062       1.0000          .0000       .10000E+07
     2 'Index     '    2.1210       1.0000          .0000       10.000    
     3 'Normalizat'    1.2612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70230       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+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=   4749.547     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      282 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.013        67.305        .24608E-04   -.21728E-02
   2  Index         2.1209        .85137        .62976E-02   -.90533E-04
   3  Normalizat    1.2606        .23395        .22003E-03   -.18084E-05
   4  Prefactor     .70346        .21089        .26762E-03   -.56712E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.0128
  Index      = 2.1209
  Normalizat = 1.26061
  Prefactor  = 0.703462
 **********
 **   18 **HESSE 
 **********

 FCN=   4749.547     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.013        62.024        .49217E-05   -1.5545    
   2  Index         2.1209        .78290        .25190E-03   -.61361    
   3  Normalizat    1.2606        .23210        .88012E-05   -.84750    
   4  Prefactor     .70346        .21052        .10705E-04   -1.0339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52652e-10
Minuit parameter uncertainties:
  1  62.0243
  2  0.787763
  3  0.232294
  4  0.210758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/58489': 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) = 4749.5474978
delta logL = 0.00278861207789

Extracting fit parameters...

4FGL J1018.1+1905
   Spectrum: PowerLaw
210    Prefactor:  6.601e+01  6.202e+01  0.000e+00  1.000e+06 ( 1.000e-14)
211        Index:  2.121e+00  7.878e-01  0.000e+00  1.000e+01 (-1.000e+00)
212        Scale:  2.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  7.035e-01  2.108e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.261e+00  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.78
Ra Dec: 154.548 19.096
Photon Index (Free Index): 2.12 +/- 0.79
Photon Flux (Free Index): 5.37e-08 +/- 7.26e-08
Energy Flux (Free Index): 2.82e-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/58489/cmap_HighResolution_700704001_700963201_4FGL_J1018.1+1905_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.91e-08', energy_flux2='2.82e-05', photon_flux_error='3.35e-08', dlogl='2.79e-03', energy_flux='2.93e-05', photon_flux2='5.37e-08', job_status='DONE', time_completed='2023-03-20 00:43:22.957606', photon_index_error2='0.79', photon_index2='2.12', ts='6.78', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='2.31e-05', EG='1.27', time_epoch_completed='1679298202.96', return_code='0', job_id='58489', GAL2='0.70', EG2='1.26', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='7.26e-08', ts2='6.78', photon_index='2.06' WHERE bin_id='1780' AND source_name='4FGL J1018.1+1905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:43:22 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 58489: <4FGL_J1018.1+1905_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1018.1+1905_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:35:15 2023
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:35:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:35:16 2023
Terminated at Mon Mar 20 00:43:24 2023
Results reported at Mon Mar 20 00:43:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1018.1+1905_daily_bin1780 154.548 19.0963 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1018.1+1905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   429.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   487 sec.
    Turnaround time :                            489 sec.

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

