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


Performing analysis on: 4FGL_J1514.8+4448_monthly_bin118
RA = 228.719, Dec = 44.8105
tmin = 542851201, tmax = 545443201
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='121339', job_status='RUN', time_executed='2021-10-27 01:15:36.172091', time_epoch_executed='1635322536.17' WHERE source_name='4FGL J1514.8+4448' and cadence='monthly' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121339

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

Retrieving the FT1 file...

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

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

Retrieving 176 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121339/ft1_4FGL_J1514.8+4448_monthly_bin118.fits


Retrieving the FT1 file...

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

Retrieving 178 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121339/ft1_4FGL_J1514.8+4448_monthly_bin118.fits outfile=/scratch/kocevski/121339/ft1_filteredMKT_4FGL_J1514.8+4448_monthly_bin118.fits ra=228.719 dec=44.8105 rad=12.0 tmin=542851201.0 tmax=545443201.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 19.04
user 17.83
sys 0.62

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.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/121339/ft1_filteredMKT_4FGL_J1514.8+4448_monthly_bin118.fits evtable="EVENTS" outfile="/scratch/kocevski/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.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.59
user 0.42
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.fits" evtable="EVENTS" scfile=/scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits sctable="SC_DATA" outfile=/scratch/kocevski/121339/ltcube_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.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/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits
.....................!
real 44.00
user 43.35
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/121339/ltcube_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.fits outfile=/scratch/kocevski/121339/expmap_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.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/121339/ltcube_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.fits
.....................!
real 191.23
user 185.53
sys 5.10

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 198 point sources and 0 extended sources

Setting source of interest to:
4FGL J1514.8+4448 @ 228.719 44.8105

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.fits scfile=/scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits outfile=/scratch/kocevski/121339/cmap_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.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.719 yref=44.8105 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.62
user 0.45
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.fits scfile=/scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits outfile=/scratch/kocevski/121339/cmap_HighResolution_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.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.719 yref=44.8105 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.62
user 0.45
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/121339/Model_4FGL_J1514.8+4448_monthly_bin118.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/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.fits.....................!
real 36.00
user 34.66
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.fits', '/scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits', expMap='/scratch/kocevski/121339/expmap_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.fits', expCube='/scratch/kocevski/121339/ltcube_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/121339/Model_4FGL_J1514.8+4448_monthly_bin118.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.8+4448'

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.475e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/121339/ft1_filtered_4FGL_J1514.8+4448_monthly_bin118.fits
Spacecraft file(s): /scratch/kocevski/121339/ft2_4FGL_J1514.8+4448_monthly_bin118.fits
Exposure map: /scratch/kocevski/121339/expmap_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.fits
Exposure cube: /scratch/kocevski/121339/ltcube_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/121339/Model_4FGL_J1514.8+4448_monthly_bin118.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) = 3613.46135691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.624       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    146.39       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10922E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.4415       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    48.407       1.0000         .10000E-03   10000.    
    11 'norm      '    4.1513       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .51438       1.0000         .10000E-03   10000.    
    19 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    55.927       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.086       1.0000         .10000E-03   10000.    
    25 'norm      '    .10561E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.4112       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .16169E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    13.851       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10597E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .16458       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.4103       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3613.423     FROM MIGRAD    STATUS=CONVERGED   1436 CALLS     6231 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    154.00        .18142E-02** at limit **
   2  Prefactor     .10000E-03    9.3115        .17911E-02** at limit **
   3  Prefactor     11.525        62.512        .11750E-03   -.31397E-04
   4  Prefactor     .10000E-03    21.717        .18142E-02** at limit **
   5  Prefactor     146.49        233.90        .16653E-03   -.10281E-04
   6  Prefactor     .10000E-03    95.810        .18142E-02** at limit **
   7  Prefactor     .10000E-03    41.835        .18142E-02** at limit **
   8  norm          9.4392        7.3056        .13042E-03   -.33908E-03
   9  Prefactor     .10000E-03    15.419        .18142E-02** at limit **
  10  Prefactor     48.389        61.671        .57635E-04   -.17161E-04
  11  norm          4.1527        6.0728        .17268E-03   -.22796E-03
  12  Prefactor     .10000E-03    5.4996        .13745E-02** at limit **
  13  Prefactor     .10000E-03    18.500        .18142E-02** at limit **
  14  norm          .10000E-03    2.4357        .91545E-03** at limit **
  15  Prefactor     .10000E-03    1.9893        .82713E-03** at limit **
  16  Prefactor     .10000E-03    28.858        .18142E-02** at limit **
  17  Prefactor     .10000E-03    6.3480        .14783E-02** at limit **
  18  norm          .51683        1.9559        .13084E-02    .31590E-03
  19  norm          .10000E-03    7.0797        .30615E-03** at limit **
  20  Prefactor     .10000E-03    23.950        .18142E-02** at limit **
  21  Prefactor     55.860        70.792        .53640E-04   -.17456E-03
  22  Prefactor     .10000E-03    15.910        .18142E-02** at limit **
  23  Prefactor     .10000E-03    22.765        .18142E-02** at limit **
  24  Prefactor     10.082        15.559        .12617E-03   -.84879E-04
  25  norm          .10000E-03    7.3476        .15868E-02** at limit **
  26  Prefactor     8.4002        29.751        .13823E-03   -.36066E-04
  27  Prefactor     .10000E-03    566.66        .18142E-02** at limit **
  28  Prefactor     13.843        17.555        .10762E-03    .60687E-04
  29  Prefactor     .10000E-03    37.369        .18142E-02** at limit **
  30  Normalizat    .16474        .27980        .52673E-03   -.21220E-03
  31  Prefactor     1.4102        .28045        .19369E-03   -.47443E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.525
  Prefactor  = 0.0001
  Prefactor  = 146.49
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.4392
  Prefactor  = 0.0001
  Prefactor  = 48.3894
  norm       = 4.15274
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.516828
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.8599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.082
  norm       = 0.0001
  Prefactor  = 8.4002
  Prefactor  = 0.0001
  Prefactor  = 13.8425
  Prefactor  = 0.0001
  Normalizat = 0.16474
  Prefactor  = 1.41018
 **********
 **   18 **HESSE 
 **********

 FCN=   3613.423     FROM HESSE     STATUS=OK           592 CALLS     6823 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    154.00        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.3116        .35823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.525        62.455        .47001E-05   -1.5029    
   4  Prefactor     .10000E-03    21.720        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     146.49        233.90        .33305E-04   -1.3281    
   6  Prefactor     .10000E-03    95.810        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    41.840        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.4392        7.3040        .52170E-05   -1.5093    
   9  Prefactor     .10000E-03    15.419        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     48.389        61.669        .11527E-04   -1.4316    
  11  norm          4.1527        6.0726        .69072E-05   -1.5300    
  12  Prefactor     .10000E-03    5.4999        .27489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.500        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.4357        .18309E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.9894        .16543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.858        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.3482        .29567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .51683        1.9312        .52334E-04   -1.5564    
  19  norm          .10000E-03    7.0800        .61230E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.968        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     55.860        70.346        .10728E-04   -1.4212    
  22  Prefactor     .10000E-03    15.911        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    22.776        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.082        15.557        .50469E-05   -1.5073    
  25  norm          .10000E-03    7.3478        .31736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     8.4002        29.750        .55290E-05   -1.5128    
  27  Prefactor     .10000E-03    566.69        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     13.843        17.555        .43049E-05   -1.4964    
  29  Prefactor     .10000E-03    37.370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .16474        .27860        .21069E-04   -1.3212    
  31  Prefactor     1.4102        .27983        .38737E-04   -.80087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71371e-10
