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


Performing analysis on: 4FGL_J0803.5+2046_daily_bin7
RA = 120.888, Dec = 20.7678
tmin = 241142401, tmax = 241401601
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='69033', job_status='RUN', time_executed='2021-08-28 22:48:51.349712', time_epoch_executed='1630216131.35' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='7'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69033

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69033/ft1_4FGL_J0803.5+2046_daily_bin7.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69033/ft2_4FGL_J0803.5+2046_daily_bin7.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69033/ft1_4FGL_J0803.5+2046_daily_bin7.fits outfile=/scratch/kocevski/69033/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin7.fits ra=120.888 dec=20.7678 rad=12.0 tmin=241142401.0 tmax=241401601.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.12
user 1.28
sys 2.81

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69033/ft1_filtered_4FGL_J0803.5+2046_daily_bin7.fits" evtable="EVENTS" scfile=/scratch/kocevski/69033/ft2_4FGL_J0803.5+2046_daily_bin7.fits sctable="SC_DATA" outfile=/scratch/kocevski/69033/ltcube_241142401_241401601_4FGL_J0803.5+2046_daily_bin7.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/69033/ft2_4FGL_J0803.5+2046_daily_bin7.fits
.....................!
real 16.45
user 12.78
sys 3.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69033/ft1_filtered_4FGL_J0803.5+2046_daily_bin7.fits evtable="EVENTS" scfile=/scratch/kocevski/69033/ft2_4FGL_J0803.5+2046_daily_bin7.fits sctable="SC_DATA" expcube=/scratch/kocevski/69033/ltcube_241142401_241401601_4FGL_J0803.5+2046_daily_bin7.fits outfile=/scratch/kocevski/69033/expmap_241142401_241401601_4FGL_J0803.5+2046_daily_bin7.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/69033/ltcube_241142401_241401601_4FGL_J0803.5+2046_daily_bin7.fits
.....................!
real 194.42
user 185.62
sys 8.27

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/69033/ft1_filtered_4FGL_J0803.5+2046_daily_bin7.fits scfile=/scratch/kocevski/69033/ft2_4FGL_J0803.5+2046_daily_bin7.fits outfile=/scratch/kocevski/69033/cmap_241142401_241401601_4FGL_J0803.5+2046_daily_bin7.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 3.14
user 0.37
sys 2.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69033/ft1_filtered_4FGL_J0803.5+2046_daily_bin7.fits scfile=/scratch/kocevski/69033/ft2_4FGL_J0803.5+2046_daily_bin7.fits outfile=/scratch/kocevski/69033/cmap_HighResolution_241142401_241401601_4FGL_J0803.5+2046_daily_bin7.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 3.53
user 0.37
sys 3.03

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.152       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4895       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4568       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24462E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    6.6436       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.4837       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8208       1.0000         .10000E-03   10000.    
    11 'norm      '    .11154E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .69366E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    89.599       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.164       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.889       1.0000         .10000E-03   10000.    
    20 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.898       1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.2282       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .45561       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2249       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=   5856.841     FROM MIGRAD    STATUS=CONVERGED    592 CALLS     2940 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.154        19.018        .12987E-06    .63004E-04
   2  norm          2.4896        1.2957        .67948E-08    .13386E-03
   3  norm          2.4610        1.5352       -.59035E-07    .98050E-03
   4  Prefactor     .10277E-03    12.267       -.46065E-05** at limit **
   5  norm          6.6425        4.6745        .12074E-06    .18958E-03
   6  Prefactor     .10000E-03    24.859       -.16137E-05** at limit **
   7  Prefactor     .10000E-03    9.0085        .22651E-06** at limit **
   8  Prefactor     .10000E-03    30.820        .45419E-05** at limit **
   9  Prefactor     9.4846        3.8956        .36805E-07   -.18109E-03
  10  Prefactor     3.8209        28.405        .41614E-06    .18766E-04
  11  norm          .10005E-03    12.673       -.13451E-05** at limit **
  12  Prefactor     .10129E-03    18.733        .59539E-05** at limit **
  13  Prefactor     89.586        111.11        .30963E-05    .35601E-04
  14  norm          .10001E-03    110.79       -.90337E-05** at limit **
  15  Prefactor     .10000E-03    9.3179       -.31962E-06** at limit **
  16  Prefactor     .10000E-03    36.144       -.32217E-05** at limit **
  17  Prefactor     12.163        20.929        .21966E-06    .19369E-04
  18  Prefactor     .10000E-03    4.8821       -.99614E-08** at limit **
  19  Prefactor     21.884        20.121        .15113E-06    .35312E-04
  20  norm          .10000E-03    .59135       -.89235E-08** at limit **
  21  Prefactor     15.894        10.741       -.19167E-06    .49227E-04
  22  Prefactor     4.2273        6.0510        .30002E-05    .14978E-02
  23  Prefactor     .10000E-03    11.249        .16653E-06** at limit **
  24  Normalizat    .45563        .20783       -.51526E-06    .98533E-04
  25  Prefactor     1.2249        .15775       -.14234E-06    .17832E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 35.1544
  norm       = 2.48958
  norm       = 2.46104
  Prefactor  = 0.000102772
  norm       = 6.64251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 9.48458
  Prefactor  = 3.82085
  norm       = 0.000100048
  Prefactor  = 0.000101288
  Prefactor  = 89.5862
  norm       = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 12.1634
  Prefactor  = 0.0001
  Prefactor  = 21.8837
  norm       = 0.0001
  Prefactor  = 15.894
  Prefactor  = 4.22734
  Prefactor  = 0.0001
  Normalizat = 0.455627
  Prefactor  = 1.22493
 **********
 **   18 **HESSE 
 **********

 FCN=   5856.841     FROM HESSE     STATUS=OK           439 CALLS     3379 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.154        19.021        .67592E-04   -1.4521    
   2  norm          2.4896        1.2950        .60752E-04   -1.5392    
   3  norm          2.4610        1.5559        .67620E-04   -1.5394    
   4  Prefactor     .10277E-03    8.7681        .53381E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.6425        4.6541        .12769E-03   -1.5192    
   6  Prefactor     .10000E-03    24.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.0301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.4846        3.8492        .90300E-04   -1.5092    
  10  Prefactor     3.8209        28.288        .20648E-03   -1.5317    
  11  norm          .10005E-03    114.86        .49626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10129E-03    123.48        .43842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     89.586        111.10        .42449E-04   -1.3812    
  14  norm          .10001E-03    111.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.3208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    36.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.163        20.922        .11486E-03   -1.5010    
  18  Prefactor     .10000E-03    4.8899        .16515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     21.884        20.048        .85613E-04   -1.4772    
  20  norm          .10000E-03    .61170        .11410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.894        10.709        .10045E-03   -1.4910    
  22  Prefactor     4.2273        6.2559        .97983E-03   -1.5297    
  23  Prefactor     .10000E-03    11.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .45563        .22120        .36850E-03   -1.1452    
  25  Prefactor     1.2249        .17121        .18815E-03   -.85568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35454e-08
