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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1752
RA = 222.855, Dec = 63.9172
tmin = 693446401, tmax = 693705601
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='266394', job_status='RUN', time_executed='2022-12-26 01:08:14.489960', time_epoch_executed='1672045694.49' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/266394

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/266394/ft1_4FGL_J1451.4+6355_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/266394/ft1_4FGL_J1451.4+6355_daily_bin1752.fits outfile=/scratch/kocevski/266394/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1752.fits ra=222.855 dec=63.9172 rad=12.0 tmin=693446401.0 tmax=693705601.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 3.54
user 3.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.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/266394/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/266394/ft1_filtered_4FGL_J1451.4+6355_daily_bin1752.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.55
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 518

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/266394/ft1_filtered_4FGL_J1451.4+6355_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/266394/ltcube_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.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/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.fits
.....................!
real 15.21
user 14.82
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/266394/ft1_filtered_4FGL_J1451.4+6355_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/266394/ltcube_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.fits outfile=/scratch/kocevski/266394/expmap_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.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/266394/ltcube_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.fits
.....................!
real 192.63
user 186.61
sys 5.59

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/266394/ft1_filtered_4FGL_J1451.4+6355_daily_bin1752.fits scfile=/scratch/kocevski/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.fits outfile=/scratch/kocevski/266394/cmap_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/266394/ft1_filtered_4FGL_J1451.4+6355_daily_bin1752.fits scfile=/scratch/kocevski/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.fits outfile=/scratch/kocevski/266394/cmap_HighResolution_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.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.43
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/266394/ft1_filtered_4FGL_J1451.4+6355_daily_bin1752.fits', '/scratch/kocevski/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.fits', expMap='/scratch/kocevski/266394/expmap_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.fits', expCube='/scratch/kocevski/266394/ltcube_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/266394/Model_4FGL_J1451.4+6355_daily_bin1752.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/266394/ft1_filtered_4FGL_J1451.4+6355_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/266394/ft2_4FGL_J1451.4+6355_daily_bin1752.fits
Exposure map: /scratch/kocevski/266394/expmap_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.fits
Exposure cube: /scratch/kocevski/266394/ltcube_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/266394/Model_4FGL_J1451.4+6355_daily_bin1752.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) = 5678.66022899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86525E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.2889       1.0000          .0000       .10000E+07
     3 'Prefactor '    .54947       1.0000          .0000       .10000E+07
     4 'Prefactor '    .39998E-03   1.0000          .0000       .10000E+07
     5 'norm      '    2.8622       1.0000          .0000       .10000E+07
     6 'Prefactor '    35.339       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.8099       1.0000          .0000       .10000E+07
     8 'Prefactor '    .53164E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    6.7895       1.0000          .0000       .10000E+07
    10 'Prefactor '    22.780       1.0000          .0000       .10000E+07
    11 'Prefactor '    .89196E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    14.119       1.0000          .0000       .10000E+07
    13 'Prefactor '    .54559E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.2425       1.0000          .0000       .10000E+07
    15 'Prefactor '    28.559       1.0000          .0000       .10000E+07
    16 'norm      '    5.3548       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27790E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.4147       1.0000          .0000       .10000E+07
    19 'norm      '    .18393E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .23459E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .55079E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0324       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .78854       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=   5678.619     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1466 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45075E-07    35.942       -.71536E-05** at limit **
   2  Prefactor     3.3340        1.2034        .38911E-07    .13121E-02
   3  Prefactor     .48959        10.963       -.10351E-04   -.43313E-02
   4  Prefactor     .55511E-10    5.5852       -.57612E-06** at limit **
   5  norm          2.8728        4.4726       -.56019E-06   -.79953E-03
   6  Prefactor     37.667        35.812       -.89778E-05    .27041E-01
   7  Prefactor     3.8141        2.8853       -.33209E-06   -.61467E-03
   8  Prefactor     .26645E-08    137.90        .37527E-06** at limit **
   9  Prefactor     6.8591        2.5942       -.98446E-06   -.97735E-02
  10  Prefactor     21.586        11.573        .27605E-05    .58822E-01
  11  Prefactor      .0000        16.421       -.80676E-05** at limit **
  12  Prefactor     14.103        1.3242       -.17328E-06    .33596E-02
  13  Prefactor     .27756E-09    6.2655        .34192E-06** at limit **
  14  Prefactor     4.3023        6.2687       -.26429E-06   -.28732E-02
  15  Prefactor     28.392        1.6220       -.21835E-06   -.13220E-01
  16  norm          5.3572        2.7807       -.45028E-06    .14827E-01
  17  Prefactor     .16043E-07    22.236        .22155E-05** at limit **
  18  Prefactor     2.4021        5.2337        .35920E-07   -.83636E-03
  19  norm          .14988E-08    2.7055       -.70299E-06** at limit **
  20  Prefactor     .17764E-08    14.615        .30849E-05** at limit **
  21  Prefactor     .23315E-08    12.507       -.29861E-06** at limit **
  22  Normalizat    1.0325        .18471        .28257E-04   -.44863E-03
  23  Prefactor     .78803        .19169        .68925E-05   -.32148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.50751e-08
  Prefactor  = 3.33403
  Prefactor  = 0.489595
  Prefactor  = 5.55112e-11
  norm       = 2.87281
  Prefactor  = 37.6669
  Prefactor  = 3.8141
  Prefactor  = 2.66454e-09
  Prefactor  = 6.85909
  Prefactor  = 21.5861
  Prefactor  = 0
  Prefactor  = 14.1032
  Prefactor  = 2.77556e-10
  Prefactor  = 4.30226
  Prefactor  = 28.3916
  norm       = 5.35717
  Prefactor  = 1.60427e-08
  Prefactor  = 2.40208
  norm       = 1.4988e-09
  Prefactor  = 1.77636e-09
  Prefactor  = 2.33147e-09
  Normalizat = 1.03247
  Prefactor  = 0.788029
 **********
 **   18 **HESSE 
 **********

 FCN=   5678.619     FROM HESSE     STATUS=OK           416 CALLS     1882 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45075E-07    36.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3340        23.929        .55805E-03   -1.5671    
   3  Prefactor     .48959        10.993        .73882E-03   -1.5694    
   4  Prefactor     .55511E-10    5.5702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.8728        4.4885        .60063E-03   -1.5674    
   6  Prefactor     37.667        38.375        .16824E-03   -1.5585    
   7  Prefactor     3.8141        3.0278        .51687E-03   -1.5669    
   8  Prefactor     .26645E-08    137.60        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.8591        24.250        .38483E-03   -1.5656    
  10  Prefactor     21.586        31.728        .20957E-03   -1.5615    
  11  Prefactor      .0000        16.449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.103        19.403        .26630E-03   -1.5633    
  13  Prefactor     .27756E-09    6.2517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3023        6.2775        .48896E-03   -1.5666    
  15  Prefactor     28.392        25.234        .18715E-03   -1.5601    
  16  norm          5.3572        2.7847        .43406E-03   -1.5662    
  17  Prefactor     .16043E-07    22.253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4021        5.2442        .65848E-03   -1.5677    
  19  norm          .14988E-08    2.7007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .17764E-08    14.631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .23315E-08    12.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0325        .15890        .41931E-01   -.91950    
  23  Prefactor     .78803        .16379        .43568E-01   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84732e-06
