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


Performing analysis on: 4FGL_J1514.8-4748_monthly_bin102
RA = 228.7, Dec = -47.8141
tmin = 501379201, tmax = 503971201
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='154085', job_status='RUN', time_executed='2021-10-27 03:25:37.304238', time_epoch_executed='1635330337.3' WHERE source_name='4FGL J1514.8-4748' and cadence='monthly' and bin_id='102'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154085

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154085/ft1_4FGL_J1514.8-4748_monthly_bin102.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154085/ft1_4FGL_J1514.8-4748_monthly_bin102.fits outfile=/scratch/kocevski/154085/ft1_filteredMKT_4FGL_J1514.8-4748_monthly_bin102.fits ra=228.7 dec=-47.8141 rad=12.0 tmin=501379201.0 tmax=503971201.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 38.93
user 37.80
sys 0.94

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.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/154085/ft1_filteredMKT_4FGL_J1514.8-4748_monthly_bin102.fits evtable="EVENTS" outfile="/scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.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.68
sys 0.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.fits" evtable="EVENTS" scfile=/scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits sctable="SC_DATA" outfile=/scratch/kocevski/154085/ltcube_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.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/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits
.....................!
real 113.52
user 112.37
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.fits evtable="EVENTS" scfile=/scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits sctable="SC_DATA" expcube=/scratch/kocevski/154085/ltcube_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.fits outfile=/scratch/kocevski/154085/expmap_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.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/154085/ltcube_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.fits
.....................!
real 193.05
user 186.89
sys 4.85

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
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source FGES J1409.1-6121 in ROI with RadialDisk spatial model.
Extended source HESS J1420-607 in ROI with RadialDisk spatial model.
Extended source RCW 86 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RCW86.fits is the correct path to the extended template.
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Extended source HESS J1356-645 in ROI with RadialDisk spatial model.
Added 427 point sources and 20 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1514.8-4748 @ 228.7 -47.8141

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.fits scfile=/scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits outfile=/scratch/kocevski/154085/cmap_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.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=228.7 yref=-47.8141 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.89
user 0.70
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.fits scfile=/scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits outfile=/scratch/kocevski/154085/cmap_HighResolution_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.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=228.7 yref=-47.8141 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.87
user 0.69
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.fits evtable="EVENTS" scfile=/scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/154085/Model_4FGL_J1514.8-4748_monthly_bin102.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 CenA Lobes
adding source EG_v02
adding source FGES J1409.1-6121
adding source FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1501.0-6310
adding source FHES J1642.1-5428
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1356-645
adding source HESS J1420-607
adding source HESS J1507-622
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RCW 86
Working on...
/scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.fits.....................!
real 28674.22
user 28599.92
sys 10.50

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.fits', '/scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits', expMap='/scratch/kocevski/154085/expmap_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.fits', expCube='/scratch/kocevski/154085/ltcube_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/154085/Model_4FGL_J1514.8-4748_monthly_bin102.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.8-4748'

4FGL J1514.8-4748
   Spectrum: LogParabola
