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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin748
RA = 213.899, Dec = 48.5142
tmin = 433209601, tmax = 433468801
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='269434', job_status='RUN', time_executed='2021-09-09 05:42:09.730068', time_epoch_executed='1631191329.73' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269434

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269434/ft1_4FGL_J1415.5+4830_daily_bin748.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269434/ft2_4FGL_J1415.5+4830_daily_bin748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269434/ft1_4FGL_J1415.5+4830_daily_bin748.fits outfile=/scratch/kocevski/269434/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin748.fits ra=213.899 dec=48.5142 rad=12.0 tmin=433209601.0 tmax=433468801.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.22
user 5.74
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/269434/ft2_4FGL_J1415.5+4830_daily_bin748.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/269434/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin748.fits evtable="EVENTS" outfile="/scratch/kocevski/269434/ft1_filtered_4FGL_J1415.5+4830_daily_bin748.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.93
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/269434/ft1_filtered_4FGL_J1415.5+4830_daily_bin748.fits" evtable="EVENTS" scfile=/scratch/kocevski/269434/ft2_4FGL_J1415.5+4830_daily_bin748.fits sctable="SC_DATA" outfile=/scratch/kocevski/269434/ltcube_433209601_433468801_4FGL_J1415.5+4830_daily_bin748.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/269434/ft2_4FGL_J1415.5+4830_daily_bin748.fits
.....................!
real 12.73
user 12.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269434/ft1_filtered_4FGL_J1415.5+4830_daily_bin748.fits evtable="EVENTS" scfile=/scratch/kocevski/269434/ft2_4FGL_J1415.5+4830_daily_bin748.fits sctable="SC_DATA" expcube=/scratch/kocevski/269434/ltcube_433209601_433468801_4FGL_J1415.5+4830_daily_bin748.fits outfile=/scratch/kocevski/269434/expmap_433209601_433468801_4FGL_J1415.5+4830_daily_bin748.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/269434/ltcube_433209601_433468801_4FGL_J1415.5+4830_daily_bin748.fits
.....................!
real 194.52
user 186.41
sys 5.21

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/269434/ft1_filtered_4FGL_J1415.5+4830_daily_bin748.fits scfile=/scratch/kocevski/269434/ft2_4FGL_J1415.5+4830_daily_bin748.fits outfile=/scratch/kocevski/269434/cmap_433209601_433468801_4FGL_J1415.5+4830_daily_bin748.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/269434/ft1_filtered_4FGL_J1415.5+4830_daily_bin748.fits scfile=/scratch/kocevski/269434/ft2_4FGL_J1415.5+4830_daily_bin748.fits outfile=/scratch/kocevski/269434/cmap_HighResolution_433209601_433468801_4FGL_J1415.5+4830_daily_bin748.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6511       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.830       1.0000         .10000E-03   10000.    
     5 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    63.575       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.963       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.371       1.0000         .10000E-03   10000.    
     9 'norm      '    3.1470       1.0000         .10000E-03   10000.    
    10 'norm      '    .10755E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.764       1.0000         .10000E-03   10000.    
    13 'Prefactor '    81.417       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    70.135       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15365E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8317       1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.811       1.0000         .10000E-03   10000.    
    21 'norm      '    4.2315       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    13.321       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.1302       1.0000         .10000E-03   10000.    
    28 'Prefactor '    19.684       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .48767       1.0000         .10000E-03   10000.    
    31 'Prefactor '    79.158       1.0000         .10000E-03   10000.    
    32 'Prefactor '    8.6332       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    35 'Prefactor '    2.6289       1.0000         .10000E-03   10000.    
    36 'Normalizat'    .54329       1.0000         .10000E-01   10.000    
    37 'Prefactor '    1.3093       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2486.681     FROM MIGRAD    STATUS=CONVERGED   1067 CALLS     5662 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6515        6.3378       -.86694E-06   -.74925E-04
   2  Prefactor     .10000E-03    38.461        .36638E-06** at limit **
   3  Prefactor     .10000E-03    37.963       -.47906E-06** at limit **
   4  Prefactor     36.816        61.089        .29607E-06    .80950E-05
   5  norm          .10000E-03    10.663       -.91106E-07** at limit **
   6  Prefactor     63.585        114.23        .37101E-06    .46783E-05
   7  Prefactor     15.917        169.94        .14741E-05   -.11736E-05
   8  Prefactor     13.354        103.23        .47045E-06    .27333E-05
   9  norm          3.1469        2.2847        .20412E-07    .28612E-04
  10  norm          .10000E-03    223.75        .28305E-06** at limit **
  11  norm          .10000E-03    10.228       -.16680E-06** at limit **
  12  norm          12.760        28.566       -.98465E-07   -.39552E-04
  13  Prefactor     81.401        95.632       -.11724E-06    .35802E-05
  14  Prefactor     .10000E-03    16.418        .68393E-07** at limit **
  15  Prefactor     .10000E-03    39.298        .13802E-06** at limit **
  16  Prefactor     .10000E-03    5.0014        .14335E-06** at limit **
  17  Prefactor     70.117        50.518        .21794E-06   -.23219E-04
  18  Prefactor     .10067E-03    36.920        .70020E-05** at limit **
  19  Prefactor     5.8310        6.0374       -.29328E-07    .76696E-05
  20  Prefactor     26.831        35.973       -.95434E-06   -.40185E-03
  21  norm          4.2431        19.652       -.18370E-05   -.20569E-03
  22  Prefactor     .10000E-03    52.704       -.25756E-05** at limit **
  23  Prefactor     .10000E-03    35.891       -.77086E-07** at limit **
  24  Prefactor     .10000E-03    121.59       -.19276E-06** at limit **
  25  Prefactor     .10000E-03    22.686        .41013E-06** at limit **
  26  Prefactor     13.518        220.78        .27919E-05    .58099E-06
  27  Prefactor     3.0648        153.55       -.43086E-06    .79239E-06
  28  Prefactor     19.683        33.068       -.20679E-06    .93350E-05
  29  Prefactor     .10000E-03    22.983        .16890E-06** at limit **
  30  norm          .48779        2.1064       -.46273E-06   -.34219E-04
  31  Prefactor     79.134        50.007       -.73049E-06   -.71556E-04
  32  Prefactor     8.6311        16.143        .39287E-06   -.24626E-04
  33  Prefactor     .10001E-03    174.29        .44896E-05** at limit **
  34  norm          .10000E-03    17.071        .49079E-05** at limit **
  35  Prefactor     2.6132        31.175       -.22322E-05   -.18223E-03
  36  Normalizat    .54391        .37076       -.34020E-05   -.94551E-04
  37  Prefactor     1.3087        .36674        .30429E-05   -.29253E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.65151
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.8161
  norm       = 0.0001
  Prefactor  = 63.5849
  Prefactor  = 15.9166
  Prefactor  = 13.3544
  norm       = 3.14691
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.7597
  Prefactor  = 81.401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.1172
  Prefactor  = 0.000100673
  Prefactor  = 5.83096
  Prefactor  = 26.8311
  norm       = 4.24306
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.5176
  Prefactor  = 3.06476
  Prefactor  = 19.6832
  Prefactor  = 0.0001
  norm       = 0.48779
  Prefactor  = 79.1339
  Prefactor  = 8.63111
  Prefactor  = 0.000100006
  norm       = 0.000100003
  Prefactor  = 2.61318
  Normalizat = 0.543914
  Prefactor  = 1.30869
 **********
 **   18 **HESSE 
 **********

 FCN=   2486.681     FROM HESSE     STATUS=OK           851 CALLS     6513 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6515        6.3242        .22943E-03   -1.5451    
   2  Prefactor     .10000E-03    38.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    38.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.816        61.117        .66039E-04   -1.4494    
   5  norm          .10000E-03    10.933        .31701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     63.585        114.44        .50329E-04   -1.4111    
   7  Prefactor     15.917        171.74        .10025E-03   -1.4910    
   8  Prefactor     13.354        103.37        .10954E-03   -1.4977    
   9  norm          3.1469        2.2835        .61214E-04   -1.5353    
  10  norm          .10000E-03    223.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    10.300        .15560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.760        28.516        .11212E-03   -1.4993    
  13  Prefactor     81.401        95.659        .22257E-03   -1.3901    
  14  Prefactor     .10000E-03    16.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    39.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.0089        .10888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     70.117        50.671        .47933E-04   -1.4031    
  18  Prefactor     .10067E-03    173.57        .36568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.8310        6.0401        .11928E-03   -1.5225    
  20  Prefactor     26.831        36.094        .77369E-04   -1.4672    
  21  norm          4.2431        19.390        .19589E-03   -1.5296    
  22  Prefactor     .10000E-03    52.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    35.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    121.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    22.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     13.518        218.41        .10974E-03   -1.4972    
  27  Prefactor     3.0648        154.65        .22915E-03   -1.5358    
  28  Prefactor     19.683        32.855        .90276E-04   -1.4820    
  29  Prefactor     .10000E-03    23.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .48779        1.9714        .13614E-03   -1.5568    
  31  Prefactor     79.134        49.930        .45139E-04   -1.3926    
  32  Prefactor     8.6311        16.007        .13643E-03   -1.5120    
  33  Prefactor     .10001E-03    176.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          .10000E-03    18.568        .20392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     2.6132        28.879        .25151E-03   -1.5385    
  36  Normalizat    .54391        .39209        .31015E-03   -1.1042    
  37  Prefactor     1.3087        .38203        .24346E-03   -.83049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27364e-09
