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 52 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1774
RA = 222.855, Dec = 63.9172
tmin = 699148801, tmax = 699408001
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='685370', job_status='RUN', time_executed='2023-03-02 00:56:18.744594', time_epoch_executed='1677747378.74' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685370

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685370/ft1_4FGL_J1451.4+6355_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685370/ft1_4FGL_J1451.4+6355_daily_bin1774.fits outfile=/scratch/kocevski/685370/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1774.fits ra=222.855 dec=63.9172 rad=12.0 tmin=699148801.0 tmax=699408001.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.82
user 2.61
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.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/685370/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/685370/ft1_filtered_4FGL_J1451.4+6355_daily_bin1774.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 750

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/685370/ft1_filtered_4FGL_J1451.4+6355_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/685370/ltcube_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.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/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.fits
.....................!
real 12.68
user 12.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685370/ft1_filtered_4FGL_J1451.4+6355_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/685370/ltcube_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.fits outfile=/scratch/kocevski/685370/expmap_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.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/685370/ltcube_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.fits
.....................!
real 190.48
user 185.62
sys 4.55

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/685370/ft1_filtered_4FGL_J1451.4+6355_daily_bin1774.fits scfile=/scratch/kocevski/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.fits outfile=/scratch/kocevski/685370/cmap_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.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.57
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/685370/ft1_filtered_4FGL_J1451.4+6355_daily_bin1774.fits scfile=/scratch/kocevski/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.fits outfile=/scratch/kocevski/685370/cmap_HighResolution_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.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.55
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/685370/ft1_filtered_4FGL_J1451.4+6355_daily_bin1774.fits', '/scratch/kocevski/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.fits', expMap='/scratch/kocevski/685370/expmap_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.fits', expCube='/scratch/kocevski/685370/ltcube_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/685370/Model_4FGL_J1451.4+6355_daily_bin1774.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  0.000e+00  1.000e+06 ( 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/685370/ft1_filtered_4FGL_J1451.4+6355_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/685370/ft2_4FGL_J1451.4+6355_daily_bin1774.fits
Exposure map: /scratch/kocevski/685370/expmap_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.fits
Exposure cube: /scratch/kocevski/685370/ltcube_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/685370/Model_4FGL_J1451.4+6355_daily_bin1774.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) = 8207.69630003

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39011E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .75303E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .30864E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    26.219       1.0000          .0000       .10000E+07
     5 'norm      '    2.1005       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21577E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .90189       1.0000          .0000       .10000E+07
     8 'Prefactor '    .46693E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    8.4680       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14405E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13189E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0791       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18154E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.409       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11558E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .94994       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13572E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .82311E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .52943E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    3.2976       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.0330       1.0000          .0000       .10000E+07
    22 'Normalizat'    .99220       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1200       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8207.689     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1972 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    35.427        .10129E-06** at limit **
   2  Prefactor     .12768E-08    41.955       -.16675E-06** at limit **
   3  Prefactor     .12768E-07    8.0486        .27412E-05** at limit **
   4  Prefactor     26.241        7.4667       -.11366E-05   -.27225E-01
   5  norm          2.0991        2.3628       -.32828E-07   -.67653E-02
   6  Prefactor     .16820E-06    15.873        .41406E-05** at limit **
   7  Prefactor     .90069        1.3164       -.69702E-08   -.46798E-03
   8  Prefactor     .13045E-07    48.167        .37134E-05** at limit **
   9  Prefactor     8.4852        2.0053        .10199E-06    .10596E-01
  10  Prefactor     .33307E-09    5.8513        .13368E-05** at limit **
  11  Prefactor     .38858E-08    7.3237       -.21540E-05** at limit **
  12  Prefactor     6.0605        2.6672       -.85709E-06    .40850E-02
  13  Prefactor     .77716E-08    4.6216       -.59880E-06** at limit **
  14  Prefactor     11.248        7.5551       -.90056E-07    .44586E-02
  15  Prefactor     .98255E-08    16.245       -.45113E-05** at limit **
  16  norm          .94678        2.3783       -.30250E-07    .83100E-02
  17  Prefactor     .16265E-07    59.795       -.46658E-05** at limit **
  18  Prefactor     .22204E-09    5.8347       -.57461E-07** at limit **
  19  norm          .44409E-09    3.0053       -.20829E-06** at limit **
  20  Prefactor     3.3134        7.2800       -.28798E-05   -.12498E-01
  21  Prefactor     1.4716        5.7172       -.37143E-05    .64711E-02
  22  Normalizat    .99239        .17090        .79966E-05    .25352E-03
  23  Prefactor     1.1205        .18100       -.32347E-05    .57799E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 1.27676e-09
  Prefactor  = 1.27676e-08
  Prefactor  = 26.2413
  norm       = 2.09907
  Prefactor  = 1.68199e-07
  Prefactor  = 0.900686
  Prefactor  = 1.30451e-08
  Prefactor  = 8.48517
  Prefactor  = 3.33067e-10
  Prefactor  = 3.88578e-09
  Prefactor  = 6.06053
  Prefactor  = 7.77156e-09
  Prefactor  = 11.248
  Prefactor  = 9.82547e-09
  norm       = 0.946777
  Prefactor  = 1.62648e-08
  Prefactor  = 2.22045e-10
  norm       = 4.44089e-10
  Prefactor  = 3.3134
  Prefactor  = 1.47156
  Normalizat = 0.992393
  Prefactor  = 1.12048
 **********
 **   18 **HESSE 
 **********

 FCN=   8207.689     FROM HESSE     STATUS=OK           412 CALLS     2384 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    35.320        .16009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12768E-08    41.419        .14647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .12768E-07    8.7852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.241        18.310        .19533E-03   -1.5606    
   5  norm          2.0991        2.3730        .71179E-03   -1.5679    
   6  Prefactor     .16820E-06    19.415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .90069        1.3506        .45629E-03   -1.5689    
   8  Prefactor     .13045E-07    48.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.4852        16.628        .34425E-03   -1.5650    
  10  Prefactor     .33307E-09    8.7242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .38858E-08    8.0911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.0605        21.242        .40697E-03   -1.5659    
  13  Prefactor     .77716E-08    9.0331        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.248        7.5500        .29635E-03   -1.5641    
  15  Prefactor     .98255E-08    20.384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .94678        2.3932        .42367E-03   -1.5689    
  17  Prefactor     .16265E-07    60.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22204E-09    5.7972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .44409E-09    3.0035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.3134        24.407        .55728E-03   -1.5672    
  21  Prefactor     1.4716        68.962        .72519E-03   -1.5684    
  22  Normalizat    .99239        .14475        .46069E-01   -.93286    
  23  Prefactor     1.1205        .15167        .54176E-01   -.88815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75478e-08