625         norm:  1.857e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
626        alpha:  2.288e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.038e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  1.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/154085/ft1_filtered_4FGL_J1514.8-4748_monthly_bin102.fits
Spacecraft file(s): /scratch/kocevski/154085/ft2_4FGL_J1514.8-4748_monthly_bin102.fits
Exposure map: /scratch/kocevski/154085/expmap_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.fits
Exposure cube: /scratch/kocevski/154085/ltcube_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/154085/Model_4FGL_J1514.8-4748_monthly_bin102.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) = 421088.278002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2268       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .65495       1.0000         .10000E-03   10000.    
     3 'norm      '    7.2690       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25753       1.0000         .10000E-03   10000.    
     6 'norm      '    19.422       1.0000         .10000E-03   10000.    
     7 'norm      '    12.819       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5552       1.0000         .10000E-03   10000.    
     9 'norm      '    1.2210       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.198       1.0000         .10000E-03   10000.    
    12 'norm      '    .94920       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3712       1.0000         .10000E-03   10000.    
    14 'norm      '    7.1217       1.0000         .10000E-03   10000.    
    15 'norm      '    20.231       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.957       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.6277       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1585E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   421088.2     FROM MIGRAD    STATUS=CONVERGED    388 CALLS     1629 TOTAL
                     EDM=   .61E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2268        .66153E-01     .0000        .29311E-02
   2  Prefactor     .64914        2.6295         .0000        .31783E-02
   3  norm          7.2686        2.8919         .0000       -.56042E-02
   4  Prefactor     .10000E-03    3.3375         .0000    ** at limit **
   5  Prefactor     .27202        .88071         .0000        .87550E-02
   6  norm          19.435        4.2943         .0000        .14116E-01
   7  norm          12.815        4.1640         .0000       -.10374E-02
   8  norm          3.5360        5.5662         .0000        .16426E-02
   9  norm          1.2201        .99068         .0000        .29846E-01
  10  Prefactor     .10000E-03    .42042         .0000    ** at limit **
  11  Prefactor     13.216        6.7426         .0000       -.13942E-02
  12  norm          .94907        1.0790         .0000        1.0036    
  13  Prefactor     3.3841        3.3607         .0000        .50501E-01
  14  norm          7.1218        2.1200         .0000        .11405E-01
  15  norm          20.193        7.1788         .0000       -.99357E-03
  16  Prefactor     18.931        10.367         .0000        .12472E-02
  17  Normalizat    1.6276        .10664         .0000        .12566E-02
  18  Prefactor     .98333        .70399E-02     .0000       -.78787E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.22678
  Prefactor  = 0.649145
  norm       = 7.26856
  Prefactor  = 0.0001
  Prefactor  = 0.272016
  norm       = 19.4354
  norm       = 12.8148
  norm       = 3.53595
  norm       = 1.2201
  Prefactor  = 0.0001
  Prefactor  = 13.2159
  norm       = 0.949067
  Prefactor  = 3.38411
  norm       = 7.12183
  norm       = 20.1927
  Prefactor  = 18.9308
  Normalizat = 1.6276
  Prefactor  = 0.983326
 **********
 **   18 **HESSE 
 **********

 FCN=   421088.2     FROM HESSE     STATUS=OK           268 CALLS     1897 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2268        .66201E-01    .36500E-04   -1.5486    
   2  Prefactor     .64914        2.6375        .50000       -1.5547    
   3  norm          7.2686        2.8914        .14877E-03   -1.5169    
   4  Prefactor     .10000E-03    3.4316        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27202        .88066        .18135       -1.5604    
   6  norm          19.435        4.2707        .90882E-04   -1.4826    
   7  norm          12.815        4.1665        .11188E-03   -1.4992    
   8  norm          3.5360        5.5594        .21436E-03   -1.5332    
   9  norm          1.2201        .97482        .40814E-03   -1.5487    
  10  Prefactor     .10000E-03    .43391        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.216        6.7295        .11026E-03   -1.4981    
  12  norm          .94907        1.0579        .25970E-02   -1.5513    
  13  Prefactor     3.3841        3.2917        .11019E-02   -1.5340    
  14  norm          7.1218        2.1209        .75158E-03   -1.5174    
  15  norm          20.193        7.0953        .89048E-04   -1.4809    
  16  Prefactor     18.931        10.294        .91989E-04   -1.4837    
  17  Normalizat    1.6276        .10429        .12804E-02   -.74253    
  18  Prefactor     .98333        .70627E-02    .11522E-03   -.93287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.09063e-08
Minuit parameter uncertainties:
  1  0.0662006
  2  2.61694
  3  2.89146
  4  4.87863e-05
  5  0.8807
  6  4.27076
  7  4.16662
  8  5.56025
  9  0.974831
  10  5.16867e-07
  11  6.72984
  12  1.05796
  13  3.29184
  14  2.12094
  15  7.09563
  16  10.2949
  17  0.104302
  18  0.00706271
Done.

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

Extracting fit parameters...

4FGL J1514.8-4748
   Spectrum: LogParabola
625         norm:  1.220e+00  9.748e-01  1.000e-04  1.000e+04 ( 1.000e-12)
626        alpha:  2.288e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
627         beta:  1.038e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  1.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1549    Prefactor:  9.833e-01  7.063e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1516   Normalization:  1.628e+00  1.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.14
Ra Dec: 228.700 -47.814
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.52e-08 +/- 1.21e-08
Energy Flux (Fixed Index): 6.03e-06 +/- 4.82e-06

