/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 208 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1527
RA = 124.695, Dec = 31.8862
tmin = 635126401, tmax = 635385601
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='413752', job_status='RUN', time_executed='2021-08-29 17:25:02.368500', time_epoch_executed='1630283102.37' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1527'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413752

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413752/ft1_4FGL_J0818.7+3153_daily_bin1527.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413752/ft1_4FGL_J0818.7+3153_daily_bin1527.fits outfile=/scratch/kocevski/413752/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1527.fits ra=124.695 dec=31.8862 rad=12.0 tmin=635126401.0 tmax=635385601.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 5.22
user 2.74
sys 2.42

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.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/413752/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1527.fits evtable="EVENTS" outfile="/scratch/kocevski/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.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 2.80
user 0.33
sys 2.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.fits" evtable="EVENTS" scfile=/scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits sctable="SC_DATA" outfile=/scratch/kocevski/413752/ltcube_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.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/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits
.....................!
real 15.00
user 12.12
sys 2.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.fits evtable="EVENTS" scfile=/scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits sctable="SC_DATA" expcube=/scratch/kocevski/413752/ltcube_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.fits outfile=/scratch/kocevski/413752/expmap_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.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/413752/ltcube_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.fits
.....................!
real 193.62
user 185.38
sys 7.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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J0818.7+3153 @ 124.695 31.8862

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.fits scfile=/scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits outfile=/scratch/kocevski/413752/cmap_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.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=124.695 yref=31.8862 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 2.97
user 0.38
sys 2.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.fits scfile=/scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits outfile=/scratch/kocevski/413752/cmap_HighResolution_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.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=124.695 yref=31.8862 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 2.81
user 0.36
sys 2.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.fits evtable="EVENTS" scfile=/scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413752/Model_4FGL_J0818.7+3153_daily_bin1527.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/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.fits.........................!
real 24.87
user 20.14
sys 4.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.fits', '/scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits', expMap='/scratch/kocevski/413752/expmap_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.fits', expCube='/scratch/kocevski/413752/ltcube_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/413752/Model_4FGL_J0818.7+3153_daily_bin1527.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0818.7+3153'

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.482e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/413752/ft1_filtered_4FGL_J0818.7+3153_daily_bin1527.fits
Spacecraft file(s): /scratch/kocevski/413752/ft2_4FGL_J0818.7+3153_daily_bin1527.fits
Exposure map: /scratch/kocevski/413752/expmap_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.fits
Exposure cube: /scratch/kocevski/413752/ltcube_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/413752/Model_4FGL_J0818.7+3153_daily_bin1527.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) = 867.138601393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11045E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    12.261       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11707E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12395E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .47506E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    31.905       1.0000         .10000E-03   10000.    
     7 'norm      '    .18604E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.583       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10448E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11452E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10590E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10965E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    217.06       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .42168E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .56128       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   864.9270     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2373 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.011       -.10055E-05** at limit **
   2  norm          12.247        12.130       -.11954E-05   -.19568E-03
   3  Prefactor     .10000E-03    137.42       -.56072E-06** at limit **
   4  Prefactor     .10000E-03    82.042        .26039E-05** at limit **
   5  Prefactor     .10002E-03    6706.5        .74735E-05** at limit **
   6  norm          31.914        40.114        .14192E-06    .45593E-05
   7  norm          .10000E-03    219.76       -.19695E-05** at limit **
   8  Prefactor     17.590        14.007       -.73423E-07   -.47837E-05
   9  Prefactor     .10000E-03    75.458        .60406E-07** at limit **
  10  norm          .10000E-03    .75261       -.64365E-07** at limit **
  11  Prefactor     .10000E-03    342.44       -.29898E-06** at limit **
  12  Prefactor     .10000E-03    56.836       -.68519E-06** at limit **
  13  Prefactor     .10000E-03    34.269       -.24598E-06** at limit **
  14  Prefactor     .10000E-03    79.591        .29392E-06** at limit **
  15  Prefactor     .10000E-03    10.069       -.14469E-06** at limit **
  16  norm          .10000E-03    4.7665       -.63823E-07** at limit **
  17  Prefactor     217.04        211.00       -.55299E-06   -.12087E-05
  18  Prefactor     .10000E-03    61.660       -.58279E-06** at limit **
  19  Prefactor     .10000E-03    1628.2        .30262E-05** at limit **
  20  Prefactor    10000.0        7418.2       -.16715E-04** at limit **
  21  Normalizat    .56079        .72782        .19628E-04    .13295E-04
  22  Prefactor     .98138        .49065       -.88726E-05    .85283E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 12.2466
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.00010002
  norm       = 31.9141
  norm       = 0.000100001
  Prefactor  = 17.5898
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 217.042
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 10000
  Normalizat = 0.560788
  Prefactor  = 0.981378
 **********
 **   18 **HESSE 
 **********

 FCN=   864.9270     FROM HESSE     STATUS=OK           340 CALLS     2713 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.247        13.041        .96026E-04   -1.5008    
   3  Prefactor     .10000E-03    137.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    84.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    396.26        .14056       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          31.914        40.180        .70938E-04   -1.4578    
   7  norm          .10000E-03    220.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.590        14.012        .94968E-04   -1.4869    
   9  Prefactor     .10000E-03    75.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .75484        .24936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    343.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    56.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.306        .16830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    79.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.122        .91193E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.7707        .62736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     217.04        210.93        .13725E-03   -1.2751    
  18  Prefactor     .10000E-03    61.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1629.6        .21239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor    10000.0        7434.2        .19435E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .56079        .73577        .36886E-03   -1.0968    
  22  Prefactor     .98138        .50783        .19230E-03   -.93353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20915e-10
