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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin43
RA = 120.888, Dec = 20.7678
tmin = 250473601, tmax = 250732801
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='69085', job_status='RUN', time_executed='2021-08-28 22:48:25.656874', time_epoch_executed='1630216105.66' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='43'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69085

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

Retrieving the FT1 file...

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

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

Retrieving 42 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69085/ft1_4FGL_J0803.5+2046_daily_bin43.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69085/ft2_4FGL_J0803.5+2046_daily_bin43.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69085/ft1_4FGL_J0803.5+2046_daily_bin43.fits outfile=/scratch/kocevski/69085/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin43.fits ra=120.888 dec=20.7678 rad=12.0 tmin=250473601.0 tmax=250732801.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 1.55
user 1.14
sys 0.36

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69085/ft1_filtered_4FGL_J0803.5+2046_daily_bin43.fits" evtable="EVENTS" scfile=/scratch/kocevski/69085/ft2_4FGL_J0803.5+2046_daily_bin43.fits sctable="SC_DATA" outfile=/scratch/kocevski/69085/ltcube_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.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/69085/ft2_4FGL_J0803.5+2046_daily_bin43.fits
.....................!
real 12.07
user 11.49
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69085/ft1_filtered_4FGL_J0803.5+2046_daily_bin43.fits evtable="EVENTS" scfile=/scratch/kocevski/69085/ft2_4FGL_J0803.5+2046_daily_bin43.fits sctable="SC_DATA" expcube=/scratch/kocevski/69085/ltcube_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.fits outfile=/scratch/kocevski/69085/expmap_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.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/69085/ltcube_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.fits
.....................!
real 191.39
user 185.87
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 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/69085/ft1_filtered_4FGL_J0803.5+2046_daily_bin43.fits scfile=/scratch/kocevski/69085/ft2_4FGL_J0803.5+2046_daily_bin43.fits outfile=/scratch/kocevski/69085/cmap_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.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.71
user 0.35
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69085/ft1_filtered_4FGL_J0803.5+2046_daily_bin43.fits scfile=/scratch/kocevski/69085/ft2_4FGL_J0803.5+2046_daily_bin43.fits outfile=/scratch/kocevski/69085/cmap_HighResolution_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.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.71
user 0.39
sys 0.30

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/69085/ft1_filtered_4FGL_J0803.5+2046_daily_bin43.fits', '/scratch/kocevski/69085/ft2_4FGL_J0803.5+2046_daily_bin43.fits', expMap='/scratch/kocevski/69085/expmap_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.fits', expCube='/scratch/kocevski/69085/ltcube_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/69085/Model_4FGL_J0803.5+2046_daily_bin43.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/69085/ft1_filtered_4FGL_J0803.5+2046_daily_bin43.fits
Spacecraft file(s): /scratch/kocevski/69085/ft2_4FGL_J0803.5+2046_daily_bin43.fits
Exposure map: /scratch/kocevski/69085/expmap_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.fits
Exposure cube: /scratch/kocevski/69085/ltcube_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/69085/Model_4FGL_J0803.5+2046_daily_bin43.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) = 5542.99742144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    105.15       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1244       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8250       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.3575       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.032       1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.295       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3777       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    38.004       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.4510       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.4717       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.0223       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10815E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .85655       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89700       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=   5542.997     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     3502 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          105.15        24.001        .38702E-07    .44194E-05
   2  norm          2.1243        1.4486        .44677E-07   -.80623E-04
   3  norm          2.8248        1.4142        .32202E-08    .12867E-04
   4  Prefactor     .10000E-03    3.3556       -.26830E-08** at limit **
   5  norm          3.3573        3.5066        .59794E-07   -.37200E-04
   6  Prefactor     .10000E-03    16.177       -.22413E-05** at limit **
   7  Prefactor     26.032        19.151        .32182E-07    .63024E-05
   8  Prefactor     34.294        36.653       -.18206E-06   -.26799E-04
   9  Prefactor     5.3779        3.3478        .57288E-07    .31941E-04
  10  Prefactor     .10000E-03    10.529       -.57809E-06** at limit **
  11  norm          .10000E-03    10.055        .88928E-06** at limit **
  12  Prefactor     .10000E-03    4.0690        .11351E-07** at limit **
  13  Prefactor     .10004E-03    83.735       -.81957E-05** at limit **
  14  norm          38.007        92.973        .90775E-06    .14497E-04
  15  Prefactor     .10002E-03    75.942        .72918E-05** at limit **
  16  Prefactor     .10000E-03    24.037        .73349E-06** at limit **
  17  Prefactor     .10000E-03    14.189        .11523E-05** at limit **
  18  Prefactor     5.4522        19.316        .40775E-06   -.57067E-05
  19  Prefactor     4.4712        8.7238        .28254E-05   -.38081E-03
  20  norm          .10000E-03    .61033       -.36187E-06** at limit **
  21  Prefactor     8.0228        7.9855        .19361E-05   -.37047E-03
  22  Prefactor     .10001E-03    4.1010       -.12964E-05** at limit **
  23  Prefactor     .10000E-03    13.989        .12879E-05** at limit **
  24  Normalizat    .85651        .19333       -.30654E-06    .19436E-03
  25  Prefactor     .89700        .14629       -.21149E-06    .22096E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 105.15
  norm       = 2.12433
  norm       = 2.82481
  Prefactor  = 0.0001
  norm       = 3.35734
  Prefactor  = 0.000100003
  Prefactor  = 26.0323
  Prefactor  = 34.2937
  Prefactor  = 5.37792
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100036
  norm       = 38.0066
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.45223
  Prefactor  = 4.47122
  norm       = 0.0001
  Prefactor  = 8.02276
  Prefactor  = 0.000100009
  Prefactor  = 0.000100001
  Normalizat = 0.856513
  Prefactor  = 0.897002
 **********
 **   18 **HESSE 
 **********

 FCN=   5542.997     FROM HESSE     STATUS=OK           425 CALLS     3927 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          105.15        23.997        .39215E-04   -1.3654    
   2  norm          2.1243        1.4429        .71017E-04   -1.5416    
   3  norm          2.8248        1.4143        .60670E-04   -1.5372    
   4  Prefactor     .10000E-03    3.3660        .13309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.3573        3.4917        .13291E-03   -1.5341    
   6  Prefactor     .10000E-03    16.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.032        19.113        .78515E-04   -1.4687    
   8  Prefactor     34.294        36.704        .68428E-04   -1.4536    
   9  Prefactor     5.3779        3.3505        .10240E-03   -1.5244    
  10  Prefactor     .10000E-03    10.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    10.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.0775        .14667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10004E-03    89.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          38.007        93.056        .65014E-04   -1.4474    
  15  Prefactor     .10002E-03    79.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.4522        19.303        .17211E-03   -1.5241    
  19  Prefactor     4.4712        8.9236        .95206E-03   -1.5285    
  20  norm          .10000E-03    1.2098        .11181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.0228        8.2371        .70779E-03   -1.5141    
  22  Prefactor     .10001E-03    10.908        .28358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    14.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .85651        .22411        .27324E-03   -.98005    
  25  Prefactor     .89700        .17053        .20860E-03   -.96246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37324e-09
