/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 159 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 = 7413
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1506.6+0813_daily_bin126
RA = 226.674, Dec = 8.2256
tmin = 271987201, tmax = 272246401
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='54212', job_status='RUN', time_executed='2021-09-11 00:19:08.423308', time_epoch_executed='1631344748.42' WHERE source_name='4FGL J1506.6+0813' and cadence='daily' and bin_id='126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54212

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54212/ft1_4FGL_J1506.6+0813_daily_bin126.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54212/ft2_4FGL_J1506.6+0813_daily_bin126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54212/ft1_4FGL_J1506.6+0813_daily_bin126.fits outfile=/scratch/kocevski/54212/ft1_filteredMKT_4FGL_J1506.6+0813_daily_bin126.fits ra=226.674 dec=8.2256 rad=12.0 tmin=271987201.0 tmax=272246401.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 1.63
user 1.44
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54212/ft1_filtered_4FGL_J1506.6+0813_daily_bin126.fits" evtable="EVENTS" scfile=/scratch/kocevski/54212/ft2_4FGL_J1506.6+0813_daily_bin126.fits sctable="SC_DATA" outfile=/scratch/kocevski/54212/ltcube_271987201_272246401_4FGL_J1506.6+0813_daily_bin126.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/54212/ft2_4FGL_J1506.6+0813_daily_bin126.fits
.....................!
real 12.52
user 12.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54212/ft1_filtered_4FGL_J1506.6+0813_daily_bin126.fits evtable="EVENTS" scfile=/scratch/kocevski/54212/ft2_4FGL_J1506.6+0813_daily_bin126.fits sctable="SC_DATA" expcube=/scratch/kocevski/54212/ltcube_271987201_272246401_4FGL_J1506.6+0813_daily_bin126.fits outfile=/scratch/kocevski/54212/expmap_271987201_272246401_4FGL_J1506.6+0813_daily_bin126.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/54212/ltcube_271987201_272246401_4FGL_J1506.6+0813_daily_bin126.fits
.....................!
real 192.19
user 186.97
sys 4.79

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/54212/ft1_filtered_4FGL_J1506.6+0813_daily_bin126.fits scfile=/scratch/kocevski/54212/ft2_4FGL_J1506.6+0813_daily_bin126.fits outfile=/scratch/kocevski/54212/cmap_271987201_272246401_4FGL_J1506.6+0813_daily_bin126.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54212/ft1_filtered_4FGL_J1506.6+0813_daily_bin126.fits scfile=/scratch/kocevski/54212/ft2_4FGL_J1506.6+0813_daily_bin126.fits outfile=/scratch/kocevski/54212/cmap_HighResolution_271987201_272246401_4FGL_J1506.6+0813_daily_bin126.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6673       1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.4963       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25757       1.0000         .10000E-03   10000.    
     5 'norm      '    16.626       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0950       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2704       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0346       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7902       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    31.324       1.0000         .10000E-03   10000.    
    15 'norm      '    3.0494       1.0000         .10000E-03   10000.    
    16 'Prefactor '    46.826       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    62.006       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    10.792       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81250       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1244       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7838.567     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2737 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6671        18.300       -.75623E-07    .14600E-02
   2  norm          .10000E-03    8.2224       -.21435E-07** at limit **
   3  Prefactor     8.4987        1.4696        .51828E-08   -.41057E-03
   4  Prefactor     .36591E-03    9587.7        .36278E-03** at limit **
   5  norm          16.693        16.248        .10328E-05   -.23729E-03
   6  Prefactor     .10000E-03    16.744        .82405E-06** at limit **
   7  Prefactor     .10000E-03    8.1929       -.48616E-06** at limit **
   8  Prefactor     5.0935        5.6788        .16047E-05   -.65684E-02
   9  Prefactor     .10000E-03    17.403       -.18115E-05** at limit **
  10  Prefactor     9.2162        48.549       -.33932E-05   -.45366E-03
  11  norm          2.0347        .30147        .42589E-08    .10484E-03
  12  norm          1.7900        1.6527        .12618E-07   -.28552E-04
  13  norm          .10000E-03    1.8353        .15603E-06** at limit **
  14  norm          31.332        5.6298       -.90710E-06    .34770E-02
  15  norm          3.0491        3.1013       -.86169E-07   -.39583E-04
  16  Prefactor     46.798        8.5089        .90579E-06   -.37170E-02
  17  Prefactor     .10000E-03    7.1588        .51137E-06** at limit **
  18  Prefactor     62.002        4.7053        .32305E-06   -.39336E-02
  19  Prefactor     .10000E-03    2.8064        .20762E-06** at limit **
  20  Prefactor     .10000E-03    8.6618       -.96601E-06** at limit **
  21  norm          10.791        5.0732       -.35919E-07   -.13371E-03
  22  Prefactor     .10000E-03    24.276        .13416E-05** at limit **
  23  Normalizat    .81243        .25906        .67023E-06   -.78697E-05
  24  Prefactor     1.1245        .14629       -.39339E-07   -.19006E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.66709
  norm       = 0.0001
  Prefactor  = 8.49868
  Prefactor  = 0.000365912
  norm       = 16.6931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.09345
  Prefactor  = 0.0001
  Prefactor  = 9.21624
  norm       = 2.03466
  norm       = 1.79004
  norm       = 0.0001
  norm       = 31.332
  norm       = 3.04913
  Prefactor  = 46.7977
  Prefactor  = 0.0001
  Prefactor  = 62.0021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.7911
  Prefactor  = 0.0001
  Normalizat = 0.812427
  Prefactor  = 1.1245
 **********
 **   18 **HESSE 
 **********

 FCN=   7838.567     FROM HESSE     STATUS=OK           455 CALLS     3192 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6671        20.879        .36206E-02   -1.5154    
   2  norm          .10000E-03    8.2186        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.4987        95.787        .34382E-02   -1.5125    
   4  Prefactor     .36591E-03    36.704        .13535       -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          16.693        20.398        .24556E-02   -1.4891    
   6  Prefactor     .10000E-03    16.583        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.1915        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.0935        10.849        .44531E-02   -1.5257    
   9  Prefactor     .10000E-03    17.332        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.2162        50.351        .32907E-02   -1.5101    
  11  norm          2.0347        .30137        .40207E-02   -1.5423    
  12  norm          1.7900        1.6639        .78155E-02   -1.5440    
  13  norm          .10000E-03    1.8347        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          31.332        37.683        .17898E-02   -1.4588    
  15  norm          3.0491        3.1102        .58084E-02   -1.5359    
  16  Prefactor     46.798        52.269        .14649E-02   -1.4339    
  17  Prefactor     .10000E-03    7.1631        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     62.002        33.590        .12739E-02   -1.4132    
  19  Prefactor     .10000E-03    2.6760        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.6815        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          10.791        5.0697        .30490E-02   -1.5051    
  22  Prefactor     .10000E-03    24.291        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81243        .23438        .86785E-01   -.99609    
  24  Prefactor     1.1245        .12701        .36725E-01   -.88687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81721e-07
