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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin123
RA = 122.065, Dec = -7.8556
tmin = 271209601, tmax = 271468801
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='215751', job_status='RUN', time_executed='2021-08-29 06:58:53.050151', time_epoch_executed='1630245533.05' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='123'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215751

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215751/ft1_4FGL_J0808.2-0751_daily_bin123.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215751/ft2_4FGL_J0808.2-0751_daily_bin123.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215751/ft1_4FGL_J0808.2-0751_daily_bin123.fits outfile=/scratch/kocevski/215751/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin123.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=271209601.0 tmax=271468801.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.62
user 1.42
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215751/ft1_filtered_4FGL_J0808.2-0751_daily_bin123.fits" evtable="EVENTS" scfile=/scratch/kocevski/215751/ft2_4FGL_J0808.2-0751_daily_bin123.fits sctable="SC_DATA" outfile=/scratch/kocevski/215751/ltcube_271209601_271468801_4FGL_J0808.2-0751_daily_bin123.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/215751/ft2_4FGL_J0808.2-0751_daily_bin123.fits
.....................!
real 12.28
user 11.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215751/ft1_filtered_4FGL_J0808.2-0751_daily_bin123.fits evtable="EVENTS" scfile=/scratch/kocevski/215751/ft2_4FGL_J0808.2-0751_daily_bin123.fits sctable="SC_DATA" expcube=/scratch/kocevski/215751/ltcube_271209601_271468801_4FGL_J0808.2-0751_daily_bin123.fits outfile=/scratch/kocevski/215751/expmap_271209601_271468801_4FGL_J0808.2-0751_daily_bin123.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/215751/ltcube_271209601_271468801_4FGL_J0808.2-0751_daily_bin123.fits
.....................!
real 189.66
user 185.25
sys 4.04

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/215751/ft1_filtered_4FGL_J0808.2-0751_daily_bin123.fits scfile=/scratch/kocevski/215751/ft2_4FGL_J0808.2-0751_daily_bin123.fits outfile=/scratch/kocevski/215751/cmap_271209601_271468801_4FGL_J0808.2-0751_daily_bin123.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215751/ft1_filtered_4FGL_J0808.2-0751_daily_bin123.fits scfile=/scratch/kocevski/215751/ft2_4FGL_J0808.2-0751_daily_bin123.fits outfile=/scratch/kocevski/215751/cmap_HighResolution_271209601_271468801_4FGL_J0808.2-0751_daily_bin123.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215751/ft1_filtered_4FGL_J0808.2-0751_daily_bin123.fits evtable="EVENTS" scfile=/scratch/kocevski/215751/ft2_4FGL_J0808.2-0751_daily_bin123.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215751/Model_4FGL_J0808.2-0751_daily_bin123.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/215751/ft1_filtered_4FGL_J0808.2-0751_daily_bin123.fits....................!
real 156.77
user 155.22
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6499       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .38059E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .68909       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.941       1.0000         .10000E-03   10000.    
     5 'norm      '    .14029E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10668E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.7888       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13882E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.5701       1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .22635       1.0000         .10000E-03   10000.    
    12 'norm      '    14.114       1.0000         .10000E-03   10000.    
    13 'norm      '    2.8996       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .65996       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1534       1.0000         .10000E-03   10000.    
    16 'norm      '    .10330E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2758       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19261E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    .10847E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .95312       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0377       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=   12845.13     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     1891 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6498        1.2108        .42457E-08   -.58578E-04
   2  Prefactor     .10000E-03    8.4901        .18599E-06** at limit **
   3  norm          .68694        1.7959        .28688E-06   -.68640E-03
   4  Prefactor     13.960        13.871        .26859E-05    .26409E-03
   5  norm          .10000E-03    6.0202        .39808E-06** at limit **
   6  norm          .10000E-03    5.8803       -.60205E-07** at limit **
   7  norm          1.7872        1.9845       -.35539E-08   -.43141E-04
   8  Prefactor     .10000E-03    5.8072       -.19780E-06** at limit **
   9  norm          7.6046        8.7797       -.11591E-05   -.17419E-03
  10  norm          .10000E-03    .70145        .14117E-06** at limit **
  11  Prefactor     .23880        3.5830       -.10101E-05    .52427E-03
  12  norm          14.114        1.7108       -.30423E-08    .56298E-03
  13  norm          2.8985        3.0153       -.93252E-07   -.20622E-03
  14  Prefactor     .67298        3.4250        .16028E-05   -.52839E-03
  15  Prefactor     2.1534        2.2919       -.24382E-07    .84597E-04
  16  norm          .10000E-03    3.8955       -.75311E-07** at limit **
  17  norm          1.2628        10.888       -.87560E-06   -.18374E-03
  18  Prefactor     .10000E-03    16.610       -.16288E-05** at limit **
  19  norm          .10000E-03    6.5488        .13254E-07** at limit **
  20  Normalizat    .95316        .16438        .37222E-06    .13607E-03
  21  Prefactor     1.0377        .69595E-01   -.95538E-07    .32292E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.6498
  Prefactor  = 0.0001
  norm       = 0.686938
  Prefactor  = 13.9601
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.78722
  Prefactor  = 0.0001
  norm       = 7.60464
  norm       = 0.0001
  Prefactor  = 0.238799
  norm       = 14.1138
  norm       = 2.8985
  Prefactor  = 0.672985
  Prefactor  = 2.15342
  norm       = 0.0001
  norm       = 1.26284
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.953164
  Prefactor  = 1.03767
 **********
 **   18 **HESSE 
 **********

 FCN=   12845.13     FROM HESSE     STATUS=OK           319 CALLS     2210 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6498        1.2179        .68200E-04   -1.5326    
   2  Prefactor     .10000E-03    8.8176        .42572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .68694        1.9208        .25063E-03   -1.5542    
   4  Prefactor     13.960        14.194        .10728E-03   -1.4961    
   5  norm          .10000E-03    6.0426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.9548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.7872        1.9746        .16326E-03   -1.5441    
   8  Prefactor     .10000E-03    5.9307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.6046        8.8609        .14576E-03   -1.5156    
  10  norm          .10000E-03    .71024        .92660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .23880        28.713        .38600E-02   -1.5610    
  12  norm          14.114        1.7095        .49260E-04   -1.4956    
  13  norm          2.8985        3.0185        .19358E-03   -1.5367    
  14  Prefactor     .67298        4.9379        .47629E-03   -1.5544    
  15  Prefactor     2.1534        2.2900        .17196E-03   -1.5414    
  16  norm          .10000E-03    3.8966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2628        12.067        .39342E-03   -1.5483    
  18  Prefactor     .10000E-03    16.770        .20262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.6878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .95316        .17818        .40478E-03   -.94616    
  21  Prefactor     1.0377        .75682E-01    .16852E-03   -.91484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72714e-09
