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


Performing analysis on: 4FGL_J1506.6+0813_daily_bin536
RA = 226.674, Dec = 8.2256
tmin = 378259201, tmax = 378518401
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='57097', job_status='RUN', time_executed='2021-09-11 00:28:45.554488', time_epoch_executed='1631345325.55' WHERE source_name='4FGL J1506.6+0813' and cadence='daily' and bin_id='536'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57097

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57097/ft1_4FGL_J1506.6+0813_daily_bin536.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57097/ft2_4FGL_J1506.6+0813_daily_bin536.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57097/ft1_4FGL_J1506.6+0813_daily_bin536.fits outfile=/scratch/kocevski/57097/ft1_filteredMKT_4FGL_J1506.6+0813_daily_bin536.fits ra=226.674 dec=8.2256 rad=12.0 tmin=378259201.0 tmax=378518401.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.49
user 4.25
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57097/ft1_filtered_4FGL_J1506.6+0813_daily_bin536.fits evtable="EVENTS" scfile=/scratch/kocevski/57097/ft2_4FGL_J1506.6+0813_daily_bin536.fits sctable="SC_DATA" expcube=/scratch/kocevski/57097/ltcube_378259201_378518401_4FGL_J1506.6+0813_daily_bin536.fits outfile=/scratch/kocevski/57097/expmap_378259201_378518401_4FGL_J1506.6+0813_daily_bin536.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/57097/ltcube_378259201_378518401_4FGL_J1506.6+0813_daily_bin536.fits
.....................!
real 191.56
user 185.91
sys 5.27

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/57097/ft1_filtered_4FGL_J1506.6+0813_daily_bin536.fits scfile=/scratch/kocevski/57097/ft2_4FGL_J1506.6+0813_daily_bin536.fits outfile=/scratch/kocevski/57097/cmap_378259201_378518401_4FGL_J1506.6+0813_daily_bin536.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.55
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.776       1.0000         .10000E-03   10000.    
     2 'norm      '    3.4221       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.520       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24837E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    24.048       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.606       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7482       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11299E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.552       1.0000         .10000E-03   10000.    
    11 'norm      '    .64419       1.0000         .10000E-03   10000.    
    12 'norm      '    .54402E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    72.968       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.164       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5891       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.1035       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3760       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85542       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=   7226.354     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2751 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     62.790        41.745        .52687E-07    .93004E-05
   2  norm          3.4184        35.415        .88571E-06   -.20243E-05
   3  Prefactor     26.506        48.060       -.64449E-07   -.23014E-04
   4  Prefactor     .10000E-03    192.31        .16519E-04** at limit **
   5  norm          23.975        19.967       -.70854E-06   -.86167E-04
   6  Prefactor     .10000E-03    11.480       -.11375E-06** at limit **
   7  Prefactor     19.609        18.945        .85393E-07   -.20640E-04
   8  Prefactor     3.7602        14.890        .26611E-06    .95308E-05
   9  Prefactor     .10000E-03    28.162       -.15413E-05** at limit **
  10  Prefactor     12.506        44.696        .29888E-06   -.42101E-04
  11  norm          .64428        .19708        .48359E-08    .16173E-04
  12  norm          .27624E-02    .96358       -.30569E-06    .10571E-02
  13  norm          .10000E-03    2.5041        .11561E-07** at limit **
  14  norm          .10000E-03    16.608       -.48428E-07** at limit **
  15  norm          .10000E-03    1.9596        .20520E-07** at limit **
  16  Prefactor     72.970        53.565        .13330E-06   -.47884E-05
  17  Prefactor     .10000E-03    8.7193        .42721E-08** at limit **
  18  Prefactor     25.175        33.894        .27491E-06   -.66560E-05
  19  Prefactor     1.5875        3.1601        .47302E-06    .41112E-04
  20  Prefactor     .10000E-03    9.7274       -.58288E-07** at limit **
  21  norm          1.1016        3.7182        .17035E-05    .45566E-04
  22  Prefactor     .10000E-03    44.956       -.18229E-06** at limit **
  23  Normalizat    1.3753        .22806       -.52815E-06   -.17319E-04
  24  Prefactor     .85583        .11856       -.19067E-06   -.36024E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 62.7897
  norm       = 3.41837
  Prefactor  = 26.506
  Prefactor  = 0.000100002
  norm       = 23.975
  Prefactor  = 0.0001
  Prefactor  = 19.609
  Prefactor  = 3.76017
  Prefactor  = 0.0001
  Prefactor  = 12.5064
  norm       = 0.644284
  norm       = 0.00276244
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 72.9702
  Prefactor  = 0.0001
  Prefactor  = 25.1749
  Prefactor  = 1.58752
  Prefactor  = 0.0001
  norm       = 1.10161
  Prefactor  = 0.0001
  Normalizat = 1.37529
  Prefactor  = 0.855826
 **********
 **   18 **HESSE 
 **********

 FCN=   7226.354     FROM HESSE     STATUS=OK           407 CALLS     3158 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62.790        41.916        .50646E-04   -1.4122    
   2  norm          3.4184        35.256        .21867E-03   -1.5338    
   3  Prefactor     26.506        48.048        .77790E-04   -1.4678    
   4  Prefactor     .10000E-03    197.37        .40049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          23.975        20.103        .81684E-04   -1.4728    
   6  Prefactor     .10000E-03    11.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.609        18.978        .90456E-04   -1.4822    
   8  Prefactor     3.7602        14.839        .20855E-03   -1.5320    
   9  Prefactor     .10000E-03    28.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.506        44.377        .11306E-03   -1.5001    
  11  norm          .64428        .19733        .19950E-04   -1.5547    
  12  norm          .27624E-02    3.0511        .26293E-01   -1.5698    
  13  norm          .10000E-03    2.5092        .13137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    16.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.9948        .11616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     72.970        53.633        .47000E-04   -1.3997    
  17  Prefactor     .10000E-03    8.7214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     25.175        34.209        .79855E-04   -1.4704    
  19  Prefactor     1.5875        3.1285        .20531E-03   -1.5456    
  20  Prefactor     .10000E-03    9.7343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1016        3.6976        .28816E-03   -1.5498    
  22  Prefactor     .10000E-03    45.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3753        .27543        .30032E-03   -.81346    
  24  Prefactor     .85583        .14168        .20388E-03   -.97702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12942e-09