Minuit parameter uncertainties:
  1  0.00256944
  2  17.8639
  3  4.63995
  4  4.09848e-05
  5  4.48846
  6  38.3754
  7  3.02779
  8  0.00121646
  9  24.2506
  10  31.7286
  11  2.3634e-05
  12  19.4028
  13  7.9383e-05
  14  6.2775
  15  25.2341
  16  2.78474
  17  0.0011944
  18  5.24418
  19  0.00012625
  20  0.000324498
  21  0.000341559
  22  0.158977
  23  0.163892
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  0.000e+00  2.363e-05  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:  7.880e-01  1.639e-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:  1.032e+00  1.590e-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: 4.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/266394/likelihoodResults_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.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) = 5678.64888217
delta logL = -0.0294858192128

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5678.54532541
delta logL = 0.0740709342481

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57278E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.6796       1.0000          .0000       10.000    
     3 'Normalizat'    1.0132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79923       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=   5678.545     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56915E-01    1.8307        .10168E-02** at limit **
   2  Index         3.6822        2.7947        .73373E-01    .34281E-03
   3  Normalizat    1.0131        .20001E-01    .44638E-01    .91168E-04
   4  Prefactor     .79934        .21352E-01    .43707E-01   -.15655E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0569147
  Index      = 3.68217
  Normalizat = 1.01309
  Prefactor  = 0.799339
 **********
 **   18 **HESSE 
 **********

 FCN=   5678.545     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      287 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56915E-01    17.480        .39001E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6822        5.9414        .89075E-02   -.26672    
   3  Normalizat    1.0131        .94755E-01    .20882E-03   -.92593    
   4  Prefactor     .79934        .99984E-01    .24681E-03   -.99753    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.1751e-09
Minuit parameter uncertainties:
  1  1.99484
  2  10.5156
  3  0.0947705
  4  0.100006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/266394': 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): 102
logL (Free Index) = 5678.54532474
delta logL = 0.0740716044393

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  5.691e-02  1.995e+00  0.000e+00  1.000e+06 ( 1.000e-14)
350        Index:  3.682e+00  1.052e+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:  7.993e-01  1.000e-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:  1.013e+00  9.477e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/266394/cmap_HighResolution_693446401_693705601_4FGL_J1451.4+6355_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.92e-08', time_completed='2022-12-26 01:18:31.000489', job_id='266394', GAL2='0.80', fit_tolerance='1e-08', EG2='1.01', EG='1.03', time_epoch_completed='1672046311.0', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='7.41e-02', ts2='0.17', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1752' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:18:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 266394: <4FGL_J1451.4+6355_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1752> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Dec 26 01:05:17 2022
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:05:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:05:48 2022
Terminated at Mon Dec 26 01:18:31 2022
Results reported at Mon Dec 26 01: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_bin1752 222.855 63.9172 693446401 693705601 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 :                                   618.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            794 sec.

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