Minuit parameter uncertainties:
  1  0.000182711
  2  8.03464e-06
  3  53.7448
  4  8.06924e-05
  5  235.403
  6  7.74654e-05
  7  0.000132483
  8  7.30465
  9  2.82114e-05
  10  61.7504
  11  6.07346
  12  5.33503e-05
  13  3.32988e-05
  14  1.22477e-05
  15  1.06803e-05
  16  0.000104623
  17  6.31112e-06
  18  1.9314
  19  1.6642e-05
  20  5.21069e-05
  21  70.4508
  22  1.02354e-05
  23  2.24016e-06
  24  15.5629
  25  1.44066e-05
  26  29.8023
  27  0.000221041
  28  17.5612
  29  1.36124e-05
  30  0.281028
  31  0.280132
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  1.664e-05  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  1.410e+00  2.801e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.647e-01  2.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 228.719 44.810
Photon Flux Upper Limit: 9.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/121339/likelihoodResults_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.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) = 3613.42386848
delta logL = -0.0006734297408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3613.42319503
delta logL = 1.88388185052e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2252       1.0000          .0000       5.0000    
     3 'Normalizat'    .16473       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4102       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3613.423     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      246 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    640.09        .30868E-02** at limit **
   2  alpha         2.4420        3.6047        .16588       -.16414E-07
   3  Normalizat    .16474        .51636E-01    .52675E-03   -.83988E-04
   4  Prefactor     1.4102        .53279E-01    .19369E-03   -.22028E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.44204
  Normalizat = 0.164742
  Prefactor  = 1.41018
 **********
 **   18 **HESSE 
 **********

 FCN=   3613.423     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.6729        .61736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4420        3.7417        .66352E-02   -.23185E-01
   3  Normalizat    .16474        .26082        .21070E-04   -1.3212    
   4  Prefactor     1.4102        .27068        .38737E-04   -.80087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10693e-11
Minuit parameter uncertainties:
  1  2.37658e-06
  2  216.48
  3  0.262804
  4  0.270949
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121339': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3613.4231945
delta logL = 5.40949258721e-07

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  2.377e-06  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.442e+00  2.165e+02  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  1.410e+00  2.709e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  1.647e-01  2.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 228.719 44.810

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/121339/cmap_HighResolution_542851201_545443201_4FGL_J1514.8+4448_monthly_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.95e-05', job_status='DONE', photon_flux_upper_limit='9.38e-08', time_completed='2021-10-27 01:30:44.149613', job_id='121339', GAL2='1.41', fit_tolerance='1e-08', EG2='0.16', EG='0.16', time_epoch_completed='1635323444.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='5.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='118' AND source_name='4FGL J1514.8+4448' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Wed Oct 27 01:30:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 121339: <4FGL_J1514.8+4448_monthly_bin118> in cluster <slac> Done

Job <4FGL_J1514.8+4448_monthly_bin118> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Oct 27 01:15:18 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 27 01:15:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 27 01:15:22 2021
Terminated at Wed Oct 27 01:30:44 2021
Results reported at Wed Oct 27 01:30:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_monthly_bin118 228.719 44.8105 542851201 545443201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.8+4448 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   880.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            926 sec.

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

