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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1103
RA = 124.695, Dec = 31.8862
tmin = 525225601, tmax = 525484801
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='412018', job_status='RUN', time_executed='2021-08-29 17:18:38.691867', time_epoch_executed='1630282718.69' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1103'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412018

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412018/ft1_4FGL_J0818.7+3153_daily_bin1103.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412018/ft2_4FGL_J0818.7+3153_daily_bin1103.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412018/ft1_4FGL_J0818.7+3153_daily_bin1103.fits outfile=/scratch/kocevski/412018/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1103.fits ra=124.695 dec=31.8862 rad=12.0 tmin=525225601.0 tmax=525484801.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.99
user 3.82
sys 0.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/412018/ft2_4FGL_J0818.7+3153_daily_bin1103.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/412018/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1103.fits evtable="EVENTS" outfile="/scratch/kocevski/412018/ft1_filtered_4FGL_J0818.7+3153_daily_bin1103.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.20
user 0.31
sys 0.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412018/ft1_filtered_4FGL_J0818.7+3153_daily_bin1103.fits" evtable="EVENTS" scfile=/scratch/kocevski/412018/ft2_4FGL_J0818.7+3153_daily_bin1103.fits sctable="SC_DATA" outfile=/scratch/kocevski/412018/ltcube_525225601_525484801_4FGL_J0818.7+3153_daily_bin1103.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/412018/ft2_4FGL_J0818.7+3153_daily_bin1103.fits
.....................!
real 12.67
user 11.51
sys 1.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412018/ft1_filtered_4FGL_J0818.7+3153_daily_bin1103.fits evtable="EVENTS" scfile=/scratch/kocevski/412018/ft2_4FGL_J0818.7+3153_daily_bin1103.fits sctable="SC_DATA" expcube=/scratch/kocevski/412018/ltcube_525225601_525484801_4FGL_J0818.7+3153_daily_bin1103.fits outfile=/scratch/kocevski/412018/expmap_525225601_525484801_4FGL_J0818.7+3153_daily_bin1103.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/412018/ltcube_525225601_525484801_4FGL_J0818.7+3153_daily_bin1103.fits
.....................!
real 191.32
user 185.57
sys 5.32

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/412018/ft1_filtered_4FGL_J0818.7+3153_daily_bin1103.fits scfile=/scratch/kocevski/412018/ft2_4FGL_J0818.7+3153_daily_bin1103.fits outfile=/scratch/kocevski/412018/cmap_525225601_525484801_4FGL_J0818.7+3153_daily_bin1103.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.17
user 0.36
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/412018/ft1_filtered_4FGL_J0818.7+3153_daily_bin1103.fits scfile=/scratch/kocevski/412018/ft2_4FGL_J0818.7+3153_daily_bin1103.fits outfile=/scratch/kocevski/412018/cmap_HighResolution_525225601_525484801_4FGL_J0818.7+3153_daily_bin1103.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.19
user 0.36
sys 0.79

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/412018/ft1_filtered_4FGL_J0818.7+3153_daily_bin1103.fits evtable="EVENTS" scfile=/scratch/kocevski/412018/ft2_4FGL_J0818.7+3153_daily_bin1103.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/412018/Model_4FGL_J0818.7+3153_daily_bin1103.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/412018/ft1_filtered_4FGL_J0818.7+3153_daily_bin1103.fits.....................!
real 59.26
user 56.65
sys 2.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5226       1.0000         .10000E-03   10000.    
     2 'norm      '    .11068E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11758E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.095       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.864       1.0000         .10000E-03   10000.    
     6 'norm      '    13.426       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.793       1.0000         .10000E-03   10000.    
    10 'norm      '    .68437       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.640       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1511       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84531       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=   6062.274     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2352 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5226        9.0384       -.89569E-06   -.12289E-03
   2  norm          .10000E-03    2.6509        .10894E-05** at limit **
   3  Prefactor     .10000E-03    21.225        .11429E-05** at limit **
   4  Prefactor     16.094        18.288        .31278E-05   -.30621E-04
   5  Prefactor     26.829        38.728       -.45303E-04   -.27079E-04
   6  norm          13.426        11.946       -.24984E-06   -.15236E-04
   7  norm          .10000E-03    50.160        .10460E-05** at limit **
   8  Prefactor     .10000E-03    1.3100        .10630E-06** at limit **
   9  Prefactor     15.792        25.122       -.97299E-06    .63722E-05
  10  norm          .68440        .48338       -.13210E-06   -.45865E-03
  11  Prefactor     .10000E-03    9.1552       -.12587E-06** at limit **
  12  Prefactor     .10000E-03    4.6692        .24381E-05** at limit **
  13  Prefactor     .10000E-03    3.6503        .27310E-06** at limit **
  14  Prefactor     .10000E-03    4.9104       -.12474E-05** at limit **
  15  Prefactor     .10000E-03    1.1078       -.31479E-06** at limit **
  16  norm          .10000E-03    .38109       -.19694E-06** at limit **
  17  Prefactor     .10000E-03    7.4538        .66501E-06** at limit **
  18  Prefactor     .10000E-03    4.2047       -.11661E-05** at limit **
  19  Prefactor     12.640        17.933       -.13406E-05   -.79406E-05
  20  Prefactor     .10000E-03    2.3694        .25372E-07** at limit **
  21  Normalizat    1.1510        .17411        .16894E-05    .12018E-03
  22  Prefactor     .84538        .13911        .19952E-05    .91726E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.52264
  norm       = 0.000100003
  Prefactor  = 0.000100004
  Prefactor  = 16.094
  Prefactor  = 26.8293
  norm       = 13.4258
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7916
  norm       = 0.684399
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6397
  Prefactor  = 0.0001
  Normalizat = 1.15104
  Prefactor  = 0.845382
 **********
 **   18 **HESSE 
 **********

 FCN=   6062.274     FROM HESSE     STATUS=OK           344 CALLS     2696 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5226        9.0284        .18931E-03   -1.5283    
   2  norm          .10000E-03    2.7290        .24748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.094        18.234        .99834E-04   -1.4905    
   5  Prefactor     26.829        38.749        .77292E-04   -1.4672    
   6  norm          13.426        11.946        .10931E-03   -1.4975    
   7  norm          .10000E-03    50.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.3178        .87001E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.792        25.123        .10078E-03   -1.4913    
  10  norm          .68440        .46634        .44049E-03   -1.5543    
  11  Prefactor     .10000E-03    9.1577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.6689        .16431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.6573        .14522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.9135        .16850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.3507        .15763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .52501        .93363E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.4588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.2327        .15591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.640        17.981        .11267E-03   -1.4997    
  20  Prefactor     .10000E-03    2.3983        .11701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1510        .20325        .23788E-03   -.88130    
  22  Prefactor     .84538        .16323        .22023E-03   -.98077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20371e-09
