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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin1105
RA = 120.888, Dec = 20.7678
tmin = 525744001, tmax = 526003201
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='75079', job_status='RUN', time_executed='2021-08-28 23:09:33.870105', time_epoch_executed='1630217373.87' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='1105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75079

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75079/ft1_4FGL_J0803.5+2046_daily_bin1105.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75079/ft1_4FGL_J0803.5+2046_daily_bin1105.fits outfile=/scratch/kocevski/75079/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1105.fits ra=120.888 dec=20.7678 rad=12.0 tmin=525744001.0 tmax=526003201.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.57
user 4.05
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.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/75079/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin1105.fits evtable="EVENTS" outfile="/scratch/kocevski/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.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.54
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.fits" evtable="EVENTS" scfile=/scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits sctable="SC_DATA" outfile=/scratch/kocevski/75079/ltcube_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.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/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits
.....................!
real 16.58
user 15.27
sys 0.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits sctable="SC_DATA" expcube=/scratch/kocevski/75079/ltcube_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.fits outfile=/scratch/kocevski/75079/expmap_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.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/75079/ltcube_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.fits
.....................!
real 193.72
user 187.17
sys 5.24

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J0803.5+2046 @ 120.888 20.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.fits scfile=/scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits outfile=/scratch/kocevski/75079/cmap_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.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=120.888 yref=20.7678 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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.fits scfile=/scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits outfile=/scratch/kocevski/75079/cmap_HighResolution_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.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=120.888 yref=20.7678 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.67
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75079/Model_4FGL_J0803.5+2046_daily_bin1105.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/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.fits.....................!
real 68.46
user 66.33
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.fits', '/scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits', expMap='/scratch/kocevski/75079/expmap_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.fits', expCube='/scratch/kocevski/75079/ltcube_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75079/Model_4FGL_J0803.5+2046_daily_bin1105.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0803.5+2046'

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  9.736e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/75079/ft1_filtered_4FGL_J0803.5+2046_daily_bin1105.fits
Spacecraft file(s): /scratch/kocevski/75079/ft2_4FGL_J0803.5+2046_daily_bin1105.fits
Exposure map: /scratch/kocevski/75079/expmap_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.fits
Exposure cube: /scratch/kocevski/75079/ltcube_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75079/Model_4FGL_J0803.5+2046_daily_bin1105.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) = 6509.52352189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6217       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3598       1.0000         .10000E-03   10000.    
     3 'norm      '    4.1922       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5168       1.0000         .10000E-03   10000.    
     5 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.417       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .89183       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    60.306       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.873       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .21737E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6399       1.0000         .10000E-03   10000.    
    19 'Prefactor '    61.846       1.0000         .10000E-03   10000.    
    20 'norm      '    .43145E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.8403       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.6679       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0639       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0433       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6509.491     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2911 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6211        9.8912        .76229E-08   -.14346E-04
   2  norm          1.3598        1.0649       -.43911E-08   -.69392E-04
   3  norm          4.1920        2.2694       -.10975E-06   -.18978E-03
   4  Prefactor     4.5189        13.162        .10692E-05   -.75637E-04
   5  norm          .10000E-03    2.8244        .19670E-05** at limit **
   6  Prefactor     37.433        34.542       -.19140E-05   -.33882E-03
   7  Prefactor     .10000E-03    20.298        .47787E-06** at limit **
   8  Prefactor     .10000E-03    9.8681       -.12440E-06** at limit **
   9  Prefactor     .89266        3.1624        .23788E-05    .83801E-04
  10  Prefactor     .10000E-03    30.112        .88714E-06** at limit **
  11  norm          .10000E-03    7.6438        .60368E-08** at limit **
  12  Prefactor     .10000E-03    7.1296        .48711E-07** at limit **
  13  Prefactor     .10000E-03    42.114        .72587E-07** at limit **
  14  norm          60.083        115.87       -.13958E-05   -.50939E-04
  15  Prefactor     14.842        27.879        .59539E-06   -.37956E-04
  16  Prefactor     .10000E-03    56.549       -.89121E-06** at limit **
  17  Prefactor     .10000E-03    9.6033        .54123E-07** at limit **
  18  Prefactor     4.6395        14.586        .74501E-06   -.10006E-04
  19  Prefactor     61.834        22.908        .14196E-06   -.19612E-03
  20  norm          .85308E-02    .45820        .24650E-06   -.10166E-02
  21  Prefactor     4.8394        7.6740        .70230E-06   -.64405E-04
  22  Prefactor     .10000E-03    1.8572        .81669E-07** at limit **
  23  Prefactor     9.6586        33.574        .10315E-05   -.11869E-04
  24  Normalizat    1.0638        .21315       -.49958E-05   -.40460E-03
  25  Prefactor     1.0434        .15450        .21536E-05   -.75483E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.62106
  norm       = 1.35979
  norm       = 4.19198
  Prefactor  = 4.51892
  norm       = 0.000100003
  Prefactor  = 37.4332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.892664
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 60.0827
  Prefactor  = 14.8425
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.63954
  Prefactor  = 61.8336
  norm       = 0.00853078
  Prefactor  = 4.83941
  Prefactor  = 0.0001
  Prefactor  = 9.65863
  Normalizat = 1.06384
  Prefactor  = 1.04337
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.491     FROM HESSE     STATUS=OK           433 CALLS     3344 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6211        9.8990        .12919E-03   -1.5088    
   2  norm          1.3598        1.0566        .71178E-04   -1.5475    
   3  norm          4.1920        2.2770        .67834E-04   -1.5298    
   4  Prefactor     4.5189        13.192        .18943E-03   -1.5283    
   5  norm          .10000E-03    5.5759        .24146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.433        34.984        .65521E-04   -1.4484    
   7  Prefactor     .10000E-03    20.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.8694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .89266        3.1971        .25336E-03   -1.5519    
  10  Prefactor     .10000E-03    30.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    7.6498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.1576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    42.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          60.083        116.10        .25833E-03   -1.4156    
  15  Prefactor     14.842        27.884        .10385E-03   -1.4937    
  16  Prefactor     .10000E-03    56.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.6076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6395        14.584        .18684E-03   -1.5277    
  19  Prefactor     61.834        22.961        .51023E-04   -1.4134    
  20  norm          .85308E-02    .76778        .19087E-01   -1.5690    
  21  Prefactor     4.8394        7.6691        .18285E-03   -1.5268    
  22  Prefactor     .10000E-03    1.8603        .10739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.6586        33.616        .12888E-03   -1.5086    
  24  Normalizat    1.0638        .23415        .27780E-03   -.90921    
  25  Prefactor     1.0434        .17249        .21636E-03   -.91297    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27121e-09
