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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1544
RA = 124.695, Dec = 31.8862
tmin = 639532801, tmax = 639792001
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='413777', job_status='RUN', time_executed='2021-08-29 17:22:49.805313', time_epoch_executed='1630282969.81' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413777

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413777/ft1_4FGL_J0818.7+3153_daily_bin1544.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413777/ft2_4FGL_J0818.7+3153_daily_bin1544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413777/ft1_4FGL_J0818.7+3153_daily_bin1544.fits outfile=/scratch/kocevski/413777/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1544.fits ra=124.695 dec=31.8862 rad=12.0 tmin=639532801.0 tmax=639792001.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 9.59
user 3.41
sys 6.10

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413777/ft1_filtered_4FGL_J0818.7+3153_daily_bin1544.fits" evtable="EVENTS" scfile=/scratch/kocevski/413777/ft2_4FGL_J0818.7+3153_daily_bin1544.fits sctable="SC_DATA" outfile=/scratch/kocevski/413777/ltcube_639532801_639792001_4FGL_J0818.7+3153_daily_bin1544.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/413777/ft2_4FGL_J0818.7+3153_daily_bin1544.fits
.....................!
real 18.39
user 11.12
sys 7.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413777/ft1_filtered_4FGL_J0818.7+3153_daily_bin1544.fits evtable="EVENTS" scfile=/scratch/kocevski/413777/ft2_4FGL_J0818.7+3153_daily_bin1544.fits sctable="SC_DATA" expcube=/scratch/kocevski/413777/ltcube_639532801_639792001_4FGL_J0818.7+3153_daily_bin1544.fits outfile=/scratch/kocevski/413777/expmap_639532801_639792001_4FGL_J0818.7+3153_daily_bin1544.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/413777/ltcube_639532801_639792001_4FGL_J0818.7+3153_daily_bin1544.fits
.....................!
real 198.12
user 185.34
sys 12.33

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/413777/ft1_filtered_4FGL_J0818.7+3153_daily_bin1544.fits scfile=/scratch/kocevski/413777/ft2_4FGL_J0818.7+3153_daily_bin1544.fits outfile=/scratch/kocevski/413777/cmap_639532801_639792001_4FGL_J0818.7+3153_daily_bin1544.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 7.13
user 0.37
sys 6.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413777/ft1_filtered_4FGL_J0818.7+3153_daily_bin1544.fits scfile=/scratch/kocevski/413777/ft2_4FGL_J0818.7+3153_daily_bin1544.fits outfile=/scratch/kocevski/413777/cmap_HighResolution_639532801_639792001_4FGL_J0818.7+3153_daily_bin1544.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 7.90
user 0.39
sys 6.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413777/ft1_filtered_4FGL_J0818.7+3153_daily_bin1544.fits evtable="EVENTS" scfile=/scratch/kocevski/413777/ft2_4FGL_J0818.7+3153_daily_bin1544.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413777/Model_4FGL_J0818.7+3153_daily_bin1544.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/413777/ft1_filtered_4FGL_J0818.7+3153_daily_bin1544.fits.....................!
real 76.15
user 62.76
sys 9.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21891E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.238       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.2034       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .20061       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0362       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8752       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16634       1.0000         .10000E-03   10000.    
    16 'norm      '    .31597       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.352       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.900       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11056E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2584       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92569       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=   6903.674     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     3130 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    45.429        .13514E-04** at limit **
   2  norm          .10000E-03    1.1411        .81010E-08** at limit **
   3  Prefactor     16.241        23.891       -.16069E-05   -.17880E-03
   4  Prefactor     .10000E-03    5.1196       -.42210E-07** at limit **
   5  Prefactor     .10000E-03    62.103        .34198E-05** at limit **
   6  norm          5.2085        12.116        .66063E-06    .25291E-03
   7  norm          .10000E-03    26.071       -.36444E-06** at limit **
   8  Prefactor     .24953        5.1177        .34450E-05   -.17504E-03
   9  Prefactor     .10000E-03    8.6173       -.30868E-06** at limit **
  10  norm          1.0355        .49763       -.46308E-07   -.24745E-02
  11  Prefactor     .10000E-03    11.566        .10185E-05** at limit **
  12  Prefactor     .10000E-03    14.923       -.27453E-05** at limit **
  13  Prefactor     .10000E-03    3.7895       -.43382E-07** at limit **
  14  Prefactor     3.8976        25.468        .25609E-06    .93032E-04
  15  Prefactor     .17353        1.4592        .69857E-06   -.50347E-04
  16  norm          .31617        1.1240        .51361E-06    .21263E-02
  17  Prefactor     22.357        22.180       -.72791E-06   -.99874E-04
  18  Prefactor     13.907        11.155        .73014E-06    .48090E-03
  19  Prefactor     .10000E-03    17.672        .10067E-05** at limit **
  20  Prefactor     .10000E-03    1.4500       -.16343E-06** at limit **
  21  Normalizat    1.2582        .17734       -.12686E-06    .33914E-03
  22  Prefactor     .92563        .13751        .91199E-06    .53570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100071
  norm       = 0.0001
  Prefactor  = 16.2411
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 5.20854
  norm       = 0.0001
  Prefactor  = 0.24953
  Prefactor  = 0.0001
  norm       = 1.03549
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 3.8976
  Prefactor  = 0.17353
  norm       = 0.316172
  Prefactor  = 22.357
  Prefactor  = 13.907
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.25823
  Prefactor  = 0.92563
 **********
 **   18 **HESSE 
 **********

 FCN=   6903.674     FROM HESSE     STATUS=OK           346 CALLS     3476 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    60.021        .37983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.1493        .86623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.241        24.072        .99393E-04   -1.4902    
   4  Prefactor     .10000E-03    5.1283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    63.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.2085        12.173        .17623E-03   -1.5251    
   7  norm          .10000E-03    26.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .24953        24.321        .23789E-02   -1.5608    
   9  Prefactor     .10000E-03    8.6254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0355        .49979        .19426E-03   -1.5504    
  11  Prefactor     .10000E-03    11.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.7937        .15791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8976        25.218        .20498E-03   -1.5313    
  15  Prefactor     .17353        8.1534        .17858E-02   -1.5625    
  16  norm          .31617        1.3389        .13250E-02   -1.5596    
  17  Prefactor     22.357        22.164        .84723E-04   -1.4762    
  18  Prefactor     13.907        11.140        .10743E-03   -1.4962    
  19  Prefactor     .10000E-03    17.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.6713        .19501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2582        .20663        .24409E-03   -.84822    
  22  Prefactor     .92563        .16120        .22614E-03   -.95251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29975e-08
