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


Performing analysis on: 4FGL_J1506.6+0813_daily_bin519
RA = 226.674, Dec = 8.2256
tmin = 373852801, tmax = 374112001
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='55976', job_status='RUN', time_executed='2021-09-11 00:24:32.976950', time_epoch_executed='1631345072.98' WHERE source_name='4FGL J1506.6+0813' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55976

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55976/ft1_4FGL_J1506.6+0813_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55976/ft1_4FGL_J1506.6+0813_daily_bin519.fits outfile=/scratch/kocevski/55976/ft1_filteredMKT_4FGL_J1506.6+0813_daily_bin519.fits ra=226.674 dec=8.2256 rad=12.0 tmin=373852801.0 tmax=374112001.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.54
user 4.24
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.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/55976/ft1_filteredMKT_4FGL_J1506.6+0813_daily_bin519.fits evtable="EVENTS" outfile="/scratch/kocevski/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/55976/ltcube_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.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/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits
.....................!
real 11.69
user 11.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/55976/ltcube_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.fits outfile=/scratch/kocevski/55976/expmap_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.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/55976/ltcube_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.fits
.....................!
real 191.39
user 186.63
sys 4.41

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

Setting source of interest to:
4FGL J1506.6+0813 @ 226.674 8.2256

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.fits scfile=/scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits outfile=/scratch/kocevski/55976/cmap_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.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=226.674 yref=8.2256 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.57
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.fits scfile=/scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits outfile=/scratch/kocevski/55976/cmap_HighResolution_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.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=226.674 yref=8.2256 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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55976/Model_4FGL_J1506.6+0813_daily_bin519.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/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.fits.....................!
real 51.82
user 50.46
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.fits', '/scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits', expMap='/scratch/kocevski/55976/expmap_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.fits', expCube='/scratch/kocevski/55976/ltcube_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/55976/Model_4FGL_J1506.6+0813_daily_bin519.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1506.6+0813'

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  1.295e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
226        alpha:  1.597e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  1.103e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  2.755e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/55976/ft1_filtered_4FGL_J1506.6+0813_daily_bin519.fits
Spacecraft file(s): /scratch/kocevski/55976/ft2_4FGL_J1506.6+0813_daily_bin519.fits
Exposure map: /scratch/kocevski/55976/expmap_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.fits
Exposure cube: /scratch/kocevski/55976/ltcube_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/55976/Model_4FGL_J1506.6+0813_daily_bin519.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) = 6575.38833119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    21.302       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.012       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.880       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.786       1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.189       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .77218E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .18686E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    18.742       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.993       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13164E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.188       1.0000         .10000E-03   10000.    
    21 'norm      '    4.5610       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98798       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1477       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6575.380     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2742 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.123        .58513E-05** at limit **
   2  norm          .10000E-03    16.037       -.29610E-05** at limit **
   3  Prefactor     .10000E-03    29.915       -.10694E-05** at limit **
   4  Prefactor     .10000E-03    45.204       -.28089E-04** at limit **
   5  norm          21.302        23.297       -.48701E-06    .24957E-03
   6  Prefactor     10.016        20.222       -.40073E-05   -.15749E-04
   7  Prefactor     15.884        19.902       -.13213E-05    .54957E-04
   8  Prefactor     16.790        17.024       -.79099E-06    .82419E-05
   9  Prefactor     60.196        34.849        .42536E-06    .42403E-05
  10  Prefactor     .10000E-03    17.470        .12113E-04** at limit **
  11  norm          .77196E-01    .16901       -.12589E-06   -.34888E-02
  12  norm          .43193E-01    1.0028       -.30534E-06    .25871E-03
  13  norm          .10000E-03    7.9795        .14795E-06** at limit **
  14  norm          18.739        37.687       -.94387E-06   -.24012E-05
  15  norm          .10000E-03    1.5038        .26787E-08** at limit **
  16  Prefactor     .10000E-03    18.998       -.12020E-04** at limit **
  17  Prefactor     57.999        49.762        .24815E-05    .22116E-04
  18  Prefactor     .10000E-03    216.94       -.15301E-04** at limit **
  19  Prefactor     .10000E-03    2.3443        .31790E-07** at limit **
  20  Prefactor     10.190        15.097       -.12363E-06   -.81419E-05
  21  norm          4.5613        3.7740       -.76922E-07   -.12773E-03
  22  Prefactor     .10000E-03    52.494        .27396E-04** at limit **
  23  Normalizat    .98786        .24381        .13715E-05    .17390E-03
  24  Prefactor     1.1476        .13351       -.16497E-06    .35662E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.3022
  Prefactor  = 10.0164
  Prefactor  = 15.8835
  Prefactor  = 16.7897
  Prefactor  = 60.1957
  Prefactor  = 0.0001
  norm       = 0.0771962
  norm       = 0.0431935
  norm       = 0.0001
  norm       = 18.7388
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.9994
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1896
  norm       = 4.56131
  Prefactor  = 0.0001
  Normalizat = 0.987862
  Prefactor  = 1.14761
 **********
 **   18 **HESSE 
 **********

 FCN=   6575.380     FROM HESSE     STATUS=OK           397 CALLS     3139 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    16.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    29.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    45.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          21.302        23.262        .86782E-04   -1.4785    
   6  Prefactor     10.016        20.223        .12664E-03   -1.5075    
   7  Prefactor     15.884        19.822        .10051E-03   -1.4911    
   8  Prefactor     16.790        17.023        .97758E-04   -1.4888    
   9  Prefactor     60.196        34.873        .51716E-04   -1.4155    
  10  Prefactor     .10000E-03    17.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .77196E-01    .17093        .45309E-03   -1.5652    
  12  norm          .43193E-01    22.826        .15515E-02   -1.5666    
  13  norm          .10000E-03    8.1404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.739        37.701        .92515E-04   -1.4842    
  15  norm          .10000E-03    1.5085        .97088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     57.999        49.749        .52681E-04   -1.4183    
  18  Prefactor     .10000E-03    222.29        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.3679        .12121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.190        15.096        .12553E-03   -1.5069    
  21  norm          4.5613        3.7729        .13930E-03   -1.5281    
  22  Prefactor     .10000E-03    52.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98786        .27908        .35119E-03   -.93438    
  24  Prefactor     1.1476        .15544        .18797E-03   -.87959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32251e-09
