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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin491
RA = 122.065, Dec = -7.8556
tmin = 366595201, tmax = 366854401
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='218511', job_status='RUN', time_executed='2021-08-29 07:06:01.185888', time_epoch_executed='1630245961.19' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='491'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218511

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218511/ft1_4FGL_J0808.2-0751_daily_bin491.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218511/ft1_4FGL_J0808.2-0751_daily_bin491.fits outfile=/scratch/kocevski/218511/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin491.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=366595201.0 tmax=366854401.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.50
user 4.92
sys 0.55

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218511/ft1_filtered_4FGL_J0808.2-0751_daily_bin491.fits" evtable="EVENTS" scfile=/scratch/kocevski/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits sctable="SC_DATA" outfile=/scratch/kocevski/218511/ltcube_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.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/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits
.....................!
real 11.93
user 11.20
sys 0.70

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218511/ft1_filtered_4FGL_J0808.2-0751_daily_bin491.fits evtable="EVENTS" scfile=/scratch/kocevski/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits sctable="SC_DATA" expcube=/scratch/kocevski/218511/ltcube_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.fits outfile=/scratch/kocevski/218511/expmap_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.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/218511/ltcube_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.fits
.....................!
real 191.66
user 186.58
sys 4.75

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/218511/ft1_filtered_4FGL_J0808.2-0751_daily_bin491.fits scfile=/scratch/kocevski/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits outfile=/scratch/kocevski/218511/cmap_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.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.88
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218511/ft1_filtered_4FGL_J0808.2-0751_daily_bin491.fits scfile=/scratch/kocevski/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits outfile=/scratch/kocevski/218511/cmap_HighResolution_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.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.87
user 0.37
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218511/ft1_filtered_4FGL_J0808.2-0751_daily_bin491.fits evtable="EVENTS" scfile=/scratch/kocevski/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218511/Model_4FGL_J0808.2-0751_daily_bin491.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/218511/ft1_filtered_4FGL_J0808.2-0751_daily_bin491.fits.....................!
real 108.29
user 106.44
sys 1.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/218511/ft1_filtered_4FGL_J0808.2-0751_daily_bin491.fits', '/scratch/kocevski/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits', expMap='/scratch/kocevski/218511/expmap_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.fits', expCube='/scratch/kocevski/218511/ltcube_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/218511/Model_4FGL_J0808.2-0751_daily_bin491.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/218511/ft1_filtered_4FGL_J0808.2-0751_daily_bin491.fits
Spacecraft file(s): /scratch/kocevski/218511/ft2_4FGL_J0808.2-0751_daily_bin491.fits
Exposure map: /scratch/kocevski/218511/expmap_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.fits
Exposure cube: /scratch/kocevski/218511/ltcube_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/218511/Model_4FGL_J0808.2-0751_daily_bin491.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) = 8802.2761757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .89751       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .46616E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    20.504       1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.905       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2705       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.4468       1.0000         .10000E-03   10000.    
    13 'norm      '    6.0502       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.305       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9358       1.0000         .10000E-03   10000.    
    16 'norm      '    49.996       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.425       1.0000         .10000E-03   10000.    
    19 'norm      '    29.170       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .84821       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0002       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.

 FCN=   8802.262     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     1882 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89778        1.2681        .11726E-06   -.38440E-03
   2  Prefactor     .10000E-03    4.7780        .35918E-06** at limit **
   3  norm          .10000E-03    1.2731       -.35204E-06** at limit **
   4  Prefactor     .10000E-03    23.078        .19391E-06** at limit **
   5  norm          .10000E-03    6.4891       -.16058E-05** at limit **
   6  norm          20.505        12.678        .13578E-06    .13960E-04
   7  norm          .10000E-03    1.9876        .16280E-07** at limit **
   8  Prefactor     .10000E-03    6.8487        .14103E-05** at limit **
   9  norm          15.901        13.011       -.10802E-05   -.12230E-03
  10  norm          3.2699        3.5137       -.48015E-06   -.53153E-03
  11  Prefactor     .10000E-03    3.0240       -.62575E-07** at limit **
  12  norm          1.4467        1.0294        .63962E-07    .38469E-04
  13  norm          6.0478        3.6160        .81797E-06   -.24412E-02
  14  Prefactor     12.304        7.2421        .10191E-06    .33332E-04
  15  Prefactor     2.9356        3.4085        .39621E-06    .47048E-04
  16  norm          49.994        22.531       -.54335E-06   -.83768E-04
  17  norm          .10000E-03    2.8943        .95723E-07** at limit **
  18  Prefactor     28.419        20.569       -.31885E-05   -.33589E-03
  19  norm          29.165        13.241       -.84468E-06   -.25552E-03
  20  Normalizat    .84864        .19930        .14388E-05    .15453E-04
  21  Prefactor     1.0001        .82928E-01   -.27406E-06    .18638E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.897783
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 20.5055
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.9015
  norm       = 3.26989
  Prefactor  = 0.0001
  norm       = 1.44668
  norm       = 6.04784
  Prefactor  = 12.3039
  Prefactor  = 2.93562
  norm       = 49.9944
  norm       = 0.0001
  Prefactor  = 28.4192
  norm       = 29.1649
  Normalizat = 0.848637
  Prefactor  = 1.00012
 **********
 **   18 **HESSE 
 **********

 FCN=   8802.262     FROM HESSE     STATUS=OK           317 CALLS     2199 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89778        1.1745        .11652E-02   -1.5518    
   2  Prefactor     .10000E-03    4.7887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.9266        .20163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    6.5342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          20.505        12.747        .88454E-04   -1.4802    
   7  norm          .10000E-03    2.0388        .25823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.9656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.901        13.044        .10043E-03   -1.4910    
  10  norm          3.2699        3.5299        .16822E-03   -1.5346    
  11  Prefactor     .10000E-03    3.0417        .15931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4467        1.0188        .74375E-04   -1.5467    
  13  norm          6.0478        5.4169        .81617E-03   -1.5216    
  14  Prefactor     12.304        7.2388        .11420E-03   -1.5006    
  15  Prefactor     2.9356        3.3970        .18112E-03   -1.5365    
  16  norm          49.994        22.553        .56716E-04   -1.4293    
  17  norm          .10000E-03    2.8956        .15588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.419        20.971        .37572E-03   -1.4641    
  19  norm          29.165        13.317        .74181E-04   -1.4627    
  20  Normalizat    .84864        .21622        .41842E-03   -.98289    
  21  Prefactor     1.0001        .89631E-01    .16227E-03   -.92725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.93382e-09
