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


Performing analysis on: 4FGL_J1415.5+4830_daily_bin712
RA = 213.899, Dec = 48.5142
tmin = 423878401, tmax = 424137601
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='269375', job_status='RUN', time_executed='2021-09-09 05:46:06.378751', time_epoch_executed='1631191566.38' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269375

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269375/ft1_4FGL_J1415.5+4830_daily_bin712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269375/ft2_4FGL_J1415.5+4830_daily_bin712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269375/ft1_4FGL_J1415.5+4830_daily_bin712.fits outfile=/scratch/kocevski/269375/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin712.fits ra=213.899 dec=48.5142 rad=12.0 tmin=423878401.0 tmax=424137601.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 8.17
user 5.06
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269375/ft1_filtered_4FGL_J1415.5+4830_daily_bin712.fits evtable="EVENTS" scfile=/scratch/kocevski/269375/ft2_4FGL_J1415.5+4830_daily_bin712.fits sctable="SC_DATA" expcube=/scratch/kocevski/269375/ltcube_423878401_424137601_4FGL_J1415.5+4830_daily_bin712.fits outfile=/scratch/kocevski/269375/expmap_423878401_424137601_4FGL_J1415.5+4830_daily_bin712.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/269375/ltcube_423878401_424137601_4FGL_J1415.5+4830_daily_bin712.fits
.....................!
real 194.50
user 187.67
sys 4.29

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/269375/ft1_filtered_4FGL_J1415.5+4830_daily_bin712.fits scfile=/scratch/kocevski/269375/ft2_4FGL_J1415.5+4830_daily_bin712.fits outfile=/scratch/kocevski/269375/cmap_423878401_424137601_4FGL_J1415.5+4830_daily_bin712.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 2.62
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/269375/ft1_filtered_4FGL_J1415.5+4830_daily_bin712.fits scfile=/scratch/kocevski/269375/ft2_4FGL_J1415.5+4830_daily_bin712.fits outfile=/scratch/kocevski/269375/cmap_HighResolution_423878401_424137601_4FGL_J1415.5+4830_daily_bin712.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 2.20
user 0.36
sys 0.18

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

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1242.7192505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11340E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    64.150       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13197E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13846E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.7103       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .29932E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    181.20       1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.273       1.0000         .10000E-03   10000.    
     9 'norm      '    4.3267       1.0000         .10000E-03   10000.    
    10 'norm      '    .11158E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .35661E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .47771E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    492.44       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .29360E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .56162E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .95564E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    135.42       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10434E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15868E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .57008       1.0000         .10000E-03   10000.    
    21 'norm      '    .18666E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.185       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.3710       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.2856       1.0000         .10000E-03   10000.    
    25 'Prefactor '    27.237       1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.943       1.0000         .10000E-03   10000.    
    27 'Prefactor '    267.28       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .28151E-02   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .48404E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    5.6176       1.0000         .10000E-03   10000.    
    31 'Prefactor '    9.8466       1.0000         .10000E-03   10000.    
    32 'Prefactor '    15.527       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .23739E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    35 'Prefactor '    41.813       1.0000         .10000E-03   10000.    
    36 'Normalizat'    .57894       1.0000         .10000E-01   10.000    
    37 'Prefactor '    1.0207       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=   1242.530     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     4079 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.9928        .15370E-06** at limit **
   2  Prefactor     66.700        66.997       -.24584E-05    .82786E-02
   3  Prefactor     .10000E-03    59.788        .45281E-06** at limit **
   4  Prefactor     .10000E-03    67.912       -.10531E-05** at limit **
   5  norm          4.8590        9.3118       -.10136E-06   -.24915E-04
   6  Prefactor     .10000E-03    102.77       -.21031E-05** at limit **
   7  Prefactor     269.69        290.15       -.23649E-05   -.20414E-02
   8  Prefactor     45.529        59.702       -.40168E-07    .99395E-02
   9  norm          4.2273        5.0001       -.38235E-07    .41736E-05
  10  norm          .10000E-03    130.34        .46003E-06** at limit **
  11  norm          .10000E-03    29.530       -.43988E-06** at limit **
  12  norm          .10000E-03    29.929        .64896E-06** at limit **
  13  Prefactor     505.90        124.19       -.29447E-05   -.24619E-01
  14  Prefactor     .10000E-03    28.256       -.53858E-06** at limit **
  15  Prefactor     .10000E-03    213.24        .18893E-05** at limit **
  16  Prefactor     .10000E-03    30.966       -.65424E-06** at limit **
  17  Prefactor     148.17        106.42       -.13062E-05   -.23173E-02
  18  Prefactor     .10000E-03    26.110       -.30772E-06** at limit **
  19  Prefactor     .10000E-03    108.39       -.23010E-04** at limit **
  20  Prefactor     .10052E-03    769.85       -.37671E-06** at limit **
  21  norm          .10000E-03    48.705        .14013E-05** at limit **
  22  Prefactor     20.332        77.784       -.56071E-05    .24282E-02
  23  Prefactor     .54230E-02    965.50       -.33060E-04    .15786E-02
  24  Prefactor     5.9474        489.38       -.25156E-04    .10152E-02
  25  Prefactor     26.354        95.868       -.60733E-06   -.67306E-03
  26  Prefactor     22.851        87.386        .67858E-05    .85236E-03
  27  Prefactor     240.81        90.350       -.15053E-05   -.16782E-01
  28  Prefactor     .10000E-03    318.79        .13225E-04** at limit **
  29  Prefactor     .10000E-03    30.846        .23795E-06** at limit **
  30  norm          5.6505        4.4181        .13262E-06   -.38144E-04
  31  Prefactor     9.9172        11.595       -.13289E-06    .13981E-04
  32  Prefactor     15.740        16.047       -.22653E-06    .55520E-04
  33  Prefactor     .10000E-03    9.2164        .15922E-06** at limit **
  34  norm          .10000E-03    6.2663        .34102E-06** at limit **
  35  Prefactor     42.136        26.317        .33525E-06    .86531E-04
  36  Normalizat    .53920        .45216        .51567E-05   -.16375E-04
  37  Prefactor     1.0465        .52479       -.20492E-05   -.16635E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 66.6999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.85897
  Prefactor  = 0.0001
  Prefactor  = 269.695
  Prefactor  = 45.5286
  norm       = 4.22728
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 505.904
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 148.173
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100515
  norm       = 0.0001
  Prefactor  = 20.332
  Prefactor  = 0.005423
  Prefactor  = 5.94737
  Prefactor  = 26.3537
  Prefactor  = 22.8508
  Prefactor  = 240.81
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 5.65051
  Prefactor  = 9.91719
  Prefactor  = 15.74
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.1357
  Normalizat = 0.539197
  Prefactor  = 1.04646
 **********
 **   18 **HESSE 
 **********

 FCN=   1242.530     FROM HESSE     STATUS=OK           925 CALLS     5004 TOTAL
                     EDM=   .29E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.8189        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     66.700        85.398        .12526E-02   -1.4073    
   3  Prefactor     .10000E-03    59.792        .10284E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    68.043        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.8590        9.3679        .46352E-02   -1.5267    
   6  Prefactor     .10000E-03    103.39        .91717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     269.69        307.71        .74971E-03   -1.2409    
   8  Prefactor     45.529        83.828        .15414E-02   -1.4357    
   9  norm          4.2273        5.0093        .48415E-02   -1.5297    
  10  norm          .10000E-03    131.44        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    29.545        .10658E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    29.623        .96323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     505.90        333.68        .46216E-03   -1.1171    
  14  Prefactor     .10000E-03    28.170        .10699E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    209.30        .10549E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    30.965        .10396E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     148.17        109.96        .86523E-03   -1.3267    
  18  Prefactor     .10000E-03    26.230        .90751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.700        .76630E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10052E-03    93.165        .11554       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    49.215        .91160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.332        562.49        .21260E-02   -1.4806    
  23  Prefactor     .54230E-02    2142.9        .43351E-02   -1.5693    
  24  Prefactor     5.9474        2236.0        .55845E-02   -1.5220    
  25  Prefactor     26.354        102.74        .19191E-02   -1.4681    
  26  Prefactor     22.851        413.68        .23006E-02   -1.4752    
  27  Prefactor     240.81        259.40        .62001E-03   -1.2592    
  28  Prefactor     .10000E-03    315.58        .99482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    30.814        .10587E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          5.6505        4.4539        .42373E-02   -1.5233    
  31  Prefactor     9.9172        11.630        .31925E-02   -1.5078    
  32  Prefactor     15.740        16.152        .25411E-02   -1.4914    
  33  Prefactor     .10000E-03    9.3605        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          .10000E-03    6.2747        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     42.136        26.216        .15498E-02   -1.4409    
  36  Normalizat    .53920        .41185        .68069E-01   -1.1063    
  37  Prefactor     1.0465        .45102        .60742E-01   -.91197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89436e-05
