/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 5 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7373
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0808.2-0751_daily_bin555
RA = 122.065, Dec = -7.8556
tmin = 383184001, tmax = 383443201
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='218605', job_status='RUN', time_executed='2021-08-29 07:05:54.098325', time_epoch_executed='1630245954.1' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218605

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218605/ft1_4FGL_J0808.2-0751_daily_bin555.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218605/ft1_4FGL_J0808.2-0751_daily_bin555.fits outfile=/scratch/kocevski/218605/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin555.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=383184001.0 tmax=383443201.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.38
user 3.15
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.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/218605/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin555.fits evtable="EVENTS" outfile="/scratch/kocevski/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.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.48
user 0.34
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.fits" evtable="EVENTS" scfile=/scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits sctable="SC_DATA" outfile=/scratch/kocevski/218605/ltcube_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.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/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits
.....................!
real 11.66
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits sctable="SC_DATA" expcube=/scratch/kocevski/218605/ltcube_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.fits outfile=/scratch/kocevski/218605/expmap_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.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/218605/ltcube_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.fits
.....................!
real 190.27
user 185.98
sys 3.91

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J0808.2-0751 @ 122.065 -7.8556

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.fits scfile=/scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits outfile=/scratch/kocevski/218605/cmap_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.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=122.065 yref=-7.8556 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.fits scfile=/scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits outfile=/scratch/kocevski/218605/cmap_HighResolution_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.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=122.065 yref=-7.8556 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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218605/Model_4FGL_J0808.2-0751_daily_bin555.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/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.fits.....................!
real 96.02
user 94.63
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.fits', '/scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits', expMap='/scratch/kocevski/218605/expmap_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.fits', expCube='/scratch/kocevski/218605/ltcube_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/218605/Model_4FGL_J0808.2-0751_daily_bin555.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0808.2-0751'

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  2.268e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  2.112e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  8.329e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/218605/ft1_filtered_4FGL_J0808.2-0751_daily_bin555.fits
Spacecraft file(s): /scratch/kocevski/218605/ft2_4FGL_J0808.2-0751_daily_bin555.fits
Exposure map: /scratch/kocevski/218605/expmap_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.fits
Exposure cube: /scratch/kocevski/218605/ltcube_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/218605/Model_4FGL_J0808.2-0751_daily_bin555.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) = 6948.54619153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7707       1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.467       1.0000         .10000E-03   10000.    
     3 'norm      '    .25111E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10457E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.008       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4111       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12222E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .57533       1.0000         .10000E-03   10000.    
    13 'norm      '    9.9884       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13564E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.0663       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2171       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90030       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6948.505     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     1889 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7703        1.4612        .78675E-02    .13433E-03
   2  Prefactor     40.465        17.811        .15753E-02    .26991E-02
   3  norm          .10000E-03    1.2865        .60334E-01** at limit **
   4  Prefactor     .10000E-03    7.9858        .90712E-02** at limit **
   5  norm          .10000E-03    4.5656        .90712E-02** at limit **
   6  norm          .10002E-03    18.861        .90712E-02** at limit **
   7  norm          .10000E-03    1.2107        .90712E-02** at limit **
   8  Prefactor     13.007        8.6814        .27765E-02   -.13471E-04
   9  norm          .10000E-03    3.9226        .90712E-02** at limit **
  10  norm          3.4110        2.6208        .54759E-02    .19354E-04
  11  Prefactor     .10021E-03    5.1624        .10312    ** at limit **
  12  norm          .57530        .90443        .19030E-01    .66481E-03
  13  norm          9.9881        5.3852        .31697E-02    .96177E-03
  14  Prefactor     .10000E-03    9.0869        .90712E-02** at limit **
  15  Prefactor     .10002E-03    4.0275        .59776E-01** at limit **
  16  norm          .10000E-03    9.6679        .90712E-02** at limit **
  17  norm          .10000E-03    7.6314        .90712E-02** at limit **
  18  Prefactor     .10000E-03    13.801        .90712E-02** at limit **
  19  norm          3.0657        11.477        .57915E-02    .22322E-03
  20  Normalizat    1.2170        .21770        .81857E-01   -.39906E-06
  21  Prefactor     .90039        .86693E-01    .45009E-01   -.11243E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.77026
  Prefactor  = 40.4648
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 0.000100022
  norm       = 0.0001
  Prefactor  = 13.0071
  norm       = 0.0001
  norm       = 3.41096
  Prefactor  = 0.000100208
  norm       = 0.575296
  norm       = 9.98808
  Prefactor  = 0.000100003
  Prefactor  = 0.000100018
  norm       = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.000100003
  norm       = 3.06574
  Normalizat = 1.21699
  Prefactor  = 0.900394
 **********
 **   18 **HESSE 
 **********

 FCN=   6948.505     FROM HESSE     STATUS=OK           317 CALLS     2206 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7703        1.4705        .86425E-04   -1.5442    
   2  Prefactor     40.465        17.822        .63012E-04   -1.4435    
   3  norm          .10000E-03    15.001        .18215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.9868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.5674        .17396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10002E-03    19.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2139        .89559E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.007        8.6786        .11106E-03   -1.4987    
   9  norm          .10000E-03    3.9317        .16122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4110        2.6091        .11309E-03   -1.5339    
  11  Prefactor     .10021E-03    29.884        .35525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .57530        .74789        .94738E-03   -1.5556    
  13  norm          9.9881        5.3955        .63394E-03   -1.5076    
  14  Prefactor     .10000E-03    9.2200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    12.256        .32062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    9.6756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.6682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.0657        11.464        .23166E-03   -1.5358    
  20  Normalizat    1.2170        .23315        .36238E-03   -.86079    
  21  Prefactor     .90039        .95181E-01    .16726E-03   -.96127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67615e-08
