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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1299
RA = 124.695, Dec = 31.8862
tmin = 576028801, tmax = 576288001
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='413399', job_status='RUN', time_executed='2021-08-29 17:20:43.398773', time_epoch_executed='1630282843.4' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1299'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413399

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413399/ft1_4FGL_J0818.7+3153_daily_bin1299.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413399/ft2_4FGL_J0818.7+3153_daily_bin1299.fits


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

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

Done.
real 3.78
user 3.40
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413399/ft1_filtered_4FGL_J0818.7+3153_daily_bin1299.fits" evtable="EVENTS" scfile=/scratch/kocevski/413399/ft2_4FGL_J0818.7+3153_daily_bin1299.fits sctable="SC_DATA" outfile=/scratch/kocevski/413399/ltcube_576028801_576288001_4FGL_J0818.7+3153_daily_bin1299.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/413399/ft2_4FGL_J0818.7+3153_daily_bin1299.fits
.....................!
real 12.10
user 11.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413399/ft1_filtered_4FGL_J0818.7+3153_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/413399/ft2_4FGL_J0818.7+3153_daily_bin1299.fits sctable="SC_DATA" expcube=/scratch/kocevski/413399/ltcube_576028801_576288001_4FGL_J0818.7+3153_daily_bin1299.fits outfile=/scratch/kocevski/413399/expmap_576028801_576288001_4FGL_J0818.7+3153_daily_bin1299.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/413399/ltcube_576028801_576288001_4FGL_J0818.7+3153_daily_bin1299.fits
.....................!
real 191.10
user 185.73
sys 5.00

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/413399/ft1_filtered_4FGL_J0818.7+3153_daily_bin1299.fits scfile=/scratch/kocevski/413399/ft2_4FGL_J0818.7+3153_daily_bin1299.fits outfile=/scratch/kocevski/413399/cmap_576028801_576288001_4FGL_J0818.7+3153_daily_bin1299.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413399/ft1_filtered_4FGL_J0818.7+3153_daily_bin1299.fits scfile=/scratch/kocevski/413399/ft2_4FGL_J0818.7+3153_daily_bin1299.fits outfile=/scratch/kocevski/413399/cmap_HighResolution_576028801_576288001_4FGL_J0818.7+3153_daily_bin1299.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413399/ft1_filtered_4FGL_J0818.7+3153_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/413399/ft2_4FGL_J0818.7+3153_daily_bin1299.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413399/Model_4FGL_J0818.7+3153_daily_bin1299.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/413399/ft1_filtered_4FGL_J0818.7+3153_daily_bin1299.fits.....................!
real 61.47
user 60.08
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.425       1.0000         .10000E-03   10000.    
     2 'norm      '    5.9995       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.883       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    77.099       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1971       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3450       1.0000         .10000E-03   10000.    
    11 'Prefactor '    81.694       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9459       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7959       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4646       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .20940E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.8484       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .76286       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1192       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=   6472.225     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2364 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.425        11.331       -.26780E-06   -.16835E-04
   2  norm          6.0005        5.0331        .18735E-05   -.50235E-04
   3  Prefactor     26.868        45.020       -.20532E-04    .45587E-04
   4  Prefactor     .10000E-03    11.497       -.24287E-06** at limit **
   5  Prefactor     .10000E-03    17.794       -.13738E-04** at limit **
   6  norm          .10000E-03    2.2503        .24819E-07** at limit **
   7  norm          77.023        109.41       -.82244E-04    .35753E-05
   8  Prefactor     1.1979        3.4618       -.16166E-05   -.12080E-02
   9  Prefactor     .10000E-03    25.792        .91545E-05** at limit **
  10  norm          2.3449        .73606       -.35490E-07   -.69375E-03
  11  Prefactor     81.699        41.440        .38923E-05    .15834E-04
  12  Prefactor     7.9389        26.686       -.11404E-04   -.16779E-04
  13  Prefactor     .10000E-03    25.187        .88228E-05** at limit **
  14  Prefactor     .10000E-03    24.167       -.14526E-04** at limit **
  15  Prefactor     7.7954        3.6351       -.35200E-06   -.70094E-03
  16  norm          1.4644        1.1290       -.13201E-06    .96144E-03
  17  Prefactor     .10000E-03    16.882        .12028E-04** at limit **
  18  Prefactor     .10000E-03    4.1731       -.44853E-06** at limit **
  19  Prefactor     3.8495        13.967       -.26612E-05   -.88930E-04
  20  Prefactor     .10000E-03    1.5374       -.28686E-07** at limit **
  21  Normalizat    .76271        .18285        .16746E-05    .14352E-03
  22  Prefactor     1.1193        .14698        .27633E-05    .25156E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.4248
  norm       = 6.00049
  Prefactor  = 26.8682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 77.0231
  Prefactor  = 1.19791
  Prefactor  = 0.0001
  norm       = 2.3449
  Prefactor  = 81.6994
  Prefactor  = 7.93894
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.79543
  norm       = 1.46443
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 3.84949
  Prefactor  = 0.0001
  Normalizat = 0.762714
  Prefactor  = 1.11926
 **********
 **   18 **HESSE 
 **********

 FCN=   6472.225     FROM HESSE     STATUS=OK           348 CALLS     2712 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.425        11.330        .10932E-03   -1.4975    
   2  norm          6.0005        5.0083        .13679E-03   -1.5218    
   3  Prefactor     26.868        44.882        .77265E-04   -1.4671    
   4  Prefactor     .10000E-03    11.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2527        .11786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          77.023        109.43        .22866E-03   -1.3950    
   8  Prefactor     1.1979        3.4374        .24255E-03   -1.5489    
   9  Prefactor     .10000E-03    25.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3449        .73465        .36969E-04   -1.5402    
  11  Prefactor     81.699        41.438        .44438E-04   -1.3898    
  12  Prefactor     7.9389        26.702        .14224E-03   -1.5144    
  13  Prefactor     .10000E-03    25.808        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7954        3.6228        .98465E-04   -1.5149    
  16  norm          1.4644        1.1149        .35536E-04   -1.5466    
  17  Prefactor     .10000E-03    16.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    73.768        .31283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.8495        14.024        .20572E-03   -1.5316    
  20  Prefactor     .10000E-03    1.5481        .97385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .76271        .20834        .29166E-03   -1.0147    
  22  Prefactor     1.1193        .16851        .20639E-03   -.88853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83776e-09
