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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1071
RA = 124.695, Dec = 31.8862
tmin = 516931201, tmax = 517190401
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='411972', job_status='RUN', time_executed='2021-08-29 17:17:39.402910', time_epoch_executed='1630282659.4' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/411972

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/411972/ft1_4FGL_J0818.7+3153_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/411972/ft2_4FGL_J0818.7+3153_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/411972/ft1_4FGL_J0818.7+3153_daily_bin1071.fits outfile=/scratch/kocevski/411972/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1071.fits ra=124.695 dec=31.8862 rad=12.0 tmin=516931201.0 tmax=517190401.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.23
user 3.69
sys 0.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/411972/ft2_4FGL_J0818.7+3153_daily_bin1071.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/411972/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1071.fits evtable="EVENTS" outfile="/scratch/kocevski/411972/ft1_filtered_4FGL_J0818.7+3153_daily_bin1071.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.75
user 0.32
sys 0.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/411972/ft1_filtered_4FGL_J0818.7+3153_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/411972/ft2_4FGL_J0818.7+3153_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/411972/ltcube_516931201_517190401_4FGL_J0818.7+3153_daily_bin1071.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/411972/ft2_4FGL_J0818.7+3153_daily_bin1071.fits
.....................!
real 12.45
user 11.77
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/411972/ft1_filtered_4FGL_J0818.7+3153_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/411972/ft2_4FGL_J0818.7+3153_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/411972/ltcube_516931201_517190401_4FGL_J0818.7+3153_daily_bin1071.fits outfile=/scratch/kocevski/411972/expmap_516931201_517190401_4FGL_J0818.7+3153_daily_bin1071.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/411972/ltcube_516931201_517190401_4FGL_J0818.7+3153_daily_bin1071.fits
.....................!
real 192.63
user 186.67
sys 5.43

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/411972/ft1_filtered_4FGL_J0818.7+3153_daily_bin1071.fits scfile=/scratch/kocevski/411972/ft2_4FGL_J0818.7+3153_daily_bin1071.fits outfile=/scratch/kocevski/411972/cmap_516931201_517190401_4FGL_J0818.7+3153_daily_bin1071.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 0.84
user 0.37
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/411972/ft1_filtered_4FGL_J0818.7+3153_daily_bin1071.fits scfile=/scratch/kocevski/411972/ft2_4FGL_J0818.7+3153_daily_bin1071.fits outfile=/scratch/kocevski/411972/cmap_HighResolution_516931201_517190401_4FGL_J0818.7+3153_daily_bin1071.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 0.90
user 0.38
sys 0.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/411972/ft1_filtered_4FGL_J0818.7+3153_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/411972/ft2_4FGL_J0818.7+3153_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/411972/Model_4FGL_J0818.7+3153_daily_bin1071.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/411972/ft1_filtered_4FGL_J0818.7+3153_daily_bin1071.fits.....................!
real 66.78
user 64.82
sys 1.57

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .24167E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11839E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    58.674       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10497E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    11.719       1.0000         .10000E-03   10000.    
     7 'norm      '    24.409       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10516E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.8178       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .48824E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.785       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9190       1.0000         .10000E-03   10000.    
    16 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3466       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1092       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0086       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=   6907.882     FROM MIGRAD    STATUS=CONVERGED    879 CALLS     3141 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.414        .18142E-02** at limit **
   2  norm          .10000E-03    13.247        .23370E-02** at limit **
   3  Prefactor     .10000E-03    137.15        .18142E-02** at limit **
   4  Prefactor     58.674        23.466        .52376E-04    .36366E-03
   5  Prefactor     .10000E-03    17.873        .18142E-02** at limit **
   6  norm          11.720        9.1703        .11702E-03    .32545E-04
   7  norm          24.532        154.96        .81079E-04   -.10825E-04
   8  Prefactor     .10000E-03    1.9437        .11238E-02** at limit **
   9  Prefactor     .10000E-03    14.623        .18142E-02** at limit **
  10  norm          1.8178        .61352        .36598E-04   -.71447E-05
  11  Prefactor     .10000E-03    11.161        .18142E-02** at limit **
  12  Prefactor     .10000E-03    16.058        .10002    ** at limit **
  13  Prefactor     .10000E-03    25.744        .36285E-03** at limit **
  14  Prefactor     12.793        18.274        .11203E-03   -.73169E-04
  15  Prefactor     1.9190        2.3418        .13525E-03   -.33059E-03
  16  norm          .10000E-03    .30574        .44571E-03** at limit **
  17  Prefactor     .10000E-03    36.498        .18142E-02** at limit **
  18  Prefactor     4.3507        6.9101        .19320E-03   -.79202E-04
  19  Prefactor     .10000E-03    46.773        .36285E-03** at limit **
  20  Prefactor     .10000E-03    3.7325        .21760E-02** at limit **
  21  Normalizat    1.1091        .20010        .25741E-03    .77377E-04
  22  Prefactor     1.0087        .16424        .22166E-03    .28158E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 58.6736
  Prefactor  = 0.0001
  norm       = 11.7196
  norm       = 24.5322
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.81782
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 12.7926
  Prefactor  = 1.91898
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.35075
  Prefactor  = 0.000100003
  Prefactor  = 0.000100002
  Normalizat = 1.10912
  Prefactor  = 1.00873
 **********
 **   18 **HESSE 
 **********

 FCN=   6907.882     FROM HESSE     STATUS=OK           330 CALLS     3471 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.418        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    13.330        .46741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    137.26        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     58.674        23.442        .10475E-04   -1.4174    
   5  Prefactor     .10000E-03    17.873        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.720        9.1701        .46809E-05   -1.5023    
   7  norm          24.532        154.94        .16216E-04   -1.4717    
   8  Prefactor     .10000E-03    1.9441        .22476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.624        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.8178        .61351        .14639E-05   -1.5438    
  11  Prefactor     .10000E-03    11.162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.040        .10592       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.745        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.793        18.271        .44811E-05   -1.4992    
  15  Prefactor     1.9190        2.3416        .54101E-05   -1.5431    
  16  norm          .10000E-03    .30575        .89142E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    36.529        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.3507        6.9099        .77282E-05   -1.5291    
  19  Prefactor     .10000E-03    46.776        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.7492        .43521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1091        .20026        .10297E-04   -.89460    
  22  Prefactor     1.0087        .16437        .88664E-05   -.92439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.69907e-10