Minuit parameter uncertainties:
  1  9.03111
  2  0.000166602
  3  0.00055074
  4  18.2403
  5  38.7858
  6  11.9483
  7  1.84412e-05
  8  3.75e-06
  9  25.1397
  10  0.466345
  11  4.02144e-06
  12  1.33317e-06
  13  3.91799e-06
  14  1.90175e-06
  15  5.32931e-05
  16  3.66003e-06
  17  6.33388e-06
  18  9.03898e-06
  19  17.9885
  20  1.04843e-05
  21  0.20339
  22  0.163328
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.333e-06  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:  8.454e-01  1.633e-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.151e+00  2.034e-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: 2.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/412018/likelihoodResults_525225601_525484801_4FGL_J0818.7+3153_daily_bin1103.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) = 6062.27503306
delta logL = -0.000993810104774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6062.27403887
delta logL = 3.73359398509e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10481E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0906       1.0000          .0000       10.000    
     3 'Normalizat'    1.1510       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84539       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=   6062.274     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      243 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10205E-03    26.254        .17855E-02** at limit **
   2  Index         2.0203        6.7807        .50000        .63023E-04
   3  Normalizat    1.1510        .95239E-02    .23788E-03   -.47840E-04
   4  Prefactor     .84538        .77206E-02    .22023E-03   -.45737E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010205
  Index      = 2.02027
  Normalizat = 1.15104
  Prefactor  = 0.845383
 **********
 **   18 **HESSE 
 **********

 FCN=   6062.274     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10205E-03    113.75        .35709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0203        5.9778        .50000       -.63844    
   3  Normalizat    1.1510        .20178E-01    .95151E-05   -.88130    
   4  Prefactor     .84538        .16357E-01    .88092E-05   -.98077    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.2438e-08
Minuit parameter uncertainties:
  1  0.0306004
  2  179.691
  3  0.0201777
  4  0.0163572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412018': 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) = 6062.2740374
delta logL = 1.8476994228e-06

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.021e-04  3.060e-02  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.020e+00  1.797e+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:  8.454e-01  1.636e-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:  1.151e+00  2.018e-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/412018/cmap_HighResolution_525225601_525484801_4FGL_J0818.7+3153_daily_bin1103.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.23e-03', job_status='DONE', photon_flux_upper_limit='2.95e-08', time_completed='2021-08-29 17:29:38.903455', job_id='412018', GAL2='0.85', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1630283378.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.85e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1103' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:29:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 412018: <4FGL_J0818.7+3153_daily_bin1103> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1103 124.695 31.8862 525225601 525484801 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 :                                   663.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            834 sec.

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

