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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1340
RA = 124.695, Dec = 31.8862
tmin = 586656001, tmax = 586915201
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='413475', job_status='RUN', time_executed='2021-08-29 17:23:58.408798', time_epoch_executed='1630283038.41' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1340'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/413475

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/413475/ft1_4FGL_J0818.7+3153_daily_bin1340.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/413475/ft2_4FGL_J0818.7+3153_daily_bin1340.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/413475/ft1_4FGL_J0818.7+3153_daily_bin1340.fits outfile=/scratch/kocevski/413475/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1340.fits ra=124.695 dec=31.8862 rad=12.0 tmin=586656001.0 tmax=586915201.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.97
user 3.42
sys 1.50

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/413475/ft1_filtered_4FGL_J0818.7+3153_daily_bin1340.fits" evtable="EVENTS" scfile=/scratch/kocevski/413475/ft2_4FGL_J0818.7+3153_daily_bin1340.fits sctable="SC_DATA" outfile=/scratch/kocevski/413475/ltcube_586656001_586915201_4FGL_J0818.7+3153_daily_bin1340.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/413475/ft2_4FGL_J0818.7+3153_daily_bin1340.fits
.....................!
real 13.19
user 11.35
sys 1.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/413475/ft1_filtered_4FGL_J0818.7+3153_daily_bin1340.fits evtable="EVENTS" scfile=/scratch/kocevski/413475/ft2_4FGL_J0818.7+3153_daily_bin1340.fits sctable="SC_DATA" expcube=/scratch/kocevski/413475/ltcube_586656001_586915201_4FGL_J0818.7+3153_daily_bin1340.fits outfile=/scratch/kocevski/413475/expmap_586656001_586915201_4FGL_J0818.7+3153_daily_bin1340.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/413475/ltcube_586656001_586915201_4FGL_J0818.7+3153_daily_bin1340.fits
.....................!
real 192.23
user 185.08
sys 6.71

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/413475/ft1_filtered_4FGL_J0818.7+3153_daily_bin1340.fits scfile=/scratch/kocevski/413475/ft2_4FGL_J0818.7+3153_daily_bin1340.fits outfile=/scratch/kocevski/413475/cmap_586656001_586915201_4FGL_J0818.7+3153_daily_bin1340.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 3.65
user 0.36
sys 1.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/413475/ft1_filtered_4FGL_J0818.7+3153_daily_bin1340.fits scfile=/scratch/kocevski/413475/ft2_4FGL_J0818.7+3153_daily_bin1340.fits outfile=/scratch/kocevski/413475/cmap_HighResolution_586656001_586915201_4FGL_J0818.7+3153_daily_bin1340.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 3.86
user 0.37
sys 1.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/413475/ft1_filtered_4FGL_J0818.7+3153_daily_bin1340.fits evtable="EVENTS" scfile=/scratch/kocevski/413475/ft2_4FGL_J0818.7+3153_daily_bin1340.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/413475/Model_4FGL_J0818.7+3153_daily_bin1340.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/413475/ft1_filtered_4FGL_J0818.7+3153_daily_bin1340.fits.....................!
real 72.54
user 66.53
sys 2.84

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.1445       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14670E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.651       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    267.29       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.532       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0741       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.449       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.055       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13976E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.4016       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.881       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2443       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2455       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0848       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7054.174     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2379 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0197         .0000    ** at limit **
   2  norm          2.1478        4.5213         .0000        .20493E-01
   3  Prefactor     .10000E-03    27.749         .0000    ** at limit **
   4  Prefactor     .10000E-03    9.7982         .0000    ** at limit **
   5  Prefactor     13.533        45.791         .0000        .22693E-03
   6  norm          .10000E-03    3.8075         .0000    ** at limit **
   7  norm          267.29        151.25         .0000        .12280E-02
   8  Prefactor     .10000E-03    2.3143         .0000    ** at limit **
   9  Prefactor     35.532        30.704         .0000       -.47787E-04
  10  norm          1.0741        .54704         .0000        .99156E-03
  11  Prefactor     18.450        39.058         .0000        .52945E-03
  12  Prefactor     .10000E-03    19.903         .0000    ** at limit **
  13  Prefactor     .10000E-03    3.4721         .0000    ** at limit **
  14  Prefactor     11.067        32.328         .0000        .17560E-02
  15  Prefactor     .10000E-03    1.3440         .0000    ** at limit **
  16  norm          1.4010        1.5784         .0000        .12025E-02
  17  Prefactor     .10000E-03    8.6653         .0000    ** at limit **
  18  Prefactor     .10000E-03    12.288         .0000    ** at limit **
  19  Prefactor     17.884        23.086         .0000        .14052E-02
  20  Prefactor     1.2455        6.1256         .0000        .30845E-01
  21  Normalizat    1.2453        .20306         .0000       -.19348E-03
  22  Prefactor     1.0850        .15326         .0000       -.34495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.14776
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 13.5334
  norm       = 0.0001
  norm       = 267.289
  Prefactor  = 0.0001
  Prefactor  = 35.5315
  norm       = 1.07414
  Prefactor  = 18.4499
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.0672
  Prefactor  = 0.0001
  norm       = 1.40098
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 17.8841
  Prefactor  = 1.24554
  Normalizat = 1.24533
  Prefactor  = 1.08497
 **********
 **   18 **HESSE 
 **********

 FCN=   7054.174     FROM HESSE     STATUS=OK           330 CALLS     2709 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.0460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1478        4.4509        .11349E-02   -1.5415    
   3  Prefactor     .10000E-03    27.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.8257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.533        45.217        .10841E-03   -1.4972    
   6  norm          .10000E-03    3.8171        .16005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          267.29        151.26        .12400E-03   -1.2423    
   8  Prefactor     .10000E-03    2.3450        .12470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.532        30.680        .67231E-04   -1.4515    
  10  norm          1.0741        .54271        .42944E-04   -1.5501    
  11  Prefactor     18.450        39.006        .93247E-04   -1.4849    
  12  Prefactor     .10000E-03    19.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.4756        .15282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.067        31.864        .12050E-03   -1.5042    
  15  Prefactor     .10000E-03    4.6230        .18673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4010        1.5294        .93861E-04   -1.5471    
  17  Prefactor     .10000E-03    8.6749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.884        23.191        .94715E-04   -1.4862    
  20  Prefactor     1.2455        6.2222        .19550E-02   -1.5485    
  21  Normalizat    1.2453        .23615        .27819E-03   -.85213    
  22  Prefactor     1.0850        .17905        .23346E-03   -.89948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20053e-08
