/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 36 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 = 7484
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1415.5+4830_daily_bin807
RA = 213.899, Dec = 48.5142
tmin = 448502401, tmax = 448761601
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='269542', job_status='RUN', time_executed='2021-09-09 05:41:24.268881', time_epoch_executed='1631191284.27' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='807'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269542

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269542/ft1_4FGL_J1415.5+4830_daily_bin807.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269542/ft1_4FGL_J1415.5+4830_daily_bin807.fits outfile=/scratch/kocevski/269542/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin807.fits ra=213.899 dec=48.5142 rad=12.0 tmin=448502401.0 tmax=448761601.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 6.43
user 5.75
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.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/269542/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin807.fits evtable="EVENTS" outfile="/scratch/kocevski/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.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.83
user 0.32
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.fits" evtable="EVENTS" scfile=/scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits sctable="SC_DATA" outfile=/scratch/kocevski/269542/ltcube_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.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/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits
.....................!
real 12.57
user 11.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits sctable="SC_DATA" expcube=/scratch/kocevski/269542/ltcube_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.fits outfile=/scratch/kocevski/269542/expmap_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.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/269542/ltcube_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.fits
.....................!
real 192.12
user 184.56
sys 4.00

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

Setting source of interest to:
4FGL J1415.5+4830 @ 213.899 48.5142

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.fits scfile=/scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits outfile=/scratch/kocevski/269542/cmap_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.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=213.899 yref=48.5142 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.fits scfile=/scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits outfile=/scratch/kocevski/269542/cmap_HighResolution_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.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=213.899 yref=48.5142 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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.fits evtable="EVENTS" scfile=/scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/269542/Model_4FGL_J1415.5+4830_daily_bin807.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/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.fits.....................!
real 32.56
user 31.12
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.fits', '/scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits', expMap='/scratch/kocevski/269542/expmap_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.fits', expCube='/scratch/kocevski/269542/ltcube_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/269542/Model_4FGL_J1415.5+4830_daily_bin807.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1415.5+4830'

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.339e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.944e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/269542/ft1_filtered_4FGL_J1415.5+4830_daily_bin807.fits
Spacecraft file(s): /scratch/kocevski/269542/ft2_4FGL_J1415.5+4830_daily_bin807.fits
Exposure map: /scratch/kocevski/269542/expmap_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.fits
Exposure cube: /scratch/kocevski/269542/ltcube_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/269542/Model_4FGL_J1415.5+4830_daily_bin807.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) = 2923.19030056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61525       1.0000         .10000E-03   10000.    
     2 'Prefactor '    78.598       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.0100       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.930       1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.042       1.0000         .10000E-03   10000.    
     8 'Prefactor '    81.443       1.0000         .10000E-03   10000.    
     9 'norm      '    14.750       1.0000         .10000E-03   10000.    
    10 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.5857       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    100.56       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.6895       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.701       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10565E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .62320       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.9973       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.2141       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.0156       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .15030E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    66.432       1.0000         .10000E-03   10000.    
    28 'Prefactor '    68.800       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    15.444       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    7.7176       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    36 'Normalizat'    .79658       1.0000         .10000E-01   10.000    
    37 'Prefactor '    .74909       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2923.184     FROM MIGRAD    STATUS=CONVERGED   1066 CALLS     5613 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61667        7.1373        .55684E-06    .22531E-04
   2  Prefactor     78.640        58.768       -.13821E-05    .21621E-05
   3  Prefactor     .10000E-03    19.538        .62915E-06** at limit **
   4  Prefactor     .10000E-03    57.404        .28950E-06** at limit **
   5  norm          9.0127        6.6935        .27223E-07   -.10407E-04
   6  Prefactor     25.927        94.858        .33049E-05    .21674E-05
   7  Prefactor     47.133        102.61       -.68086E-05    .71351E-05
   8  Prefactor     81.542        87.252       -.51792E-05    .11708E-04
   9  norm          14.752        3.7356        .61115E-07    .15328E-04
  10  norm          .10000E-03    55.040        .10153E-05** at limit **
  11  norm          2.5872        4.9681        .30159E-06    .33555E-04
  12  norm          .10000E-03    10.150       -.49287E-06** at limit **
  13  Prefactor     .10000E-03    22.560       -.40869E-06** at limit **
  14  Prefactor     .10000E-03    61.481       -.26484E-05** at limit **
  15  Prefactor     100.57        69.850       -.95004E-06    .39515E-05
  16  Prefactor     2.6862        8.9040        .27844E-05    .30663E-04
  17  Prefactor     30.753        38.275       -.41408E-06    .53558E-05
  18  Prefactor     .10000E-03    37.349       -.15074E-06** at limit **
  19  Prefactor     .62006        2.1905       -.19058E-06   -.49050E-04
  20  Prefactor     .10000E-03    11.115        .12331E-06** at limit **
  21  norm          1.9895        73.454       -.40819E-06    .85772E-05
  22  Prefactor     6.2768        53.253        .23220E-05    .14720E-04
  23  Prefactor     .10000E-03    14.664       -.56912E-06** at limit **
  24  Prefactor     .10000E-03    51.219        .20683E-05** at limit **
  25  Prefactor     2.0148        71.949       -.65855E-06    .60666E-06
  26  Prefactor     .10000E-03    362.82       -.33941E-05** at limit **
  27  Prefactor     66.450        59.503       -.82557E-06    .85660E-05
  28  Prefactor     68.800        36.559       -.13653E-06    .55358E-05
  29  Prefactor     .10000E-03    12.053        .31206E-06** at limit **
  30  norm          .10000E-03    1.3825       -.92953E-07** at limit **
  31  Prefactor     15.441        23.801       -.54870E-06    .16961E-04
  32  Prefactor     .10000E-03    3.8814       -.14836E-06** at limit **
  33  Prefactor     .10000E-03    9.5778        .25254E-06** at limit **
  34  norm          7.7199        5.7541        .97561E-07    .75852E-05
  35  Prefactor     .10000E-03    6.3757       -.17888E-06** at limit **
  36  Normalizat    .79522        .27476       -.21210E-05    .51975E-04
  37  Prefactor     .75041        .27480        .37956E-05    .23231E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.61667
  Prefactor  = 78.6402
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.01271
  Prefactor  = 25.9272
  Prefactor  = 47.1333
  Prefactor  = 81.5425
  norm       = 14.7522
  norm       = 0.0001
  norm       = 2.58715
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 100.57
  Prefactor  = 2.68623
  Prefactor  = 30.7532
  Prefactor  = 0.0001
  Prefactor  = 0.620064
  Prefactor  = 0.0001
  norm       = 1.98946
  Prefactor  = 6.27676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.01477
  Prefactor  = 0.000100001
  Prefactor  = 66.45
  Prefactor  = 68.8
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.4411
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.71988
  Prefactor  = 0.0001
  Normalizat = 0.795218
  Prefactor  = 0.750409
 **********
 **   18 **HESSE 
 **********

 FCN=   2923.184     FROM HESSE     STATUS=OK           851 CALLS     6464 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61667        7.0469        .26941E-03   -1.5551    
   2  Prefactor     78.640        58.451        .45298E-04   -1.3932    
   3  Prefactor     .10000E-03    19.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    57.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.0127        6.6934        .11369E-03   -1.5107    
   6  Prefactor     25.927        95.002        .78668E-04   -1.4689    
   7  Prefactor     47.133        103.07        .58461E-04   -1.4334    
   8  Prefactor     81.542        87.496        .22253E-03   -1.3899    
   9  norm          14.752        3.7412        .49521E-04   -1.4940    
  10  norm          .10000E-03    55.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5872        4.9340        .15807E-03   -1.5386    
  12  norm          .10000E-03    10.166        .16822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    62.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     100.57        70.068        .40091E-04   -1.3699    
  16  Prefactor     2.6862        9.1317        .12422E-02   -1.5380    
  17  Prefactor     30.753        38.979        .72312E-04   -1.4598    
  18  Prefactor     .10000E-03    37.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .62006        1.9344        .14242E-02   -1.5550    
  20  Prefactor     .10000E-03    11.118        .17597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9895        72.146        .29309E-03   -1.5426    
  22  Prefactor     6.2768        51.785        .16104E-03   -1.5207    
  23  Prefactor     .10000E-03    14.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    51.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.0148        71.860        .29155E-03   -1.5424    
  26  Prefactor     .10000E-03    369.44        .20469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     66.450        59.433        .49242E-04   -1.4076    
  28  Prefactor     68.800        36.532        .48392E-04   -1.4047    
  29  Prefactor     .10000E-03    12.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    1.4292        .12402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     15.441        23.790        .10191E-03   -1.4922    
  32  Prefactor     .10000E-03    3.8911        .10403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    9.5830        .16337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          7.7199        5.7558        .10740E-03   -1.5152    
  35  Prefactor     .10000E-03    6.3854        .13330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Normalizat    .79522        .31615        .24768E-03   -1.0025    
  37  Prefactor     .75041        .31491        .28944E-03   -1.0158    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78779e-09
