/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 93 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 = 7473
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1516.9+1934_daily_bin1626
RA = 229.244, Dec = 19.5805
tmin = 660787201, tmax = 661046401
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='163914', job_status='RUN', time_executed='2021-12-13 00:14:03.583200', time_epoch_executed='1639383243.58' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1626'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163914

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163914/ft1_4FGL_J1516.9+1934_daily_bin1626.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163914/ft1_4FGL_J1516.9+1934_daily_bin1626.fits outfile=/scratch/kocevski/163914/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1626.fits ra=229.244 dec=19.5805 rad=12.0 tmin=660787201.0 tmax=661046401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.62
user 3.37
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.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/163914/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1626.fits evtable="EVENTS" outfile="/scratch/kocevski/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.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.38
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.fits" evtable="EVENTS" scfile=/scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits sctable="SC_DATA" outfile=/scratch/kocevski/163914/ltcube_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.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/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits
.....................!
real 18.68
user 18.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.fits evtable="EVENTS" scfile=/scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits sctable="SC_DATA" expcube=/scratch/kocevski/163914/ltcube_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.fits outfile=/scratch/kocevski/163914/expmap_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.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/163914/ltcube_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.fits
.....................!
real 191.79
user 185.92
sys 5.52

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

Setting source of interest to:
4FGL J1516.9+1934 @ 229.244 19.5805

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.fits scfile=/scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits outfile=/scratch/kocevski/163914/cmap_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.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=229.244 yref=19.5805 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.59
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.fits scfile=/scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits outfile=/scratch/kocevski/163914/cmap_HighResolution_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.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=229.244 yref=19.5805 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.fits evtable="EVENTS" scfile=/scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/163914/Model_4FGL_J1516.9+1934_daily_bin1626.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/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.fits....................!
real 55.70
user 54.24
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.fits', '/scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits', expMap='/scratch/kocevski/163914/expmap_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.fits', expCube='/scratch/kocevski/163914/ltcube_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/163914/Model_4FGL_J1516.9+1934_daily_bin1626.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1516.9+1934'

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  7.750e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/163914/ft1_filtered_4FGL_J1516.9+1934_daily_bin1626.fits
Spacecraft file(s): /scratch/kocevski/163914/ft2_4FGL_J1516.9+1934_daily_bin1626.fits
Exposure map: /scratch/kocevski/163914/expmap_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.fits
Exposure cube: /scratch/kocevski/163914/ltcube_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/163914/Model_4FGL_J1516.9+1934_daily_bin1626.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) = 7154.59586245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5908       1.0000         .10000E-03   10000.    
     2 'norm      '    3.4982       1.0000         .10000E-03   10000.    
     3 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0278       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.273       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .17929       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    36.601       1.0000         .10000E-03   10000.    
    12 'Prefactor '    67.268       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5070       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.158       1.0000         .10000E-03   10000.    
    19 'norm      '    10.970       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.7020       1.0000         .10000E-03   10000.    
    21 'norm      '    7.6249       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1097       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7154.590     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2712 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5910        7.9983        .37374E-05   -.17973E-03
   2  norm          3.4981        2.8489       -.44881E-07   -.66688E-04
   3  norm          .10000E-03    2.7007       -.74932E-07** at limit **
   4  Prefactor     6.0226        22.264       -.31020E-06   -.23038E-05
   5  Prefactor     10.274        13.166       -.34672E-07   -.61574E-04
   6  Prefactor     .10000E-03    15.522       -.11300E-06** at limit **
   7  Prefactor     .10000E-03    9.4430       -.14009E-07** at limit **
   8  Prefactor     .10000E-03    10.228       -.43848E-06** at limit **
   9  norm          .17923        .15978        .25850E-07    .16967E-03
  10  norm          .10000E-03    2.4551       -.63027E-08** at limit **
  11  norm          36.601        39.114       -.29993E-08   -.38012E-05
  12  Prefactor     67.268        40.494        .12025E-06   -.29205E-04
  13  Prefactor     .10000E-03    2.7257       -.34590E-07** at limit **
  14  Prefactor     .10000E-03    14.341        .24058E-06** at limit **
  15  Prefactor     1.5068        5.0308        .14715E-05   -.27484E-04
  16  Prefactor     .10000E-03    11.503        .43514E-07** at limit **
  17  Prefactor     .10000E-03    1.2251       -.46751E-07** at limit **
  18  Prefactor     41.196        34.800        .81025E-06    .27974E-03
  19  norm          10.973        4.0520       -.29760E-07   -.13752E-03
  20  Prefactor     7.5283        48.733        .11928E-05   -.23438E-06
  21  norm          7.6255        8.0736        .93144E-07   -.13938E-04
  22  Prefactor     .10000E-03    3.0832        .22903E-07** at limit **
  23  Normalizat    1.1096        .20671       -.17797E-05    .55641E-04
  24  Prefactor     .92261        .12797        .62854E-06   -.11057E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.591
  norm       = 3.49807
  norm       = 0.0001
  Prefactor  = 6.02258
  Prefactor  = 10.2741
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.179228
  norm       = 0.0001
  norm       = 36.6015
  Prefactor  = 67.2683
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.50676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.1962
  norm       = 10.9727
  Prefactor  = 7.52829
  norm       = 7.62553
  Prefactor  = 0.0001
  Normalizat = 1.10956
  Prefactor  = 0.922607
 **********
 **   18 **HESSE 
 **********

 FCN=   7154.590     FROM HESSE     STATUS=OK           395 CALLS     3107 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5910        8.0014        .84952E-03   -1.5235    
   2  norm          3.4981        2.8418        .12343E-03   -1.5334    
   3  norm          .10000E-03    2.8056        .27139E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.0226        22.247        .16354E-03   -1.5217    
   5  Prefactor     10.274        13.152        .12501E-03   -1.5067    
   6  Prefactor     .10000E-03    15.558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.4439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.604        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .17923        .15162        .30539E-03   -1.5623    
  10  norm          .10000E-03    2.4561        .12943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          36.601        39.121        .66245E-04   -1.4497    
  12  Prefactor     67.268        40.529        .48936E-04   -1.4066    
  13  Prefactor     .10000E-03    2.7353        .13636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5068        4.9920        .33862E-03   -1.5462    
  16  Prefactor     .10000E-03    11.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.2530        .91340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     41.196        34.726        .62483E-04   -1.4423    
  19  norm          10.973        4.0468        .97435E-04   -1.5045    
  20  Prefactor     7.5283        48.355        .14449E-03   -1.5159    
  21  norm          7.6255        8.0679        .14523E-03   -1.5156    
  22  Prefactor     .10000E-03    3.0878        .14505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1096        .24528        .29481E-03   -.89445    
  24  Prefactor     .92261        .15305        .20412E-03   -.95356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7119e-10