Minuit parameter uncertainties:
  1  2.98781e-06
  2  85.5557
  3  3.57848e-06
  4  0.000193503
  5  9.3707
  6  3.06575e-05
  7  309.596
  8  84.0465
  9  5.00983
  10  0.000206703
  11  1.25643e-05
  12  1.29031e-05
  13  334.983
  14  1.18791e-05
  15  0.000197908
  16  5.46646e-06
  17  110.116
  18  3.44162e-06
  19  0.000426623
  20  0.0138753
  21  0.000103324
  22  216.169
  23  7.0228
  24  240.316
  25  103.444
  26  196.05
  27  260.651
  28  0.00236692
  29  2.38867e-06
  30  4.45415
  31  11.6327
  32  16.1567
  33  2.24107e-06
  34  2.56234e-06
  35  26.2236
  36  0.41421
  37  0.452673
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  5.466e-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.046e+00  4.527e-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.392e-01  4.142e-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: 2.97e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/269375/likelihoodResults_423878401_424137601_4FGL_J1415.5+4830_daily_bin712.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) = 1242.53031509
delta logL = -0.000152598830937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1242.53016276
delta logL = -2.61645027422e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8750       1.0000          .0000       10.000    
     3 'Normalizat'    .53921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0465       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=   1242.530     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    958.05        .90712E-02** at limit **
   2  Index         1.9188        5.9645        .50000       -.14160E-04
   3  Normalizat    .53920        .52948E-01    .68068E-01    .98214E-05
   4  Prefactor     1.0465        .64624E-01    .60739E-01    .77379E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.91878
  Normalizat = 0.539197
  Prefactor  = 1.04646
 **********
 **   18 **HESSE 
 **********

 FCN=   1242.530     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1680.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9188        5.4638        .50000       -.66396    
   3  Normalizat    .53920        .73226E-01    .30127E-03   -1.1063    
   4  Prefactor     1.0465        .89487E-01    .26860E-03   -.91197    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.10939e-08
Minuit parameter uncertainties:
  1  0.00385616
  2  30.8352
  3  0.073239
  4  0.0894994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269375': 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) = 1242.53016259
delta logL = -9.38782704907e-08

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  3.856e-03  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  1.919e+00  3.084e+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.046e+00  8.950e-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:  5.392e-01  7.324e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 213.899 48.514

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/269375/cmap_HighResolution_423878401_424137601_4FGL_J1415.5+4830_daily_bin712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-02', job_status='DONE', photon_flux_upper_limit='2.97e-07', time_completed='2021-09-09 05:54:49.102639', job_id='269375', GAL2='1.05', fit_tolerance='1e-08', EG2='0.54', EG='0.54', time_epoch_completed='1631192089.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-9.39e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='712' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 05:54:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 269375: <4FGL_J1415.5+4830_daily_bin712> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin712> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 05:39:42 2021
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 05:39:44 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:44 2021
Terminated at Thu Sep  9 05:54:49 2021
Results reported at Thu Sep  9 05:54:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin712 213.899 48.5142 423878401 424137601 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 :                                   481.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             241.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            907 sec.

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

