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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin531
RA = 122.065, Dec = -7.8556
tmin = 376963201, tmax = 377222401
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='218570', job_status='RUN', time_executed='2021-08-29 07:06:01.023342', time_epoch_executed='1630245961.02' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218570/ft1_4FGL_J0808.2-0751_daily_bin531.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218570/ft2_4FGL_J0808.2-0751_daily_bin531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218570/ft1_4FGL_J0808.2-0751_daily_bin531.fits outfile=/scratch/kocevski/218570/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin531.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=376963201.0 tmax=377222401.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 4.93
user 4.36
sys 0.53

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218570/ft1_filtered_4FGL_J0808.2-0751_daily_bin531.fits" evtable="EVENTS" scfile=/scratch/kocevski/218570/ft2_4FGL_J0808.2-0751_daily_bin531.fits sctable="SC_DATA" outfile=/scratch/kocevski/218570/ltcube_376963201_377222401_4FGL_J0808.2-0751_daily_bin531.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/218570/ft2_4FGL_J0808.2-0751_daily_bin531.fits
.....................!
real 12.47
user 11.68
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218570/ft1_filtered_4FGL_J0808.2-0751_daily_bin531.fits evtable="EVENTS" scfile=/scratch/kocevski/218570/ft2_4FGL_J0808.2-0751_daily_bin531.fits sctable="SC_DATA" expcube=/scratch/kocevski/218570/ltcube_376963201_377222401_4FGL_J0808.2-0751_daily_bin531.fits outfile=/scratch/kocevski/218570/expmap_376963201_377222401_4FGL_J0808.2-0751_daily_bin531.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/218570/ltcube_376963201_377222401_4FGL_J0808.2-0751_daily_bin531.fits
.....................!
real 192.31
user 185.79
sys 5.12

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/218570/ft1_filtered_4FGL_J0808.2-0751_daily_bin531.fits scfile=/scratch/kocevski/218570/ft2_4FGL_J0808.2-0751_daily_bin531.fits outfile=/scratch/kocevski/218570/cmap_376963201_377222401_4FGL_J0808.2-0751_daily_bin531.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.88
user 0.38
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218570/ft1_filtered_4FGL_J0808.2-0751_daily_bin531.fits scfile=/scratch/kocevski/218570/ft2_4FGL_J0808.2-0751_daily_bin531.fits outfile=/scratch/kocevski/218570/cmap_HighResolution_376963201_377222401_4FGL_J0808.2-0751_daily_bin531.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.85
user 0.39
sys 0.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218570/ft1_filtered_4FGL_J0808.2-0751_daily_bin531.fits evtable="EVENTS" scfile=/scratch/kocevski/218570/ft2_4FGL_J0808.2-0751_daily_bin531.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218570/Model_4FGL_J0808.2-0751_daily_bin531.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/218570/ft1_filtered_4FGL_J0808.2-0751_daily_bin531.fits.....................!
real 138.05
user 135.55
sys 1.53

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8353       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.183       1.0000         .10000E-03   10000.    
     3 'norm      '    1.6979       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.3876       1.0000         .10000E-03   10000.    
     6 'norm      '    12.026       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6031       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5293       1.0000         .10000E-03   10000.    
     9 'norm      '    11.125       1.0000         .10000E-03   10000.    
    10 'norm      '    2.7548       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5786       1.0000         .10000E-03   10000.    
    12 'norm      '    .37186       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.7631       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4071       1.0000         .10000E-03   10000.    
    16 'norm      '    25.672       1.0000         .10000E-03   10000.    
    17 'norm      '    .35123E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.2701       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .83341       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93215       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=   11149.48     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     1925 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8354        1.0975        .13797E-07   -.64786E-04
   2  Prefactor     18.182        12.193        .53246E-07   -.10079E-03
   3  norm          1.6979        1.5702        .20551E-07   -.32040E-04
   4  Prefactor     .10000E-03    12.424       -.36412E-06** at limit **
   5  norm          4.3878        6.6469        .23883E-06   -.52060E-03
   6  norm          12.026        8.2773        .14812E-06   -.37676E-03
   7  norm          1.6031        1.6034        .41020E-07    .62477E-04
   8  Prefactor     3.5287        3.1776        .38911E-06   -.16909E-02
   9  norm          11.125        8.4198        .26149E-07   -.28378E-03
  10  norm          2.7549        1.5518       -.33740E-07   -.55166E-05
  11  Prefactor     6.5803        7.1275       -.25552E-06   -.19990E-04
  12  norm          .37214        .62070       -.14197E-09   -.36403E-03
  13  norm          .10000E-03    .95362        .11741E-07** at limit **
  14  Prefactor     2.7590        7.8966       -.26669E-05   -.14559E-03
  15  Prefactor     1.4074        2.1096        .43006E-07   -.42567E-04
  16  norm          25.678        19.062        .51640E-05    .15501E-03
  17  norm          .10001E-03    3.6117        .18666E-06** at limit **
  18  Prefactor     .10000E-03    7.1556       -.36893E-06** at limit **
  19  norm          8.2701        6.3216        .10779E-06   -.47170E-05
  20  Normalizat    .83347        .15659       -.57133E-07    .62101E-05
  21  Prefactor     .93213        .67309E-01   -.75546E-07    .54350E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.83544
  Prefactor  = 18.1824
  norm       = 1.69792
  Prefactor  = 0.0001
  norm       = 4.38775
  norm       = 12.0264
  norm       = 1.60314
  Prefactor  = 3.52868
  norm       = 11.1254
  norm       = 2.7549
  Prefactor  = 6.58028
  norm       = 0.372137
  norm       = 0.0001
  Prefactor  = 2.75903
  Prefactor  = 1.40742
  norm       = 25.6782
  norm       = 0.000100007
  Prefactor  = 0.0001
  norm       = 8.27014
  Normalizat = 0.83347
  Prefactor  = 0.932129
 **********
 **   18 **HESSE 
 **********

 FCN=   11149.48     FROM HESSE     STATUS=OK           339 CALLS     2264 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8354        1.1049        .65293E-04   -1.5371    
   2  Prefactor     18.182        12.246        .46963E-03   -1.4855    
   3  norm          1.6979        1.5671        .12362E-03   -1.5447    
   4  Prefactor     .10000E-03    12.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.3878        6.9257        .96138E-03   -1.5289    
   6  norm          12.026        8.4395        .57758E-03   -1.5014    
   7  norm          1.6031        1.6130        .12980E-03   -1.5455    
   8  Prefactor     3.5287        5.7096        .10759E-02   -1.5332    
   9  norm          11.125        8.4298        .60057E-03   -1.5041    
  10  norm          2.7549        1.5506        .95528E-04   -1.5376    
  11  Prefactor     6.5803        7.0632        .15646E-03   -1.5195    
  12  norm          .37214        .51688        .10153E-02   -1.5586    
  13  norm          .10000E-03    .96024        .10068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.7590        7.8447        .24486E-03   -1.5376    
  15  Prefactor     1.4074        2.0763        .18190E-03   -1.5471    
  16  norm          25.678        19.133        .79063E-04   -1.4694    
  17  norm          .10001E-03    3.7350        .76776E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.1671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.2701        6.3246        .13941E-03   -1.5133    
  20  Normalizat    .83347        .17065        .38239E-03   -.98839    
  21  Prefactor     .93213        .74437E-01    .15597E-03   -.95027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.86073e-09