Minuit parameter uncertainties:
  1  1.21791
  2  6.22138e-08
  3  1.92096
  4  14.1972
  5  1.19284e-05
  6  2.66345e-06
  7  1.97466
  8  7.82273e-08
  9  8.8624
  10  1.54624e-06
  11  5.23848
  12  1.70952
  13  3.01867
  14  3.64603
  15  2.29012
  16  2.44067e-06
  17  7.80919
  18  9.91555e-05
  19  3.28344e-06
  20  0.17829
  21  0.0756901
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  1.411e+01  1.710e+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.038e+00  7.569e-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:  9.532e-01  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 259.49
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.26e-07 +/- 6.36e-08
Energy Flux (Fixed Index): 2.33e-04 +/- 2.82e-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) = 12842.2973337
delta logL = 2.8357674659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12842.2973036
delta logL = 2.83579760831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.924       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8492       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0274       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=   12842.30     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .67E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.917        1.8960        .25919E-02   -.40490E-04
   2  alpha         1.8492        .10926        .11004       -.48407E-06
   3  Normalizat    1.0072        .15764        .89452E-01    .45518E-04
   4  Prefactor     1.0274        .67629E-01    .41472E-01   -.10535E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.9165
  alpha      = 1.84922
  Normalizat = 1.00723
  Prefactor  = 1.0274
 **********
 **   18 **HESSE 
 **********

 FCN=   12842.30     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .29E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.917        1.8471        .52202E-04   -1.4935    
   2  alpha         1.8492        .10768        .48099E-03   -.26334    
   3  Normalizat    1.0072        .17035        .39613E-03   -.92789    
   4  Prefactor     1.0274        .73181E-01    .16939E-03   -.91822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92626e-13
Minuit parameter uncertainties:
  1  1.84715
  2  0.107712
  3  0.170447
  4  0.0731882
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215751': 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) = 12842.2972944
delta logL = 2.83580680834

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  1.492e+01  1.847e+00  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  1.849e+00  1.077e-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:  1.027e+00  7.319e-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.007e+00  1.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 264.47
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 1.85 +/- 0.11
Photon Flux (Free Index): 4.50e-07 +/- 6.48e-08
Energy Flux (Free Index): 3.11e-04 +/- 5.73e-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/215751/cmap_HighResolution_271209601_271468801_4FGL_J0808.2-0751_daily_bin123.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.26e-07', energy_flux2='3.11e-04', photon_flux_error='6.36e-08', dlogl='2.84e+00', energy_flux='2.33e-04', photon_flux2='4.50e-07', job_status='DONE', time_completed='2021-08-29 07:12:01.477813', photon_index_error2='0.11', photon_index2='1.85', ts='259.49', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='5.73e-05', EG='0.95', time_epoch_completed='1630246321.48', return_code='0', job_id='215751', GAL2='1.03', EG2='1.01', return_code2='0', energy_flux_error='2.82e-05', photon_flux_error2='6.48e-08', ts2='264.47', photon_index='2.11' WHERE bin_id='123' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:12:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 215751: <4FGL_J0808.2-0751_daily_bin123> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin123> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 29 06:55:30 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 06:55:32 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:32 2021
Terminated at Sun Aug 29 07:12:02 2021
Results reported at Sun Aug 29 07:12:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin123 122.065 -7.8556 271209601 271468801 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 :                                   788.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   989 sec.
    Turnaround time :                            992 sec.

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

