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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin335
RA = 122.065, Dec = -7.8556
tmin = 326160001, tmax = 326419201
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='217286', job_status='RUN', time_executed='2021-08-29 07:01:08.520493', time_epoch_executed='1630245668.52' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='335'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217286

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217286/ft1_4FGL_J0808.2-0751_daily_bin335.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217286/ft2_4FGL_J0808.2-0751_daily_bin335.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217286/ft1_4FGL_J0808.2-0751_daily_bin335.fits outfile=/scratch/kocevski/217286/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin335.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=326160001.0 tmax=326419201.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.76
user 3.27
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217286/ft1_filtered_4FGL_J0808.2-0751_daily_bin335.fits" evtable="EVENTS" scfile=/scratch/kocevski/217286/ft2_4FGL_J0808.2-0751_daily_bin335.fits sctable="SC_DATA" outfile=/scratch/kocevski/217286/ltcube_326160001_326419201_4FGL_J0808.2-0751_daily_bin335.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/217286/ft2_4FGL_J0808.2-0751_daily_bin335.fits
.....................!
real 12.02
user 11.39
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217286/ft1_filtered_4FGL_J0808.2-0751_daily_bin335.fits evtable="EVENTS" scfile=/scratch/kocevski/217286/ft2_4FGL_J0808.2-0751_daily_bin335.fits sctable="SC_DATA" expcube=/scratch/kocevski/217286/ltcube_326160001_326419201_4FGL_J0808.2-0751_daily_bin335.fits outfile=/scratch/kocevski/217286/expmap_326160001_326419201_4FGL_J0808.2-0751_daily_bin335.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/217286/ltcube_326160001_326419201_4FGL_J0808.2-0751_daily_bin335.fits
.....................!
real 191.29
user 185.99
sys 4.93

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/217286/ft1_filtered_4FGL_J0808.2-0751_daily_bin335.fits scfile=/scratch/kocevski/217286/ft2_4FGL_J0808.2-0751_daily_bin335.fits outfile=/scratch/kocevski/217286/cmap_326160001_326419201_4FGL_J0808.2-0751_daily_bin335.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.80
user 0.36
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217286/ft1_filtered_4FGL_J0808.2-0751_daily_bin335.fits scfile=/scratch/kocevski/217286/ft2_4FGL_J0808.2-0751_daily_bin335.fits outfile=/scratch/kocevski/217286/cmap_HighResolution_326160001_326419201_4FGL_J0808.2-0751_daily_bin335.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.79
user 0.38
sys 0.39

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217286/ft1_filtered_4FGL_J0808.2-0751_daily_bin335.fits evtable="EVENTS" scfile=/scratch/kocevski/217286/ft2_4FGL_J0808.2-0751_daily_bin335.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217286/Model_4FGL_J0808.2-0751_daily_bin335.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/217286/ft1_filtered_4FGL_J0808.2-0751_daily_bin335.fits.....................!
real 155.60
user 151.77
sys 3.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5093       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3748       1.0000         .10000E-03   10000.    
     3 'norm      '    1.7910       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.395       1.0000         .10000E-03   10000.    
     5 'norm      '    11.863       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1089       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6304       1.0000         .10000E-03   10000.    
     9 'norm      '    .17815E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6577       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0011       1.0000         .10000E-03   10000.    
    12 'norm      '    4.3784       1.0000         .10000E-03   10000.    
    13 'norm      '    5.1779       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.828       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6777       1.0000         .10000E-03   10000.    
    16 'norm      '    10.656       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.5417       1.0000         .10000E-03   10000.    
    19 'norm      '    1.1289       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0305       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96165       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=   12334.41     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     1886 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5089        1.4158       -.56255E-07   -.11641E-03
   2  Prefactor     1.3718        15.730       -.56871E-06   -.43303E-03
   3  norm          1.7908        1.9830       -.11626E-06   -.55794E-04
   4  Prefactor     17.395        16.308        .88482E-07    .14442E-04
   5  norm          11.863        10.602       -.27502E-06    .83900E-06
   6  norm          .10000E-03    3.0375       -.31391E-07** at limit **
   7  norm          2.1084        2.3158       -.52228E-07   -.57218E-04
   8  Prefactor     1.6239        6.3646       -.27231E-05   -.26235E-04
   9  norm          .10000E-03    4.2672       -.35320E-06** at limit **
  10  norm          1.6587        2.0353        .18609E-07    .69389E-04
  11  Prefactor     6.0014        7.7046       -.95326E-06    .83499E-05
  12  norm          4.3784        1.2681       -.70400E-07    .29452E-03
  13  norm          5.1777        3.1496       -.12790E-06   -.38340E-04
  14  Prefactor     13.828        8.9427        .66571E-07    .54495E-04
  15  Prefactor     3.6773        3.0196        .32519E-06    .34224E-04
  16  norm          10.655        13.755       -.41382E-06    .85504E-05
  17  norm          .10000E-03    2.5983        .88487E-07** at limit **
  18  Prefactor     5.5261        19.697       -.37105E-04    .65720E-05
  19  norm          1.1293        2.1880        .39436E-06   -.16089E-02
  20  Normalizat    1.0304        .16844        .52111E-05   -.47990E-06
  21  Prefactor     .96170        .68428E-01   -.51247E-06    .54482E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.50893
  Prefactor  = 1.37175
  norm       = 1.79079
  Prefactor  = 17.3951
  norm       = 11.8629
  norm       = 0.0001
  norm       = 2.10844
  Prefactor  = 1.62389
  norm       = 0.0001
  norm       = 1.65871
  Prefactor  = 6.00139
  norm       = 4.37842
  norm       = 5.17774
  Prefactor  = 13.8285
  Prefactor  = 3.67733
  norm       = 10.6555
  norm       = 0.0001
  Prefactor  = 5.52606
  norm       = 1.12932
  Normalizat = 1.03038
  Prefactor  = 0.9617
 **********
 **   18 **HESSE 
 **********

 FCN=   12334.41     FROM HESSE     STATUS=OK           331 CALLS     2217 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5089        1.4286        .62917E-04   -1.5239    
   2  Prefactor     1.3718        19.029        .18579E-02   -1.5474    
   3  norm          1.7908        1.9693        .15896E-03   -1.5440    
   4  Prefactor     17.395        16.309        .96031E-04   -1.4874    
   5  norm          11.863        10.605        .11631E-03   -1.5019    
   6  norm          .10000E-03    3.0577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1084        2.3057        .17070E-03   -1.5418    
   8  Prefactor     1.6239        6.2610        .33118E-03   -1.5453    
   9  norm          .10000E-03    23.875        .43388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6587        2.0040        .16470E-03   -1.5450    
  11  Prefactor     6.0014        7.6705        .16391E-03   -1.5218    
  12  norm          4.3784        1.2633        .62399E-04   -1.5289    
  13  norm          5.1777        3.1487        .74453E-03   -1.5253    
  14  Prefactor     13.828        8.9203        .10771E-03   -1.4964    
  15  Prefactor     3.6773        3.0132        .16812E-03   -1.5324    
  16  norm          10.655        13.746        .12274E-03   -1.5055    
  17  norm          .10000E-03    2.6006        .17483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.5261        19.709        .17067E-03   -1.5238    
  19  norm          1.1293        6.2424        .22003E-02   -1.5495    
  20  Normalizat    1.0304        .18154        .38218E-03   -.92019    
  21  Prefactor     .96170        .75218E-01    .16683E-03   -.94017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.81334e-09
