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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin590
RA = 122.065, Dec = -7.8556
tmin = 392256001, tmax = 392515201
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='219769', job_status='RUN', time_executed='2021-08-29 07:10:39.800050', time_epoch_executed='1630246239.8' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219769

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219769/ft1_4FGL_J0808.2-0751_daily_bin590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219769/ft2_4FGL_J0808.2-0751_daily_bin590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219769/ft1_4FGL_J0808.2-0751_daily_bin590.fits outfile=/scratch/kocevski/219769/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin590.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=392256001.0 tmax=392515201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.74
user 3.10
sys 0.62

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219769/ft1_filtered_4FGL_J0808.2-0751_daily_bin590.fits" evtable="EVENTS" scfile=/scratch/kocevski/219769/ft2_4FGL_J0808.2-0751_daily_bin590.fits sctable="SC_DATA" outfile=/scratch/kocevski/219769/ltcube_392256001_392515201_4FGL_J0808.2-0751_daily_bin590.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/219769/ft2_4FGL_J0808.2-0751_daily_bin590.fits
.....................!
real 12.29
user 11.49
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219769/ft1_filtered_4FGL_J0808.2-0751_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/219769/ft2_4FGL_J0808.2-0751_daily_bin590.fits sctable="SC_DATA" expcube=/scratch/kocevski/219769/ltcube_392256001_392515201_4FGL_J0808.2-0751_daily_bin590.fits outfile=/scratch/kocevski/219769/expmap_392256001_392515201_4FGL_J0808.2-0751_daily_bin590.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/219769/ltcube_392256001_392515201_4FGL_J0808.2-0751_daily_bin590.fits
.....................!
real 190.36
user 184.94
sys 5.00

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/219769/ft1_filtered_4FGL_J0808.2-0751_daily_bin590.fits scfile=/scratch/kocevski/219769/ft2_4FGL_J0808.2-0751_daily_bin590.fits outfile=/scratch/kocevski/219769/cmap_392256001_392515201_4FGL_J0808.2-0751_daily_bin590.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.99
user 0.37
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219769/ft1_filtered_4FGL_J0808.2-0751_daily_bin590.fits scfile=/scratch/kocevski/219769/ft2_4FGL_J0808.2-0751_daily_bin590.fits outfile=/scratch/kocevski/219769/cmap_HighResolution_392256001_392515201_4FGL_J0808.2-0751_daily_bin590.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.97
user 0.37
sys 0.58

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219769/ft1_filtered_4FGL_J0808.2-0751_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/219769/ft2_4FGL_J0808.2-0751_daily_bin590.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219769/Model_4FGL_J0808.2-0751_daily_bin590.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/219769/ft1_filtered_4FGL_J0808.2-0751_daily_bin590.fits.....................!
real 107.66
user 105.71
sys 1.70

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5494       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.6586       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8095       1.0000         .10000E-03   10000.    
     5 'norm      '    9.4904       1.0000         .10000E-03   10000.    
     6 'norm      '    11.939       1.0000         .10000E-03   10000.    
     7 'norm      '    5.4630       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.192       1.0000         .10000E-03   10000.    
    10 'norm      '    6.1505       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7144       1.0000         .10000E-03   10000.    
    12 'norm      '    2.8938       1.0000         .10000E-03   10000.    
    13 'norm      '    4.1855       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.3425       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.4200       1.0000         .10000E-03   10000.    
    16 'norm      '    .92567       1.0000         .10000E-03   10000.    
    17 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3464       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86132       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=   8366.911     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     1879 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5492        1.0473       -.36149E-07   -.21624E-03
   2  Prefactor     .10000E-03    10.970        .80438E-06** at limit **
   3  norm          3.6587        2.8955        .30270E-07   -.10098E-03
   4  Prefactor     5.8070        30.620        .25946E-05   -.89839E-05
   5  norm          9.4899        10.434        .47537E-07   -.18317E-04
   6  norm          11.935        15.030        .13858E-05   -.38627E-04
   7  norm          5.4622        4.6771        .42796E-06   -.31992E-03
   8  Prefactor     .10000E-03    3.6405        .10944E-06** at limit **
   9  norm          15.193        12.206        .33953E-07   -.40000E-04
  10  norm          6.1507        3.1221        .53428E-07   -.96922E-04
  11  Prefactor     2.7147        6.8075        .25038E-05   -.14802E-03
  12  norm          2.8937        1.4081       -.30108E-07   -.30004E-03
  13  norm          4.1859        4.0716        .88116E-07   -.52405E-05
  14  Prefactor     6.3399        9.1438       -.70787E-06   -.19054E-03
  15  Prefactor     5.4200        4.2452       -.99863E-07   -.44726E-04
  16  norm          .89826        50.192       -.20954E-04   -.11310E-04
  17  norm          .10000E-03    14.495       -.11338E-05** at limit **
  18  Prefactor     .10000E-03    7.3404       -.15720E-06** at limit **
  19  norm          .10000E-03    3.1856        .64901E-07** at limit **
  20  Normalizat    1.3462        .20967       -.16599E-05   -.13726E-03
  21  Prefactor     .86140        .84146E-01    .30616E-06   -.26569E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54922
  Prefactor  = 0.0001
  norm       = 3.6587
  Prefactor  = 5.80702
  norm       = 9.48993
  norm       = 11.9345
  norm       = 5.46221
  Prefactor  = 0.0001
  norm       = 15.1926
  norm       = 6.15066
  Prefactor  = 2.7147
  norm       = 2.89369
  norm       = 4.18594
  Prefactor  = 6.3399
  Prefactor  = 5.41998
  norm       = 0.898256
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.34623
  Prefactor  = 0.861402
 **********
 **   18 **HESSE 
 **********

 FCN=   8366.911     FROM HESSE     STATUS=OK           327 CALLS     2206 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5492        1.0437        .73953E-04   -1.5459    
   2  Prefactor     .10000E-03    11.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.6587        2.8947        .13342E-03   -1.5325    
   4  Prefactor     5.8070        30.621        .16663E-03   -1.5226    
   5  norm          9.4899        10.435        .13009E-03   -1.5092    
   6  norm          11.935        15.110        .11594E-03   -1.5017    
   7  norm          5.4622        5.0717        .85956E-03   -1.5240    
   8  Prefactor     .10000E-03    3.6492        .17042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.193        12.246        .10276E-03   -1.4928    
  10  norm          6.1507        3.1211        .10917E-03   -1.5212    
  11  Prefactor     2.7147        9.7692        .12360E-02   -1.5378    
  12  norm          2.8937        1.4036        .70713E-04   -1.5368    
  13  norm          4.1859        4.0727        .17570E-03   -1.5299    
  14  Prefactor     6.3399        9.2099        .15938E-03   -1.5204    
  15  Prefactor     5.4200        4.2594        .16118E-03   -1.5242    
  16  norm          .89826        55.283        .60751E-02   -1.5518    
  17  norm          .10000E-03    14.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.3413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.1902        .15945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3462        .23209        .36639E-03   -.82197    
  21  Prefactor     .86140        .93222E-01    .17625E-03   -.97503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28496e-08
