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 65 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 = 7530
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1674
RA = 222.855, Dec = 63.9172
tmin = 673228801, tmax = 673488001
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='670680', job_status='RUN', time_executed='2022-05-06 02:54:19.232225', time_epoch_executed='1651830859.23' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670680

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670680/ft1_4FGL_J1451.4+6355_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670680/ft1_4FGL_J1451.4+6355_daily_bin1674.fits outfile=/scratch/kocevski/670680/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1674.fits ra=222.855 dec=63.9172 rad=12.0 tmin=673228801.0 tmax=673488001.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 2.78
user 2.55
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.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/670680/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.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.56
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1120

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/670680/ltcube_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.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/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits
.....................!
real 15.54
user 15.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/670680/ltcube_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.fits outfile=/scratch/kocevski/670680/expmap_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.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/670680/ltcube_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.fits
.....................!
real 192.43
user 185.76
sys 5.34

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

Setting source of interest to:
4FGL J1451.4+6355 @ 222.855 63.9172

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.fits scfile=/scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits outfile=/scratch/kocevski/670680/cmap_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.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=222.855 yref=63.9172 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.fits scfile=/scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits outfile=/scratch/kocevski/670680/cmap_HighResolution_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.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=222.855 yref=63.9172 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/670680/Model_4FGL_J1451.4+6355_daily_bin1674.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/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.fits....................!
real 94.22
user 92.67
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.fits', '/scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits', expMap='/scratch/kocevski/670680/expmap_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.fits', expCube='/scratch/kocevski/670680/ltcube_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/670680/Model_4FGL_J1451.4+6355_daily_bin1674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1451.4+6355'

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.733e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  1.822e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/670680/ft1_filtered_4FGL_J1451.4+6355_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/670680/ft2_4FGL_J1451.4+6355_daily_bin1674.fits
Exposure map: /scratch/kocevski/670680/expmap_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.fits
Exposure cube: /scratch/kocevski/670680/ltcube_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/670680/Model_4FGL_J1451.4+6355_daily_bin1674.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) = 12211.2295265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.9117       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6422       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9773       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9249       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3443       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.8378       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15657       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.547       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .91308       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.8037       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1457       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.9095       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.624       1.0000         .10000E-03   10000.    
    23 'norm      '    1.0135       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .12044E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    11.411       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .93317       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0119       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12211.19     FROM MIGRAD    STATUS=CONVERGED    815 CALLS     3455 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.961        .16240E-05** at limit **
   2  Prefactor     8.9113        9.8585        .12419E-06   -.40472E-05
   3  Prefactor     4.6417        3.7556        .23190E-06    .35947E-05
   4  Prefactor     1.9772        8.6610        .11320E-05    .37309E-04
   5  Prefactor     .10000E-03    130.60       -.13473E-04** at limit **
   6  Prefactor     2.9256        8.0652        .19963E-06    .79389E-05
   7  Prefactor     7.3443        6.2164        .45725E-06    .76022E-05
   8  norm          .10000E-03    13.789       -.70875E-06** at limit **
   9  norm          4.8370        3.3359       -.67925E-06   -.34913E-03
  10  Prefactor     .10000E-03    7.2100       -.27425E-07** at limit **
  11  Prefactor     .10001E-03    428.69        .22793E-04** at limit **
  12  Prefactor     .15588        .79891        .10264E-06   -.15185E-03
  13  Prefactor     22.550        20.154        .92721E-06   -.17273E-04
  14  Prefactor     .10000E-03    19.027       -.48386E-05** at limit **
  15  Prefactor     .90935        8.2824        .23770E-05    .26556E-03
  16  Prefactor     2.7623        35.779        .78094E-05    .50433E-04
  17  Prefactor     1.1548        3.7811        .53687E-05    .12200E-02
  18  Prefactor     .10000E-03    3.3075       -.67323E-07** at limit **
  19  Prefactor     .10000E-03    3.3327        .15756E-05** at limit **
  20  Prefactor     6.9086        5.4456        .59458E-06   -.18123E-03
  21  Prefactor     .10000E-03    4.7090       -.22951E-06** at limit **
  22  Prefactor     19.623        14.185        .35239E-06    .14128E-04
  23  norm          1.0139        1.5853        .12862E-06    .49673E-03
  24  Prefactor     .10000E-03    20.969        .46502E-05** at limit **
  25  Prefactor     .10000E-03    4.7303       -.51470E-06** at limit **
  26  norm          .10023E-03    40.292       -.21184E-04** at limit **
  27  Prefactor     .10000E-03    37.447       -.94873E-05** at limit **
  28  Prefactor     11.411        20.185        .53168E-06    .22261E-04
  29  Normalizat    .93311        .11930       -.19906E-05    .13470E-03
  30  Prefactor     1.0119        .12264        .17230E-06   -.63054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.9113
  Prefactor  = 4.64171
  Prefactor  = 1.9772
  Prefactor  = 0.000100002
  Prefactor  = 2.92557
  Prefactor  = 7.34428
  norm       = 0.0001
  norm       = 4.83699
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.155875
  Prefactor  = 22.5496
  Prefactor  = 0.000100001
  Prefactor  = 0.909354
  Prefactor  = 2.7623
  Prefactor  = 1.15484
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.90859
  Prefactor  = 0.0001
  Prefactor  = 19.6233
  norm       = 1.01391
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100233
  Prefactor  = 0.0001
  Prefactor  = 11.4113
  Normalizat = 0.933112
  Prefactor  = 1.01191
 **********
 **   18 **HESSE 
 **********

 FCN=   12211.19     FROM HESSE     STATUS=OK           604 CALLS     4059 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.9113        9.8468        .13426E-03   -1.5111    
   3  Prefactor     4.6417        3.6513        .14022E-03   -1.5277    
   4  Prefactor     1.9772        8.5746        .29480E-03   -1.5427    
   5  Prefactor     .10000E-03    131.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9256        7.8156        .23753E-03   -1.5366    
   7  Prefactor     7.3443        6.2085        .14800E-03   -1.5166    
   8  norm          .10000E-03    13.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.8370        3.3320        .15928E-03   -1.5268    
  10  Prefactor     .10000E-03    7.2167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    431.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .15588        3.9313        .17559E-02   -1.5629    
  13  Prefactor     22.550        19.710        .84355E-04   -1.4758    
  14  Prefactor     .10000E-03    19.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .90935        35.891        .54915E-02   -1.5517    
  16  Prefactor     2.7623        35.648        .24296E-03   -1.5376    
  17  Prefactor     1.1548        7.9683        .21665E-02   -1.5493    
  18  Prefactor     .10000E-03    3.3096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.9086        5.4469        .15263E-03   -1.5182    
  21  Prefactor     .10000E-03    4.7431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     19.623        14.186        .90414E-04   -1.4822    
  23  norm          1.0139        1.4454        .16620E-02   -1.5507    
  24  Prefactor     .10000E-03    21.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.8903        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10023E-03    2.9352        .54821E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    38.242        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     11.411        20.200        .59296E-03   -1.5032    
  29  Normalizat    .93311        .13926        .22393E-03   -.95306    
  30  Prefactor     1.0119        .14499        .23597E-03   -.92334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.59056e-08
