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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin651
RA = 213.899, Dec = 48.5142
tmin = 408067201, tmax = 408326401
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='266562', job_status='RUN', time_executed='2021-09-09 05:38:36.458420', time_epoch_executed='1631191116.46' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='651'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266562

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266562/ft1_4FGL_J1415.5+4830_daily_bin651.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266562/ft2_4FGL_J1415.5+4830_daily_bin651.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266562/ft1_4FGL_J1415.5+4830_daily_bin651.fits outfile=/scratch/kocevski/266562/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin651.fits ra=213.899 dec=48.5142 rad=12.0 tmin=408067201.0 tmax=408326401.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 5.03
user 3.63
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/266562/ft2_4FGL_J1415.5+4830_daily_bin651.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/266562/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin651.fits evtable="EVENTS" outfile="/scratch/kocevski/266562/ft1_filtered_4FGL_J1415.5+4830_daily_bin651.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.88
user 0.35
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266562/ft1_filtered_4FGL_J1415.5+4830_daily_bin651.fits evtable="EVENTS" scfile=/scratch/kocevski/266562/ft2_4FGL_J1415.5+4830_daily_bin651.fits sctable="SC_DATA" expcube=/scratch/kocevski/266562/ltcube_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.fits outfile=/scratch/kocevski/266562/expmap_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.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/266562/ltcube_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.fits
.....................!
real 193.15
user 185.55
sys 4.52

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/266562/ft1_filtered_4FGL_J1415.5+4830_daily_bin651.fits scfile=/scratch/kocevski/266562/ft2_4FGL_J1415.5+4830_daily_bin651.fits outfile=/scratch/kocevski/266562/cmap_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.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 9.49
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266562/ft1_filtered_4FGL_J1415.5+4830_daily_bin651.fits scfile=/scratch/kocevski/266562/ft2_4FGL_J1415.5+4830_daily_bin651.fits outfile=/scratch/kocevski/266562/cmap_HighResolution_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.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 7.43
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/266562/ft1_filtered_4FGL_J1415.5+4830_daily_bin651.fits', '/scratch/kocevski/266562/ft2_4FGL_J1415.5+4830_daily_bin651.fits', expMap='/scratch/kocevski/266562/expmap_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.fits', expCube='/scratch/kocevski/266562/ltcube_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/266562/Model_4FGL_J1415.5+4830_daily_bin651.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/266562/ft1_filtered_4FGL_J1415.5+4830_daily_bin651.fits
Spacecraft file(s): /scratch/kocevski/266562/ft2_4FGL_J1415.5+4830_daily_bin651.fits
Exposure map: /scratch/kocevski/266562/expmap_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.fits
Exposure cube: /scratch/kocevski/266562/ltcube_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/266562/Model_4FGL_J1415.5+4830_daily_bin651.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 693.906280493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 691.127564796

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11357E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11073E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12702       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14601       1.0000         .10000E-03   10000.    
     5 'norm      '    .90732E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7312       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.305       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5055       1.0000         .10000E-03   10000.    
     9 'norm      '    22.637       1.0000         .10000E-03   10000.    
    10 'norm      '    3.8570       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0332       1.0000         .10000E-03   10000.    
    12 'norm      '    .17584E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .84723       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10842E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .83139E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11789E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10578       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15450E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .42296       1.0000         .10000E-03   10000.    
    20 'Prefactor '    50.867       1.0000         .10000E-03   10000.    
    21 'norm      '    13.240       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.8051       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.0012       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .28955E-02   1.0000         .10000E-03   10000.    
    25 'Prefactor '    115.36       1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.1876       1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.5150       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .26368       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .19022E-02   1.0000         .10000E-03   10000.    
    30 'norm      '    .12364E-02   1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.1743       1.0000         .10000E-03   10000.    
    32 'Prefactor '    111.38       1.0000         .10000E-03   10000.    
    33 'Prefactor '    1.5975       1.0000         .10000E-03   10000.    
    34 'norm      '    .14807E-02   1.0000         .10000E-03   10000.    
    35 'Prefactor '    .21815       1.0000         .10000E-03   10000.    
    36 'Normalizat'    .10115E-01   1.0000         .10000E-01   10.000    
    37 'Prefactor '    1.4451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   691.1208     FROM MIGRAD    STATUS=CONVERGED    261 CALLS      724 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.314       -.11599E-05** at limit **
   2  Prefactor     .26082E-03    92.427       -.10032E-05** at limit **
   3  Prefactor     .10647E-03    76.297        .10609E-05** at limit **
   4  Prefactor     .11301E-03    91.664        .82375E-06** at limit **
   5  norm          .10000E-03    21.617       -.82063E-07** at limit **
   6  Prefactor     7.7312        1.0021         .0000         .0000    
   7  Prefactor     41.038        128.39       -.63815E-05    .11960E-02
   8  Prefactor     4.5055        1.0063         .0000         .0000    
   9  norm          22.651        8.6814       -.67282E-07    .11151E-03
  10  norm          3.8570        1.0087         .0000         .0000    
  11  norm          2.0332        1.0340         .0000         .0000    
  12  norm          .10000E-03    25.952       -.23254E-06** at limit **
  13  Prefactor     .44777E-03    517.55       -.45212E-06** at limit **
  14  Prefactor     .10000E-03    23.258       -.12873E-05** at limit **
  15  Prefactor     .15342E-03    212.00       -.58355E-05** at limit **
  16  Prefactor     .10000E-03    33.871       -.31774E-06** at limit **
  17  Prefactor     .10000E-03    65.210       -.76053E-06** at limit **
  18  Prefactor     .10000E-03    23.051       -.68443E-06** at limit **
  19  Prefactor     .24568E-03    1307.7        .96907E-05** at limit **
  20  Prefactor     50.819        7.6437        .42186E-07   -.23836E-02
  21  norm          13.362        19.831       -.61255E-07   -.61373E-02
  22  Prefactor     2.8051        1.0168         .0000         .0000    
  23  Prefactor     4.0012        1.0080         .0000         .0000    
  24  Prefactor     .10322E-03    14.675       -.46149E-06** at limit **
  25  Prefactor     117.25        56.391       -.14683E-05   -.10677E-01
  26  Prefactor     8.1876        1.0019         .0000         .0000    
  27  Prefactor     .14871E-03    363.77       -.57538E-06** at limit **
  28  Prefactor     .10014E-03    130.17       -.26410E-05** at limit **
  29  Prefactor     .11000E-03    97.653       -.14514E-05** at limit **
  30  norm          .10000E-03    21.502        .17480E-05** at limit **
  31  Prefactor     2.1743        1.0292         .0000         .0000    
  32  Prefactor     112.16        19.639       -.63373E-06    .56076E-02
  33  Prefactor     1.5975        1.0600         .0000         .0000    
  34  norm          .10000E-03    30.307       -.48502E-06** at limit **
  35  Prefactor     .17337E-02    404.45        .84092E-05** at limit **
  36  Normalizat    .10000E-01    7.3014       -.92420E-04** at limit **
  37  Prefactor     1.4400        .39275        .10509E-04    .19458E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000260824
  Prefactor  = 0.000106473
  Prefactor  = 0.000113012
  norm       = 0.0001
  Prefactor  = 7.73116
  Prefactor  = 41.0381
  Prefactor  = 4.50549
  norm       = 22.6514
  norm       = 3.85705
  norm       = 2.03325
  norm       = 0.0001
  Prefactor  = 0.000447765
  Prefactor  = 0.0001
  Prefactor  = 0.000153423
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00024568
  Prefactor  = 50.8191
  norm       = 13.3624
  Prefactor  = 2.80506
  Prefactor  = 4.00118
  Prefactor  = 0.000103223
  Prefactor  = 117.253
  Prefactor  = 8.18764
  Prefactor  = 0.000148708
  Prefactor  = 0.000100136
  Prefactor  = 0.000110001
  norm       = 0.0001
  Prefactor  = 2.17435
  Prefactor  = 112.156
  Prefactor  = 1.5975
  norm       = 0.0001
  Prefactor  = 0.00173368
  Normalizat = 0.01
  Prefactor  = 1.44002
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   691.1208     FROM HESSE     STATUS=FAILED        31 CALLS      755 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.179        .10338E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26082E-03    178.82        .90783E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10647E-03    158.17        .96393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11301E-03    159.11        .97284E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    21.617        .10412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     507.34        499.58         .0000       -1.5152    
   7  Prefactor     41.038        1.0630       -.63815E-05   -1.4426    
   8  Prefactor     4.5055        1.0063         .0000       -1.5283    
   9  norm          22.651        1.0006       -.67282E-07   -1.4756    
  10  norm          3.8570        1.0087         .0000       -1.5315    
  11  norm          2.0332        1.0340         .0000       -1.5423    
  12  norm          .10000E-03    .25860       -.23254E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44777E-03    .39783       -.45212E-06   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .20571       -.12873E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15342E-03    .22234       -.58355E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .20571       -.31774E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .22747       -.76053E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .20703       -.68443E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .24568E-03    .29987        .96907E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     50.819        .99958        .42186E-07   -1.4281    
  21  norm          13.362        1.0053       -.61255E-07   -1.4977    
  22  Prefactor     2.8051        1.0168         .0000       -1.5373    
  23  Prefactor     4.0012        1.0080         .0000       -1.5308    
  24  Prefactor     .10322E-03    .24667       -.46149E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     117.25        1.0081       -.14683E-05   -1.3538    
  26  Prefactor     8.1876        1.0019         .0000       -1.5136    
  27  Prefactor     .14871E-03    .18850       -.57538E-06   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10014E-03    .26340       -.26410E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .11000E-03    .25688       -.14514E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    .26564        .17480E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     2.1743        1.0292         .0000       -1.5413    
  32  Prefactor     112.16        1.0034       -.63373E-06   -1.3586    
  33  Prefactor     1.5975        1.0600         .0000       -1.5455    
  34  norm          .10000E-03    .26217       -.48502E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .17337E-02    .25302        .84092E-05   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Normalizat    .10000E-01    .25508       -.92420E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  37  Prefactor     1.4400        1.0532        .10509E-04   -.79234    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.88728e-09
