/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 195 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 = 5262
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1415.5+4830_daily_bin73
RA = 213.899, Dec = 48.5142
tmin = 258249601, tmax = 258508801
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='260763', job_status='RUN', time_executed='2021-09-09 05:19:08.476685', time_epoch_executed='1631189948.48' WHERE source_name='4FGL J1415.5+4830' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260763

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260763/ft1_4FGL_J1415.5+4830_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260763/ft2_4FGL_J1415.5+4830_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260763/ft1_4FGL_J1415.5+4830_daily_bin73.fits outfile=/scratch/kocevski/260763/ft1_filteredMKT_4FGL_J1415.5+4830_daily_bin73.fits ra=213.899 dec=48.5142 rad=12.0 tmin=258249601.0 tmax=258508801.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 1.58
user 0.96
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260763/ft1_filtered_4FGL_J1415.5+4830_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/260763/ft2_4FGL_J1415.5+4830_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/260763/ltcube_258249601_258508801_4FGL_J1415.5+4830_daily_bin73.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/260763/ft2_4FGL_J1415.5+4830_daily_bin73.fits
.....................!
real 9.26
user 8.89
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260763/ft1_filtered_4FGL_J1415.5+4830_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/260763/ft2_4FGL_J1415.5+4830_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/260763/ltcube_258249601_258508801_4FGL_J1415.5+4830_daily_bin73.fits outfile=/scratch/kocevski/260763/expmap_258249601_258508801_4FGL_J1415.5+4830_daily_bin73.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/260763/ltcube_258249601_258508801_4FGL_J1415.5+4830_daily_bin73.fits
.....................!
real 190.53
user 185.68
sys 4.47

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/260763/ft1_filtered_4FGL_J1415.5+4830_daily_bin73.fits scfile=/scratch/kocevski/260763/ft2_4FGL_J1415.5+4830_daily_bin73.fits outfile=/scratch/kocevski/260763/cmap_258249601_258508801_4FGL_J1415.5+4830_daily_bin73.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.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260763/ft1_filtered_4FGL_J1415.5+4830_daily_bin73.fits scfile=/scratch/kocevski/260763/ft2_4FGL_J1415.5+4830_daily_bin73.fits outfile=/scratch/kocevski/260763/cmap_HighResolution_258249601_258508801_4FGL_J1415.5+4830_daily_bin73.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.78
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.358       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.342       1.0000         .10000E-03   10000.    
     5 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.093       1.0000         .10000E-03   10000.    
    10 'norm      '    .10872E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.2504       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0961       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.650       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.058       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.259       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10497E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.0477       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    112.35       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .33176E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .19451E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    29.586       1.0000         .10000E-03   10000.    
    30 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    21.288       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    35 'Prefactor '    .47527       1.0000         .10000E-03   10000.    
    36 'Normalizat'    .62841       1.0000         .10000E-01   10.000    
    37 'Prefactor '    1.1338       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=   3225.809     FROM MIGRAD    STATUS=CONVERGED   1045 CALLS     5619 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.9522       -.58305E-07** at limit **
   2  Prefactor     .10000E-03    37.723        .88264E-06** at limit **
   3  Prefactor     22.330        28.899        .32093E-06    .23813E-05
   4  Prefactor     16.348        77.628       -.10811E-05   -.21588E-05
   5  norm          .10000E-03    10.495       -.18472E-06** at limit **
   6  Prefactor     .10000E-03    31.730       -.49785E-06** at limit **
   7  Prefactor     .10000E-03    41.040        .11571E-05** at limit **
   8  Prefactor     .10000E-03    26.485       -.10347E-05** at limit **
   9  norm          13.093        3.8635        .17707E-07    .14454E-04
  10  norm          .10000E-03    117.37        .50019E-05** at limit **
  11  norm          8.2511        7.7379        .12898E-06    .12080E-04
  12  norm          .10000E-03    6.6141        .16536E-06** at limit **
  13  Prefactor     .10000E-03    31.840       -.42241E-06** at limit **
  14  Prefactor     2.0969        38.140        .49442E-05    .35182E-04
  15  Prefactor     .10000E-03    82.723       -.18274E-05** at limit **
  16  Prefactor     .10000E-03    10.220       -.97558E-07** at limit **
  17  Prefactor     43.648        43.197        .45171E-06    .11416E-04
  18  Prefactor     12.056        17.893        .89821E-07    .57542E-04
  19  Prefactor     11.258        5.4505        .45231E-06    .72297E-04
  20  Prefactor     .10000E-03    74.083       -.23394E-05** at limit **
  21  norm          .10000E-03    9.9462        .78640E-07** at limit **
  22  Prefactor     8.0810        73.394       -.47331E-05   -.91387E-05
  23  Prefactor     .10000E-03    23.512        .67592E-06** at limit **
  24  Prefactor     112.41        116.11       -.31686E-05   -.73544E-05
  25  Prefactor     .10000E-03    49.405        .19074E-06** at limit **
  26  Prefactor     .10000E-03    34.370        .41849E-06** at limit **
  27  Prefactor     .10000E-03    399.66        .61494E-05** at limit **
  28  Prefactor     .10000E-03    86.655       -.35989E-06** at limit **
  29  Prefactor     29.583        26.264        .42505E-06   -.25305E-04
  30  norm          .10000E-03    1.8721        .21769E-06** at limit **
  31  Prefactor     21.288        15.379        .18401E-06    .33906E-06
  32  Prefactor     .10000E-03    2.5294       -.42740E-07** at limit **
  33  Prefactor     .10000E-03    6.5120       -.88910E-07** at limit **
  34  norm          .10000E-03    1.9404        .13079E-07** at limit **
  35  Prefactor     .50937        12.863        .15786E-05   -.18998E-03
  36  Normalizat    .62837        .26159       -.92489E-07   -.28646E-04
  37  Prefactor     1.1338        .26065        .17072E-06   -.25641E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3302
  Prefactor  = 16.3484
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.0933
  norm       = 0.0001
  norm       = 8.25108
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.09692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.6481
  Prefactor  = 12.0557
  Prefactor  = 11.2584
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.081
  Prefactor  = 0.0001
  Prefactor  = 112.412
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.5834
  norm       = 0.0001
  Prefactor  = 21.2877
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.509366
  Normalizat = 0.628366
  Prefactor  = 1.1338
 **********
 **   18 **HESSE 
 **********

 FCN=   3225.809     FROM HESSE     STATUS=OK           849 CALLS     6468 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.9795        .95281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    37.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.330        28.636        .84712E-04   -1.4763    
   4  Prefactor     16.348        78.136        .99075E-04   -1.4899    
   5  norm          .10000E-03    10.643        .35413E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    31.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    41.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.093        3.8694        .54566E-04   -1.4984    
  10  norm          .10000E-03    117.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.2511        7.7350        .13957E-03   -1.5133    
  12  norm          .10000E-03    6.6172        .14266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0969        38.896        .14254E-02   -1.5418    
  15  Prefactor     .10000E-03    82.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.290        .17699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     43.648        43.927        .60680E-04   -1.4386    
  18  Prefactor     12.056        17.792        .11536E-03   -1.5013    
  19  Prefactor     11.258        5.4556        .84837E-04   -1.5037    
  20  Prefactor     .10000E-03    75.193        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    9.9471        .17493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.0810        74.120        .14133E-03   -1.5139    
  23  Prefactor     .10000E-03    23.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     112.41        115.76        .18975E-03   -1.3583    
  25  Prefactor     .10000E-03    49.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    34.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    409.80        .42694E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    86.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     29.583        25.656        .36829E-03   -1.4620    
  30  norm          .10000E-03    3.2956        .14579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     21.288        15.374        .86811E-04   -1.4785    
  32  Prefactor     .10000E-03    2.5322        .88213E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    6.5199        .14152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          .10000E-03    1.9462        .77057E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Prefactor     .50937        35.460        .36042E-02   -1.5565    
  36  Normalizat    .62837        .30909        .28571E-03   -1.0679    
  37  Prefactor     1.1338        .30816        .25597E-03   -.88393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19118e-10