Minuit parameter uncertainties:
  1  20.8988
  2  5.19857e-05
  3  57.1792
  4  0.197708
  5  20.4061
  6  6.32282e-05
  7  3.49832e-05
  8  10.853
  9  0.000105312
  10  43.1395
  11  0.301372
  12  1.66398
  13  1.53586e-06
  14  37.7117
  15  3.11034
  16  52.3199
  17  1.0485e-05
  18  33.6001
  19  2.53077e-06
  20  1.58044e-05
  21  5.06988
  22  7.77759e-05
  23  0.234675
  24  0.127044
Done.

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

Extracting fit parameters...

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  1.000e-04  1.536e-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.124e+00  1.270e-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.124e-01  2.347e-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: 2.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/54212/likelihoodResults_271987201_272246401_4FGL_J1506.6+0813_daily_bin126.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) = 7838.56672574
delta logL = -5.84283043281e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7838.56672516
delta logL = -7.18500814401e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5839       1.0000          .0000       5.0000    
     3 'Normalizat'    .81234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1245       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=   7838.567     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      237 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    444.36        .11740E-02** at limit **
   2  alpha         1.4141        3.1858        .18137        .62746E-07
   3  Normalizat    .81243        .19549        .38434E-03   -.10995E-03
   4  Prefactor     1.1245        .11201        .18867E-03   -.20435E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.41409
  Normalizat = 0.812426
  Prefactor  = 1.1245
 **********
 **   18 **HESSE 
 **********

 FCN=   7838.567     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8806        .23480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4141        3.1011        .72547E-02   -.44933    
   3  Normalizat    .81243        .25236        .15374E-04   -.99609    
   4  Prefactor     1.1245        .14466        .37733E-04   -.88687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.35299e-11
Minuit parameter uncertainties:
  1  2.68608e-05
  2  159.096
  3  0.252728
  4  0.144714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54212': 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) = 7838.5667245
delta logL = 6.55048097542e-07

Extracting fit parameters...

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  1.000e-04  2.686e-05  1.000e-04  1.000e+04 ( 1.000e-13)
226        alpha:  1.414e+00  1.591e+02  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.124e+00  1.447e-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.124e-01  2.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 226.674 8.226

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/54212/cmap_HighResolution_271987201_272246401_4FGL_J1506.6+0813_daily_bin126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.95e-05', job_status='DONE', photon_flux_upper_limit='2.16e-08', time_completed='2021-09-11 00:30:56.565036', job_id='54212', GAL2='1.12', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1631345456.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='6.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='126' AND source_name='4FGL J1506.6+0813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:30:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 54212: <4FGL_J1506.6+0813_daily_bin126> in cluster <slac> Done

Job <4FGL_J1506.6+0813_daily_bin126> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 00:16:18 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:16:21 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:16:21 2021
Terminated at Sat Sep 11 00:30:57 2021
Results reported at Sat Sep 11 00:30:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1506.6+0813_daily_bin126 226.674 8.2256 271987201 272246401 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 :                                   707.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            879 sec.

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