Minuit parameter uncertainties:
  1  1.42866
  2  10.2218
  3  1.96942
  4  16.3133
  5  10.607
  6  7.40519e-06
  7  2.30584
  8  6.2635
  9  0.000197602
  10  2.00412
  11  7.67174
  12  1.26327
  13  3.14884
  14  8.92115
  15  3.01335
  16  13.7504
  17  3.33654e-06
  18  19.7324
  19  5.31086
  20  0.181652
  21  0.0752262
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  4.378e+00  1.263e+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:  9.617e-01  7.523e-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.030e+00  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.62
Ra Dec: 122.065 -7.856
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.63e-07 +/- 4.70e-08
Energy Flux (Fixed Index): 7.22e-05 +/- 2.08e-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) = 12330.698722
delta logL = 3.71473791616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12330.6789752
delta logL = 3.73448469644

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9699       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0169       1.0000          .0000       5.0000    
     3 'Normalizat'    .88989       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99044       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=   12330.68     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      219 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9698        8.2128        .58903E-02    .40581E-02
   2  alpha         3.0169        1.9808        .18728        .24690E-03
   3  Normalizat    .88989        .11077        .91509E-01    .17032E-03
   4  Prefactor     .99044        .36916E-01    .46148E-01    .21074E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.96983
  alpha      = 3.01691
  Normalizat = 0.889886
  Prefactor  = 0.99044
 **********
 **   18 **HESSE 
 **********

 FCN=   12330.68     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9698        1.3047        .40542E-04   -1.5363    
   2  alpha         3.0169        .38861        .79602E-02    .20827    
   3  Normalizat    .88989        .17564        .40535E-03   -.96816    
   4  Prefactor     .99044        .72008E-01    .16440E-03   -.93049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86419e-10
Minuit parameter uncertainties:
  1  1.30476
  2  0.390259
  3  0.175753
  4  0.0720154
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217286': 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) = 12330.6789752
delta logL = 3.73448469994

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  2.970e+00  1.305e+00  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  3.017e+00  3.903e-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.904e-01  7.202e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  8.899e-01  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 39.30
Ra Dec: 122.065 -7.856
Photon Index (Free Index): 3.02 +/- 0.39
Photon Flux (Free Index): 3.08e-07 +/- 8.03e-08
Energy Flux (Free Index): 6.32e-05 +/- 1.47e-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/217286/cmap_HighResolution_326160001_326419201_4FGL_J0808.2-0751_daily_bin335.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.63e-07', energy_flux2='6.32e-05', photon_flux_error='4.70e-08', dlogl='3.73e+00', energy_flux='7.22e-05', photon_flux2='3.08e-07', job_status='DONE', time_completed='2021-08-29 07:14:14.405886', photon_index_error2='0.39', photon_index2='3.02', ts='30.62', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.47e-05', EG='1.03', time_epoch_completed='1630246454.41', return_code='0', job_id='217286', GAL2='0.99', EG2='0.89', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='8.03e-08', ts2='39.30', photon_index='2.11' WHERE bin_id='335' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:14:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 217286: <4FGL_J0808.2-0751_daily_bin335> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin335> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 07:00:50 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:00:51 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:00:51 2021
Terminated at Sun Aug 29 07:14:15 2021
Results reported at Sun Aug 29 07:14:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin335 122.065 -7.8556 326160001 326419201 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 :                                   787.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             405.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

