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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin763
RA = 124.695, Dec = 31.8862
tmin = 437097601, tmax = 437356801
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='410141', job_status='RUN', time_executed='2021-08-29 17:11:28.187297', time_epoch_executed='1630282288.19' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410141

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410141/ft1_4FGL_J0818.7+3153_daily_bin763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410141/ft2_4FGL_J0818.7+3153_daily_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410141/ft1_4FGL_J0818.7+3153_daily_bin763.fits outfile=/scratch/kocevski/410141/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin763.fits ra=124.695 dec=31.8862 rad=12.0 tmin=437097601.0 tmax=437356801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.73
user 4.82
sys 0.87

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410141/ft1_filtered_4FGL_J0818.7+3153_daily_bin763.fits" evtable="EVENTS" scfile=/scratch/kocevski/410141/ft2_4FGL_J0818.7+3153_daily_bin763.fits sctable="SC_DATA" outfile=/scratch/kocevski/410141/ltcube_437097601_437356801_4FGL_J0818.7+3153_daily_bin763.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/410141/ft2_4FGL_J0818.7+3153_daily_bin763.fits
.....................!
real 12.75
user 11.65
sys 1.06

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410141/ft1_filtered_4FGL_J0818.7+3153_daily_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/410141/ft2_4FGL_J0818.7+3153_daily_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/410141/ltcube_437097601_437356801_4FGL_J0818.7+3153_daily_bin763.fits outfile=/scratch/kocevski/410141/expmap_437097601_437356801_4FGL_J0818.7+3153_daily_bin763.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/410141/ltcube_437097601_437356801_4FGL_J0818.7+3153_daily_bin763.fits
.....................!
real 191.12
user 185.57
sys 5.15

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/410141/ft1_filtered_4FGL_J0818.7+3153_daily_bin763.fits scfile=/scratch/kocevski/410141/ft2_4FGL_J0818.7+3153_daily_bin763.fits outfile=/scratch/kocevski/410141/cmap_437097601_437356801_4FGL_J0818.7+3153_daily_bin763.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.20
user 0.37
sys 0.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410141/ft1_filtered_4FGL_J0818.7+3153_daily_bin763.fits scfile=/scratch/kocevski/410141/ft2_4FGL_J0818.7+3153_daily_bin763.fits outfile=/scratch/kocevski/410141/cmap_HighResolution_437097601_437356801_4FGL_J0818.7+3153_daily_bin763.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.22
user 0.36
sys 0.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410141/ft1_filtered_4FGL_J0818.7+3153_daily_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/410141/ft2_4FGL_J0818.7+3153_daily_bin763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410141/Model_4FGL_J0818.7+3153_daily_bin763.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/410141/ft1_filtered_4FGL_J0818.7+3153_daily_bin763.fits.....................!
real 61.13
user 58.93
sys 1.99

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    94.095       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .30952E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3148       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.807       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1094       1.0000         .10000E-03   10000.    
    16 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    36.892       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.7337       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0153       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91053       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=   6292.727     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2353 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1833       -.16081E-05** at limit **
   2  norm          .10000E-03    1.2641       -.19901E-08** at limit **
   3  Prefactor     .10000E-03    23.117       -.15468E-04** at limit **
   4  Prefactor     .10000E-03    14.249       -.37676E-06** at limit **
   5  Prefactor     .10000E-03    10.857        .12295E-05** at limit **
   6  norm          .10000E-03    4.0202        .12563E-07** at limit **
   7  norm          94.115        88.111        .19202E-04    .16992E-05
   8  Prefactor     .10010E-03    3.0585        .13755E-05** at limit **
   9  Prefactor     .10000E-03    48.274       -.13284E-04** at limit **
  10  norm          1.3153        .80213        .62495E-07   -.17894E-02
  11  Prefactor     .10000E-03    10.818        .45026E-06** at limit **
  12  Prefactor     .10000E-03    30.054        .24246E-04** at limit **
  13  Prefactor     19.808        26.887        .31103E-05   -.33594E-03
  14  Prefactor     .10000E-03    5.3776        .31883E-05** at limit **
  15  Prefactor     4.1114        4.4276       -.26413E-06   -.79771E-03
  16  norm          .10000E-03    .51972        .20094E-08** at limit **
  17  Prefactor     36.880        43.643       -.14115E-04   -.87268E-04
  18  Prefactor     .10000E-03    10.453       -.32819E-05** at limit **
  19  Prefactor     .10000E-03    5.5417       -.16488E-05** at limit **
  20  Prefactor     9.7331        4.5773       -.17740E-06   -.39522E-05
  21  Normalizat    1.0155        .18141        .10594E-05   -.27726E-03
  22  Prefactor     .91042        .13898       -.84780E-06   -.14112E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 94.1152
  Prefactor  = 0.0001001
  Prefactor  = 0.0001
  norm       = 1.31528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.8077
  Prefactor  = 0.0001
  Prefactor  = 4.11141
  norm       = 0.0001
  Prefactor  = 36.8802
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.73314
  Normalizat = 1.01552
  Prefactor  = 0.910417
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.727     FROM HESSE     STATUS=OK           336 CALLS     2689 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2029        .17637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.2707        .87081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    23.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.0284        .15532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          94.115        88.163        .20716E-03   -1.3765    
   8  Prefactor     .10010E-03    14.724        .24947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    48.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3153        .78186        .47877E-04   -1.5479    
  11  Prefactor     .10000E-03    10.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.808        26.307        .89996E-04   -1.4818    
  14  Prefactor     .10000E-03    5.3824        .17964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1114        4.3798        .13381E-03   -1.5302    
  16  norm          .10000E-03    1.7463        .11099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     36.880        43.543        .65984E-04   -1.4493    
  18  Prefactor     .10000E-03    10.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.5482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.7331        4.5813        .11292E-03   -1.5084    
  21  Normalizat    1.0155        .21200        .25992E-03   -.92512    
  22  Prefactor     .91042        .16304        .21366E-03   -.95778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.99559e-09