Minuit parameter uncertainties:
  1  9.9007
  2  1.05656
  3  2.2771
  4  13.2003
  5  0.000240823
  6  35.0035
  7  2.94814e-05
  8  1.43618e-06
  9  3.19767
  10  3.10735e-05
  11  5.666e-06
  12  9.11954e-06
  13  2.51111e-05
  14  116.54
  15  27.9087
  16  0.000101043
  17  9.8075e-06
  18  14.5947
  19  22.9644
  20  0.160912
  21  7.67062
  22  3.0651e-06
  23  33.6821
  24  0.234375
  25  0.172582
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  6.008e+01  1.165e+02  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.043e+00  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.064e+00  2.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.31
Ra Dec: 120.888 20.768
Photon Flux Upper Limit: 6.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75079/likelihoodResults_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.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) = 6509.33129982
delta logL = 0.159940493825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6509.32861317
delta logL = 0.162627136382

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    67.218       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7226       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0588       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0414       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   6509.329     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      282 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          67.229        104.31        .48955E-04    .69204E-05
   2  alpha         2.7225        1.2087        .32129E-01    .10871E-03
   3  Normalizat    1.0591        .21691        .27833E-03   -.42317E-04
   4  Prefactor     1.0411        .16916        .21650E-03    .11395E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 67.2287
  alpha      = 2.72246
  Normalizat = 1.05911
  Prefactor  = 1.04114
 **********
 **   18 **HESSE 
 **********

 FCN=   6509.329     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          67.229        101.04        .97909E-05   -1.4066    
   2  alpha         2.7225        1.1739        .64258E-02    .89100E-01
   3  Normalizat    1.0591        .21700        .11133E-04   -.91076    
   4  Prefactor     1.0411        .16921        .86601E-05   -.91370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34018e-11
Minuit parameter uncertainties:
  1  101.3
  2  1.22246
  3  0.217177
  4  0.169299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75079': 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) = 6509.3286117
delta logL = 0.162628613863

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  6.723e+01  1.013e+02  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  2.722e+00  1.222e+00  0.000e+00  5.000e+00 ( 1.000e+00)
275         beta:  7.702e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  6.928e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.041e+00  1.693e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.059e+00  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.31
Ra Dec: 120.888 20.768

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/75079/cmap_HighResolution_525744001_526003201_4FGL_J0803.5+2046_daily_bin1105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-05', job_status='DONE', photon_flux_upper_limit='6.06e-08', time_completed='2021-08-28 23:21:54.617842', job_id='75079', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630218114.62', return_code2='0', ts='0.31', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.63e-01', ts2='0.64', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1105' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 23:21:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 75079: <4FGL_J0803.5+2046_daily_bin1105> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin1105> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 28 23:05:31 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 23:05:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 23:05:33 2021
Terminated at Sat Aug 28 23:21:55 2021
Results reported at Sat Aug 28 23:21:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin1105 120.888 20.7678 525744001 526003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0803.5+2046 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   730.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            984 sec.

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

