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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin1153
RA = 213.899, Dec = 48.5142
tmin = 538185601, tmax = 538444801
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='272384', job_status='RUN', time_executed='2021-09-09 05:49:12.808925', time_epoch_executed='1631191752.81' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='1153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272384

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272384/ft1_4FGL_J1415.5+4830_daily_bin1153.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272384/ft2_4FGL_J1415.5+4830_daily_bin1153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272384/ft1_4FGL_J1415.5+4830_daily_bin1153.fits outfile=/scratch/kocevski/272384/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1153.fits ra=213.899 dec=48.5142 rad=12.0 tmin=538185601.0 tmax=538444801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.26
user 5.06
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/272384/ft2_4FGL_J1415.5+4830_daily_bin1153.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/272384/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin1153.fits evtable="EVENTS" outfile="/scratch/kocevski/272384/ft1_filtered_4FGL_J1415.5+4830_daily_bin1153.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.83
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/272384/ft1_filtered_4FGL_J1415.5+4830_daily_bin1153.fits" evtable="EVENTS" scfile=/scratch/kocevski/272384/ft2_4FGL_J1415.5+4830_daily_bin1153.fits sctable="SC_DATA" outfile=/scratch/kocevski/272384/ltcube_538185601_538444801_4FGL_J1415.5+4830_daily_bin1153.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/272384/ft2_4FGL_J1415.5+4830_daily_bin1153.fits
.....................!
real 13.45
user 11.66
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272384/ft1_filtered_4FGL_J1415.5+4830_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/272384/ft2_4FGL_J1415.5+4830_daily_bin1153.fits sctable="SC_DATA" expcube=/scratch/kocevski/272384/ltcube_538185601_538444801_4FGL_J1415.5+4830_daily_bin1153.fits outfile=/scratch/kocevski/272384/expmap_538185601_538444801_4FGL_J1415.5+4830_daily_bin1153.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/272384/ltcube_538185601_538444801_4FGL_J1415.5+4830_daily_bin1153.fits
.....................!
real 200.97
user 185.88
sys 4.92

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/272384/ft1_filtered_4FGL_J1415.5+4830_daily_bin1153.fits scfile=/scratch/kocevski/272384/ft2_4FGL_J1415.5+4830_daily_bin1153.fits outfile=/scratch/kocevski/272384/cmap_538185601_538444801_4FGL_J1415.5+4830_daily_bin1153.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.58
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272384/ft1_filtered_4FGL_J1415.5+4830_daily_bin1153.fits scfile=/scratch/kocevski/272384/ft2_4FGL_J1415.5+4830_daily_bin1153.fits outfile=/scratch/kocevski/272384/cmap_HighResolution_538185601_538444801_4FGL_J1415.5+4830_daily_bin1153.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.448       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    34.717       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0867       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10681E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    130.03       1.0000         .10000E-03   10000.    
     9 'norm      '    4.9135       1.0000         .10000E-03   10000.    
    10 'norm      '    105.51       1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    67.332       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14903E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.653       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10341E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10536E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    86.474       1.0000         .10000E-03   10000.    
    18 'Prefactor '    37.385       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6252       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .52767E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    131.40       1.0000         .10000E-03   10000.    
    25 'Prefactor '    16.744       1.0000         .10000E-03   10000.    
    26 'Prefactor '    32.983       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    2.2879       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    17.013       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .13099E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    .38204E-03   1.0000         .10000E-03   10000.    
    35 'Prefactor '    .15235E-03   1.0000         .10000E-03   10000.    
    36 'Normalizat'    .15315       1.0000         .10000E-01   10.000    
    37 'Prefactor '    1.5546       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=   1725.943     FROM MIGRAD    STATUS=CONVERGED   2000 CALLS     7415 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.451        7.3760        .91053E-04    .45885E-05
   2  Prefactor     .10000E-03    21.459        .18142E-02** at limit **
   3  Prefactor     .10000E-03    73.455        .18142E-02** at limit **
   4  Prefactor     .10000E-03    21.582        .18142E-02** at limit **
   5  norm          34.720        12.560        .68013E-04   -.36866E-04
   6  Prefactor     3.4767        826.77        .23085E-03   -.12312E-06
   7  Prefactor     .10000E-03    134.29        .18142E-02** at limit **
   8  Prefactor     129.95        92.967        .17655E-03    .59566E-05
   9  norm          4.9157        3.7513        .65498E-04    .36841E-04
  10  norm          105.58        147.78        .19574E-03   -.36387E-05
  11  norm          .10000E-03    10.693        .26185E-03** at limit **
  12  norm          67.333        67.154        .48913E-04    .63336E-05
  13  Prefactor     .10000E-03    333.20        .18142E-02** at limit **
  14  Prefactor     28.668        76.358        .74845E-04    .49366E-06
  15  Prefactor     .10000E-03    71.917        .18142E-02** at limit **
  16  Prefactor     .10000E-03    15.831        .16096E-02** at limit **
  17  Prefactor     86.497        72.629        .43203E-04    .23262E-04
  18  Prefactor     37.377        99.301        .65548E-04    .43360E-07
  19  Prefactor     6.6286        6.7814        .10298E-03    .38087E-05
  20  Prefactor     .10000E-03    485.02        .11166    ** at limit **
  21  norm          .10000E-03    20.297        .18142E-02** at limit **
  22  Prefactor     .10000E-03    49.421        .18142E-02** at limit **
  23  Prefactor     .10000E-03    73.797        .18142E-02** at limit **
  24  Prefactor     131.65        197.27        .17564E-03    .43692E-06
  25  Prefactor     16.777        75.012        .97880E-04    .12196E-05
  26  Prefactor     33.065        97.958        .69772E-04    .31366E-05
  27  Prefactor     .10000E-03    55.281        .18142E-02** at limit **
  28  Prefactor     .10000E-03    18.988        .17684E-02** at limit **
  29  Prefactor     .10000E-03    17.053        .16754E-02** at limit **
  30  norm          2.2892        3.4904        .91452E-04    .38382E-04
  31  Prefactor     .10000E-03    11.342        .13646E-02** at limit **
  32  Prefactor     17.019        14.377        .97103E-04    .29679E-04
  33  Prefactor     .10000E-03    43.128        .30759E-02** at limit **
  34  norm          .10000E-03    19.708        .21086E-02** at limit **
  35  Prefactor     .10000E-03    38.981        .30075E-02** at limit **
  36  Normalizat    .15282        .41458        .56341E-03    .43988E-05
  37  Prefactor     1.5548        .44999        .23243E-03    .51114E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.4509
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.72
  Prefactor  = 3.47668
  Prefactor  = 0.0001
  Prefactor  = 129.951
  norm       = 4.91566
  norm       = 105.579
  norm       = 0.0001
  norm       = 67.3335
  Prefactor  = 0.0001
  Prefactor  = 28.6676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 86.4967
  Prefactor  = 37.3771
  Prefactor  = 6.62857
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 131.65
  Prefactor  = 16.7775
  Prefactor  = 33.0653
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.28917
  Prefactor  = 0.0001
  Prefactor  = 17.0191
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Normalizat = 0.152824
  Prefactor  = 1.55479
 **********
 **   18 **HESSE 
 **********

 FCN=   1725.943     FROM HESSE     STATUS=OK           825 CALLS     8240 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.451        7.3752        .36421E-05   -1.5061    
   2  Prefactor     .10000E-03    21.459        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    73.469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.582        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          34.720        12.557        .13603E-04   -1.4529    
   6  Prefactor     3.4767        825.09        .92339E-05   -1.5335    
   7  Prefactor     .10000E-03    134.29        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     129.95        92.921        .70618E-05   -1.3423    
   9  norm          4.9157        3.7505        .26199E-05   -1.5265    
  10  norm          105.58        147.78        .39149E-04   -1.3649    
  11  norm          .10000E-03    10.694        .52369E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          67.333        67.143        .19565E-05   -1.4065    
  13  Prefactor     .10000E-03    333.27        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     28.668        76.314        .29938E-05   -1.4637    
  15  Prefactor     .10000E-03    71.918        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.833        .32192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     86.497        72.606        .86405E-05   -1.3845    
  18  Prefactor     37.377        99.114        .26219E-05   -1.4484    
  19  Prefactor     6.6286        6.7805        .41192E-05   -1.5193    
  20  Prefactor     .10000E-03    482.27        .11188       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    20.297        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    49.422        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    73.800        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     131.65        197.25        .70254E-05   -1.3408    
  25  Prefactor     16.777        74.983        .39152E-05   -1.4889    
  26  Prefactor     33.065        98.020        .27909E-05   -1.4557    
  27  Prefactor     .10000E-03    55.282        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    18.988        .35368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    17.053        .33507E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          2.2892        3.4902        .36581E-05   -1.5405    
  31  Prefactor     .10000E-03    11.343        .27291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     17.019        14.376        .38841E-05   -1.4883    
  33  Prefactor     .10000E-03    43.450        .61518E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          .10000E-03    19.893        .42171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .10000E-03    39.271        .60151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Normalizat    .15282        .41302        .22537E-04   -1.3311    
  37  Prefactor     1.5548        .44882        .92970E-05   -.76017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79455e-10