Minuit parameter uncertainties:
  1  4.16952
  2  58.494
  3  1.64309e-05
  4  7.63155e-05
  5  6.69394
  6  95.5638
  7  103.46
  8  87.6343
  9  3.7413
  10  1.70916e-05
  11  4.93482
  12  7.25922e-06
  13  6.26857e-07
  14  5.66596e-05
  15  70.1255
  16  9.13647
  17  39.0115
  18  6.52874e-05
  19  1.93463
  20  4.08672e-06
  21  23.9916
  22  36.1002
  23  1.26663e-06
  24  3.2574e-05
  25  24.0958
  26  0.00113189
  27  59.4861
  28  36.5438
  29  1.09376e-05
  30  2.25097e-06
  31  23.8048
  32  5.06424e-06
  33  1.30938e-07
  34  5.75625
  35  8.04303e-06
  36  0.316885
  37  0.315668
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  2.686e+00  9.136e+00  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.944e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  7.504e-01  3.157e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  7.952e-01  3.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 213.899 48.514
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/269542/likelihoodResults_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.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) = 2923.01349908
delta logL = 0.17009168404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2922.98444672
delta logL = 0.199144040479

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5422       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7380       1.0000          .0000       10.000    
     3 'Normalizat'    .77333       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75958       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2922.984     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5342        85.021        .85817E-02    .31433E-03
   2  Index         2.7412        6.3692        .99398E-01    .75332E-04
   3  Normalizat    .77343        .65449E-01    .43261E-01    .15126E-04
   4  Prefactor     .75942        .71850E-01    .64977E-01    .55949E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.53421
  Index      = 2.74119
  Normalizat = 0.773426
  Prefactor  = 0.759419
 **********
 **   18 **HESSE 
 **********

 FCN=   2922.984     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5342        8.3087        .10015E-03   -1.5460    
   2  Index         2.7412        1.9167        .61475E-02   -.46874    
   3  Normalizat    .77343        .26529        .25044E-03   -1.0106    
   4  Prefactor     .75942        .29967        .28744E-03   -1.0124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01383e-08
Minuit parameter uncertainties:
  1  7.14199
  2  1.98118
  3  0.265735
  4  0.300311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269542': 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) = 2922.98444304
delta logL = 0.19914772215

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.534e+00  7.142e+00  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  2.741e+00  1.981e+00  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  2.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  7.594e-01  3.003e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  7.734e-01  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 213.899 48.514

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/269542/cmap_HighResolution_448502401_448761601_4FGL_J1415.5+4830_daily_bin807.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.54e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-09 05:53:52.698228', job_id='269542', GAL2='0.76', fit_tolerance='1e-08', EG2='0.77', EG='0.80', time_epoch_completed='1631192032.7', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.99e-01', ts2='0.52', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='807' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 05:53:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 269542: <4FGL_J1415.5+4830_daily_bin807> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin807> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 05:39:54 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 05:39:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 05:39:56 2021
Terminated at Thu Sep  9 05:53:53 2021
Results reported at Thu Sep  9 05:53:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin807 213.899 48.5142 448502401 448761601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1415.5+4830 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   738.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             312.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            839 sec.

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

