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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1111
RA = 124.695, Dec = 31.8862
tmin = 527299201, tmax = 527558401
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='412030', job_status='RUN', time_executed='2021-08-29 17:18:35.822424', time_epoch_executed='1630282715.82' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412030

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412030/ft1_4FGL_J0818.7+3153_daily_bin1111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412030/ft2_4FGL_J0818.7+3153_daily_bin1111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412030/ft1_4FGL_J0818.7+3153_daily_bin1111.fits outfile=/scratch/kocevski/412030/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1111.fits ra=124.695 dec=31.8862 rad=12.0 tmin=527299201.0 tmax=527558401.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.38
user 4.55
sys 0.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412030/ft1_filtered_4FGL_J0818.7+3153_daily_bin1111.fits" evtable="EVENTS" scfile=/scratch/kocevski/412030/ft2_4FGL_J0818.7+3153_daily_bin1111.fits sctable="SC_DATA" outfile=/scratch/kocevski/412030/ltcube_527299201_527558401_4FGL_J0818.7+3153_daily_bin1111.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/412030/ft2_4FGL_J0818.7+3153_daily_bin1111.fits
.....................!
real 13.02
user 11.77
sys 0.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412030/ft1_filtered_4FGL_J0818.7+3153_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/412030/ft2_4FGL_J0818.7+3153_daily_bin1111.fits sctable="SC_DATA" expcube=/scratch/kocevski/412030/ltcube_527299201_527558401_4FGL_J0818.7+3153_daily_bin1111.fits outfile=/scratch/kocevski/412030/expmap_527299201_527558401_4FGL_J0818.7+3153_daily_bin1111.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/412030/ltcube_527299201_527558401_4FGL_J0818.7+3153_daily_bin1111.fits
.....................!
real 194.26
user 187.59
sys 6.09

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/412030/ft1_filtered_4FGL_J0818.7+3153_daily_bin1111.fits scfile=/scratch/kocevski/412030/ft2_4FGL_J0818.7+3153_daily_bin1111.fits outfile=/scratch/kocevski/412030/cmap_527299201_527558401_4FGL_J0818.7+3153_daily_bin1111.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.11
user 0.36
sys 0.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/412030/ft1_filtered_4FGL_J0818.7+3153_daily_bin1111.fits scfile=/scratch/kocevski/412030/ft2_4FGL_J0818.7+3153_daily_bin1111.fits outfile=/scratch/kocevski/412030/cmap_HighResolution_527299201_527558401_4FGL_J0818.7+3153_daily_bin1111.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.14
user 0.38
sys 0.73

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/412030/ft1_filtered_4FGL_J0818.7+3153_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/412030/ft2_4FGL_J0818.7+3153_daily_bin1111.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/412030/Model_4FGL_J0818.7+3153_daily_bin1111.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/412030/ft1_filtered_4FGL_J0818.7+3153_daily_bin1111.fits.....................!
real 70.58
user 67.93
sys 2.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54669E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.9260       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.718       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10676E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3197       1.0000         .10000E-03   10000.    
     9 'Prefactor '    49.442       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8560       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.4035       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.507       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10415E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.8300       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.5316       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1261       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0482       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=   7209.942     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2082 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10016E-03    8.3429        .10076E-05** at limit **
   2  norm          4.9267        5.1155        .29466E-06    .10632E-03
   3  Prefactor     14.723        31.829       -.27872E-06    .25312E-04
   4  Prefactor     .10000E-03    22.825        .14051E-05** at limit **
   5  Prefactor     .10000E-03    27.709       -.14012E-05** at limit **
   6  norm          .10000E-03    33.412       -.15465E-05** at limit **
   7  norm          .10000E-03    46.540        .28192E-05** at limit **
   8  Prefactor     6.3199        4.6574        .10254E-07    .46796E-06
   9  Prefactor     49.445        35.300        .19893E-06    .81018E-04
  10  norm          1.8560        .76587       -.94285E-08   -.28527E-04
  11  Prefactor     .10000E-03    18.894       -.40009E-06** at limit **
  12  Prefactor     .10000E-03    7.3421        .77854E-08** at limit **
  13  Prefactor     7.4059        14.017       -.96191E-07    .69457E-06
  14  Prefactor     62.460        27.163        .30990E-06    .43101E-03
  15  Prefactor     .10000E-03    1.1017        .70531E-08** at limit **
  16  norm          .10000E-03    .95514       -.13335E-05** at limit **
  17  Prefactor     .10000E-03    73.246       -.89671E-06** at limit **
  18  Prefactor     6.8152        10.640        .14909E-05    .46841E-03
  19  Prefactor     5.5305        20.317        .20505E-07    .28070E-04
  20  Prefactor     .10000E-03    1.4709        .20968E-07** at limit **
  21  Normalizat    1.1261        .19896        .12593E-05    .30978E-03
  22  Prefactor     1.0482        .15070       -.77872E-06    .36960E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100156
  norm       = 4.9267
  Prefactor  = 14.7235
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100001
  norm       = 0.000100002
  Prefactor  = 6.31987
  Prefactor  = 49.4451
  norm       = 1.85603
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.40592
  Prefactor  = 62.4597
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.8152
  Prefactor  = 5.53049
  Prefactor  = 0.0001
  Normalizat = 1.12614
  Prefactor  = 1.04816
 **********
 **   18 **HESSE 
 **********

 FCN=   7209.942     FROM HESSE     STATUS=OK           338 CALLS     2420 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10016E-03    70.292        .45021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.9267        5.0863        .17562E-03   -1.5264    
   3  Prefactor     14.723        31.768        .10440E-03   -1.4940    
   4  Prefactor     .10000E-03    23.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    35.107        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    47.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3199        4.6509        .14831E-03   -1.5205    
   9  Prefactor     49.445        35.309        .57031E-04   -1.4300    
  10  norm          1.8560        .76240        .44052E-04   -1.5435    
  11  Prefactor     .10000E-03    18.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.3438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.4059        13.966        .14740E-03   -1.5164    
  14  Prefactor     62.460        27.577        .50754E-04   -1.4126    
  15  Prefactor     .10000E-03    1.1080        .86841E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.1281        .13454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    74.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.8152        11.006        .15352E-03   -1.5186    
  19  Prefactor     5.5305        20.425        .17083E-03   -1.5238    
  20  Prefactor     .10000E-03    1.5011        .10056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1261        .23375        .28066E-03   -.88917    
  22  Prefactor     1.0482        .17557        .22825E-03   -.91141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05491e-09