Minuit parameter uncertainties:
  1  0.000125508
  2  0.340182
  3  0.064166
  4  0.0912425
  5  1.39026e-05
  6  1.00211
  7  1.06304
  8  1.00629
  9  1.00056
  10  1.00866
  11  1.03398
  12  2.87309e-06
  13  0.0235246
  14  1.34334e-05
  15  0.00689289
  16  3.18819e-06
  17  4.05151e-06
  18  7.26822e-06
  19  0.013219
  20  0.999578
  21  1.00531
  22  1.01684
  23  1.00803
  24  0.0017832
  25  1.00807
  26  1.00188
  27  0.00606014
  28  0.000378792
  29  0.00320572
  30  1.83862e-05
  31  1.02924
  32  1.00343
  33  1.06005
  34  4.23003e-06
  35  0.040662
  36  3.28117e-05
  37  1.06965
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 691.120837682

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  3.188e-06  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:  1.440e+00  1.070e+00  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:  1.000e-02  3.281e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 213.899 48.514
Photon Flux Upper Limit: 5.91e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/266562/likelihoodResults_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.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) = 691.120976061
delta logL = -0.000138378618317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 691.120839539
delta logL = -1.85678220532e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2497       1.0000          .0000       10.000    
     3 'Normalizat'    .10007E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4400       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   691.1208     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      302 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10941E-03    21.741        .11592E-01** at limit **
   2  Index         2.1125        6.0397        .50000        .18058E-04
   3  Normalizat    .10000E-01    .96631E-02    .13340E-01** at limit **
   4  Prefactor     1.4400        .14444E-01    .24964E-03    .90697E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010941
  Index      = 2.11253
  Normalizat = 0.01
  Prefactor  = 1.44002
 **********
 **   18 **HESSE 
 **********

 FCN=   691.1208     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      331 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10941E-03    254.98        .12654E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1125        8.9384        .50000       -.61566    
   3  Normalizat    .10000E-01    .11927        .53360E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4400        .50123E-01    .49927E-04   -.79234    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.79359e-09
Minuit parameter uncertainties:
  1  0.0983888
  2  452.468
  3  2.89569e-05
  4  0.0501252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266562': 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) = 691.120838463
delta logL = -7.81394646765e-07

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.094e-04  9.839e-02  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  2.113e+00  4.525e+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:  1.440e+00  5.013e-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:  1.000e-02  2.896e-05  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/266562/cmap_HighResolution_408067201_408326401_4FGL_J1415.5+4830_daily_bin651.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.41e-02', job_status='DONE', photon_flux_upper_limit='5.91e-07', time_completed='2021-09-09 05:46:28.164338', job_id='266562', GAL2='1.44', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631191588.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.44', dlogl='-7.81e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='651' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 05:46:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 266562: <4FGL_J1415.5+4830_daily_bin651> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin651> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Thu Sep  9 05:31:39 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 05:31:41 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:31:41 2021
Terminated at Thu Sep  9 05:46:29 2021
Results reported at Thu Sep  9 05:46:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin651 213.899 48.5142 408067201 408326401 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 :                                   346.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             205.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            890 sec.

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

