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


Performing analysis on: 4FGL_J0808.2-0751_daily_bin1090
RA = 122.065, Dec = -7.8556
tmin = 521856001, tmax = 522115201
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='222693', job_status='RUN', time_executed='2021-08-29 07:24:13.977650', time_epoch_executed='1630247053.98' WHERE source_name='4FGL J0808.2-0751' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222693

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222693/ft1_4FGL_J0808.2-0751_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222693/ft2_4FGL_J0808.2-0751_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222693/ft1_4FGL_J0808.2-0751_daily_bin1090.fits outfile=/scratch/kocevski/222693/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin1090.fits ra=122.065 dec=-7.8556 rad=12.0 tmin=521856001.0 tmax=522115201.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.72
user 3.49
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222693/ft2_4FGL_J0808.2-0751_daily_bin1090.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/222693/ft1_filteredMKT_4FGL_J0808.2-0751_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/222693/ft1_filtered_4FGL_J0808.2-0751_daily_bin1090.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222693/ft1_filtered_4FGL_J0808.2-0751_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/222693/ft2_4FGL_J0808.2-0751_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/222693/ltcube_521856001_522115201_4FGL_J0808.2-0751_daily_bin1090.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/222693/ft2_4FGL_J0808.2-0751_daily_bin1090.fits
.....................!
real 11.79
user 11.46
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222693/ft1_filtered_4FGL_J0808.2-0751_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/222693/ft2_4FGL_J0808.2-0751_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/222693/ltcube_521856001_522115201_4FGL_J0808.2-0751_daily_bin1090.fits outfile=/scratch/kocevski/222693/expmap_521856001_522115201_4FGL_J0808.2-0751_daily_bin1090.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/222693/ltcube_521856001_522115201_4FGL_J0808.2-0751_daily_bin1090.fits
.....................!
real 192.64
user 187.02
sys 5.25

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/222693/ft1_filtered_4FGL_J0808.2-0751_daily_bin1090.fits scfile=/scratch/kocevski/222693/ft2_4FGL_J0808.2-0751_daily_bin1090.fits outfile=/scratch/kocevski/222693/cmap_521856001_522115201_4FGL_J0808.2-0751_daily_bin1090.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=122.065 yref=-7.8556 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222693/ft1_filtered_4FGL_J0808.2-0751_daily_bin1090.fits scfile=/scratch/kocevski/222693/ft2_4FGL_J0808.2-0751_daily_bin1090.fits outfile=/scratch/kocevski/222693/cmap_HighResolution_521856001_522115201_4FGL_J0808.2-0751_daily_bin1090.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222693/ft1_filtered_4FGL_J0808.2-0751_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/222693/ft2_4FGL_J0808.2-0751_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222693/Model_4FGL_J0808.2-0751_daily_bin1090.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/222693/ft1_filtered_4FGL_J0808.2-0751_daily_bin1090.fits....................!
real 95.78
user 94.21
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2244       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.8031       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    26.407       1.0000         .10000E-03   10000.    
     7 'norm      '    .13184E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3555       1.0000         .10000E-03   10000.    
     9 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .39523       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3095       1.0000         .10000E-03   10000.    
    12 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.331       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5841       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8084       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7272       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .90285       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0876       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=   7065.940     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     1881 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2247        1.7259        .19030E-06   -.54521E-04
   2  Prefactor     .10000E-03    7.9726        .88060E-07** at limit **
   3  norm          4.8031        3.4194        .14052E-06   -.15420E-04
   4  Prefactor     .10000E-03    11.349        .11370E-06** at limit **
   5  norm          .10000E-03    9.8101        .73108E-07** at limit **
   6  norm          26.409        14.776        .25320E-06   -.18526E-04
   7  norm          .10000E-03    3.2153        .36366E-06** at limit **
   8  Prefactor     8.3522        10.650       -.86790E-06   -.15685E-03
   9  norm          .10000E-03    7.8415        .95879E-07** at limit **
  10  norm          .39688        3.5885        .33287E-05   -.27651E-04
  11  Prefactor     6.3084        12.281        .90371E-07   -.38493E-04
  12  norm          .10000E-03    .42396       -.23596E-06** at limit **
  13  norm          11.331        5.9387        .54682E-07   -.28945E-04
  14  Prefactor     5.5845        7.5392       -.12982E-07   -.47435E-05
  15  Prefactor     6.8089        8.0316        .25191E-06   -.16645E-04
  16  norm          .10000E-03    10.294        .78452E-08** at limit **
  17  norm          .10000E-03    7.3198        .24754E-06** at limit **
  18  Prefactor     1.6960        88.763       -.20354E-05   -.46473E-04
  19  norm          .10000E-03    3.0511       -.83237E-07** at limit **
  20  Normalizat    .90297        .24211       -.24494E-06   -.99034E-04
  21  Prefactor     1.0875        .99383E-01   -.96824E-06   -.10610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.22469
  Prefactor  = 0.0001
  norm       = 4.80307
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 26.4086
  norm       = 0.0001
  Prefactor  = 8.35225
  norm       = 0.0001
  norm       = 0.396879
  Prefactor  = 6.30837
  norm       = 0.0001
  norm       = 11.3311
  Prefactor  = 5.58448
  Prefactor  = 6.80888
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.69601
  norm       = 0.0001
  Normalizat = 0.902969
  Prefactor  = 1.08751
 **********
 **   18 **HESSE 
 **********

 FCN=   7065.940     FROM HESSE     STATUS=OK           323 CALLS     2204 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2247        1.7314        .91374E-04   -1.5410    
   2  Prefactor     .10000E-03    7.9914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.8031        3.4173        .12602E-03   -1.5270    
   4  Prefactor     .10000E-03    11.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    9.8267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          26.409        14.804        .77956E-04   -1.4680    
   7  norm          .10000E-03    7.6125        .28829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.3522        10.693        .13869E-03   -1.5130    
   9  norm          .10000E-03    7.9152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .39688        3.6911        .29832E-02   -1.5582    
  11  Prefactor     6.3084        12.119        .15980E-03   -1.5206    
  12  norm          .10000E-03    .75201        .10494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.331        5.9450        .11901E-03   -1.5035    
  14  Prefactor     5.5845        7.5202        .17001E-03   -1.5235    
  15  Prefactor     6.8089        7.9995        .15377E-03   -1.5186    
  16  norm          .10000E-03    10.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.3447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.6960        91.497        .31950E-03   -1.5448    
  19  norm          .10000E-03    3.0572        .14338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .90297        .25993        .43160E-03   -.96356    
  21  Prefactor     1.0875        .10689        .16615E-03   -.89867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12809e-07