Minuit parameter uncertainties:
  1  0.000329162
  2  13.0436
  3  0.000368558
  4  0.000606276
  5  0.00562344
  6  40.2138
  7  0.00101967
  8  14.0143
  9  1.30727e-05
  10  2.0257e-06
  11  0.00017925
  12  0.000187834
  13  5.9457e-05
  14  8.63932e-05
  15  2.31416e-05
  16  5.6097e-06
  17  211.676
  18  0.000162723
  19  0.00438405
  20  0.0449006
  21  0.749175
  22  0.510327
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.878e-04  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  9.814e-01  5.103e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  5.608e-01  7.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 124.695 31.886
Photon Flux Upper Limit: 3.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.58e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413752/likelihoodResults_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.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) = 864.927121283
delta logL = -8.29899225891e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 864.927038899
delta logL = -6.05757463745e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12547E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3323       1.0000          .0000       10.000    
     3 'Normalizat'    .56079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98137       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+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=   864.9270     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      272 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10189E-03    218.51        .18142E-02** at limit **
   2  Index         2.2677        5.2568        .50000        .70861E-05
   3  Normalizat    .56079        .28405E-01    .36885E-03   -.22261E-04
   4  Prefactor     .98137        .19367E-01    .19230E-03   -.42831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101888
  Index      = 2.26769
  Normalizat = 0.560794
  Prefactor  = 0.981373
 **********
 **   18 **HESSE 
 **********

 FCN=   864.9270     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      301 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10189E-03    928.47        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2677        8.4803        .50000       -.57813    
   3  Normalizat    .56079        .60283E-01    .14754E-04   -1.0968    
   4  Prefactor     .98137        .41105E-01    .38460E-04   -.93353    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.55298e-09
Minuit parameter uncertainties:
  1  0.0850981
  2  567.472
  3  0.0602898
  4  0.0411068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413752': 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) = 864.927038503
delta logL = -2.10449456972e-07

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.019e-04  8.510e-02  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.268e+00  5.675e+02  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  9.814e-01  4.111e-02  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  5.608e-01  6.029e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 124.695 31.886

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/413752/cmap_HighResolution_635126401_635385601_4FGL_J0818.7+3153_daily_bin1527.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.58e-02', job_status='DONE', photon_flux_upper_limit='3.40e-07', time_completed='2021-08-29 17:31:45.527505', job_id='413752', GAL2='0.98', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1630283505.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-2.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1527' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:31:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 413752: <4FGL_J0818.7+3153_daily_bin1527> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1527> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 29 17:20:45 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 17:20:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 17:20:47 2021
Terminated at Sun Aug 29 17:31:46 2021
Results reported at Sun Aug 29 17:31:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1527 124.695 31.8862 635126401 635385601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0818.7+3153 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   433.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            661 sec.

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

