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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1181
RA = 213.899, Dec = 48.5142
tmin = 545443201, tmax = 545702401
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='272435', job_status='RUN', time_executed='2021-09-09 05:50:02.852407', time_epoch_executed='1631191802.85' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1181'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272435

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272435/ft1_4FGL_J1415.5+4830_daily_bin1181.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272435/ft2_4FGL_J1415.5+4830_daily_bin1181.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272435/ft1_4FGL_J1415.5+4830_daily_bin1181.fits outfile=/scratch/kocevski/272435/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1181.fits ra=213.899 dec=48.5142 rad=12.0 tmin=545443201.0 tmax=545702401.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.40
user 3.87
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272435/ft1_filtered_4FGL_J1415.5+4830_daily_bin1181.fits evtable="EVENTS" scfile=/scratch/kocevski/272435/ft2_4FGL_J1415.5+4830_daily_bin1181.fits sctable="SC_DATA" expcube=/scratch/kocevski/272435/ltcube_545443201_545702401_4FGL_J1415.5+4830_daily_bin1181.fits outfile=/scratch/kocevski/272435/expmap_545443201_545702401_4FGL_J1415.5+4830_daily_bin1181.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/272435/ltcube_545443201_545702401_4FGL_J1415.5+4830_daily_bin1181.fits
.....................!
real 191.48
user 184.98
sys 5.03

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/272435/ft1_filtered_4FGL_J1415.5+4830_daily_bin1181.fits scfile=/scratch/kocevski/272435/ft2_4FGL_J1415.5+4830_daily_bin1181.fits outfile=/scratch/kocevski/272435/cmap_545443201_545702401_4FGL_J1415.5+4830_daily_bin1181.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.55
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272435/ft1_filtered_4FGL_J1415.5+4830_daily_bin1181.fits scfile=/scratch/kocevski/272435/ft2_4FGL_J1415.5+4830_daily_bin1181.fits outfile=/scratch/kocevski/272435/cmap_HighResolution_545443201_545702401_4FGL_J1415.5+4830_daily_bin1181.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83594E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8257       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10901E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    198.37       1.0000         .10000E-03   10000.    
     5 'norm      '    .18045E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7312       1.0000         .10000E-03   10000.    
     7 'Prefactor '    132.27       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5055       1.0000         .10000E-03   10000.    
     9 'norm      '    .10224E-03   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      '    .11148E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6006       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11087E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .26079       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14097E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .83912E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11493E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3063       1.0000         .10000E-03   10000.    
    20 'Prefactor '    62.851       1.0000         .10000E-03   10000.    
    21 'norm      '    .23978E-03   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 '    .31491       1.0000         .10000E-03   10000.    
    25 'Prefactor '    17.684       1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.1876       1.0000         .10000E-03   10000.    
    27 'Prefactor '    273.12       1.0000         .10000E-03   10000.    
    28 'Prefactor '    466.91       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .22932E-02   1.0000         .10000E-03   10000.    
    30 'norm      '    .18622E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    2.1743       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .65794E-01   1.0000         .10000E-03   10000.    
    33 'Prefactor '    1.5975       1.0000         .10000E-03   10000.    
    34 'norm      '    .12602E-03   1.0000         .10000E-03   10000.    
    35 'Prefactor '    21.591       1.0000         .10000E-03   10000.    
    36 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    37 'Prefactor '    .28759       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=   314.9302     FROM MIGRAD    STATUS=CONVERGED    284 CALLS      752 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5478        78.076        .77446E-04    .16301E-03
   2  Prefactor     .10441E-03    234.03        .52591E-05** at limit **
   3  Prefactor     .10000E-03    173.65       -.10470E-05** at limit **
   4  Prefactor     206.93        118.77        .14238E-04    .12120E-01
   5  norm          .10000E-03    28.826       -.59650E-06** at limit **
   6  Prefactor     7.7312        1.0021         .0000         .0000    
   7  Prefactor     127.65        115.02       -.77256E-05    .20027E-01
   8  Prefactor     4.5055        1.0063         .0000         .0000    
   9  norm          .10000E-03    1.5815       -.10491E-06** at limit **
  10  norm          3.8570        1.0087         .0000         .0000    
  11  norm          2.0332        1.0340         .0000         .0000    
  12  norm          .10000E-03    17.718       -.51202E-06** at limit **
  13  Prefactor     .11411E-03    1006.1       -.43435E-04** at limit **
  14  Prefactor     .10000E-03    20.867       -.24936E-06** at limit **
  15  Prefactor     .10000E-03    308.72       -.33640E-05** at limit **
  16  Prefactor     .10000E-03    23.378       -.15059E-05** at limit **
  17  Prefactor     .10000E-03    52.456       -.46004E-05** at limit **
  18  Prefactor     .10000E-03    16.263        .15528E-05** at limit **
  19  Prefactor     2.3063        1.0257         .0000         .0000    
  20  Prefactor     65.980        59.171        .10357E-04    .10701E-02
  21  norm          .10000E-03    12.888       -.10492E-05** at limit **
  22  Prefactor     2.8051        1.0168         .0000         .0000    
  23  Prefactor     4.0012        1.0080         .0000         .0000    
  24  Prefactor     .10003E-03    504.64       -.63174E-05** at limit **
  25  Prefactor     6.4148        423.76       -.62994E-04   -.93387E-03
  26  Prefactor     8.1876        1.0019         .0000         .0000    
  27  Prefactor     279.60        194.90        .70312E-05   -.80961E-02
  28  Prefactor     468.22        64.711        .74921E-06   -.34254E-01
  29  Prefactor     .10000E-03    239.71       -.57843E-05** at limit **
  30  norm          .10000E-03    41.017       -.26136E-05** at limit **
  31  Prefactor     2.1743        1.0292         .0000         .0000    
  32  Prefactor     .10000E-03    132.79        .21737E-05** at limit **
  33  Prefactor     1.5975        1.0600         .0000         .0000    
  34  norm          .10000E-03    16.995        .52996E-06** at limit **
  35  Prefactor     24.150        28.264       -.30513E-06    .79590E-03
  36  Normalizat    .10000E-01    .79283       -.21616E-05** at limit **
  37  Prefactor     .27923        .31043       -.39963E-04    .54748E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54779
  Prefactor  = 0.000104409
  Prefactor  = 0.0001
  Prefactor  = 206.926
  norm       = 0.0001
  Prefactor  = 7.73116
  Prefactor  = 127.654
  Prefactor  = 4.50549
  norm       = 0.0001
  norm       = 3.85705
  norm       = 2.03325
  norm       = 0.0001
  Prefactor  = 0.000114107
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.30629
  Prefactor  = 65.9802
  norm       = 0.0001
  Prefactor  = 2.80506
  Prefactor  = 4.00118
  Prefactor  = 0.000100027
  Prefactor  = 6.41479
  Prefactor  = 8.18764
  Prefactor  = 279.596
  Prefactor  = 468.221
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.17435
  Prefactor  = 0.0001
  Prefactor  = 1.5975
  norm       = 0.0001
  Prefactor  = 24.1503
  Normalizat = 0.01
  Prefactor  = 0.279228
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   314.9302     FROM HESSE     STATUS=FAILED        31 CALLS      783 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5478        52.767        .94327E-02   -1.5459    
   2  Prefactor     .10441E-03    239.75        .35835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    173.58        .90775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     206.93        172.88        .71716E-03   -1.2821    
   5  norm          .10000E-03    28.720        .91129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     507.34        499.58         .0000       -1.5152    
   7  Prefactor     127.65        .98263       -.77256E-05   -1.3443    
   8  Prefactor     4.5055        1.0063         .0000       -1.5283    
   9  norm          .10000E-03    .20571       -.10491E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.8570        1.0087         .0000       -1.5315    
  11  norm          2.0332        1.0340         .0000       -1.5423    
  12  norm          .10000E-03    .20571       -.51202E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11411E-03    .17545       -.43435E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .20571       -.24936E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .26274       -.33640E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .20571       -.15059E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .22251       -.46004E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .20571        .15528E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.3063        1.0257         .0000       -1.5404    
  20  Prefactor     65.980        1.0245        .10357E-04   -1.4082    
  21  norm          .10000E-03    .20571       -.10492E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.8051        1.0168         .0000       -1.5373    
  23  Prefactor     4.0012        1.0080         .0000       -1.5308    
  24  Prefactor     .10003E-03    .27511       -.63174E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.4148        .60285       -.62994E-04   -1.5201    
  26  Prefactor     8.1876        1.0019         .0000       -1.5136    
  27  Prefactor     279.60        1.0115        .70312E-05   -1.2348    
  28  Prefactor     468.22        1.0013        .74921E-06   -1.1346    
  29  Prefactor     .10000E-03    .25256       -.57843E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    .20571       -.26136E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     2.1743        1.0292         .0000       -1.5413    
  32  Prefactor     .10000E-03    .21841        .21737E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     1.5975        1.0600         .0000       -1.5455    
  34  norm          .10000E-03    .20571        .52996E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     24.150        1.0577       -.30513E-06   -1.4725    
  36  Normalizat    .10000E-01    .25773       -.21616E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  37  Prefactor     .27923        .58968       -.39963E-04   -1.2350    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.57936e-10