Minuit parameter uncertainties:
  1  1.14675e-05
  2  1.26412e-06
  3  8.60611e-07
  4  0.000121638
  5  23.272
  6  20.2373
  7  19.83
  8  17.0275
  9  34.885
  10  3.43994e-06
  11  0.170928
  12  1.98433
  13  5.34937e-06
  14  37.7487
  15  9.82882e-07
  16  1.08208e-06
  17  49.7852
  18  0.000273346
  19  4.35814e-06
  20  15.1017
  21  3.77314
  22  4.20378e-05
  23  0.279496
  24  0.155504
Done.

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

Extracting fit parameters...

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  1.000e-04  5.349e-06  1.000e-04  1.000e+04 ( 1.000e-13)
226        alpha:  1.597e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  1.103e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  2.755e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.148e+00  1.555e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  9.879e-01  2.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 226.674 8.226
Photon Flux Upper Limit: 3.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.04e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55976/likelihoodResults_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.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) = 6575.38014743
delta logL = -0.000585255116675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6575.37956152
delta logL = 6.55120857118e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17390E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7014       1.0000          .0000       5.0000    
     3 'Normalizat'    .98779       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1476       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6573.804     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      257 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53319        5.0791        .85059E-02    .83056E-03
   2  alpha         3.5138        1.7504        .19291        .86794E-04
   3  Normalizat    .88623        .62561E-01    .83160E-01    .65068E-05
   4  Prefactor     1.1702        .35123E-01    .36005E-01   -.36106E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.533187
  alpha      = 3.51385
  Normalizat = 0.886226
  Prefactor  = 1.17024
 **********
 **   18 **HESSE 
 **********

 FCN=   6573.804     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      292 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53319        11.465        .38639E-03   -1.5562    
   2  alpha         3.5138        4.1438        .74721E-02    .41757    
   3  Normalizat    .88623        .25457        .36817E-03   -.96946    
   4  Prefactor     1.1702        .13955        .18609E-03   -.87252    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.10665e-07
Minuit parameter uncertainties:
  1  4.94545
  2  3.56399
  3  0.25492
  4  0.139595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55976': 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): 102
logL (Free Index) = 6573.80415697
delta logL = 1.57540521246

Extracting fit parameters...

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  5.332e-01  4.945e+00  1.000e-04  1.000e+04 ( 1.000e-13)
226        alpha:  3.514e+00  3.564e+00  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  1.103e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  2.755e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.170e+00  1.396e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.862e-01  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.26
Ra Dec: 226.674 8.226
Photon Index (Free Index): 3.51 +/- 3.56
Photon Flux (Free Index): 9.64e-08 +/- 9.81e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.64e-05

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/55976/cmap_HighResolution_373852801_374112001_4FGL_J1506.6+0813_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.04e-05', comment='SUCCESS', energy_flux2='1.87e-05', dlogl='1.58e+00', photon_flux2='9.64e-08', job_status='DONE', time_completed='2021-09-11 00:35:07.990954', photon_index_error2='3.56', photon_index2='3.51', ts='-0.00', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', photon_flux_upper_limit='3.95e-08', energy_flux_error2='1.64e-05', EG='0.99', time_epoch_completed='1631345707.99', return_code='0', job_id='55976', GAL2='1.17', EG2='0.89', return_code2='102', photon_flux_error2='9.81e-08', ts2='3.26', photon_index='1.60' WHERE bin_id='519' AND source_name='4FGL J1506.6+0813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:35:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 55976: <4FGL_J1506.6+0813_daily_bin519> in cluster <slac> Done

Job <4FGL_J1506.6+0813_daily_bin519> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 11 00:21:43 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:21:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 00:21:45 2021
Terminated at Sat Sep 11 00:35:08 2021
Results reported at Sat Sep 11 00:35:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1506.6+0813_daily_bin519 226.674 8.2256 373852801 374112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1506.6+0813 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   632.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

