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


Performing analysis on: 4FGL_J1506.6+0813_daily_bin556
RA = 226.674, Dec = 8.2256
tmin = 383443201, tmax = 383702401
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='57118', job_status='RUN', time_executed='2021-09-11 00:28:55.294985', time_epoch_executed='1631345335.3' WHERE source_name='4FGL J1506.6+0813' and cadence='daily' and bin_id='556'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57118

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57118/ft1_4FGL_J1506.6+0813_daily_bin556.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57118/ft2_4FGL_J1506.6+0813_daily_bin556.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57118/ft1_4FGL_J1506.6+0813_daily_bin556.fits outfile=/scratch/kocevski/57118/ft1_filteredMKT_4FGL_J1506.6+0813_daily_bin556.fits ra=226.674 dec=8.2256 rad=12.0 tmin=383443201.0 tmax=383702401.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.38
user 3.18
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57118/ft1_filtered_4FGL_J1506.6+0813_daily_bin556.fits evtable="EVENTS" scfile=/scratch/kocevski/57118/ft2_4FGL_J1506.6+0813_daily_bin556.fits sctable="SC_DATA" expcube=/scratch/kocevski/57118/ltcube_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.fits outfile=/scratch/kocevski/57118/expmap_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.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/57118/ltcube_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.fits
.....................!
real 189.46
user 184.75
sys 4.33

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/57118/ft1_filtered_4FGL_J1506.6+0813_daily_bin556.fits scfile=/scratch/kocevski/57118/ft2_4FGL_J1506.6+0813_daily_bin556.fits outfile=/scratch/kocevski/57118/cmap_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/57118/ft1_filtered_4FGL_J1506.6+0813_daily_bin556.fits scfile=/scratch/kocevski/57118/ft2_4FGL_J1506.6+0813_daily_bin556.fits outfile=/scratch/kocevski/57118/cmap_HighResolution_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.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.57
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/57118/ft1_filtered_4FGL_J1506.6+0813_daily_bin556.fits', '/scratch/kocevski/57118/ft2_4FGL_J1506.6+0813_daily_bin556.fits', expMap='/scratch/kocevski/57118/expmap_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.fits', expCube='/scratch/kocevski/57118/ltcube_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/57118/Model_4FGL_J1506.6+0813_daily_bin556.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/57118/ft1_filtered_4FGL_J1506.6+0813_daily_bin556.fits
Spacecraft file(s): /scratch/kocevski/57118/ft2_4FGL_J1506.6+0813_daily_bin556.fits
Exposure map: /scratch/kocevski/57118/expmap_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.fits
Exposure cube: /scratch/kocevski/57118/ltcube_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/57118/Model_4FGL_J1506.6+0813_daily_bin556.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) = 8416.23141393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0957       1.0000         .10000E-03   10000.    
     2 'norm      '    43.880       1.0000         .10000E-03   10000.    
     3 'Prefactor '    76.225       1.0000         .10000E-03   10000.    
     4 'Prefactor '    63.144       1.0000         .10000E-03   10000.    
     5 'norm      '    12.753       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .53401       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.6643       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5440       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.180       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3613       1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.237       1.0000         .10000E-03   10000.    
    21 'norm      '    3.5350       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.8013       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83969       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1159       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=   8416.197     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2715 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0743        64.335       -.55985E-04   -.41133E-04
   2  norm          43.898        33.231        .16478E-04    .12919E-03
   3  Prefactor     76.228        54.235        .23706E-05    .20921E-04
   4  Prefactor     63.116        55.934       -.28598E-04    .64682E-04
   5  norm          12.765        27.554        .25545E-04    .65539E-04
   6  Prefactor     .10000E-03    11.663       -.41032E-05** at limit **
   7  Prefactor     .10000E-03    15.552       -.16824E-04** at limit **
   8  Prefactor     .10000E-03    4.6650        .49662E-07** at limit **
   9  Prefactor     .10000E-03    14.300        .17269E-04** at limit **
  10  Prefactor     .10000E-03    64.457       -.18454E-04** at limit **
  11  norm          .53401        .17698       -.11706E-07    .91959E-03
  12  norm          .10000E-03    .75029       -.73548E-07** at limit **
  13  norm          4.6641        4.4984       -.12158E-05    .17525E-03
  14  norm          .10000E-03    14.959        .17238E-05** at limit **
  15  norm          3.5437        3.0331       -.13459E-06   -.23518E-03
  16  Prefactor     .10000E-03    52.508        .18448E-04** at limit **
  17  Prefactor     14.180        17.056       -.11949E-06    .10169E-04
  18  Prefactor     .10000E-03    8.9032        .24114E-06** at limit **
  19  Prefactor     1.3605        3.6072       -.15656E-05   -.14257E-02
  20  Prefactor     36.234        26.365       -.15942E-05    .57823E-05
  21  norm          3.5352        2.5704        .53498E-06    .28368E-02
  22  Prefactor     7.7972        61.741       -.10545E-04   -.69977E-05
  23  Normalizat    .83969        .20072        .34057E-05    .56928E-04
  24  Prefactor     1.1160        .11434       -.81146E-07    .33119E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.07425
  norm       = 43.8984
  Prefactor  = 76.2278
  Prefactor  = 63.116
  norm       = 12.7653
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.534014
  norm       = 0.0001
  norm       = 4.66414
  norm       = 0.0001
  norm       = 3.54373
  Prefactor  = 0.0001
  Prefactor  = 14.1803
  Prefactor  = 0.0001
  Prefactor  = 1.36053
  Prefactor  = 36.234
  norm       = 3.53521
  Prefactor  = 7.79717
  Normalizat = 0.83969
  Prefactor  = 1.11598
 **********
 **   18 **HESSE 
 **********

 FCN=   8416.197     FROM HESSE     STATUS=OK           395 CALLS     3110 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0743        64.491        .19921E-03   -1.5304    
   2  norm          43.898        33.154        .60522E-04   -1.4382    
   3  Prefactor     76.228        54.257        .45992E-04   -1.3960    
   4  Prefactor     63.116        55.596        .50499E-04   -1.4117    
   5  norm          12.765        27.418        .11217E-03   -1.4993    
   6  Prefactor     .10000E-03    11.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.6720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    65.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .53401        .17613        .21225E-04   -1.5562    
  12  norm          .10000E-03    .76128        .77517E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6641        4.5012        .18623E-03   -1.5276    
  14  norm          .10000E-03    14.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5437        3.0297        .14328E-03   -1.5331    
  16  Prefactor     .10000E-03    52.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.180        17.055        .10636E-03   -1.4955    
  18  Prefactor     .10000E-03    8.9140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.3605        3.6279        .27137E-03   -1.5475    
  20  Prefactor     36.234        26.376        .66576E-04   -1.4503    
  21  norm          3.5352        2.5828        .61132E-03   -1.5332    
  22  Prefactor     7.7972        61.852        .14356E-03   -1.5149    
  23  Normalizat    .83969        .22979        .36249E-03   -.98613    
  24  Prefactor     1.1160        .13190        .18204E-03   -.88958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8753e-09
