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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin914
RA = 122.065, Dec = -7.8556
tmin = 476236801, tmax = 476496001
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='221365', job_status='RUN', time_executed='2021-08-29 07:17:15.365877', time_epoch_executed='1630246635.37' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='914'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/221365

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/221365/ft1_4FGL_J0808.2-0751_daily_bin914.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/221365/ft2_4FGL_J0808.2-0751_daily_bin914.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/221365/ft1_4FGL_J0808.2-0751_daily_bin914.fits outfile=/scratch/kocevski/221365/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin914.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=476236801.0 tmax=476496001.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 3.27
sys 5.40

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/221365/ft2_4FGL_J0808.2-0751_daily_bin914.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/221365/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin914.fits evtable="EVENTS" outfile="/scratch/kocevski/221365/ft1_filtered_4FGL_J0808.2-0751_daily_bin914.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 5.73
user 0.33
sys 5.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/221365/ft1_filtered_4FGL_J0808.2-0751_daily_bin914.fits" evtable="EVENTS" scfile=/scratch/kocevski/221365/ft2_4FGL_J0808.2-0751_daily_bin914.fits sctable="SC_DATA" outfile=/scratch/kocevski/221365/ltcube_476236801_476496001_4FGL_J0808.2-0751_daily_bin914.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/221365/ft2_4FGL_J0808.2-0751_daily_bin914.fits
.....................!
real 17.74
user 11.52
sys 6.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/221365/ft1_filtered_4FGL_J0808.2-0751_daily_bin914.fits evtable="EVENTS" scfile=/scratch/kocevski/221365/ft2_4FGL_J0808.2-0751_daily_bin914.fits sctable="SC_DATA" expcube=/scratch/kocevski/221365/ltcube_476236801_476496001_4FGL_J0808.2-0751_daily_bin914.fits outfile=/scratch/kocevski/221365/expmap_476236801_476496001_4FGL_J0808.2-0751_daily_bin914.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/221365/ltcube_476236801_476496001_4FGL_J0808.2-0751_daily_bin914.fits
.....................!
real 197.65
user 185.37
sys 11.70

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/221365/ft1_filtered_4FGL_J0808.2-0751_daily_bin914.fits scfile=/scratch/kocevski/221365/ft2_4FGL_J0808.2-0751_daily_bin914.fits outfile=/scratch/kocevski/221365/cmap_476236801_476496001_4FGL_J0808.2-0751_daily_bin914.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 5.58
user 0.38
sys 5.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/221365/ft1_filtered_4FGL_J0808.2-0751_daily_bin914.fits scfile=/scratch/kocevski/221365/ft2_4FGL_J0808.2-0751_daily_bin914.fits outfile=/scratch/kocevski/221365/cmap_HighResolution_476236801_476496001_4FGL_J0808.2-0751_daily_bin914.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 5.64
user 0.38
sys 5.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/221365/ft1_filtered_4FGL_J0808.2-0751_daily_bin914.fits evtable="EVENTS" scfile=/scratch/kocevski/221365/ft2_4FGL_J0808.2-0751_daily_bin914.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/221365/Model_4FGL_J0808.2-0751_daily_bin914.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/221365/ft1_filtered_4FGL_J0808.2-0751_daily_bin914.fits.....................!
real 111.57
user 103.32
sys 7.95

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6779       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.101       1.0000         .10000E-03   10000.    
     3 'norm      '    .48167       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.986       1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    27.140       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.1437       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.7395       1.0000         .10000E-03   10000.    
    13 'norm      '    10.156       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9527       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    78.411       1.0000         .10000E-03   10000.    
    17 'norm      '    6.9569       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2665       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .89633       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=   7700.512     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2188 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6782        1.8537       -.13173E-06   -.33408E-03
   2  Prefactor     26.103        17.232        .69320E-06   -.40020E-05
   3  norm          .48567        1.7784        .20802E-06   -.10736E-02
   4  Prefactor     15.973        29.425       -.19955E-04   -.10027E-04
   5  norm          .10000E-03    8.7572        .33358E-06** at limit **
   6  norm          27.144        16.653        .37684E-06   -.12935E-04
   7  norm          .10000E-03    1.5977        .42669E-06** at limit **
   8  Prefactor     .10000E-03    2.5405        .24798E-06** at limit **
   9  norm          8.1455        12.447       -.49587E-06   -.56421E-04
  10  norm          .10000E-03    .93000       -.39628E-06** at limit **
  11  Prefactor     .10000E-03    10.505        .69506E-06** at limit **
  12  norm          1.7399        1.2478       -.87189E-08   -.30905E-03
  13  norm          10.156        5.6995        .99896E-07   -.69704E-04
  14  Prefactor     1.9538        11.033       -.47071E-05   -.35653E-03
  15  Prefactor     .10000E-03    2.5193        .17138E-07** at limit **
  16  norm          78.416        32.291        .33127E-05    .47925E-04
  17  norm          6.9571        7.1802        .70230E-06    .99142E-03
  18  Prefactor     .10000E-03    43.614       -.10429E-05** at limit **
  19  norm          .10000E-03    8.0974       -.74441E-06** at limit **
  20  Normalizat    1.2665        .21951        .86823E-06    .41751E-05
  21  Prefactor     .89629        .91961E-01    .17875E-06    .17031E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.67824
  Prefactor  = 26.1032
  norm       = 0.485669
  Prefactor  = 15.9727
  norm       = 0.0001
  norm       = 27.1436
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.14548
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.73987
  norm       = 10.1557
  Prefactor  = 1.95379
  Prefactor  = 0.0001
  norm       = 78.4157
  norm       = 6.95713
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.26652
  Prefactor  = 0.896285
 **********
 **   18 **HESSE 
 **********

 FCN=   7700.512     FROM HESSE     STATUS=OK           321 CALLS     2509 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6782        1.8733        .79290E-04   -1.5324    
   2  Prefactor     26.103        17.264        .78411E-04   -1.4686    
   3  norm          .48567        2.8836        .21480E-02   -1.5569    
   4  Prefactor     15.973        28.787        .10017E-03   -1.4908    
   5  norm          .10000E-03    8.7732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          27.144        16.777        .76898E-04   -1.4666    
   7  norm          .10000E-03    1.6165        .10828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5422        .13659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.1455        12.480        .14049E-03   -1.5137    
  10  norm          .10000E-03    .93666        .82584E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.759        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.7399        1.2330        .78708E-04   -1.5444    
  13  norm          10.156        5.7053        .12574E-03   -1.5070    
  14  Prefactor     1.9538        11.265        .29695E-03   -1.5428    
  15  Prefactor     .10000E-03    2.5354        .13600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          78.416        32.297        .45351E-04   -1.3935    
  17  norm          6.9571        7.2600        .76051E-03   -1.5180    
  18  Prefactor     .10000E-03    43.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.1939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2665        .24176        .37399E-03   -.84571    
  21  Prefactor     .89629        .10259        .17793E-03   -.96271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2433e-09