Minuit parameter uncertainties:
  1  11.3322
  2  5.00866
  3  44.9387
  4  1.90507e-05
  5  0.000108496
  6  1.68281e-06
  7  109.723
  8  3.43794
  9  0.000124015
  10  0.734649
  11  41.4527
  12  26.7426
  13  0.000176288
  14  2.64692e-06
  15  3.62288
  16  1.11496
  17  4.80277e-05
  18  0.000923558
  19  14.0357
  20  6.70566e-06
  21  0.208557
  22  0.168586
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  7.939e+00  2.674e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.119e+00  1.686e-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:  7.627e-01  2.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/413399/likelihoodResults_576028801_576288001_4FGL_J0818.7+3153_daily_bin1299.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) = 6471.6214684
delta logL = 0.603171648359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6471.4587082
delta logL = 0.765931842799

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.5277       1.0000          .0000       10.000    
     3 'Normalizat'    .69594       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1589       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=   6472.273     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      547 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    128.70        .18142E-02** at limit **
   2  Index         1.6548        7.4107        .50000        .80372E-05
   3  Normalizat    .76847        .19574        .29066E-03    .42453E-03
   4  Prefactor     1.1201        .16600        .20634E-03   -.66003E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Index      = 1.65481
  Normalizat = 0.76847
  Prefactor  = 1.12008
 **********
 **   18 **HESSE 
 **********

 FCN=   6472.273     FROM HESSE     STATUS=OK            29 CALLS      576 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    121.09        .36285E-03   -45.553    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6548        7.3355        .50000       -341.70    
   3  Normalizat    .76847        .19578        .11626E-04   -20.979    
   4  Prefactor     1.1201        .16603        .41267E-04   -13.455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.23833e-10
Minuit parameter uncertainties:
  1  0.0020319
  2  3.72084
  3  0.195956
  4  0.16611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413399': 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) = 6472.27344446
delta logL = -0.0488044095964

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  2.032e-03  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  1.655e+00  3.721e+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.120e+00  1.661e-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:  7.685e-01  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 124.695 31.886

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/413399/cmap_HighResolution_576028801_576288001_4FGL_J0818.7+3153_daily_bin1299.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2021-08-29 17:32:26.105681', job_id='413399', GAL2='1.12', fit_tolerance='1e-08', EG2='0.77', EG='0.76', time_epoch_completed='1630283546.11', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='-4.88e-02', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1299' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:32:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 413399: <4FGL_J0818.7+3153_daily_bin1299> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1299> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 29 17:20:23 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 17:20:25 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:25 2021
Terminated at Sun Aug 29 17:32:26 2021
Results reported at Sun Aug 29 17:32:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1299 124.695 31.8862 576028801 576288001 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 :                                   698.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            723 sec.

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