Minuit parameter uncertainties:
  1  41.9354
  2  21.9724
  3  48.1183
  4  0.00110119
  5  20.1086
  6  4.13074e-06
  7  18.984
  8  14.8533
  9  1.03064e-05
  10  44.4942
  11  0.197332
  12  0.180267
  13  7.14143e-07
  14  3.62082e-06
  15  3.12862e-06
  16  53.6684
  17  1.55029e-06
  18  34.2353
  19  3.12884
  20  9.74409e-06
  21  3.69835
  22  0.000103849
  23  0.27573
  24  0.141744
Done.

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

Extracting fit parameters...

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  1.000e-04  7.141e-07  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:  8.558e-01  1.417e-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:  1.375e+00  2.757e-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.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/57097/likelihoodResults_378259201_378518401_4FGL_J1506.6+0813_daily_bin536.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7226.35626215
delta logL = -0.00185806468289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7226.35440409
delta logL = -7.61247065384e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5955       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85583       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=   7226.354     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      234 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    545.59        .13139E-02** at limit **
   2  alpha         1.5522        3.2582        .18086        .87374E-08
   3  Normalizat    1.3753        .15137        .30032E-03    .98801E-05
   4  Prefactor     .85583        .83842E-01    .20388E-03    .14554E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.55222
  Normalizat = 1.37529
  Prefactor  = 0.855826
 **********
 **   18 **HESSE 
 **********

 FCN=   7226.354     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5134        .26278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5522        3.2567        .72344E-02   -.38884    
   3  Normalizat    1.3753        .24927        .12013E-04   -.81346    
   4  Prefactor     .85583        .13811        .81552E-05   -.97702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86451e-13
Minuit parameter uncertainties:
  1  2.4359e-06
  2  181.321
  3  0.249485
  4  0.138161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57097': 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) = 7226.35440406
delta logL = 3.07791196974e-08

Extracting fit parameters...

4FGL J1506.6+0813
   Spectrum: LogParabola
225         norm:  1.000e-04  2.436e-06  1.000e-04  1.000e+04 ( 1.000e-13)
226        alpha:  1.552e+00  1.813e+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:  8.558e-01  1.382e-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:  1.375e+00  2.495e-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/57097/cmap_HighResolution_378259201_378518401_4FGL_J1506.6+0813_daily_bin536.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.03e-05', job_status='DONE', photon_flux_upper_limit='2.63e-08', time_completed='2021-09-11 00:40:01.392922', job_id='57097', GAL2='0.86', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1631346001.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.08e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='536' AND source_name='4FGL J1506.6+0813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:40:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 57097: <4FGL_J1506.6+0813_daily_bin536> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1506.6+0813_daily_bin536 226.674 8.2256 378259201 378518401 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 :                                   674.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            844 sec.

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

