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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin994
RA = 213.899, Dec = 48.5142
tmin = 496972801, tmax = 497232001
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='269858', job_status='RUN', time_executed='2021-09-09 05:46:58.006578', time_epoch_executed='1631191618.01' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='994'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269858

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269858/ft1_4FGL_J1415.5+4830_daily_bin994.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269858/ft2_4FGL_J1415.5+4830_daily_bin994.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269858/ft1_4FGL_J1415.5+4830_daily_bin994.fits outfile=/scratch/kocevski/269858/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin994.fits ra=213.899 dec=48.5142 rad=12.0 tmin=496972801.0 tmax=497232001.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.09
user 3.60
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/269858/ft2_4FGL_J1415.5+4830_daily_bin994.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/269858/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin994.fits evtable="EVENTS" outfile="/scratch/kocevski/269858/ft1_filtered_4FGL_J1415.5+4830_daily_bin994.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.58
user 0.26
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/269858/ft1_filtered_4FGL_J1415.5+4830_daily_bin994.fits" evtable="EVENTS" scfile=/scratch/kocevski/269858/ft2_4FGL_J1415.5+4830_daily_bin994.fits sctable="SC_DATA" outfile=/scratch/kocevski/269858/ltcube_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.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/269858/ft2_4FGL_J1415.5+4830_daily_bin994.fits
.....................!
real 9.19
user 8.73
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269858/ft1_filtered_4FGL_J1415.5+4830_daily_bin994.fits evtable="EVENTS" scfile=/scratch/kocevski/269858/ft2_4FGL_J1415.5+4830_daily_bin994.fits sctable="SC_DATA" expcube=/scratch/kocevski/269858/ltcube_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.fits outfile=/scratch/kocevski/269858/expmap_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.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/269858/ltcube_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.fits
.....................!
real 140.01
user 136.73
sys 2.98

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/269858/ft1_filtered_4FGL_J1415.5+4830_daily_bin994.fits scfile=/scratch/kocevski/269858/ft2_4FGL_J1415.5+4830_daily_bin994.fits outfile=/scratch/kocevski/269858/cmap_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.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 3.85
user 0.61
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/269858/ft1_filtered_4FGL_J1415.5+4830_daily_bin994.fits scfile=/scratch/kocevski/269858/ft2_4FGL_J1415.5+4830_daily_bin994.fits outfile=/scratch/kocevski/269858/cmap_HighResolution_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.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 4.42
user 0.66
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/269858/ft1_filtered_4FGL_J1415.5+4830_daily_bin994.fits', '/scratch/kocevski/269858/ft2_4FGL_J1415.5+4830_daily_bin994.fits', expMap='/scratch/kocevski/269858/expmap_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.fits', expCube='/scratch/kocevski/269858/ltcube_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/269858/Model_4FGL_J1415.5+4830_daily_bin994.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/269858/ft1_filtered_4FGL_J1415.5+4830_daily_bin994.fits
Spacecraft file(s): /scratch/kocevski/269858/ft2_4FGL_J1415.5+4830_daily_bin994.fits
Exposure map: /scratch/kocevski/269858/expmap_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.fits
Exposure cube: /scratch/kocevski/269858/ltcube_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/269858/Model_4FGL_J1415.5+4830_daily_bin994.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) = 2588.44082158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10270E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    54.335       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.881       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.198       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.506       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.8720       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.7495       1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.070       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    46.934       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    39.688       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    17.402       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    71.889       1.0000         .10000E-03   10000.    
    30 'norm      '    4.6697       1.0000         .10000E-03   10000.    
    31 'Prefactor '    14.933       1.0000         .10000E-03   10000.    
    32 'Prefactor '    26.795       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    5.2374       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    36 'Normalizat'    .78944       1.0000         .10000E-01   10.000    
    37 'Prefactor '    .70829       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=   2588.318     FROM MIGRAD    STATUS=CONVERGED   1020 CALLS     5517 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.4330        .18513E-05** at limit **
   2  Prefactor     54.402        69.268        .96294E-06    .62251E-04
   3  Prefactor     16.896        22.104        .12501E-05   -.12693E-04
   4  Prefactor     11.191        74.289        .42076E-05    .36418E-04
   5  norm          .10000E-03    2.4400        .28328E-06** at limit **
   6  Prefactor     40.536        72.406        .34289E-05    .19155E-04
   7  Prefactor     .10000E-03    48.610       -.29270E-06** at limit **
   8  Prefactor     .10000E-03    21.079        .21991E-06** at limit **
   9  norm          4.8726        2.6171        .22018E-06    .11981E-03
  10  norm          .10000E-03    40.520        .51864E-07** at limit **
  11  norm          9.7516        6.4821        .35088E-06   -.15783E-03
  12  norm          .10000E-03    10.715       -.60409E-06** at limit **
  13  Prefactor     .10000E-03    39.304        .85665E-06** at limit **
  14  Prefactor     .10000E-03    14.551       -.32667E-07** at limit **
  15  Prefactor     54.102        65.684        .22395E-05    .26866E-04
  16  Prefactor     .10000E-03    6.8912        .39202E-06** at limit **
  17  Prefactor     .10000E-03    20.394       -.94074E-07** at limit **
  18  Prefactor     .10000E-03    12.335        .25687E-06** at limit **
  19  Prefactor     .10000E-03    2.3308        .23463E-05** at limit **
  20  Prefactor     46.944        26.418        .78400E-06   -.16683E-04
  21  norm          .10000E-03    7.8577        .55744E-07** at limit **
  22  Prefactor     39.775        59.445        .26472E-05    .77274E-04
  23  Prefactor     .10000E-03    30.198        .28386E-05** at limit **
  24  Prefactor     .10000E-03    63.569        .43235E-06** at limit **
  25  Prefactor     .10000E-03    25.048       -.86410E-06** at limit **
  26  Prefactor     17.391        60.224       -.99506E-07    .17052E-04
  27  Prefactor     .10000E-03    43.795       -.43074E-06** at limit **
  28  Prefactor     .10000E-03    28.304       -.49273E-07** at limit **
  29  Prefactor     71.899        55.978        .13202E-05   -.13507E-04
  30  norm          4.6695        5.1692       -.66697E-07   -.28326E-05
  31  Prefactor     14.935        16.039        .14246E-06   -.24703E-04
  32  Prefactor     26.796        19.595       -.31495E-07    .90299E-05
  33  Prefactor     .10000E-03    13.196        .61466E-06** at limit **
  34  norm          5.2380        5.6163       -.72562E-06   -.30166E-03
  35  Prefactor     .10000E-03    9.9972       -.12374E-06** at limit **
  36  Normalizat    .78867        .30292       -.17139E-04    .13454E-04
  37  Prefactor     .70907        .31469        .17710E-04   -.13972E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 54.4024
  Prefactor  = 16.8955
  Prefactor  = 11.1915
  norm       = 0.0001
  Prefactor  = 40.5358
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.87265
  norm       = 0.0001
  norm       = 9.75162
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.1018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 46.944
  norm       = 0.0001
  Prefactor  = 39.7753
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.3914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.8987
  norm       = 4.66945
  Prefactor  = 14.9347
  Prefactor  = 26.7962
  Prefactor  = 0.0001
  norm       = 5.23796
  Prefactor  = 0.0001
  Normalizat = 0.788669
  Prefactor  = 0.70907
 **********
 **   18 **HESSE 
 **********

 FCN=   2588.318     FROM HESSE     STATUS=OK           843 CALLS     6360 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.6153        .23240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     54.402        68.580        .54415E-04   -1.4231    
   3  Prefactor     16.896        22.064        .97480E-04   -1.4886    
   4  Prefactor     11.191        72.774        .11972E-03   -1.5039    
   5  norm          .10000E-03    2.4519        .77552E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     40.536        72.367        .62982E-04   -1.4434    
   7  Prefactor     .10000E-03    48.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8726        2.6166        .55999E-04   -1.5266    
  10  norm          .10000E-03    40.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.7516        6.4748        .98608E-04   -1.5083    
  12  norm          .10000E-03    10.752        .16268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     54.102        65.611        .54548E-04   -1.4236    
  16  Prefactor     .10000E-03    6.9500        .13032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.345        .17426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.4520        .77328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     46.944        26.396        .58528E-04   -1.4337    
  21  norm          .10000E-03    7.8600        .13928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     39.775        59.403        .63625E-04   -1.4446    
  23  Prefactor     .10000E-03    30.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    63.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    25.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     17.391        60.159        .96009E-04   -1.4874    
  27  Prefactor     .10000E-03    43.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    28.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     71.899        55.801        .47349E-04   -1.4010    
  30  norm          4.6695        5.1474        .10510E-03   -1.5276    
  31  Prefactor     14.935        16.038        .10365E-03   -1.4935    
  32  Prefactor     26.796        19.592        .77392E-04   -1.4672    
  33  Prefactor     .10000E-03    13.216        .18059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          5.2380        5.6367        .60979E-03   -1.5250    
  35  Prefactor     .10000E-03    10.008        .15712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Normalizat    .78867        .30791        .23116E-03   -1.0049    
  37  Prefactor     .70907        .31831        .28229E-03   -1.0317    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.73716e-10