Minuit parameter uncertainties:
  1  6.64413e-05
  2  9.84862
  3  3.6515
  4  8.23678
  5  0.000901643
  6  7.81833
  7  6.20905
  8  2.20204e-05
  9  3.33217
  10  5.23771e-06
  11  0.00487796
  12  1.56523
  13  19.7161
  14  0.000195713
  15  11.4326
  16  19.8607
  17  6.06792
  18  3.74881e-06
  19  2.2426e-05
  20  5.44729
  21  1.63397e-05
  22  14.188
  23  1.44542
  24  0.000239918
  25  2.30939e-05
  26  0.00165297
  27  0.000164807
  28  20.2123
  29  0.139309
  30  0.145043
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  1.155e+00  6.068e+00  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  1.822e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.012e+00  1.450e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  9.331e-01  1.393e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 222.855 63.917
Photon Flux Upper Limit: 2.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670680/likelihoodResults_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12211.1349391
delta logL = 0.0572384385996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12211.1328732
delta logL = 0.0593043647277

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .90261       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3760       1.0000          .0000       10.000    
     3 'Normalizat'    .93062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0123       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12211.13     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90045        52.184        .65804E-01    .14845E-02
   2  Index         2.3748        5.9186        .23997E-01    .66640E-04
   3  Normalizat    .93048        .17707E-01    .45292E-01    .21332E-04
   4  Prefactor     1.0125        .19413E-01    .43010E-01    .16088E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.900449
  Index      = 2.37484
  Normalizat = 0.930477
  Prefactor  = 1.01246
 **********
 **   18 **HESSE 
 **********

 FCN=   12211.13     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90045        21.123        .24865E-02   -1.5518    
   2  Index         2.3748        3.1679        .95989E-03   -.55275    
   3  Normalizat    .93048        .13049        .22422E-03   -.95397    
   4  Prefactor     1.0125        .14296        .23591E-03   -.92315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98646e-07
Minuit parameter uncertainties:
  1  8.72538
  2  3.57332
  3  0.130539
  4  0.143014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670680': 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) = 12211.1328706
delta logL = 0.0593069085353

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  9.004e-01  8.725e+00  1.000e-04  1.000e+04 ( 1.000e-14)
350        Index:  2.375e+00  3.573e+00  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  3.982e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  1.012e+00  1.430e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  9.305e-01  1.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 222.855 63.917

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/670680/cmap_HighResolution_673228801_673488001_4FGL_J1451.4+6355_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.69e-03', job_status='DONE', photon_flux_upper_limit='2.29e-08', time_completed='2022-05-06 03:20:04.315066', job_id='670680', GAL2='1.01', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1651832404.32', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.93e-02', ts2='0.16', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1674' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:20:04 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 670611: <4FGL_J1451.4+6355_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:07:47 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:52:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:52:24 2022
Terminated at Fri May  6 03:18:31 2022
Results reported at Fri May  6 03:18:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1674 222.855 63.9172 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1451.4+6355 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1542.00 sec.
    Max Memory :                                 783 MB
    Average Memory :                             337.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1566 sec.
    Turnaround time :                            11444 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 670680: <4FGL_J1451.4+6355_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:07:51 2022
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:53:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:53:06 2022
Terminated at Fri May  6 03:20:05 2022
Results reported at Fri May  6 03:20:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1674 222.855 63.9172 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1451.4+6355 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1545.02 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             334.02 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1618 sec.
    Turnaround time :                            11534 sec.

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