Minuit parameter uncertainties:
  1  7.37589
  2  8.92706e-06
  3  0.000349125
  4  6.15319e-06
  5  12.5581
  6  108.667
  7  1.42773e-05
  8  93.0254
  9  3.7507
  10  148.298
  11  7.46298e-06
  12  67.2182
  13  0.000755261
  14  76.5753
  15  0.000146699
  16  1.36193e-05
  17  72.6805
  18  99.5549
  19  6.78127
  20  0.00246927
  21  4.68839e-07
  22  2.57521e-05
  23  0.000207349
  24  198.252
  25  71.0861
  26  98.5021
  27  1.77024e-05
  28  2.97337e-05
  29  8.4261e-06
  30  3.49049
  31  5.74609e-06
  32  14.3788
  33  0.000121286
  34  0.000503504
  35  2.6001e-05
  36  0.421862
  37  0.44998
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  1.362e-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:  1.555e+00  4.500e-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.528e-01  4.219e-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: 1.83e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/272384/likelihoodResults_538185601_538444801_4FGL_J1415.5+4830_daily_bin1153.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1725.94286477
delta logL = -0.000297535908658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1725.94256724
delta logL = -6.22094376013e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9617       1.0000          .0000       10.000    
     3 'Normalizat'    .15282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5548       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=   1725.943     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    240.67        .90712E-02** at limit **
   2  Index         1.9804        8.9720        .50000       -.96171E-05
   3  Normalizat    .15282        .28799E-01    .12875        .26313E-04
   4  Prefactor     1.5548        .36596E-01    .52583E-01    .19726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Index      = 1.9804
  Normalizat = 0.152816
  Prefactor  = 1.5548
 **********
 **   18 **HESSE 
 **********

 FCN=   1725.943     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      238 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    6331.9        .16301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9804        5.9902        .50000       -.64841    
   3  Normalizat    .15282        .14293        .56337E-03   -1.3311    
   4  Prefactor     1.5548        .18000        .23243E-03   -.76016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.97414e-08
Minuit parameter uncertainties:
  1  0.010699
  2  53.7524
  3  0.143274
  4  0.180076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272384': 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) = 1725.94256715
delta logL = 8.35345872474e-08

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  1.070e-02  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.980e+00  5.375e+01  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.555e+00  1.801e-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.528e-01  1.433e-01  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/272384/cmap_HighResolution_538185601_538444801_4FGL_J1415.5+4830_daily_bin1153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', job_status='DONE', photon_flux_upper_limit='1.83e-07', time_completed='2021-09-09 06:00:18.444418', job_id='272384', GAL2='1.55', fit_tolerance='1e-08', EG2='0.15', EG='0.15', time_epoch_completed='1631192418.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.55', dlogl='8.35e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1153' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 06:00:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 272384: <4FGL_J1415.5+4830_daily_bin1153> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin1153> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 05:47:38 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 05:47:39 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:39 2021
Terminated at Thu Sep  9 06:00:19 2021
Results reported at Thu Sep  9 06:00:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin1153 213.899 48.5142 538185601 538444801 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 :                                   646.12 sec.
    Max Memory :                                 1127 MB
    Average Memory :                             250.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            761 sec.

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