Minuit parameter uncertainties:
  1  0.00412977
  2  4.6101e-06
  3  24.0865
  4  4.49462e-06
  5  0.00109267
  6  12.1784
  7  7.39795e-05
  8  4.92808
  9  3.92202e-05
  10  0.499792
  11  0.000124007
  12  0.000427795
  13  9.59717e-06
  14  19.8401
  15  2.37862
  16  1.30111
  17  22.1716
  18  11.1414
  19  3.25703e-05
  20  2.0461e-05
  21  0.206768
  22  0.161284
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  4.278e-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.256e-01  1.613e-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.258e+00  2.068e-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.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413777/likelihoodResults_639532801_639792001_4FGL_J0818.7+3153_daily_bin1544.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) = 6903.67397836
delta logL = -0.000313244840981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6903.67397813
delta logL = -0.000313017865665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96296E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1347       1.0000          .0000       10.000    
     3 'Normalizat'    1.2582       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92563       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.

 FCN=   6903.674     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      197 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    98.109        .90719E-02** at limit **
   2  Index         2.1272        6.4905        .50000        .40015E-05
   3  Normalizat    1.2582        .11398E-01    .55200E-01   -.25065E-04
   4  Prefactor     .92563        .92658E-02    .45331E-01   -.97126E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.12723
  Normalizat = 1.25824
  Prefactor  = 0.925628
 **********
 **   18 **HESSE 
 **********

 FCN=   6903.674     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.165        .18144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1272        6.0615        .50000       -.61206    
   3  Normalizat    1.2582        .19699        .24409E-03   -.84822    
   4  Prefactor     .92563        .16017        .22614E-03   -.95251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97938e-11
Minuit parameter uncertainties:
  1  5.27182e-05
  2  4.09351
  3  0.197106
  4  0.160253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413777': 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) = 6903.67366511
delta logL = 7.61792762205e-09

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  5.272e-05  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.127e+00  4.094e+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:  9.256e-01  1.603e-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.258e+00  1.971e-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/413777/cmap_HighResolution_639532801_639792001_4FGL_J0818.7+3153_daily_bin1544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', job_status='DONE', photon_flux_upper_limit='5.48e-08', time_completed='2021-08-29 17:37:02.763212', job_id='413777', GAL2='0.93', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630283822.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='7.62e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1544' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:37:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 413777: <4FGL_J0818.7+3153_daily_bin1544> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1544> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 29 17:20:46 2021
Job was executed on host(s) <bullet0263>, 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:37:04 2021
Results reported at Sun Aug 29 17:37:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1544 124.695 31.8862 639532801 639792001 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 :                                   934.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            978 sec.

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

