/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 7 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 = 7479
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0818.7+3153_daily_bin69
RA = 124.695, Dec = 31.8862
tmin = 257212801, tmax = 257472001
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='405255', job_status='RUN', time_executed='2021-08-29 16:56:49.585438', time_epoch_executed='1630281409.59' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405255/ft1_4FGL_J0818.7+3153_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405255/ft1_4FGL_J0818.7+3153_daily_bin69.fits outfile=/scratch/kocevski/405255/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin69.fits ra=124.695 dec=31.8862 rad=12.0 tmin=257212801.0 tmax=257472001.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 3.31
user 2.10
sys 1.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.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/405255/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin69.fits evtable="EVENTS" outfile="/scratch/kocevski/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.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 1.50
user 0.34
sys 1.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.fits" evtable="EVENTS" scfile=/scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits sctable="SC_DATA" outfile=/scratch/kocevski/405255/ltcube_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.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/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits
.....................!
real 13.40
user 11.96
sys 1.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/405255/ltcube_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.fits outfile=/scratch/kocevski/405255/expmap_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.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/405255/ltcube_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.fits
.....................!
real 192.31
user 185.47
sys 6.07

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/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.fits scfile=/scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits outfile=/scratch/kocevski/405255/cmap_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.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 1.54
user 0.37
sys 1.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.fits scfile=/scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits outfile=/scratch/kocevski/405255/cmap_HighResolution_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.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 1.42
user 0.39
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/405255/Model_4FGL_J0818.7+3153_daily_bin69.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/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.fits.....................!
real 89.50
user 86.29
sys 2.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.fits', '/scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits', expMap='/scratch/kocevski/405255/expmap_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.fits', expCube='/scratch/kocevski/405255/ltcube_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/405255/Model_4FGL_J0818.7+3153_daily_bin69.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/405255/ft1_filtered_4FGL_J0818.7+3153_daily_bin69.fits
Spacecraft file(s): /scratch/kocevski/405255/ft2_4FGL_J0818.7+3153_daily_bin69.fits
Exposure map: /scratch/kocevski/405255/expmap_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.fits
Exposure cube: /scratch/kocevski/405255/ltcube_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/405255/Model_4FGL_J0818.7+3153_daily_bin69.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) = 9730.34022456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .68010       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.6128       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6494       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5912       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.243       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2011       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.965       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3415       1.0000         .10000E-03   10000.    
    16 'norm      '    .66329       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.432       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0384       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.156       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2367       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95325       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=   9730.339     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2391 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.0225        .12076E-05** at limit **
   2  norm          .68932        2.5372        .10283E-06    .55399E-04
   3  Prefactor     .10000E-03    15.406       -.13813E-04** at limit **
   4  Prefactor     3.6147        10.658       -.11947E-06    .24398E-06
   5  Prefactor     .10000E-03    8.1907        .13878E-05** at limit **
   6  norm          .10000E-03    4.2929        .77163E-07** at limit **
   7  norm          .10000E-03    30.040       -.87382E-05** at limit **
   8  Prefactor     3.6496        4.5903       -.40651E-06   -.45970E-04
   9  Prefactor     .10000E-03    18.812        .19722E-04** at limit **
  10  norm          2.5911        .75827        .26272E-07    .16637E-04
  11  Prefactor     .10000E-03    7.1385       -.13941E-05** at limit **
  12  Prefactor     23.242        21.353       -.18977E-06   -.19402E-04
  13  Prefactor     1.2023        2.1000        .29142E-06   -.99924E-03
  14  Prefactor     16.966        22.515        .17208E-05    .12086E-04
  15  Prefactor     3.3417        2.3054        .62100E-08   -.20031E-05
  16  norm          .66347        1.1182       -.23117E-06   -.63291E-03
  17  Prefactor     16.431        20.695       -.14856E-05   -.22289E-05
  18  Prefactor     5.0388        7.9857        .43987E-07   -.27591E-03
  19  Prefactor     12.158        14.783        .40487E-06    .19135E-05
  20  Prefactor     .10000E-03    1.2772       -.15389E-07** at limit **
  21  Normalizat    1.2365        .16138       -.11981E-06   -.31556E-05
  22  Prefactor     .95341        .12092       -.35383E-08   -.42657E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.689317
  Prefactor  = 0.0001
  Prefactor  = 3.6147
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.64957
  Prefactor  = 0.0001
  norm       = 2.59113
  Prefactor  = 0.0001
  Prefactor  = 23.2425
  Prefactor  = 1.2023
  Prefactor  = 16.9664
  Prefactor  = 3.34174
  norm       = 0.663474
  Prefactor  = 16.4307
  Prefactor  = 5.03883
  Prefactor  = 12.1579
  Prefactor  = 0.0001
  Normalizat = 1.23646
  Prefactor  = 0.953408
 **********
 **   18 **HESSE 
 **********

 FCN=   9730.339     FROM HESSE     STATUS=OK           354 CALLS     2745 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .68932        4.3303        .26686E-02   -1.5542    
   3  Prefactor     .10000E-03    15.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.6147        10.495        .21257E-03   -1.5328    
   5  Prefactor     .10000E-03    8.1935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.3333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    30.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6496        4.5717        .21146E-03   -1.5326    
   9  Prefactor     .10000E-03    18.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5911        .76382        .43272E-04   -1.5386    
  11  Prefactor     .10000E-03    7.1436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.242        21.358        .83085E-04   -1.4743    
  13  Prefactor     1.2023        11.911        .20706E-02   -1.5489    
  14  Prefactor     16.966        21.466        .97241E-04   -1.4884    
  15  Prefactor     3.3417        2.3276        .11848E-03   -1.5342    
  16  norm          .66347        .97442        .10787E-02   -1.5545    
  17  Prefactor     16.431        20.735        .98804E-04   -1.4897    
  18  Prefactor     5.0388        7.9571        .89571E-03   -1.5259    
  19  Prefactor     12.158        14.836        .11489E-03   -1.5010    
  20  Prefactor     .10000E-03    3.0809        .21705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2365        .18898        .26258E-03   -.85483    
  22  Prefactor     .95341        .14210        .23228E-03   -.94299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68105e-09