Minuit parameter uncertainties:
  1  0.000322642
  2  0.000461152
  3  0.000669203
  4  18.3096
  5  2.37297
  6  0.00361449
  7  1.35063
  8  0.00159186
  9  16.6284
  10  0.000103485
  11  0.000355387
  12  21.2418
  13  0.000530844
  14  7.55005
  15  0.000896035
  16  2.39321
  17  0.00197797
  18  7.21967e-05
  19  7.49613e-05
  20  17.9855
  21  20.1478
  22  0.144807
  23  0.151727
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  3.886e-09  3.554e-04  0.000e+00  1.000e+06 ( 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.120e+00  1.517e-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.924e-01  1.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/685370/likelihoodResults_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.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) = 8207.74869313
delta logL = -0.0598519888536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8206.75402261
delta logL = 0.934818530141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .91517E-02   1.0000          .0000       .10000E+07
     2 'Index     '    4.5578       1.0000          .0000       10.000    
     3 'Normalizat'    .91801       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1694       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8207.689     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      284 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1629        .42118E-03** at limit **
   2  Index         .55559E-01    .14927       -.28626E-04     .0000    
   3  Normalizat    .99239        1.2974       -.12160E-05    .99429E-05
   4  Prefactor     1.1205        1.0934       -.30369E-05    .22367E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.0555594
  Normalizat = 0.992391
  Prefactor  = 1.12048
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8207.689     FROM HESSE     STATUS=FAILED         9 CALLS      293 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0476        .89135       -.28626E-04   -8.0032    
   3  Normalizat    .99239        1.2974       -.12160E-05   -.93286    
   4  Prefactor     1.1205        1.0934       -.30369E-05    5.3950    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.13228e-11
Minuit parameter uncertainties:
  1  8.11084e-06
  2  0.150293
  3  1.34253
  4  1.11655
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685370': 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): 101
logL (Free Index) = 8207.68884114
delta logL = 3.36513039656e-10

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  8.111e-06  0.000e+00  1.000e+06 ( 1.000e-14)
350        Index:  5.556e-02  1.503e-01  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.120e+00  1.117e+00  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.924e-01  1.343e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/685370/cmap_HighResolution_699148801_699408001_4FGL_J1451.4+6355_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.29e-03', job_status='DONE', photon_flux_upper_limit='3.11e-08', time_completed='2023-03-02 01:10:12.440964', job_id='685370', GAL2='1.12', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1677748212.44', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.37e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1774' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:10:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 685370: <4FGL_J1451.4+6355_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1774> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Mar  2 00:55:17 2023
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:55:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:55:18 2023
Terminated at Thu Mar  2 01:10:13 2023
Results reported at Thu Mar  2 01:10:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1774 222.855 63.9172 699148801 699408001 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 :                                   835.32 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             323.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            896 sec.

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