Minuit parameter uncertainties:
  1  6.32677
  2  9.31629e-05
  3  4.38085e-06
  4  61.2208
  5  4.08877e-05
  6  114.838
  7  104.953
  8  74.4883
  9  2.28361
  10  0.000397706
  11  1.29048e-05
  12  28.5463
  13  95.8409
  14  8.04201e-06
  15  2.66804e-05
  16  5.04926e-06
  17  50.7019
  18  0.0216853
  19  6.04075
  20  36.1229
  21  18.1503
  22  0.000347099
  23  1.75042e-05
  24  0.000184318
  25  6.27547e-05
  26  109.146
  27  43.6611
  28  32.8849
  29  6.5949e-05
  30  1.96117
  31  49.9566
  32  16.015
  33  0.00209818
  34  0.000482181
  35  17.3845
  36  0.394111
  37  0.382854
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  5.049e-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.309e+00  3.829e-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:  5.439e-01  3.941e-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.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/269434/likelihoodResults_433209601_433468801_4FGL_J1415.5+4830_daily_bin748.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) = 2486.68154099
delta logL = -0.000889256045866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2486.68065162
delta logL = 1.09004758997e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9187       1.0000          .0000       10.000    
     3 'Normalizat'    .54388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3087       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=   2486.681     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    168.49        .90712E-02** at limit **
   2  Index         1.8912        6.4346        .50000        .39238E-04
   3  Normalizat    .54391        .37392E-01    .70061E-01   -.31233E-05
   4  Prefactor     1.3087        .44096E-01    .55065E-01    .53181E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.89116
  Normalizat = 0.543907
  Prefactor  = 1.3087
 **********
 **   18 **HESSE 
 **********

 FCN=   2486.681     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.3518        .11212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8912        5.9318        .50000       -.67100    
   3  Normalizat    .54391        .29655        .31013E-03   -1.1042    
   4  Prefactor     1.3087        .35069        .24346E-03   -.83049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19307e-09
Minuit parameter uncertainties:
  1  0.000217897
  2  3.93537
  3  0.297416
  4  0.351328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269434': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2486.68065116
delta logL = 5.67024926568e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.309e+00  3.513e-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:  5.439e-01  2.974e-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/269434/cmap_HighResolution_433209601_433468801_4FGL_J1415.5+4830_daily_bin748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.49e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-09 05:53:33.569858', job_id='269434', GAL2='1.31', fit_tolerance='1e-08', EG2='0.54', EG='0.54', time_epoch_completed='1631192013.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='5.67e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='748' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 05:53:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 269434: <4FGL_J1415.5+4830_daily_bin748> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin748 213.899 48.5142 433209601 433468801 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 :                                   662.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