Minuit parameter uncertainties:
  1  1.17452
  2  1.0599e-05
  3  0.000181096
  4  1.18282e-05
  5  6.59233e-05
  6  12.7484
  7  1.85385e-06
  8  7.78847e-05
  9  13.0465
  10  3.53009
  11  6.17538e-06
  12  1.01878
  13  5.4173
  14  7.23931
  15  3.39721
  16  22.5569
  17  1.85679e-06
  18  20.9763
  19  13.3181
  20  0.216442
  21  0.0896439
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  1.447e+00  1.019e+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

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.000e+00  8.964e-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:  8.486e-01  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 1.68e-05

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) = 8802.25393882
delta logL = 0.00827537033547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8802.25366909
delta logL = 0.00854510550016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4283       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0432       1.0000          .0000       5.0000    
     3 'Normalizat'    .85141       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99983       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=   8802.254     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      246 TOTAL
                     EDM=   .69E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4287        .99889        .74815E-04    .24040E-03
   2  alpha         2.0432        .52033        .16058E-01   -.15505E-05
   3  Normalizat    .85131        .19952        .41786E-03    .19208E-04
   4  Prefactor     .99984        .83512E-01    .16230E-03   -.19053E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.42865
  alpha      = 2.04319
  Normalizat = 0.85131
  Prefactor  = 0.999836
 **********
 **   18 **HESSE 
 **********

 FCN=   8802.254     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .69E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4287        1.0047        .29926E-05   -1.5469    
   2  alpha         2.0432        .52334        .64232E-03   -.18376    
   3  Normalizat    .85131        .19960        .16714E-04   -.98193    
   4  Prefactor     .99984        .83539E-01    .64919E-05   -.92735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.87175e-12
Minuit parameter uncertainties:
  1  1.00475
  2  0.527373
  3  0.199777
  4  0.0835494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218511': 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) = 8802.25366883
delta logL = 0.00854536927727

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  1.429e+00  1.005e+00  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  2.043e+00  5.274e-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:  9.998e-01  8.355e-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:  8.513e-01  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.22
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 2.04 +/- 0.53
Photon Flux (Free Index): 5.01e-08 +/- 4.54e-08
Energy Flux (Free Index): 2.46e-05 +/- 1.80e-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/218511/cmap_HighResolution_366595201_366854401_4FGL_J0808.2-0751_daily_bin491.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='2.46e-05', photon_flux_error='3.79e-08', dlogl='8.55e-03', energy_flux='2.39e-05', photon_flux2='5.01e-08', job_status='DONE', time_completed='2021-08-29 07:16:44.300973', photon_index_error2='0.53', photon_index2='2.04', ts='5.20', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.80e-05', EG='0.85', time_epoch_completed='1630246604.3', return_code='0', job_id='218511', GAL2='1.00', EG2='0.85', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='4.54e-08', ts2='5.22', photon_index='2.11' WHERE bin_id='491' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:16:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 218511: <4FGL_J0808.2-0751_daily_bin491> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin491> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 29 07:05:32 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:05:33 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:33 2021
Terminated at Sun Aug 29 07:16:45 2021
Results reported at Sun Aug 29 07:16:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin491 122.065 -7.8556 366595201 366854401 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 :                                   644.65 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             360.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            673 sec.

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

