aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 76 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 = 74112
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1514.8+4448_monthly_bin169
RA = 228.719, Dec = 44.8105
tmin = 675043201, tmax = 677635201
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='175145', job_status='RUN', time_executed='2022-06-23 02:32:42.273180', time_epoch_executed='1655976762.27' WHERE source_name='4FGL J1514.8+4448' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/175145

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/175145/ft1_4FGL_J1514.8+4448_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/175145/ft1_4FGL_J1514.8+4448_monthly_bin169.fits outfile=/scratch/kocevski/175145/ft1_filteredMKT_4FGL_J1514.8+4448_monthly_bin169.fits ra=228.719 dec=44.8105 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.67
user 27.03
sys 0.56

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.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/175145/ft1_filteredMKT_4FGL_J1514.8+4448_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/175145/ft1_filtered_4FGL_J1514.8+4448_monthly_bin169.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.89
user 0.68
sys 0.18

Number of photons that the gtmktime cut: 8029

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/175145/ft1_filtered_4FGL_J1514.8+4448_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/175145/ltcube_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.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/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.fits
.....................!
real 138.09
user 137.36
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/175145/ft1_filtered_4FGL_J1514.8+4448_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/175145/ltcube_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.fits outfile=/scratch/kocevski/175145/expmap_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.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/175145/ltcube_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.fits
.....................!
real 192.35
user 187.56
sys 4.31

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/175145/ft1_filtered_4FGL_J1514.8+4448_monthly_bin169.fits scfile=/scratch/kocevski/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.fits outfile=/scratch/kocevski/175145/cmap_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.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.80
user 0.61
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/175145/ft1_filtered_4FGL_J1514.8+4448_monthly_bin169.fits scfile=/scratch/kocevski/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.fits outfile=/scratch/kocevski/175145/cmap_HighResolution_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.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.79
user 0.62
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/175145/ft1_filtered_4FGL_J1514.8+4448_monthly_bin169.fits', '/scratch/kocevski/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.fits', expMap='/scratch/kocevski/175145/expmap_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.fits', expCube='/scratch/kocevski/175145/ltcube_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/175145/Model_4FGL_J1514.8+4448_monthly_bin169.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/175145/ft1_filtered_4FGL_J1514.8+4448_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/175145/ft2_4FGL_J1514.8+4448_monthly_bin169.fits
Exposure map: /scratch/kocevski/175145/expmap_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.fits
Exposure cube: /scratch/kocevski/175145/ltcube_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/175145/Model_4FGL_J1514.8+4448_monthly_bin169.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) = 87770.0696312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.707       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .58689       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3956       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2277       1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.187       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1263       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7245       1.0000         .10000E-03   10000.    
     8 'norm      '    .99705       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.841       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8256       1.0000         .10000E-03   10000.    
    11 'norm      '    3.3243       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1504       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.6384       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .69015       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1570       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.3962       1.0000         .10000E-03   10000.    
    18 'norm      '    .90127       1.0000         .10000E-03   10000.    
    19 'norm      '    .78769E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19213       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.3180       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    16.899       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .59980E-02   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .88997       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1188       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   87770.04     FROM MIGRAD    STATUS=CONVERGED    890 CALLS     3774 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.793        9.9579         .0000        .84093E-03
   2  Prefactor     .58731        .63277         .0000        .95582E-02
   3  Prefactor     4.3899        3.5570         .0000        .26367E-01
   4  Prefactor     1.2315        2.9694         .0000        .10568    
   5  Prefactor     29.151        9.3831         .0000        .20161E-02
   6  Prefactor     3.0776        8.6653         .0000        .60997E-02
   7  Prefactor     8.7490        4.7116         .0000        .47793E-03
   8  norm          .99631        1.0225         .0000        .11487E-01
   9  Prefactor     15.815        7.4896         .0000        .11201E-02
  10  Prefactor     3.8308        3.1477         .0000        .23676E-02
  11  norm          3.3215        1.4046         .0000       -.11930E-01
  12  Prefactor     3.1523        2.9207         .0000        .46131E-01
  13  Prefactor     .10000E-03    1.1312         .0000    ** at limit **
  14  norm          2.6382        .40467         .0000        .20853E-02
  15  Prefactor     .69330        1.1019         .0000        .86674E-02
  16  Prefactor     3.1564        2.2198         .0000        .33697E-02
  17  Prefactor     1.3946        .88316         .0000        .38829E-02
  18  norm          .90154        .43582         .0000        .13469E-01
  19  norm          .79713E-01    .18795         .0000        .12330E-01
  20  Prefactor     .10000E-03    .48805         .0000    ** at limit **
  21  Prefactor     .74069E-01    3.4159         .0000        .70061E-03
  22  Prefactor     2.3219        3.3415         .0000        .19230E-02
  23  Prefactor     .10000E-03    .40404         .0000    ** at limit **
  24  Prefactor     .10000E-03    3.1167         .0000    ** at limit **
  25  norm          .10000E-03    1.8161         .0000    ** at limit **
  26  Prefactor     .10000E-03    1.4432         .0000    ** at limit **
  27  Prefactor     16.924        14.876         .0000       -.55188E-04
  28  Prefactor     .10000E-03    .29821         .0000    ** at limit **
  29  Prefactor     .64163E-02    1.4176         .0000        .12236E-03
  30  Normalizat    .89000        .45391E-01     .0000       -.27610E-03
  31  Prefactor     1.1188        .47139E-01     .0000       -.47633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7931
  Prefactor  = 0.587312
  Prefactor  = 4.38993
  Prefactor  = 1.23145
  Prefactor  = 29.1509
  Prefactor  = 3.07763
  Prefactor  = 8.74897
  norm       = 0.996306
  Prefactor  = 15.8153
  Prefactor  = 3.83083
  norm       = 3.32155
  Prefactor  = 3.15229
  Prefactor  = 0.0001
  norm       = 2.63816
  Prefactor  = 0.693304
  Prefactor  = 3.15639
  Prefactor  = 1.39463
  norm       = 0.901543
  norm       = 0.0797133
  Prefactor  = 0.0001
  Prefactor  = 0.0740694
  Prefactor  = 2.32194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.9239
  Prefactor  = 0.0001
  Prefactor  = 0.00641629
  Normalizat = 0.89
  Prefactor  = 1.11885
 **********
 **   18 **HESSE 
 **********

 FCN=   87770.04     FROM HESSE     STATUS=OK           666 CALLS     4440 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.793        9.8325        .10106E-03   -1.4913    
   2  Prefactor     .58731        .63383        .23052E-02   -1.5555    
   3  Prefactor     4.3899        3.5348        .96047E-03   -1.5289    
   4  Prefactor     1.2315        2.9654        .20310E-02   -1.5486    
   5  Prefactor     29.151        9.3853        .74159E-04   -1.4628    
   6  Prefactor     3.0776        8.6125        .11465E-02   -1.5357    
   7  Prefactor     8.7490        4.7105        .13571E-03   -1.5116    
   8  norm          .99631        .99088        .29121E-03   -1.5508    
   9  Prefactor     15.815        7.4776        .50316E-03   -1.4912    
  10  Prefactor     3.8308        3.1249        .20635E-03   -1.5316    
  11  norm          3.3215        1.4039        .11070E-02   -1.5343    
  12  Prefactor     3.1523        2.8785        .11419E-02   -1.5353    
  13  Prefactor     .10000E-03    1.1489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6382        .40377        .70816E-04   -1.5383    
  15  Prefactor     .69330        1.1382        .32452E-02   -1.5541    
  16  Prefactor     3.1564        2.2146        .22812E-03   -1.5353    
  17  Prefactor     1.3946        .87782        .21401E-03   -1.5472    
  18  norm          .90154        .35671        .11089E-02   -1.5518    
  19  norm          .79713E-01    .54790        .18695E-02   -1.5652    
  20  Prefactor     .10000E-03    .49826        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .74069E-01    3.3142        .17504       -1.5654    
  22  Prefactor     2.3219        3.2166        .26944E-03   -1.5403    
  23  Prefactor     .10000E-03    2.1984        .34174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.2480        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    1.8903        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    1.4570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     16.924        14.843        .97430E-04   -1.4885    
  28  Prefactor     .10000E-03    .59014        .28932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .64163E-02    1.6002        .93413E-01   -1.5692    
  30  Normalizat    .89000        .53887E-01    .23825E-03   -.96812    
  31  Prefactor     1.1188        .56982E-01    .23770E-03   -.88867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.90742e-07