Minuit parameter uncertainties:
  1  1.04367
  2  1.19662e-05
  3  2.89485
  4  26.6908
  5  10.4373
  6  15.1151
  7  5.07209
  8  2.00256e-06
  9  12.2478
  10  3.12119
  11  9.77495
  12  1.40359
  13  4.07299
  14  9.21197
  15  4.2596
  16  14.1066
  17  0.000130777
  18  9.5016e-06
  19  5.49129e-06
  20  0.232274
  21  0.0932389
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  2.894e+00  1.404e+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.614e-01  9.324e-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.346e+00  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.15
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.08e-07 +/- 5.23e-08
Energy Flux (Fixed Index): 4.77e-05 +/- 2.32e-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) = 8366.13167046
delta logL = 0.779250896845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8366.07051474
delta logL = 0.840406619605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3113       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6016       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85884       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=   8366.071     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      211 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3113        1.2149        .67467E-02    .26562E-02
   2  alpha         1.6015        .29448        .26959       -.46102E-04
   3  Normalizat    1.3776        .20072        .82047E-01   -.19781E-03
   4  Prefactor     .85885        .79513E-01    .44478E-01   -.53371E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.31126
  alpha      = 1.60155
  Normalizat = 1.37757
  Prefactor  = 0.858847
 **********
 **   18 **HESSE 
 **********

 FCN=   8366.071     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3113        1.5274        .69863E-04   -1.5404    
   2  alpha         1.6015        .39611        .11122E-01   -.36761    
   3  Normalizat    1.3776        .21887        .36319E-03   -.81280    
   4  Prefactor     .85885        .86754E-01    .17660E-03   -.97594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.69928e-10
Minuit parameter uncertainties:
  1  1.52745
  2  0.398036
  3  0.219017
  4  0.0867681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219769': 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) = 8366.07051471
delta logL = 0.840406652822

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  2.311e+00  1.527e+00  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  1.602e+00  3.980e-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.588e-01  8.677e-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.378e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.86
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 1.60 +/- 0.40
Photon Flux (Free Index): 6.08e-08 +/- 4.68e-08
Energy Flux (Free Index): 7.23e-05 +/- 4.69e-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/219769/cmap_HighResolution_392256001_392515201_4FGL_J0808.2-0751_daily_bin590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='7.23e-05', photon_flux_error='5.23e-08', dlogl='8.40e-01', energy_flux='4.77e-05', photon_flux2='6.08e-08', job_status='DONE', time_completed='2021-08-29 07:20:58.159226', photon_index_error2='0.40', photon_index2='1.60', ts='10.15', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='4.69e-05', EG='1.35', time_epoch_completed='1630246858.16', return_code='0', job_id='219769', GAL2='0.86', EG2='1.38', return_code2='0', energy_flux_error='2.32e-05', photon_flux_error2='4.68e-08', ts2='11.86', photon_index='2.11' WHERE bin_id='590' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:20:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 219769: <4FGL_J0808.2-0751_daily_bin590> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin590> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 07:10:19 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:10:21 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:10:21 2021
Terminated at Sun Aug 29 07:20:58 2021
Results reported at Sun Aug 29 07:20:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin590 122.065 -7.8556 392256001 392515201 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 :                                   624.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            639 sec.

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