Minuit parameter uncertainties:
  1  0.000101517
  2  4.45159
  3  0.000296033
  4  0.00034327
  5  45.3316
  6  1.56499e-05
  7  151.479
  8  3.12329e-05
  9  30.6938
  10  0.542713
  11  39.0598
  12  0.000264377
  13  7.93161e-06
  14  31.913
  15  4.72784e-05
  16  1.52942
  17  0.000169287
  18  0.000106514
  19  23.2031
  20  5.56848
  21  0.236354
  22  0.179154
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.085e+00  1.792e-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.245e+00  2.364e-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.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/413475/likelihoodResults_586656001_586915201_4FGL_J0818.7+3153_daily_bin1340.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) = 7054.17436406
delta logL = -0.000238835065829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7054.17412525
delta logL = -2.34949766309e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2268       1.0000          .0000       10.000    
     3 'Normalizat'    1.2453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0850       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=   7054.174     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      231 TOTAL
                     EDM=   .19E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    146.61        .90712E-02** at limit **
   2  Index         2.2318        6.7867        .50000       -.23595E-05
   3  Normalizat    1.2453        .13634E-01    .62893E-01   -.61321E-04
   4  Prefactor     1.0850        .10823E-01    .38188E-01   -.31318E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.2318
  Normalizat = 1.24532
  Prefactor  = 1.08497
 **********
 **   18 **HESSE 
 **********

 FCN=   7054.174     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      264 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    845.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2318        5.5649        .50000       -.58673    
   3  Normalizat    1.2453        .34428E-01    .27819E-03   -.85214    
   4  Prefactor     1.0850        .27349E-01    .23346E-03   -.89948    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.95633e-10
Minuit parameter uncertainties:
  1  0.000646925
  2  27.4413
  3  0.034429
  4  0.0273496
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/413475': 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) = 7054.1741252
delta logL = 3.03525666823e-08

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  6.469e-04  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.232e+00  2.744e+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:  1.085e+00  2.735e-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.245e+00  3.443e-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/413475/cmap_HighResolution_586656001_586915201_4FGL_J0818.7+3153_daily_bin1340.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', job_status='DONE', photon_flux_upper_limit='7.07e-08', time_completed='2021-08-29 17:36:06.145720', job_id='413475', GAL2='1.08', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1630283766.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.04e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1340' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:36:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 413475: <4FGL_J0818.7+3153_daily_bin1340> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1340> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 29 17:20:27 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 17:20:30 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:30 2021
Terminated at Sun Aug 29 17:36:07 2021
Results reported at Sun Aug 29 17:36:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1340 124.695 31.8862 586656001 586915201 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 :                                   731.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            940 sec.

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