Minuit parameter uncertainties:
  1  1.25904e-06
  2  2.47788e-05
  3  28.6533
  4  71.6334
  5  3.31847e-05
  6  1.74556e-05
  7  2.36313e-05
  8  2.3145e-05
  9  3.86944
  10  0.000188823
  11  7.7359
  12  1.33981e-07
  13  1.01711e-05
  14  18.0755
  15  5.25806e-07
  16  7.52005e-06
  17  43.9591
  18  17.7996
  19  5.45586
  20  0.000262656
  21  2.3153e-06
  22  49.0276
  23  2.7277e-05
  24  115.997
  25  5.54095e-05
  26  4.52545e-05
  27  0.000872648
  28  0.000266253
  29  25.6651
  30  2.18912e-05
  31  15.3765
  32  1.76612e-06
  33  9.26767e-07
  34  5.67386e-06
  35  8.50436
  36  0.309942
  37  0.308646
Done.

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

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  7.520e-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.134e+00  3.086e-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:  6.284e-01  3.099e-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.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/260763/likelihoodResults_258249601_258508801_4FGL_J1415.5+4830_daily_bin73.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) = 3225.80938658
delta logL = -0.000462907380097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3225.80892413
delta logL = -4.54115252069e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11293E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9770       1.0000          .0000       10.000    
     3 'Normalizat'    .62829       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1339       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=   3225.809     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    132.82        .90712E-02** at limit **
   2  Index         2.0133        8.5342        .50000       -.28586E-04
   3  Normalizat    .62837        .19367E-01    .64572E-01    .49270E-04
   4  Prefactor     1.1338        .22858E-01    .57888E-01   -.20622E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.01334
  Normalizat = 0.628371
  Prefactor  = 1.1338
 **********
 **   18 **HESSE 
 **********

 FCN=   3225.809     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      243 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    638.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0133        5.8334        .50000       -.64017    
   3  Normalizat    .62837        .44841E-01    .28571E-03   -1.0679    
   4  Prefactor     1.1338        .52984E-01    .25597E-03   -.88394    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.92238e-08
Minuit parameter uncertainties:
  1  0.00178665
  2  30.429
  3  0.0448433
  4  0.052986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260763': 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) = 3225.80892321
delta logL = 4.68365669803e-07

Extracting fit parameters...

4FGL J1415.5+4830
   Spectrum: PowerLaw
322    Prefactor:  1.000e-04  1.787e-03  1.000e-04  1.000e+04 ( 1.000e-13)
323        Index:  2.013e+00  3.043e+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.134e+00  5.299e-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:  6.284e-01  4.484e-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/260763/cmap_HighResolution_258249601_258508801_4FGL_J1415.5+4830_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.90e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-09 05:31:43.928031', job_id='260763', GAL2='1.13', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1631190703.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='4.68e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='73' AND source_name='4FGL J1415.5+4830' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 05:31:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 260763: <4FGL_J1415.5+4830_daily_bin73> in cluster <slac> Done

Job <4FGL_J1415.5+4830_daily_bin73> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 05:15:40 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 05:15:42 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:15:42 2021
Terminated at Thu Sep  9 05:31:45 2021
Results reported at Thu Sep  9 05:31:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1415.5+4830_daily_bin73 213.899 48.5142 258249601 258508801 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 :                                   747.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            965 sec.

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