Minuit parameter uncertainties:
  1  1.10486
  2  12.2477
  3  1.56716
  4  3.8039e-06
  5  6.92701
  6  8.44032
  7  1.61303
  8  5.7105
  9  8.43067
  10  1.55061
  11  7.06407
  12  0.51689
  13  4.30243e-08
  14  7.84765
  15  2.07643
  16  19.1378
  17  0.000321184
  18  4.13281e-06
  19  6.32506
  20  0.170759
  21  0.0744453
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  3.721e-01  5.169e-01  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.321e-01  7.445e-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.335e-01  1.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 122.065 -7.856
Photon Flux Upper Limit: 6.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218570/likelihoodResults_376963201_377222401_4FGL_J0808.2-0751_daily_bin531.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) = 11149.4706588
delta logL = 0.00761897184202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11149.470479
delta logL = 0.00779876829802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37601       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9121       1.0000          .0000       5.0000    
     3 'Normalizat'    .83595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93151       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11149.47     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      262 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37590        .51805        .10330E-02    .89963E-02
   2  alpha         1.9107        1.3452        .41396E-01   -.11200E-04
   3  Normalizat    .83597        .16225        .38189E-03    .14289E-05
   4  Prefactor     .93151        .69950E-01    .15602E-03   -.18946E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.375896
  alpha      = 1.91065
  Normalizat = 0.835966
  Prefactor  = 0.931509
 **********
 **   18 **HESSE 
 **********

 FCN=   11149.47     FROM HESSE     STATUS=OK            27 CALLS      289 TOTAL
                     EDM=   .13E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37590        .51987        .20660E-03   -1.5585    
   2  alpha         1.9107        1.3547        .16558E-02   -.23798    
   3  Normalizat    .83597        .16225        .15276E-04   -.98748    
   4  Prefactor     .93151        .69961E-01    .62406E-05   -.95049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27723e-13
Minuit parameter uncertainties:
  1  0.519879
  2  1.43702
  3  0.162347
  4  0.0699679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218570': 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) = 11149.4704784
delta logL = 0.00779931389843

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  3.759e-01  5.199e-01  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  1.911e+00  1.437e+00  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.315e-01  6.997e-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.360e-01  1.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.82
Ra Dec: 122.065 -7.856

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/218570/cmap_HighResolution_376963201_377222401_4FGL_J0808.2-0751_daily_bin531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-05', job_status='DONE', photon_flux_upper_limit='6.56e-08', time_completed='2021-08-29 07:19:54.713214', job_id='218570', GAL2='0.93', fit_tolerance='1e-08', EG2='0.84', EG='0.83', time_epoch_completed='1630246794.71', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='7.80e-03', ts2='0.84', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='531' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:19:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 218570: <4FGL_J0808.2-0751_daily_bin531> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin531> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 29 07:05:36 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:05:38 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:05:38 2021
Terminated at Sun Aug 29 07:19:55 2021
Results reported at Sun Aug 29 07:19:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin531 122.065 -7.8556 376963201 377222401 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 :                                   829.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             344.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