Minuit parameter uncertainties:
  1  1.47055
  2  17.8246
  3  0.000159354
  4  0.000315452
  5  1.25113e-06
  6  0.00130827
  7  1.81439e-06
  8  8.67941
  9  4.7188e-06
  10  2.60916
  11  0.00498403
  12  0.747907
  13  5.39573
  14  0.00035135
  15  0.000933306
  16  8.09189e-05
  17  0.000332819
  18  0.000382492
  19  11.4717
  20  0.233351
  21  0.0951982
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  5.753e-01  7.479e-01  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  2.112e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  8.329e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.004e-01  9.520e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.217e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.12
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 9.49e-06 +/- 1.23e-05

TS (Fixed Index): 1.12
Ra Dec: 122.065 -7.856
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218605/likelihoodResults_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.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) = 6948.48146193
delta logL = 0.0239207830173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6948.48126464
delta logL = 0.0241180696257

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58283       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9133       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89980       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+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=   6948.481     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      249 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58293        .74730        .94859E-03    .41285E-03
   2  alpha         1.9131        .85191        .24730E-01    .57069E-05
   3  Normalizat    1.2197        .22494        .36202E-03   -.12508E-03
   4  Prefactor     .89982        .91399E-01    .16730E-03    .16992E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.582932
  alpha      = 1.91315
  Normalizat = 1.21972
  Prefactor  = 0.89982
 **********
 **   18 **HESSE 
 **********

 FCN=   6948.481     FROM HESSE     STATUS=OK            27 CALLS      276 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58293        .74943        .37944E-04   -1.5555    
   2  alpha         1.9131        .85489        .98919E-03   -.23695    
   3  Normalizat    1.2197        .22500        .14481E-04   -.85996    
   4  Prefactor     .89982        .91430E-01    .33460E-04   -.96147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02205e-10
Minuit parameter uncertainties:
  1  0.749446
  2  0.873586
  3  0.22518
  4  0.0914453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218605': 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) = 6948.48126457
delta logL = 0.0241181393985

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  5.829e-01  7.494e-01  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  1.913e+00  8.736e-01  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  8.329e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.998e-01  9.145e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.220e+00  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 1.91 +/- 0.87
Photon Flux (Free Index): 1.84e-08 +/- 2.76e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.71e-05

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/218605/cmap_HighResolution_383184001_383443201_4FGL_J0808.2-0751_daily_bin555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.56e-05', comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='1.13e-05', photon_flux_error='2.78e-08', dlogl='2.41e-02', energy_flux='9.49e-06', photon_flux2='1.84e-08', job_status='DONE', time_completed='2021-08-29 07:16:09.702343', photon_index_error2='0.87', photon_index2='1.91', ts='1.12', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.71e-05', EG='1.22', time_epoch_completed='1630246569.7', return_code='0', job_id='218605', GAL2='0.90', EG2='1.22', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='2.76e-08', ts2='1.16', photon_index='2.11' WHERE bin_id='555' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:16:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 218605: <4FGL_J0808.2-0751_daily_bin555> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin555> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 29 07:05:38 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:05:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 07:05:40 2021
Terminated at Sun Aug 29 07:16:10 2021
Results reported at Sun Aug 29 07:16:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin555 122.065 -7.8556 383184001 383443201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0808.2-0751 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   611.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             398.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            632 sec.

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

