/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 111 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 = 7428
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0818.7+3153_daily_bin16
RA = 124.695, Dec = 31.8862
tmin = 243475201, tmax = 243734401
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='405167', job_status='RUN', time_executed='2021-08-29 16:58:19.340187', time_epoch_executed='1630281499.34' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='16'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405167

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405167/ft1_4FGL_J0818.7+3153_daily_bin16.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405167/ft2_4FGL_J0818.7+3153_daily_bin16.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405167/ft1_4FGL_J0818.7+3153_daily_bin16.fits outfile=/scratch/kocevski/405167/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin16.fits ra=124.695 dec=31.8862 rad=12.0 tmin=243475201.0 tmax=243734401.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 1.83
user 1.25
sys 0.52

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/405167/ft2_4FGL_J0818.7+3153_daily_bin16.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/405167/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin16.fits evtable="EVENTS" outfile="/scratch/kocevski/405167/ft1_filtered_4FGL_J0818.7+3153_daily_bin16.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.86
user 0.35
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/405167/ft1_filtered_4FGL_J0818.7+3153_daily_bin16.fits" evtable="EVENTS" scfile=/scratch/kocevski/405167/ft2_4FGL_J0818.7+3153_daily_bin16.fits sctable="SC_DATA" outfile=/scratch/kocevski/405167/ltcube_243475201_243734401_4FGL_J0818.7+3153_daily_bin16.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/405167/ft2_4FGL_J0818.7+3153_daily_bin16.fits
.....................!
real 15.94
user 15.12
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405167/ft1_filtered_4FGL_J0818.7+3153_daily_bin16.fits evtable="EVENTS" scfile=/scratch/kocevski/405167/ft2_4FGL_J0818.7+3153_daily_bin16.fits sctable="SC_DATA" expcube=/scratch/kocevski/405167/ltcube_243475201_243734401_4FGL_J0818.7+3153_daily_bin16.fits outfile=/scratch/kocevski/405167/expmap_243475201_243734401_4FGL_J0818.7+3153_daily_bin16.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/405167/ltcube_243475201_243734401_4FGL_J0818.7+3153_daily_bin16.fits
.....................!
real 192.70
user 185.93
sys 4.69

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/405167/ft1_filtered_4FGL_J0818.7+3153_daily_bin16.fits scfile=/scratch/kocevski/405167/ft2_4FGL_J0818.7+3153_daily_bin16.fits outfile=/scratch/kocevski/405167/cmap_243475201_243734401_4FGL_J0818.7+3153_daily_bin16.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.94
user 0.35
sys 0.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405167/ft1_filtered_4FGL_J0818.7+3153_daily_bin16.fits scfile=/scratch/kocevski/405167/ft2_4FGL_J0818.7+3153_daily_bin16.fits outfile=/scratch/kocevski/405167/cmap_HighResolution_243475201_243734401_4FGL_J0818.7+3153_daily_bin16.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.90
user 0.38
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/405167/ft1_filtered_4FGL_J0818.7+3153_daily_bin16.fits evtable="EVENTS" scfile=/scratch/kocevski/405167/ft2_4FGL_J0818.7+3153_daily_bin16.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/405167/Model_4FGL_J0818.7+3153_daily_bin16.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/405167/ft1_filtered_4FGL_J0818.7+3153_daily_bin16.fits.....................!
real 91.15
user 88.21
sys 1.71

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3625       1.0000         .10000E-03   10000.    
     2 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.407       1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.018       1.0000         .10000E-03   10000.    
     6 'norm      '    .16862E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9266       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1401       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.342       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.265       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8228       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11311E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .61032       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.062       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3914       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .76542       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=   9570.869     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2431 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3614        10.123        .14171E-05    .78365E-04
   2  norm          .10000E-03    1.4982       -.28185E-06** at limit **
   3  Prefactor     .10000E-03    8.3238       -.29232E-06** at limit **
   4  Prefactor     25.398        17.718       -.23739E-06   -.10077E-04
   5  Prefactor     30.992        31.036        .30872E-05   -.18188E-04
   6  norm          .10004E-03    4.7714        .21936E-05** at limit **
   7  norm          .10000E-03    62.514       -.49960E-06** at limit **
   8  Prefactor     .10000E-03    4.1255        .75533E-07** at limit **
   9  Prefactor     9.9091        26.134        .23887E-05   -.20498E-04
  10  norm          2.1403        .61770        .10839E-07   -.16612E-03
  11  Prefactor     14.340        17.390       -.69623E-06   -.33143E-04
  12  Prefactor     14.263        21.262        .33529E-06   -.26335E-04
  13  Prefactor     .10000E-03    2.8381        .95970E-08** at limit **
  14  Prefactor     2.8218        14.171        .56638E-05    .12510E-03
  15  Prefactor     .10000E-03    .93824        .12474E-06** at limit **
  16  norm          .61003        .74039        .17512E-06    .17223E-02
  17  Prefactor     22.063        20.206        .17421E-06   -.10172E-04
  18  Prefactor     .10000E-03    14.635        .35434E-06** at limit **
  19  Prefactor     .10000E-03    17.851       -.10016E-06** at limit **
  20  Prefactor     .10000E-03    1.7201        .21808E-07** at limit **
  21  Normalizat    1.3916        .15238       -.53225E-06   -.26689E-03
  22  Prefactor     .76542        .11750       -.39134E-06   -.28435E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.3614
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.3976
  Prefactor  = 30.9916
  norm       = 0.000100045
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.90909
  norm       = 2.14028
  Prefactor  = 14.3398
  Prefactor  = 14.2625
  Prefactor  = 0.0001
  Prefactor  = 2.82175
  Prefactor  = 0.0001
  norm       = 0.610031
  Prefactor  = 22.0631
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.3916
  Prefactor  = 0.76542
 **********
 **   18 **HESSE 
 **********

 FCN=   9570.869     FROM HESSE     STATUS=OK           348 CALLS     2779 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3614        10.141        .79563E-03   -1.5203    
   2  norm          .10000E-03    1.5144        .11679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.3333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.398        17.660        .79474E-04   -1.4700    
   5  Prefactor     30.992        30.832        .71942E-04   -1.4594    
   6  norm          .10004E-03    17.111        .34861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    62.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.2999        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.9091        26.035        .12718E-03   -1.5078    
  10  norm          2.1403        .61618        .39795E-04   -1.5415    
  11  Prefactor     14.340        17.378        .10576E-03   -1.4950    
  12  Prefactor     14.263        21.261        .10605E-03   -1.4952    
  13  Prefactor     .10000E-03    2.8428        .16093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8218        14.655        .12104E-02   -1.5372    
  15  Prefactor     .10000E-03    1.7715        .18343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61003        .65611        .89794E-03   -1.5552    
  17  Prefactor     22.063        20.194        .85276E-04   -1.4768    
  18  Prefactor     .10000E-03    15.240        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.7786        .25055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3916        .17614        .24186E-03   -.80872    
  22  Prefactor     .76542        .13621        .24517E-03   -1.0102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01259e-09
