/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 7 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7262
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0803.5+2046_daily_bin479
RA = 120.888, Dec = 20.7678
tmin = 363484801, tmax = 363744001
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='70713', job_status='RUN', time_executed='2021-08-28 22:51:18.629546', time_epoch_executed='1630216278.63' WHERE source_name='4FGL J0803.5+2046' and cadence='daily' and bin_id='479'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70713

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/70713/ft1_4FGL_J0803.5+2046_daily_bin479.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/70713/ft2_4FGL_J0803.5+2046_daily_bin479.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70713/ft1_4FGL_J0803.5+2046_daily_bin479.fits outfile=/scratch/kocevski/70713/ft1_filteredMKT_4FGL_J0803.5+2046_daily_bin479.fits ra=120.888 dec=20.7678 rad=12.0 tmin=363484801.0 tmax=363744001.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.70
user 3.53
sys 0.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70713/ft1_filtered_4FGL_J0803.5+2046_daily_bin479.fits" evtable="EVENTS" scfile=/scratch/kocevski/70713/ft2_4FGL_J0803.5+2046_daily_bin479.fits sctable="SC_DATA" outfile=/scratch/kocevski/70713/ltcube_363484801_363744001_4FGL_J0803.5+2046_daily_bin479.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/70713/ft2_4FGL_J0803.5+2046_daily_bin479.fits
.....................!
real 12.45
user 11.24
sys 1.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70713/ft1_filtered_4FGL_J0803.5+2046_daily_bin479.fits evtable="EVENTS" scfile=/scratch/kocevski/70713/ft2_4FGL_J0803.5+2046_daily_bin479.fits sctable="SC_DATA" expcube=/scratch/kocevski/70713/ltcube_363484801_363744001_4FGL_J0803.5+2046_daily_bin479.fits outfile=/scratch/kocevski/70713/expmap_363484801_363744001_4FGL_J0803.5+2046_daily_bin479.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/70713/ltcube_363484801_363744001_4FGL_J0803.5+2046_daily_bin479.fits
.....................!
real 192.57
user 185.30
sys 6.87

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/70713/ft1_filtered_4FGL_J0803.5+2046_daily_bin479.fits scfile=/scratch/kocevski/70713/ft2_4FGL_J0803.5+2046_daily_bin479.fits outfile=/scratch/kocevski/70713/cmap_363484801_363744001_4FGL_J0803.5+2046_daily_bin479.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 1.24
user 0.36
sys 0.85

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70713/ft1_filtered_4FGL_J0803.5+2046_daily_bin479.fits scfile=/scratch/kocevski/70713/ft2_4FGL_J0803.5+2046_daily_bin479.fits outfile=/scratch/kocevski/70713/cmap_HighResolution_363484801_363744001_4FGL_J0803.5+2046_daily_bin479.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 1.34
user 0.37
sys 0.95

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8859       1.0000         .10000E-03   10000.    
     2 'norm      '    6.6769       1.0000         .10000E-03   10000.    
     3 'norm      '    7.6098       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2182       1.0000         .10000E-03   10000.    
     5 'norm      '    .44649E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.497       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.633       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    17.593       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.115       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    117.35       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.915       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.5780       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3793       1.0000         .10000E-03   10000.    
    20 'norm      '    1.3555       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.0477       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0317       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2994       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=   7968.243     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2911 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8895        18.930        .80550E-06    .17982E-03
   2  norm          6.6772        2.0615       -.14277E-08    .14412E-03
   3  norm          7.6102        3.2950       -.26830E-07    .32767E-03
   4  Prefactor     8.2153        18.142        .20136E-06    .17200E-03
   5  norm          .10000E-03    3.3665       -.28963E-05** at limit **
   6  Prefactor     31.419        39.820        .16961E-05    .55789E-05
   7  Prefactor     12.591        19.913        .27834E-05    .58447E-03
   8  Prefactor     .10000E-03    17.444       -.19237E-06** at limit **
   9  Prefactor     .10000E-03    1.0423        .19301E-07** at limit **
  10  Prefactor     .10000E-03    14.145       -.24082E-06** at limit **
  11  norm          17.593        16.822        .66268E-07    .13695E-03
  12  Prefactor     20.116        13.104        .11254E-06    .35560E-03
  13  Prefactor     .10000E-03    90.024        .35542E-06** at limit **
  14  norm          117.36        96.796        .45621E-06    .10856E-03
  15  Prefactor     .10000E-03    17.980        .50726E-07** at limit **
  16  Prefactor     32.907        42.960        .50121E-06    .14304E-03
  17  Prefactor     .10000E-03    15.156        .70802E-07** at limit **
  18  Prefactor     8.5779        10.913       -.34238E-07    .50913E-04
  19  Prefactor     2.2925        120.20       -.19034E-05    .85491E-04
  20  norm          1.3539        1.4541        .18298E-06    .71755E-03
  21  Prefactor     .10000E-03    4.3124        .39587E-07** at limit **
  22  Prefactor     3.0487        7.8066        .37421E-05   -.48887E-03
  23  Prefactor     .10000E-03    18.802        .12784E-06** at limit **
  24  Normalizat    1.0319        .21549        .15230E-05    .89328E-03
  25  Prefactor     1.2992        .15605       -.65883E-06    .10769E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 4.88951
  norm       = 6.67721
  norm       = 7.6102
  Prefactor  = 8.21532
  norm       = 0.000100002
  Prefactor  = 31.4193
  Prefactor  = 12.5908
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.5935
  Prefactor  = 20.1155
  Prefactor  = 0.000100001
  norm       = 117.357
  Prefactor  = 0.0001
  Prefactor  = 32.9071
  Prefactor  = 0.0001
  Prefactor  = 8.57791
  Prefactor  = 2.29251
  norm       = 1.35394
  Prefactor  = 0.0001
  Prefactor  = 3.04872
  Prefactor  = 0.0001
  Normalizat = 1.03192
  Prefactor  = 1.29916
 **********
 **   18 **HESSE 
 **********

 FCN=   7968.243     FROM HESSE     STATUS=OK           421 CALLS     3332 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8895        18.963        .18197E-03   -1.5266    
   2  norm          6.6772        2.0639        .68156E-04   -1.5191    
   3  norm          7.6102        3.3634        .72180E-04   -1.5156    
   4  Prefactor     8.2153        18.524        .13985E-03   -1.5135    
   5  norm          .10000E-03    7.5358        .27166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.419        40.385        .71395E-04   -1.4586    
   7  Prefactor     12.591        20.327        .11270E-03   -1.4998    
   8  Prefactor     .10000E-03    17.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.0501        .88954E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          17.593        16.825        .95488E-04   -1.4869    
  12  Prefactor     20.116        13.116        .89304E-04   -1.4811    
  13  Prefactor     .10000E-03    90.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          117.36        96.914        .37144E-04   -1.3537    
  15  Prefactor     .10000E-03    17.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.907        42.888        .69844E-04   -1.4560    
  17  Prefactor     .10000E-03    15.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.5779        10.917        .13687E-03   -1.5122    
  19  Prefactor     2.2925        111.32        .26558E-03   -1.5405    
  20  norm          1.3539        1.3710        .92377E-04   -1.5475    
  21  Prefactor     .10000E-03    4.3328        .18098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.0487        8.1855        .11620E-02   -1.5359    
  23  Prefactor     .10000E-03    18.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0319        .25571        .34178E-03   -.91969    
  25  Prefactor     1.2992        .18363        .23312E-03   -.83332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22975e-09