Minuit parameter uncertainties:
  1  5.3292e-06
  2  3.45551
  3  8.35977e-06
  4  10.5
  5  1.78944e-06
  6  5.98654e-07
  7  1.38353e-05
  8  4.57213
  9  3.03447e-05
  10  0.763825
  11  6.22762e-06
  12  21.365
  13  7.57032
  14  21.4759
  15  2.32763
  16  0.974443
  17  20.744
  18  7.95872
  19  14.8401
  20  5.55303e-06
  21  0.18909
  22  0.142157
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  2.324e+01  2.137e+01  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.534e-01  1.422e-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:  1.236e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.58
Ra Dec: 124.695 31.886
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.50e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.17e-05

TS (Fixed Index): 1.58
Ra Dec: 124.695 31.886
Photon Flux Upper Limit: 7.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/405255/likelihoodResults_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.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): 0
logL (Free Index) = 9730.30267255
delta logL = 0.0365976057365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9730.30106129
delta logL = 0.0382088691767

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.091       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2797       1.0000          .0000       10.000    
     3 'Normalizat'    1.2335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95464       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=   9730.301     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      293 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.088        29.333        .94166E-04    .20838E-03
   2  Index         2.2796        .62660        .64253E-02    .12697E-03
   3  Normalizat    1.2335        .17793        .26284E-03   -.39246E-03
   4  Prefactor     .95467        .14082        .23214E-03   -.51044E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.0879
  Index      = 2.27956
  Normalizat = 1.23351
  Prefactor  = 0.95467
 **********
 **   18 **HESSE 
 **********

 FCN=   9730.301     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.088        25.199        .37666E-05   -1.4857    
   2  Index         2.2796        .53880        .25701E-03   -.57530    
   3  Normalizat    1.2335        .17797        .52568E-04   -.85574    
   4  Prefactor     .95467        .14084        .46428E-04   -.94256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5596e-10
Minuit parameter uncertainties:
  1  25.2136
  2  0.540289
  3  0.178054
  4  0.140892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405255': 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) = 9730.30106094
delta logL = 0.0382092240798

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.809e+01  2.521e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.280e+00  5.403e-01  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.547e-01  1.409e-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:  1.234e+00  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 124.695 31.886
Photon Index (Free Index): 2.28 +/- 0.54
Photon Flux (Free Index): 2.80e-08 +/- 2.66e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/405255/cmap_HighResolution_257212801_257472001_4FGL_J0818.7+3153_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', comment='SUCCESS', photon_flux='2.50e-08', energy_flux2='1.10e-05', photon_flux_error='2.30e-08', dlogl='3.82e-02', energy_flux='1.28e-05', photon_flux2='2.80e-08', job_status='DONE', time_completed='2021-08-29 17:11:11.960849', photon_index_error2='0.54', photon_index2='2.28', ts='1.58', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='7.52e-08', energy_flux_error2='1.16e-05', EG='1.24', time_epoch_completed='1630282271.96', return_code='0', job_id='405255', GAL2='0.95', EG2='1.23', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='2.66e-08', ts2='1.66', photon_index='2.13' WHERE bin_id='69' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:11:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0141>
Subject: Job 405255: <4FGL_J0818.7+3153_daily_bin69> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin69> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Aug 29 16:56:15 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 16:56:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 16:56:16 2021
Terminated at Sun Aug 29 17:11:12 2021
Results reported at Sun Aug 29 17:11:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin69 124.695 31.8862 257212801 257472001 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 :                                   876.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            897 sec.

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

