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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin75
RA = 122.065, Dec = -7.8556
tmin = 258768001, tmax = 259027201
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='215681', job_status='RUN', time_executed='2021-08-29 07:00:36.788058', time_epoch_executed='1630245636.79' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215681

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215681/ft1_4FGL_J0808.2-0751_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215681/ft2_4FGL_J0808.2-0751_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215681/ft1_4FGL_J0808.2-0751_daily_bin75.fits outfile=/scratch/kocevski/215681/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin75.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=258768001.0 tmax=259027201.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 8.73
user 0.94
sys 7.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/215681/ft2_4FGL_J0808.2-0751_daily_bin75.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/215681/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/215681/ft1_filtered_4FGL_J0808.2-0751_daily_bin75.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 7.84
user 0.32
sys 7.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215681/ft1_filtered_4FGL_J0808.2-0751_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/215681/ft2_4FGL_J0808.2-0751_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/215681/ltcube_258768001_259027201_4FGL_J0808.2-0751_daily_bin75.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/215681/ft2_4FGL_J0808.2-0751_daily_bin75.fits
.....................!
real 17.38
user 9.03
sys 8.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215681/ft1_filtered_4FGL_J0808.2-0751_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/215681/ft2_4FGL_J0808.2-0751_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/215681/ltcube_258768001_259027201_4FGL_J0808.2-0751_daily_bin75.fits outfile=/scratch/kocevski/215681/expmap_258768001_259027201_4FGL_J0808.2-0751_daily_bin75.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/215681/ltcube_258768001_259027201_4FGL_J0808.2-0751_daily_bin75.fits
.....................!
real 200.23
user 185.13
sys 14.50

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/215681/ft1_filtered_4FGL_J0808.2-0751_daily_bin75.fits scfile=/scratch/kocevski/215681/ft2_4FGL_J0808.2-0751_daily_bin75.fits outfile=/scratch/kocevski/215681/cmap_258768001_259027201_4FGL_J0808.2-0751_daily_bin75.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 6.84
user 0.36
sys 6.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215681/ft1_filtered_4FGL_J0808.2-0751_daily_bin75.fits scfile=/scratch/kocevski/215681/ft2_4FGL_J0808.2-0751_daily_bin75.fits outfile=/scratch/kocevski/215681/cmap_HighResolution_258768001_259027201_4FGL_J0808.2-0751_daily_bin75.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 7.56
user 0.39
sys 7.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215681/ft1_filtered_4FGL_J0808.2-0751_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/215681/ft2_4FGL_J0808.2-0751_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215681/Model_4FGL_J0808.2-0751_daily_bin75.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/215681/ft1_filtered_4FGL_J0808.2-0751_daily_bin75.fits.....................!
real 96.41
user 85.86
sys 10.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.8232       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8977       1.0000         .10000E-03   10000.    
     3 'norm      '    4.8403       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0956       1.0000         .10000E-03   10000.    
     6 'norm      '    32.968       1.0000         .10000E-03   10000.    
     7 'norm      '    .89436       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.790       1.0000         .10000E-03   10000.    
     9 'norm      '    10.141       1.0000         .10000E-03   10000.    
    10 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0101       1.0000         .10000E-03   10000.    
    12 'norm      '    3.0473       1.0000         .10000E-03   10000.    
    13 'norm      '    11.951       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .92801       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0321       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86443       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=   6605.270     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     1913 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8230        1.9526       -.73309E-08    .50944E-04
   2  Prefactor     8.8914        20.328       -.35068E-05   -.10249E-03
   3  norm          4.8407        2.7307        .39264E-06   -.15043E-02
   4  Prefactor     .10000E-03    22.202       -.29853E-06** at limit **
   5  norm          2.0915        56.270       -.45493E-05   -.39984E-04
   6  norm          32.966        13.568       -.12975E-06   -.61904E-05
   7  norm          .89389        2.9613        .31249E-07   -.33955E-03
   8  Prefactor     10.785        13.253        .18579E-06    .58775E-05
   9  norm          10.142        10.905       -.11900E-06   -.18073E-04
  10  norm          .10000E-03    1.3976        .21701E-07** at limit **
  11  Prefactor     5.0098        7.6070       -.10888E-06   -.50997E-04
  12  norm          3.0473        1.4643       -.43751E-07   -.87838E-04
  13  norm          11.951        6.1859       -.39880E-07   -.28437E-04
  14  Prefactor     .10000E-03    3.2989        .11646E-07** at limit **
  15  Prefactor     .92704        2.7679        .12865E-06   -.27867E-03
  16  norm          .10000E-03    7.7691        .25290E-07** at limit **
  17  norm          .10000E-03    5.5106       -.14091E-06** at limit **
  18  Prefactor     .10000E-03    44.924       -.47791E-06** at limit **
  19  norm          .10000E-03    5.2397        .12524E-07** at limit **
  20  Normalizat    1.0321        .22572       -.51691E-06    .19905E-04
  21  Prefactor     .86449        .94796E-01    .46422E-06   -.61919E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.823
  Prefactor  = 8.89139
  norm       = 4.84065
  Prefactor  = 0.0001
  norm       = 2.09152
  norm       = 32.9659
  norm       = 0.893892
  Prefactor  = 10.7845
  norm       = 10.1425
  norm       = 0.0001
  Prefactor  = 5.00977
  norm       = 3.04728
  norm       = 11.9514
  Prefactor  = 0.0001
  Prefactor  = 0.927036
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.03208
  Prefactor  = 0.864488
 **********
 **   18 **HESSE 
 **********

 FCN=   6605.270     FROM HESSE     STATUS=OK           323 CALLS     2236 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8230        1.9644        .53945E-04   -1.5149    
   2  Prefactor     8.8914        20.926        .13437E-03   -1.5112    
   3  norm          4.8407        3.5035        .61797E-03   -1.5268    
   4  Prefactor     .10000E-03    22.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0915        58.701        .28513E-03   -1.5419    
   6  norm          32.966        13.617        .69789E-04   -1.4559    
   7  norm          .89389        3.0506        .25649E-03   -1.5519    
   8  Prefactor     10.785        13.234        .12197E-03   -1.5051    
   9  norm          10.142        10.906        .12583E-03   -1.5071    
  10  norm          .10000E-03    1.4119        .93674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.0098        7.5510        .17966E-03   -1.5260    
  12  norm          3.0473        1.4644        .64906E-04   -1.5359    
  13  norm          11.951        6.1948        .11588E-03   -1.5016    
  14  Prefactor     .10000E-03    3.3056        .14414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .92704        2.6712        .23298E-02   -1.5515    
  16  norm          .10000E-03    7.7736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.5172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    45.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.2546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0321        .24805        .38199E-03   -.91963    
  21  Prefactor     .86449        .10435        .16989E-03   -.97393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23339e-08