Minuit parameter uncertainties:
  1  18.9863
  2  2.0639
  3  3.36351
  4  18.5368
  5  0.000226242
  6  40.4204
  7  20.3384
  8  0.000139707
  9  2.8482e-07
  10  4.16386e-05
  11  16.83
  12  13.118
  13  0.000547064
  14  97.0448
  15  8.48611e-06
  16  42.9277
  17  4.72018e-05
  18  10.9192
  19  32.0132
  20  1.37099
  21  3.55159e-06
  22  8.18853
  23  9.03926e-05
  24  0.256015
  25  0.183723
Done.

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

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  1.174e+02  9.704e+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:  1.299e+00  1.837e-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.032e+00  2.560e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.94
Ra Dec: 120.888 20.768
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 1.77e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 9.33e-06

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

Saving results to:
/scratch/kocevski/70713/likelihoodResults_363484801_363744001_4FGL_J0803.5+2046_daily_bin479.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) = 7968.01961832
delta logL = 0.222904083982

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7967.87900794
delta logL = 0.363514464429

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    55.344       1.0000         .10000E-03   10000.    
     2 'alpha     '    .30306       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0416       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2997       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=   7967.879     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      232 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          55.253        84.830       -.17517E-05   -.54395E-04
   2  alpha         .30136        2.6902        .58160E-04    .25993E-05
   3  Normalizat    1.0414        .20229       -.12985E-05    .10818E-03
   4  Prefactor     1.2998        .15345        .88026E-06   -.12030E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 55.2532
  alpha      = 0.301359
  Normalizat = 1.04144
  Prefactor  = 1.29982
 **********
 **   18 **HESSE 
 **********

 FCN=   7967.879     FROM HESSE     STATUS=OK            29 CALLS      261 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          55.253        85.852        .26960E-03   -1.4220    
   2  alpha         .30136        2.7033        .70355E-01   -1.0747    
   3  Normalizat    1.0414        .23470        .34046E-03   -.91655    
   4  Prefactor     1.2998        .17833        .23303E-03   -.83313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92569e-10
Minuit parameter uncertainties:
  1  86.0453
  2  1.50846
  3  0.23493
  4  0.178416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70713': 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) = 7967.87900685
delta logL = 0.363515562423

Extracting fit parameters...

4FGL J0803.5+2046
   Spectrum: LogParabola
273         norm:  5.525e+01  8.605e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        alpha:  3.014e-01  1.508e+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.300e+00  1.784e-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.041e+00  2.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.66
Ra Dec: 120.888 20.768
Photon Index (Free Index): 0.30 +/- 1.51
Photon Flux (Free Index): 9.04e-09 +/- 9.44e-09
Energy Flux (Free Index): 1.37e-05 +/- 1.24e-05

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/70713/cmap_HighResolution_363484801_363744001_4FGL_J0803.5+2046_daily_bin479.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='1.37e-05', photon_flux_error='1.77e-08', dlogl='3.64e-01', energy_flux='1.13e-05', photon_flux2='9.04e-09', job_status='DONE', time_completed='2021-08-28 23:04:33.348416', photon_index_error2='1.51', photon_index2='0.30', ts='2.94', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', photon_flux_upper_limit='6.49e-08', energy_flux_error2='1.24e-05', EG='1.03', time_epoch_completed='1630217073.35', return_code='0', job_id='70713', GAL2='1.30', EG2='1.04', return_code2='0', energy_flux_error='9.33e-06', photon_flux_error2='9.44e-09', ts2='3.66', photon_index='2.00' WHERE bin_id='479' AND source_name='4FGL J0803.5+2046' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 23:04:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 70713: <4FGL_J0803.5+2046_daily_bin479> in cluster <slac> Done

Job <4FGL_J0803.5+2046_daily_bin479> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 22:50:48 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 22:50:49 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:50:49 2021
Terminated at Sat Aug 28 23:04:34 2021
Results reported at Sat Aug 28 23:04:34 2021

Your job looked like:

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

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