Minuit parameter uncertainties:
  1  0.00662079
  2  5.08678
  3  31.804
  4  0.000212363
  5  0.000276107
  6  0.000299129
  7  0.000679584
  8  4.65113
  9  35.3237
  10  0.762406
  11  6.07401e-05
  12  9.75746e-07
  13  13.9719
  14  27.5828
  15  3.38974e-07
  16  3.7931e-05
  17  0.000286833
  18  11.0097
  19  20.4507
  20  3.34807e-08
  21  0.233968
  22  0.175669
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  9.757e-07  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.048e+00  1.757e-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.126e+00  2.340e-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: 4.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/412030/likelihoodResults_527299201_527558401_4FGL_J0818.7+3153_daily_bin1111.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) = 7209.94223734
delta logL = -0.00064684391873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7209.94159348
delta logL = -2.99064322462e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12516E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1050       1.0000          .0000       10.000    
     3 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0479       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=   7209.942     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      244 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10791E-03    2.1626        .18142E-01** at limit **
   2  Index         1.8998        5.3993        .50000        .20023E-04
   3  Normalizat    1.1261        .22885E-02    .28066E-03    .14522E-03
   4  Prefactor     1.0482        .18130E-02    .22825E-03    .24229E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000107911
  Index      = 1.89983
  Normalizat = 1.12614
  Prefactor  = 1.04816
 **********
 **   18 **HESSE 
 **********

 FCN=   7209.942     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10791E-03    89.058        .25337E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8998        6.6089        .50000       -.66879    
   3  Normalizat    1.1261        .14845E-01    .11226E-04   -.88917    
   4  Prefactor     1.0482        .11761E-01    .45649E-04   -.91141    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.27887e-08
Minuit parameter uncertainties:
  1  0.0531647
  2  514.895
  3  0.0148455
  4  0.0117609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412030': 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) = 7209.94158946
delta logL = 1.02972808236e-06

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.079e-04  5.316e-02  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  1.900e+00  5.149e+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:  1.048e+00  1.176e-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.126e+00  1.485e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/412030/cmap_HighResolution_527299201_527558401_4FGL_J0818.7+3153_daily_bin1111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-03', job_status='DONE', photon_flux_upper_limit='4.34e-08', time_completed='2021-08-29 17:30:25.876017', job_id='412030', GAL2='1.05', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1630283425.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.03e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1111' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:30:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 412030: <4FGL_J0818.7+3153_daily_bin1111> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1111 124.695 31.8862 527299201 527558401 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 :                                   712.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            880 sec.

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