Minuit parameter uncertainties:
  1  1.87335
  2  17.2676
  3  2.36678
  4  28.8123
  5  2.4169e-06
  6  16.7794
  7  1.76201e-06
  8  2.57519e-06
  9  12.4844
  10  3.56117e-07
  11  8.25867e-06
  12  1.23305
  13  5.70563
  14  9.38533
  15  1.22089e-06
  16  32.3038
  17  7.26091
  18  4.47127e-05
  19  5.49276e-06
  20  0.241979
  21  0.102613
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  1.740e+00  1.233e+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.963e-01  1.026e-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.267e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.27
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 6.48e-08 +/- 4.59e-08
Energy Flux (Fixed Index): 2.87e-05 +/- 2.03e-05

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

Saving results to:
/scratch/kocevski/221365/likelihoodResults_476236801_476496001_4FGL_J0808.2-0751_daily_bin914.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) = 7699.56559084
delta logL = 0.946490199572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7699.55713107
delta logL = 0.954949966337

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3813       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9717       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90625       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=   7699.557     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      234 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3830        12.255        .92576E-02   -.22915E-03
   2  alpha         2.9708        3.9854        .35051        .38992E-04
   3  Normalizat    1.2094        .88773E-01    .86023E-01   -.49335E-03
   4  Prefactor     .90622        .34701E-01    .45085E-01   -.12828E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38298
  alpha      = 2.97084
  Normalizat = 1.20944
  Prefactor  = 0.906217
 **********
 **   18 **HESSE 
 **********

 FCN=   7699.557     FROM HESSE     STATUS=OK            29 CALLS      263 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3830        1.2032        .55082E-04   -1.5473    
   2  alpha         2.9708        .70978        .13838E-01    .18947    
   3  Normalizat    1.2094        .23326        .38090E-03   -.86311    
   4  Prefactor     .90622        .93854E-01    .17693E-03   -.95924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1374e-09
Minuit parameter uncertainties:
  1  1.2032
  2  0.720053
  3  0.233457
  4  0.0938706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/221365': 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) = 7699.55712954
delta logL = 0.954951496871

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  1.383e+00  1.203e+00  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  2.971e+00  7.201e-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.062e-01  9.387e-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.209e+00  2.335e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.26
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 2.97 +/- 0.72
Photon Flux (Free Index): 1.35e-07 +/- 8.30e-08
Energy Flux (Free Index): 2.83e-05 +/- 1.60e-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/221365/cmap_HighResolution_476236801_476496001_4FGL_J0808.2-0751_daily_bin914.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.23e-05', comment='SUCCESS', photon_flux='6.48e-08', energy_flux2='2.83e-05', photon_flux_error='4.59e-08', dlogl='9.55e-01', energy_flux='2.87e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-08-29 07:29:50.741595', photon_index_error2='0.72', photon_index2='2.97', ts='3.27', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.63e-07', energy_flux_error2='1.60e-05', EG='1.27', time_epoch_completed='1630247390.74', return_code='0', job_id='221365', GAL2='0.91', EG2='1.21', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='8.30e-08', ts2='5.26', photon_index='2.11' WHERE bin_id='914' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:29:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 221365: <4FGL_J0808.2-0751_daily_bin914> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin914> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 29 07:15:37 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:15: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:15:40 2021
Terminated at Sun Aug 29 07:29:52 2021
Results reported at Sun Aug 29 07:29:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin914 122.065 -7.8556 476236801 476496001 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 :                                   832.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            855 sec.

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