Minuit parameter uncertainties:
  1  1.73144
  2  5.72928e-06
  3  3.41741
  4  1.89292e-05
  5  3.04676e-07
  6  14.8064
  7  1.54971e-05
  8  10.6954
  9  4.6847e-06
  10  2.42058
  11  12.1233
  12  2.57095e-06
  13  5.94533
  14  7.52149
  15  8.00073
  16  7.03708e-06
  17  2.20646e-05
  18  24.9537
  19  2.66688e-06
  20  0.260294
  21  0.106911
Done.

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

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  1.000e-04  2.571e-06  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  2.112e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  8.329e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.088e+00  1.069e-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:  9.030e-01  2.603e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/222693/likelihoodResults_521856001_522115201_4FGL_J0808.2-0751_daily_bin1090.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) = 7065.94611394
delta logL = -0.0063612699505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7065.93975241
delta logL = 2.65128619503e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1019       1.0000          .0000       5.0000    
     3 'Normalizat'    .90297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0875       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=   7065.940     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      259 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    119.81        .10499E-02** at limit **
   2  alpha         1.9262        3.3660        .50000        .55052E-06
   3  Normalizat    .90297        .10582        .43159E-03    .74828E-03
   4  Prefactor     1.0875        .44666E-01    .16615E-03    .19666E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.92619
  Normalizat = 0.902974
  Prefactor  = 1.08751
 **********
 **   18 **HESSE 
 **********

 FCN=   7065.940     FROM HESSE     STATUS=OK            29 CALLS      288 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .98649        .20998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9262        2.6555        .50000       -.23159    
   3  Normalizat    .90297        .23916        .86318E-04   -.96356    
   4  Prefactor     1.0875        .10098        .33230E-04   -.89867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94033e-09
Minuit parameter uncertainties:
  1  1.37871e-05
  2  67.9789
  3  0.239438
  4  0.101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222693': 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) = 7065.93974998
delta logL = 2.68670828518e-06

Extracting fit parameters...

4FGL J0808.2-0751
   Spectrum: LogParabola
275         norm:  1.000e-04  1.379e-05  1.000e-04  1.000e+04 ( 1.000e-11)
276        alpha:  1.926e+00  6.798e+01  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  8.329e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  6.205e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.088e+00  1.010e-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:  9.030e-01  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/222693/cmap_HighResolution_521856001_522115201_4FGL_J0808.2-0751_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.53e-05', job_status='DONE', photon_flux_upper_limit='7.98e-08', time_completed='2021-08-29 07:34:40.855125', job_id='222693', GAL2='1.09', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630247680.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.69e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1090' AND source_name='4FGL J0808.2-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 07:34:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 222693: <4FGL_J0808.2-0751_daily_bin1090> in cluster <slac> Done

Job <4FGL_J0808.2-0751_daily_bin1090> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Aug 29 07:20:26 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 07:20:28 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:20:28 2021
Terminated at Sun Aug 29 07:34:41 2021
Results reported at Sun Aug 29 07:34:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0808.2-0751_daily_bin1090 122.065 -7.8556 521856001 522115201 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 :                                   622.28 sec.
    Max Memory :                                 1215 MB
    Average Memory :                             246.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            855 sec.

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