Minuit parameter uncertainties:
  1  1.96442
  2  20.943
  3  3.50362
  4  1.49103e-05
  5  22.1843
  6  13.618
  7  3.0511
  8  13.2378
  9  10.9079
  10  3.9418e-07
  11  7.55243
  12  1.46443
  13  6.1951
  14  6.7963e-07
  15  2.67158
  16  9.39964e-07
  17  5.11578e-06
  18  5.73708e-05
  19  1.08334e-06
  20  0.24833
  21  0.104375
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  3.047e+00  1.464e+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:  8.645e-01  1.044e-01  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.032e+00  2.483e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.94
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 5.45e-08
Energy Flux (Fixed Index): 5.03e-05 +/- 2.42e-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) = 6604.88775049
delta logL = 0.382082469023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6604.38055754
delta logL = 0.88927541458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46390       1.0000         .10000E-03   10000.    
     2 'alpha     '    .85956       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1066       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86412       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=   6604.381     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      216 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46368        .42389        .85871E-02   -.58649E-03
   2  alpha         .85933        .35347        .25113       -.40191E-04
   3  Normalizat    1.1065        .21490        .83896E-01    .15862E-04
   4  Prefactor     .86415        .88659E-01    .44546E-01    .16752E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.463678
  alpha      = 0.859334
  Normalizat = 1.10654
  Prefactor  = 0.864151
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.381     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46368        .99920        .35957E-03   -1.5572    
   2  alpha         .85933        .78541        .10892E-02   -.71586    
   3  Normalizat    1.1065        .23538        .37146E-03   -.89542    
   4  Prefactor     .86415        .97375E-01    .17020E-03   -.97405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91363e-12
Minuit parameter uncertainties:
  1  0.999232
  2  0.810082
  3  0.235607
  4  0.0973943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215681': 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) = 6604.38055743
delta logL = 0.889275530096

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  4.637e-01  9.992e-01  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  8.593e-01  8.101e-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.642e-01  9.739e-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.107e+00  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.62
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 0.86 +/- 0.81
Photon Flux (Free Index): 1.54e-08 +/- 1.93e-08
Energy Flux (Free Index): 1.28e-04 +/- 1.49e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/215681/cmap_HighResolution_258768001_259027201_4FGL_J0808.2-0751_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='1.28e-04', photon_flux_error='5.45e-08', dlogl='8.89e-01', energy_flux='5.03e-05', photon_flux2='1.54e-08', job_status='DONE', time_completed='2021-08-29 07:11:20.550964', photon_index_error2='0.81', photon_index2='0.86', ts='15.94', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.49e-04', EG='1.03', time_epoch_completed='1630246280.55', return_code='0', job_id='215681', GAL2='0.86', EG2='1.11', return_code2='0', energy_flux_error='2.42e-05', photon_flux_error2='1.93e-08', ts2='17.62', photon_index='2.11' WHERE bin_id='75' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:11:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 215681: <4FGL_J0808.2-0751_daily_bin75> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin75> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 06:55:25 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 06:55:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 06:55:27 2021
Terminated at Sun Aug 29 07:11:22 2021
Results reported at Sun Aug 29 07:11:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin75 122.065 -7.8556 258768001 259027201 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 :                                   757.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             248.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            957 sec.

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