Minuit parameter uncertainties:
  1  9.83352
  2  0.633839
  3  3.53493
  4  2.9657
  5  9.38582
  6  8.616
  7  4.7107
  8  0.990893
  9  7.47799
  10  3.125
  11  1.40387
  12  2.87858
  13  3.20439e-06
  14  0.403774
  15  1.13825
  16  2.21462
  17  0.877832
  18  0.356707
  19  0.417712
  20  5.10033e-07
  21  0.990313
  22  3.2168
  23  8.40293e-06
  24  1.13829e-05
  25  1.52395e-05
  26  7.21909e-06
  27  14.8462
  28  1.15289e-07
  29  0.201078
  30  0.0538902
  31  0.0569853
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  7.971e-02  4.177e-01  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.119e+00  5.699e-02  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:  8.900e-01  5.389e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 228.719 44.810
Photon Flux Upper Limit: 7.80e-09 ph cm-2 s-1
Energy Flux Upper Limit: 3.28e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/175145/likelihoodResults_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.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) = 87770.0262053
delta logL = 0.0115778538311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 87770.0252133
delta logL = 0.0125698979828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96662E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9072       1.0000          .0000       5.0000    
     3 'Normalizat'    .89025       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1186       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   87770.03     FROM MIGRAD    STATUS=FAILED       103 CALLS      303 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97671E-01    .49290        .21612E-02    .73255E-01
   2  alpha         1.9100        1.6582        .17087       -.50914E-04
   3  Normalizat    .89024        .50939E-01    .23822E-03   -.10384E-03
   4  Prefactor     1.1186        .56691E-01    .23772E-03   -.12855E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   87770.03     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      377 TOTAL
                     EDM=   .80E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97671E-01    .49290        .34447E-04   -1.5645    
   2  alpha         1.9100        1.6582        .23432E-02   -.23825    
   3  Normalizat    .89024        .50939E-01    .60282E-04   -.96804    
   4  Prefactor     1.1186        .56691E-01    .62589E-04   -.88874    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   87770.03     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      409 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97678E-01    .42227        .43224E-03    .29780E-02
   2  alpha         1.9100        1.5813        .68349E-01   -.19066E-04
   3  Normalizat    .89024        .50972E-01    .95290E-05   -.19089E-04
   4  Prefactor     1.1186        .56697E-01    .95088E-05   -.22955E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0976778
  alpha      = 1.90998
  Normalizat = 0.890242
  Prefactor  = 1.11859
 **********
 **   18 **HESSE 
 **********

 FCN=   87770.03     FROM HESSE     STATUS=OK            27 CALLS      436 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97678E-01    .42571        .86448E-04   -1.5645    
   2  alpha         1.9100        1.5917        .27340E-02   -.23825    
   3  Normalizat    .89024        .51045E-01    .19058E-05   -.96804    
   4  Prefactor     1.1186        .56764E-01    .19018E-05   -.88874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82911e-11
Minuit parameter uncertainties:
  1  0.40763
  2  1.73567
  3  0.0510477
  4  0.0567674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/175145': 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) = 87770.0252093
delta logL = 0.0125738906063

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  9.768e-02  4.076e-01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.910e+00  1.736e+00  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.119e+00  5.677e-02  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:  8.902e-01  5.105e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 228.719 44.810

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/175145/cmap_HighResolution_675043201_677635201_4FGL_J1514.8+4448_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.28e-06', job_status='DONE', photon_flux_upper_limit='7.80e-09', time_completed='2022-06-23 05:08:39.339130', job_id='175145', GAL2='1.12', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1655986119.34', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.26e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='169' AND source_name='4FGL J1514.8+4448' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:08:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 175145: <4FGL_J1514.8+4448_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1514.8+4448_monthly_bin169> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun 23 02:10:27 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:31:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:31:17 2022
Terminated at Thu Jun 23 05:08:40 2022
Results reported at Thu Jun 23 05:08:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_monthly_bin169 228.719 44.8105 675043201 677635201 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 :                                   9325.00 sec.
    Max Memory :                                 1262 MB
    Average Memory :                             425.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9443 sec.
    Turnaround time :                            10693 sec.

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