Minuit parameter uncertainties:
  1  10.1434
  2  1.51468e-05
  3  4.00959e-05
  4  17.6639
  5  30.8479
  6  0.00175234
  7  2.05535e-05
  8  9.85283e-06
  9  26.0646
  10  0.616183
  11  17.3841
  12  21.2727
  13  8.67333e-07
  14  12.8658
  15  3.50739e-06
  16  0.656123
  17  20.2004
  18  8.12967e-05
  19  3.76338e-05
  20  3.39348e-06
  21  0.176217
  22  0.136269
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.426e+01  2.127e+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:  7.654e-01  1.363e-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.392e+00  1.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/405167/likelihoodResults_243475201_243734401_4FGL_J0818.7+3153_daily_bin16.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): 0
logL (Free Index) = 9570.86179103
delta logL = 0.00744221717105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9570.8567133
delta logL = 0.0125199460035

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.810       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2608       1.0000          .0000       10.000    
     3 'Normalizat'    1.3890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76656       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=   9570.857     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      265 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.794        29.002        .11657E-03    .40865E-03
   2  Index         2.2622        .98837        .98286E-02    .15522E-03
   3  Normalizat    1.3892        .17467        .24204E-03    .43777E-03
   4  Prefactor     .76644        .13594        .24502E-03    .66444E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7944
  Index      = 2.26221
  Normalizat = 1.38919
  Prefactor  = 0.766439
 **********
 **   18 **HESSE 
 **********

 FCN=   9570.857     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.794        24.150        .46627E-05   -1.5021    
   2  Index         2.2622        .82489        .39314E-03   -.57944    
   3  Normalizat    1.3892        .17447        .48407E-04   -.80942    
   4  Prefactor     .76644        .13584        .98007E-05   -1.0098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35263e-10
Minuit parameter uncertainties:
  1  24.1697
  2  0.830335
  3  0.174546
  4  0.135895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405167': 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) = 9570.85671011
delta logL = 0.012523129446

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.179e+01  2.417e+01  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.262e+00  8.303e-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:  7.664e-01  1.359e-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.389e+00  1.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.59
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/405167/cmap_HighResolution_243475201_243734401_4FGL_J0818.7+3153_daily_bin16.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.30e-03', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2021-08-29 17:12:34.680937', job_id='405167', GAL2='0.77', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1630282354.68', return_code2='0', ts='0.59', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.25e-02', ts2='0.61', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='16' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:12:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 405167: <4FGL_J0818.7+3153_daily_bin16> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin16> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Aug 29 16:56:09 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 16:56:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 16:56:11 2021
Terminated at Sun Aug 29 17:12:36 2021
Results reported at Sun Aug 29 17:12:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin16 124.695 31.8862 243475201 243734401 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 :                                   854.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            987 sec.

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