Minuit parameter uncertainties:
  1  1.35961e-05
  2  0.00016668
  3  3.13539e-05
  4  23.4458
  5  1.78875e-06
  6  9.17118
  7  123.78
  8  3.24229e-06
  9  1.59962e-05
  10  0.613512
  11  6.50279e-06
  12  0.000270484
  13  0.000360059
  14  18.2794
  15  2.34175
  16  1.88354e-06
  17  8.98134e-05
  18  6.9112
  19  0.00074834
  20  0.000169263
  21  0.200402
  22  0.164451
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  2.705e-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:  1.009e+00  1.645e-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.109e+00  2.004e-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: 5.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/411972/likelihoodResults_516931201_517190401_4FGL_J0818.7+3153_daily_bin1071.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) = 6907.88196552
delta logL = -1.34955616886e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6907.88196551
delta logL = -1.34905549203e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96366E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1347       1.0000          .0000       10.000    
     3 'Normalizat'    1.1091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0087       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6907.821     FROM MIGRAD    STATUS=CONVERGED    204 CALLS      385 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0728        29.651        .18142E-02   -.23280E-04
   2  Index         1.5409        1.0773        .80102E-02    .90422E-05
   3  Normalizat    1.1121        .19696        .25711E-03   -.24187E-04
   4  Prefactor     1.0041        .16377        .22208E-03   -.70133E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.07278
  Index      = 1.54094
  Normalizat = 1.11209
  Prefactor  = 1.00408
 **********
 **   18 **HESSE 
 **********

 FCN=   6907.821     FROM HESSE     STATUS=OK            27 CALLS      412 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0728        29.348        .72570E-04   -1.5105    
   2  Index         1.5409        1.0669        .32041E-03   -.76400    
   3  Normalizat    1.1121        .19712        .10284E-04   -.89365    
   4  Prefactor     1.0041        .16391        .88832E-05   -.92594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59167e-11
Minuit parameter uncertainties:
  1  29.3944
  2  1.08304
  3  0.197254
  4  0.163994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/411972': 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) = 6907.82120452
delta logL = 0.0607475019297

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  9.073e+00  2.939e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  1.541e+00  1.083e+00  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:  1.004e+00  1.640e-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.112e+00  1.973e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/411972/cmap_HighResolution_516931201_517190401_4FGL_J0818.7+3153_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', job_status='DONE', photon_flux_upper_limit='5.45e-08', time_completed='2021-08-29 17:30:48.239447', job_id='411972', GAL2='1.00', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630283448.24', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.07e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1071' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:30:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 411972: <4FGL_J0818.7+3153_daily_bin1071> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1071> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Aug 29 17:15:42 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 17:15:43 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:15:43 2021
Terminated at Sun Aug 29 17:30:48 2021
Results reported at Sun Aug 29 17:30:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1071 124.695 31.8862 516931201 517190401 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 :                                   787.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            906 sec.

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