Minuit parameter uncertainties:
  1  8.00298
  2  2.84191
  3  4.22629e-06
  4  22.2775
  5  13.1556
  6  8.90498e-06
  7  5.54851e-06
  8  6.35524e-06
  9  0.151619
  10  2.7962e-08
  11  39.1488
  12  40.5456
  13  2.1447e-06
  14  7.98387e-06
  15  4.99342
  16  2.49206e-05
  17  2.46308e-06
  18  34.7428
  19  4.04694
  20  38.204
  21  8.0691
  22  8.42997e-07
  23  0.245534
  24  0.15312
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  6.727e+01  4.055e+01  1.000e-04  1.000e+04 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.226e-01  1.531e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.110e+00  2.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.27
Ra Dec: 229.244 19.581
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 6.79e-08 +/- 4.09e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.09e-05

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) = 7154.40457752
delta logL = 0.1851742811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7154.40400723
delta logL = 0.185744571041

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.358       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2598       1.0000          .0000       10.000    
     3 'Normalizat'    1.1259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91583       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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=   7154.404     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      293 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.321        53.846        .22130E-03    .14436E-04
   2  Index         2.2593        .50577        .75621E-02    .15169E-03
   3  Normalizat    1.1260        .23866        .29294E-03   -.35394E-04
   4  Prefactor     .91577        .15230        .20481E-03    .54233E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.3207
  Index      = 2.25926
  Normalizat = 1.12603
  Prefactor  = 0.915766
 **********
 **   18 **HESSE 
 **********

 FCN=   7154.404     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.321        53.385        .88520E-05   -1.3891    
   2  Index         2.2593        .50131        .15124E-02   -.58015    
   3  Normalizat    1.1260        .23887        .11717E-04   -.88920    
   4  Prefactor     .91577        .15244        .81923E-05   -.95592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96928e-11
Minuit parameter uncertainties:
  1  53.4163
  2  0.502517
  3  0.239102
  4  0.152508
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163914': 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) = 7154.40400605
delta logL = 0.185745744789

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  8.232e+01  5.342e+01  1.000e-04  1.000e+04 ( 1.000e-13)
226        Index:  2.259e+00  5.025e-01  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.158e-01  1.525e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.126e+00  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.63
Ra Dec: 229.244 19.581
Photon Index (Free Index): 2.26 +/- 0.50
Photon Flux (Free Index): 5.55e-08 +/- 4.13e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.71e-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/163914/cmap_HighResolution_660787201_661046401_4FGL_J1516.9+1934_daily_bin1626.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.79e-08', energy_flux2='2.24e-05', photon_flux_error='4.09e-08', dlogl='1.86e-01', energy_flux='1.81e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2021-12-13 00:24:27.675162', photon_index_error2='0.50', photon_index2='2.26', ts='6.27', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='1.11', time_epoch_completed='1639383867.68', return_code='0', job_id='163914', GAL2='0.92', EG2='1.13', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='4.13e-08', ts2='6.63', photon_index='2.58' WHERE bin_id='1626' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 13 00:24:27 PST 2021



------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 163912: <4FGL_J1516.9+1934_daily_bin1626> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1626> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec 13 00:08:03 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 13 00:08:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 13 00:08:05 2021
Terminated at Mon Dec 13 00:22:03 2021
Results reported at Mon Dec 13 00:22:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1516.9+1934_daily_bin1626 229.244 19.5805 660787201 661046401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1516.9+1934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   615.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            840 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 163914: <4FGL_J1516.9+1934_daily_bin1626> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1626> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 13 00:08:04 2021
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 13 00:08:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 13 00:08:05 2021
Terminated at Mon Dec 13 00:24:28 2021
Results reported at Mon Dec 13 00:24:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1516.9+1934_daily_bin1626 229.244 19.5805 660787201 661046401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1516.9+1934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   617.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            984 sec.

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