Minuit parameter uncertainties:
  1  23.9994
  2  1.44289
  3  1.41428
  4  1.19306e-08
  5  3.49188
  6  0.000425287
  7  19.1176
  8  36.7277
  9  3.35057
  10  8.8206e-05
  11  0.00012567
  12  9.01761e-07
  13  0.00360572
  14  93.4142
  15  0.0027572
  16  0.000138547
  17  0.000196454
  18  19.3251
  19  8.92625
  20  1.01345e-05
  21  8.23824
  22  0.000627985
  23  0.000223959
  24  0.224352
  25  0.170632
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  3.801e+01  9.341e+01  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:  8.970e-01  1.706e-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:  8.565e-01  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/69085/likelihoodResults_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.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) = 5542.54395581
delta logL = 0.453430187073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5542.54127829
delta logL = 0.456107701836

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.894       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4507       1.0000          .0000       5.0000    
     3 'Normalizat'    .84165       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89745       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=   5542.541     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      273 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.905        73.303        .62684E-04    .29018E-05
   2  alpha         3.4502        1.4835        .28992E-01    .12127E-03
   3  Normalizat    .84211        .21320        .27518E-03   -.78001E-04
   4  Prefactor     .89710        .16659        .20843E-03   -.62181E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 40.9052
  alpha      = 3.45018
  Normalizat = 0.842113
  Prefactor  = 0.897097
 **********
 **   18 **HESSE 
 **********

 FCN=   5542.541     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.905        66.353        .25074E-05   -1.4428    
   2  alpha         3.4502        1.3623        .57985E-02    .38987    
   3  Normalizat    .84211        .21313        .11007E-04   -.98525    
   4  Prefactor     .89710        .16655        .83371E-05   -.96243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27316e-11
Minuit parameter uncertainties:
  1  66.4735
  2  1.45671
  3  0.213345
  4  0.166649
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69085': 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) = 5542.54127578
delta logL = 0.456110221292

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  4.091e+01  6.647e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  3.450e+00  1.457e+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:  8.971e-01  1.666e-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:  8.421e-01  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.12
Ra Dec: 120.888 20.768
Photon Index (Free Index): 3.45 +/- 1.46
Photon Flux (Free Index): 2.67e-08 +/- 3.23e-08
Energy Flux (Free Index): 6.99e-06 +/- 7.76e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/69085/cmap_HighResolution_250473601_250732801_4FGL_J0803.5+2046_daily_bin43.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-05', comment='SUCCESS', energy_flux2='6.99e-06', dlogl='4.56e-01', photon_flux2='2.67e-08', job_status='DONE', time_completed='2021-08-28 22:59:41.175273', photon_index_error2='1.46', photon_index2='3.45', ts='0.20', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='5.15e-08', energy_flux_error2='7.76e-06', EG='0.86', time_epoch_completed='1630216781.18', return_code='0', job_id='69085', GAL2='0.90', EG2='0.84', return_code2='0', photon_flux_error2='3.23e-08', ts2='1.12', photon_index='2.00' WHERE bin_id='43' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 22:59:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 69085: <4FGL_J0803.5+2046_daily_bin43> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin43> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Aug 28 22:45:55 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 22:45:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 22:45:57 2021
Terminated at Sat Aug 28 22:59:42 2021
Results reported at Sat Aug 28 22:59:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin43 120.888 20.7678 250473601 250732801 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 :                                   676.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            827 sec.

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