Minuit parameter uncertainties:
  1  0.000111826
  2  68.68
  3  22.0748
  4  57.1785
  5  1.11462e-05
  6  72.5243
  7  0.000121966
  8  8.65726e-05
  9  2.61668
  10  3.27394e-05
  11  6.47523
  12  3.98791e-05
  13  0.000146602
  14  1.098e-05
  15  65.6992
  16  1.73901e-05
  17  8.55644e-05
  18  4.146e-07
  19  9.24161e-05
  20  26.4025
  21  8.60882e-06
  22  59.4916
  23  0.000300311
  24  6.97042e-05
  25  0.000131676
  26  60.3699
  27  5.33806e-07
  28  8.67934e-05
  29  55.8413
  30  5.14793
  31  16.0423
  32  19.5965
  33  4.80931e-05
  34  5.63728
  35  2.90445e-05
  36  0.308589
  37  0.319132
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  1.739e-05  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.091e-01  3.191e-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.887e-01  3.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 213.899 48.514
Photon Flux Upper Limit: 9.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/269858/likelihoodResults_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.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) = 2588.31859718
delta logL = -0.000684628863837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2588.31791256
delta logL = -3.54702933691e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9369       1.0000          .0000       10.000    
     3 'Normalizat'    .78868       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70909       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=   2588.318     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7616        .90712E-02** at limit **
   2  Index         1.9299        6.0362        .50000        .75315E-05
   3  Normalizat    .78867        .35220E-02    .43462E-01   -.13265E-04
   4  Prefactor     .70907        .41215E-02    .63808E-01   -.17571E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.92989
  Normalizat = 0.788665
  Prefactor  = 0.709075
 **********
 **   18 **HESSE 
 **********

 FCN=   2588.318     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    85.673        .13061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9299        5.9127        .50000       -.66115    
   3  Normalizat    .78867        .19771E-01    .23118E-03   -1.0049    
   4  Prefactor     .70907        .23113E-01    .28228E-03   -1.0317    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.89672e-07
Minuit parameter uncertainties:
  1  5.22471e-05
  2  325.133
  3  0.0197708
  4  0.0231132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269858': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2588.31791252
delta logL = 2.91711330647e-08

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  5.225e-05  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.930e+00  3.251e+02  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.091e-01  2.311e-02  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.887e-01  1.977e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/269858/cmap_HighResolution_496972801_497232001_4FGL_J1415.5+4830_daily_bin994.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.84e-03', job_status='DONE', photon_flux_upper_limit='9.16e-08', time_completed='2021-09-09 05:56:09.885479', job_id='269858', GAL2='0.71', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1631192169.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.92e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='994' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 05:56:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 269858: <4FGL_J1415.5+4830_daily_bin994> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin994> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 05:40:21 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 05:40:22 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:40:22 2021
Terminated at Thu Sep  9 05:56:11 2021
Results reported at Thu Sep  9 05:56:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin994 213.899 48.5142 496972801 497232001 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 :                                   509.60 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             164.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            950 sec.

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