Minuit parameter uncertainties:
  1  18.0913
  2  0.0652845
  3  0.000477076
  4  173.304
  5  7.16262e-06
  6  1.00211
  7  0.982631
  8  1.00629
  9  1.14572e-07
  10  1.00866
  11  1.03398
  12  4.34822e-07
  13  0.00314648
  14  3.86905e-07
  15  4.28108e-05
  16  1.29503e-06
  17  4.04304e-06
  18  1.29452e-06
  19  1.02568
  20  1.02446
  21  1.06053e-06
  22  1.01684
  23  1.00803
  24  0.000173227
  25  0.602854
  26  1.00188
  27  1.01145
  28  1.00134
  29  1.85906e-05
  30  2.59575e-07
  31  1.02924
  32  1.30293e-05
  33  1.06005
  34  1.8531e-07
  35  1.05775
  36  1.57798e-07
  37  0.603054
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  1.295e-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:  2.792e-01  6.031e-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:  1.000e-02  1.578e-07  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.62e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/272435/likelihoodResults_545443201_545702401_4FGL_J1415.5+4830_daily_bin1181.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) = 314.930377846
delta logL = -0.0001895993218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 314.930191848
delta logL = -3.60126131227e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10712E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2535       1.0000          .0000       10.000    
     3 'Normalizat'    .10004E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .27930       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=   314.9302     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      279 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10216E-03    274.50        .72197E-03** at limit **
   2  Index         2.1872        5.8232        .50000        .14082E-04
   3  Normalizat    .10000E-01    .25186E-01    .75566E-02** at limit **
   4  Prefactor     .27923        .39671E-01    .23578E-03    .27122E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102155
  Index      = 2.18715
  Normalizat = 0.01
  Prefactor  = 0.279227
 **********
 **   18 **HESSE 
 **********

 FCN=   314.9302     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10216E-03    948.41        .14439E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1872        5.2154        .50000       -.59749    
   3  Normalizat    .10000E-01    .96802E-01    .15113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27923        .77763E-01    .94313E-05   -1.2350    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.84296e-08
Minuit parameter uncertainties:
  1  0.0919217
  2  778.776
  3  4.75783e-07
  4  0.0777923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272435': 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) = 314.930188935
delta logL = -6.88047464337e-07

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.022e-04  9.192e-02  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  2.187e+00  7.788e+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:  2.792e-01  7.779e-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  4.758e-07  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/272435/cmap_HighResolution_545443201_545702401_4FGL_J1415.5+4830_daily_bin1181.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.20e-02', job_status='DONE', photon_flux_upper_limit='5.62e-07', time_completed='2021-09-09 05:55:52.100198', job_id='272435', GAL2='0.28', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631192152.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.28', dlogl='-6.88e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1181' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 05:55:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 272435: <4FGL_J1415.5+4830_daily_bin1181> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1181> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 05:47:41 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 05:47:43 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:47:43 2021
Terminated at Thu Sep  9 05:55:52 2021
Results reported at Thu Sep  9 05:55:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1181 213.899 48.5142 545443201 545702401 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 :                                   337.09 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             261.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   489 sec.
    Turnaround time :                            491 sec.

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