Minuit parameter uncertainties:
  1  19.0246
  2  1.29499
  3  1.55596
  4  0.00986062
  5  4.65433
  6  0.000172005
  7  1.57684e-05
  8  0.000556657
  9  3.8493
  10  20.8062
  11  0.00469452
  12  0.0252715
  13  111.358
  14  0.00204944
  15  1.98634e-05
  16  0.000372118
  17  20.935
  18  2.03211e-06
  19  20.0543
  20  1.98027e-07
  21  10.7098
  22  6.25684
  23  1.20335e-05
  24  0.221622
  25  0.171293
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  2.049e-03  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.225e+00  1.713e-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:  4.556e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/69033/likelihoodResults_241142401_241401601_4FGL_J0803.5+2046_daily_bin7.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): 102
logL (Free Index) = 5856.84110627
delta logL = -4.27100576417e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5856.84110627
delta logL = -4.27086142736e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9991       1.0000          .0000       5.0000    
     3 'Normalizat'    .45563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2249       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=   5856.841     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      261 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    18.971        .18142    ** at limit **
   2  alpha         3.0853        3.9904        .16899       -.55165E-08
   3  Normalizat    .45563        .28931E-02    .36850E-03   -.81756E-05
   4  Prefactor     1.2249        .23548E-02    .18815E-03   -.10030E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100016
  alpha      = 3.08532
  Normalizat = 0.455627
  Prefactor  = 1.22493
 **********
 **   18 **HESSE 
 **********

 FCN=   5856.841     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    7514.1        .10203E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.0853        3.3208        .67595E-02    .23632    
   3  Normalizat    .45563        .20609        .14740E-04   -1.1452    
   4  Prefactor     1.2249        .16819        .75261E-05   -.85568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33235e-10
Minuit parameter uncertainties:
  1  0.0197601
  2  5279.5
  3  0.206431
  4  0.168262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69033': 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) = 5856.8410633
delta logL = 2.59763510257e-07

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.000e-04  1.976e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  3.085e+00  5.280e+03  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.225e+00  1.683e-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:  4.556e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 120.888 20.768

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/69033/cmap_HighResolution_241142401_241401601_4FGL_J0803.5+2046_daily_bin7.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='4.37e-08', time_completed='2021-08-28 23:00:25.690064', job_id='69033', GAL2='1.22', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1630216825.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='7' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 23:00:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 69033: <4FGL_J0803.5+2046_daily_bin7> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin7> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Aug 28 22:45:50 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 22:45:53 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:53 2021
Terminated at Sat Aug 28 23:00:26 2021
Results reported at Sat Aug 28 23:00:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0803.5+2046_daily_bin7 120.888 20.7678 241142401 241401601 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 :                                   739.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            876 sec.

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