Minuit parameter uncertainties:
  1  32.4605
  2  33.168
  3  54.2921
  4  55.642
  5  27.4448
  6  2.28854e-05
  7  6.30641e-05
  8  5.83517e-06
  9  3.94368e-05
  10  1.14475e-05
  11  0.176131
  12  4.66603e-07
  13  4.50154
  14  2.39896e-06
  15  3.02983
  16  0.000166941
  17  17.0606
  18  1.36168e-05
  19  3.62849
  20  26.3849
  21  2.58285
  22  43.9838
  23  0.230056
  24  0.131934
Done.

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

Extracting fit parameters...

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  4.664e+00  4.502e+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

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.116e+00  1.319e-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.397e-01  2.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.38
Ra Dec: 226.674 8.226
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 9.40e-09 +/- 9.08e-09
Energy Flux (Fixed Index): 2.15e-05 +/- 2.08e-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) = 8416.11880542
delta logL = 0.0780758242072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8416.11563554
delta logL = 0.0812457030788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3111       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9143       1.0000          .0000       5.0000    
     3 'Normalizat'    .83700       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1154       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8416.116     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      238 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3109        4.4533        .17114E-03    .57315E-03
   2  alpha         1.9145        .78524        .16534E-01    .39889E-04
   3  Normalizat    .83698        .22424        .36298E-03   -.95965E-04
   4  Prefactor     1.1155        .12889        .18205E-03   -.20923E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.31094
  alpha      = 1.91454
  Normalizat = 0.836983
  Prefactor  = 1.11546
 **********
 **   18 **HESSE 
 **********

 FCN=   8416.116     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3109        4.3599        .68456E-05   -1.5293    
   2  alpha         1.9145        .76938        .66135E-03   -.23638    
   3  Normalizat    .83698        .22434        .14519E-04   -.98711    
   4  Prefactor     1.1155        .12898        .36410E-04   -.88974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90982e-10
Minuit parameter uncertainties:
  1  4.36018
  2  0.782844
  3  0.22459
  4  0.129011
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57118': 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) = 8416.1156355
delta logL = 0.0812457406682

Extracting fit parameters...

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  4.311e+00  4.360e+00  1.000e-04  1.000e+04 ( 1.000e-13)
226        alpha:  1.915e+00  7.828e-01  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.115e+00  1.290e-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.370e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.54
Ra Dec: 226.674 8.226
Photon Index (Free Index): 1.91 +/- 0.78
Photon Flux (Free Index): 1.47e-08 +/- 2.07e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.78e-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/57118/cmap_HighResolution_383443201_383702401_4FGL_J1506.6+0813_daily_bin556.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.40e-09', energy_flux2='1.59e-05', photon_flux_error='9.08e-09', dlogl='8.12e-02', energy_flux='2.15e-05', photon_flux2='1.47e-08', job_status='DONE', time_completed='2021-09-11 00:39:35.332980', photon_index_error2='0.78', photon_index2='1.91', ts='5.38', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='0.84', time_epoch_completed='1631345975.33', return_code='0', job_id='57118', GAL2='1.12', EG2='0.84', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='2.07e-08', ts2='5.54', photon_index='1.60' WHERE bin_id='556' AND source_name='4FGL J1506.6+0813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:39:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 57118: <4FGL_J1506.6+0813_daily_bin556> in cluster <slac> Done

Job <4FGL_J1506.6+0813_daily_bin556> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 00:26:00 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:26:02 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:26:02 2021
Terminated at Sat Sep 11 00:39:36 2021
Results reported at Sat Sep 11 00:39:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1506.6+0813_daily_bin556 226.674 8.2256 383443201 383702401 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 :                                   638.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            816 sec.

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