TS (Fixed Index): 2.14
Ra Dec: 228.700 -47.814
Photon Flux Upper Limit: 3.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/154085/likelihoodResults_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 421088.189583
delta logL = 0.0159323986736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 421088.189146
delta logL = 0.0163696656819

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2025       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1484       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98330       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1585E+06   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   421088.2     FROM MIGRAD    STATUS=FAILED        88 CALLS      285 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2025        27.079        .41370E-03    .10570E-02
   2  alpha         2.1484        3.3037        .50000       -.55066E-03
   3  Normalizat    1.6300        .75595E-01    .12796E-02    .59190E-03
   4  Prefactor     .98330        .35619E-02    .11522E-03    .27597E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   421088.2     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      372 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2025        27.079        .41210E-04    .10570E-02
   2  alpha         2.1484        3.3037        .11771E-02   -.55066E-03
   3  Normalizat    1.6300        .75595E-01    .73838E-04    .59190E-03
   4  Prefactor     .98330        .35619E-02    .34875E-05    .27597E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   421088.2     FROM MIGRAD    STATUS=FAILED        77 CALLS      449 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2025        27.555        .33096E-05    .10113E-02
   2  alpha         2.1484        3.2881        .50000       -.55108E-03
   3  Normalizat    1.6300        .77999E-01    .10237E-04    .59702E-03
   4  Prefactor     .98330        .36140E-02    .92174E-06    .27479E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20247
  alpha      = 2.14837
  Normalizat = 1.63001
  Prefactor  = 0.983299
 **********
 **   18 **HESSE 
 **********

 FCN=   421088.2     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      478 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2025        27.295        .66191E-06   -1.5489    
   2  alpha         2.1484        3.2835        .50000       -.14112    
   3  Normalizat    1.6300        .78182E-01    .20474E-05   -.74188    
   4  Prefactor     .98330        .36339E-02    .22242E-06   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.66047e-06
Minuit parameter uncertainties:
  1  11.4634
  2  5.26137
  3  0.0781881
  4  0.00363389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154085': 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): 1
logL (Free Index) = 421088.189146
delta logL = 0.0163696657401

Extracting fit parameters...

4FGL J1514.8-4748
   Spectrum: LogParabola
625         norm:  1.202e+00  1.146e+01  1.000e-04  1.000e+04 ( 1.000e-12)
626        alpha:  2.148e+00  5.261e+00  0.000e+00  5.000e+00 ( 1.000e+00)
627         beta:  1.038e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
628           Eb:  1.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1549    Prefactor:  9.833e-01  3.634e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1516   Normalization:  1.630e+00  7.819e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.16
Ra Dec: 228.700 -47.814
Photon Index (Free Index): 2.15 +/- 5.26
Photon Flux (Free Index): 1.23e-08 +/- 2.89e-08
Energy Flux (Free Index): 5.88e-06 +/- 5.88e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -7.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  7.770e+00 [aplpy.core]
Saving /scratch/kocevski/154085/cmap_HighResolution_501379201_503971201_4FGL_J1514.8-4748_monthly_bin102.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-05', comment='SUCCESS', photon_flux='1.52e-08', energy_flux2='5.88e-06', photon_flux_error='1.21e-08', dlogl='1.64e-02', energy_flux='6.03e-06', photon_flux2='1.23e-08', job_status='DONE', time_completed='2021-10-28 02:49:22.502457', photon_index_error2='5.26', photon_index2='2.15', ts='2.14', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='3.94e-08', energy_flux_error2='5.88e-05', EG='1.63', time_epoch_completed='1635414562.5', return_code='0', job_id='154085', GAL2='0.98', EG2='1.63', return_code2='1', energy_flux_error='4.82e-06', photon_flux_error2='2.89e-08', ts2='2.16', photon_index='2.29' WHERE bin_id='102' AND source_name='4FGL J1514.8-4748' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Oct 28 02:49:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 154085: <4FGL_J1514.8-4748_monthly_bin102> in cluster <slac> Done

Job <4FGL_J1514.8-4748_monthly_bin102> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 27 03:25:23 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 27 03:25:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 27 03:25:25 2021
Terminated at Thu Oct 28 02:49:30 2021
Results reported at Thu Oct 28 02:49:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-4748_monthly_bin102 228.7 -47.8141 501379201 503971201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.8-4748 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   84011.00 sec.
    Max Memory :                                 2312 MB
    Average Memory :                             1728.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   293 MB
    Max Processes :                              5
    Max Threads :                                22
    Run time :                                   84244 sec.
    Turnaround time :                            84247 sec.

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