Minuit parameter uncertainties:
  1  4.438e-07
  2  1.87628e-07
  3  1.23212e-05
  4  1.13218e-05
  5  1.23731e-06
  6  1.06077e-06
  7  88.2863
  8  0.00242742
  9  5.63669e-05
  10  0.781863
  11  1.18916e-06
  12  5.56008e-05
  13  26.3224
  14  2.00603e-06
  15  4.3801
  16  6.23923e-06
  17  43.5802
  18  1.34393e-05
  19  5.6324e-07
  20  4.58145
  21  0.212173
  22  0.163132
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  5.560e-05  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.104e-01  1.631e-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.016e+00  2.122e-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: 7.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410141/likelihoodResults_437097601_437356801_4FGL_J0818.7+3153_daily_bin763.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) = 6292.72702967
delta logL = -0.000158059086971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6292.72687156
delta logL = 4.414414434e-08

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 'Index     '    2.2740       1.0000          .0000       10.000    
     3 'Normalizat'    1.0155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91042       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=   6292.727     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.9721        .90712E-02** at limit **
   2  Index         2.2751        5.4743        .50000       -.21923E-06
   3  Normalizat    1.0155        .18128E-02    .44107E-01   -.52643E-04
   4  Prefactor     .91042        .14262E-02    .45138E-01   -.54969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2751
  Normalizat = 1.01553
  Prefactor  = 0.910416
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.727     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      259 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2751        7.9834        .50000       -.57637    
   3  Normalizat    1.0155        .71347E-02    .25992E-03   -.92512    
   4  Prefactor     .91042        .56132E-02    .21366E-03   -.95778    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.15289e-11
Minuit parameter uncertainties:
  1  3.68079e-05
  2  99.989
  3  0.00713467
  4  0.00561318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410141': 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) = 6292.72687156
delta logL = 4.53401298728e-08

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  3.681e-05  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.275e+00  9.999e+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.104e-01  5.613e-03  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.016e+00  7.135e-03  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/410141/cmap_HighResolution_437097601_437356801_4FGL_J0818.7+3153_daily_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', job_status='DONE', photon_flux_upper_limit='7.31e-08', time_completed='2021-08-29 17:22:28.374675', job_id='410141', GAL2='0.91', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630282948.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.53e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='763' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:22:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 410141: <4FGL_J0818.7+3153_daily_bin763> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin763> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 29 17:10:50 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 17:10:51 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:10:51 2021
Terminated at Sun Aug 29 17:22:28 2021
Results reported at Sun Aug 29 17:22:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin763 124.695 31.8862 437097601 437356801 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 :                                   666.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            698 sec.

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

