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


Performing analysis on: 4FGL_J1451.4+6355_daily_bin1744
RA = 222.855, Dec = 63.9172
tmin = 691372801, tmax = 691632001
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='583779', job_status='RUN', time_executed='2022-12-02 01:11:25.088359', time_epoch_executed='1669972285.09' WHERE source_name='4FGL J1451.4+6355' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/583779

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/583779/ft1_4FGL_J1451.4+6355_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/583779/ft2_4FGL_J1451.4+6355_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/583779/ft1_4FGL_J1451.4+6355_daily_bin1744.fits outfile=/scratch/kocevski/583779/ft1_filteredMKT_4FGL_J1451.4+6355_daily_bin1744.fits ra=222.855 dec=63.9172 rad=12.0 tmin=691372801.0 tmax=691632001.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.53
user 2.31
sys 0.19

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

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

Number of photons that the gtmktime cut: 956

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/583779/ft1_filtered_4FGL_J1451.4+6355_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/583779/ft2_4FGL_J1451.4+6355_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/583779/ltcube_691372801_691632001_4FGL_J1451.4+6355_daily_bin1744.fits outfile=/scratch/kocevski/583779/expmap_691372801_691632001_4FGL_J1451.4+6355_daily_bin1744.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/583779/ltcube_691372801_691632001_4FGL_J1451.4+6355_daily_bin1744.fits
.....................!
real 190.35
user 184.91
sys 5.10

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/583779/ft1_filtered_4FGL_J1451.4+6355_daily_bin1744.fits scfile=/scratch/kocevski/583779/ft2_4FGL_J1451.4+6355_daily_bin1744.fits outfile=/scratch/kocevski/583779/cmap_691372801_691632001_4FGL_J1451.4+6355_daily_bin1744.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.53
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/583779/ft1_filtered_4FGL_J1451.4+6355_daily_bin1744.fits scfile=/scratch/kocevski/583779/ft2_4FGL_J1451.4+6355_daily_bin1744.fits outfile=/scratch/kocevski/583779/cmap_HighResolution_691372801_691632001_4FGL_J1451.4+6355_daily_bin1744.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.300       1.0000          .0000       .10000E+07
     2 'Prefactor '    .18491E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0501       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30509E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .72606       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.406       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9211       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42739E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10763E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    18.537       1.0000          .0000       .10000E+07
    11 'Prefactor '    .57573E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27423E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1831       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7556       1.0000          .0000       .10000E+07
    15 'Prefactor '    21.742       1.0000          .0000       .10000E+07
    16 'norm      '    .89373E-08   1.0000          .0000       .10000E+07
    17 'Prefactor '    17.895       1.0000          .0000       .10000E+07
    18 'Prefactor '    .28366E-07   1.0000          .0000       .10000E+07
    19 'norm      '    3.8196       1.0000          .0000       .10000E+07
    20 'Prefactor '    .23376E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.2447       1.0000          .0000       .10000E+07
    22 'Normalizat'    .97508       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96660       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=   10394.73     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1440 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7957        7.7684       -.37879E-07    .21427E-01
   2  Prefactor     .55511E-10    8.7981       -.73262E-07** at limit **
   3  Prefactor     4.0681        3.6794        .44846E-07   -.18642E-03
   4  Prefactor     .16204E-06    11.226        .23056E-06** at limit **
   5  norm          .75148        2.2295        .22253E-07   -.38652E-04
   6  Prefactor     11.436        1.0102        .12149E-08    .21842E-03
   7  Prefactor     1.9206        1.5272       -.86414E-08   -.11674E-03
   8  Prefactor     .16948E-06    9.8441        .15512E-06** at limit **
   9  Prefactor     .64393E-07    12.429       -.41801E-08** at limit **
  10  Prefactor     18.485        1.1120        .21306E-08    .45068E-03
  11  Prefactor     .61062E-09    5.8724        .10140E-06** at limit **
  12  Prefactor     .18097E-07    6.7482        .11904E-06** at limit **
  13  Prefactor     3.2139        7.3714       -.17676E-06    .57302E-04
  14  Prefactor     1.7475        5.0275        .43946E-07    .27236E-04
  15  Prefactor     21.694        1.1638       -.97239E-09   -.72700E-04
  16  norm           .0000        .48270       -.44291E-07** at limit **
  17  Prefactor     19.914        33.062        .67361E-07    .64013E-02
  18  Prefactor      .0000        1.7080       -.85924E-07** at limit **
  19  norm          3.8203        3.8507       -.16385E-07    .17413E-04
  20  Prefactor      .0000        6.8969        .19911E-06** at limit **
  21  Prefactor     5.2572        1.2527       -.33321E-08   -.86132E-03
  22  Normalizat    .97483        .14293       -.16956E-05   -.45446E-05
  23  Prefactor     .96637        .15008        .26552E-05   -.11911E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.79573
  Prefactor  = 5.55112e-11
  Prefactor  = 4.06815
  Prefactor  = 1.62037e-07
  norm       = 0.751476
  Prefactor  = 11.4359
  Prefactor  = 1.92063
  Prefactor  = 1.69476e-07
  Prefactor  = 6.43929e-08
  Prefactor  = 18.4849
  Prefactor  = 6.10623e-10
  Prefactor  = 1.80966e-08
  Prefactor  = 3.2139
  Prefactor  = 1.74749
  Prefactor  = 21.6937
  norm       = 0
  Prefactor  = 19.9139
  Prefactor  = 0
  norm       = 3.82027
  Prefactor  = 0
  Prefactor  = 5.25716
  Normalizat = 0.974834
  Prefactor  = 0.966372
 **********
 **   18 **HESSE 
 **********

 FCN=   10394.73     FROM HESSE     STATUS=OK           416 CALLS     1856 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7957        34.107        .31196E-03   -1.5645    
   2  Prefactor     .55511E-10    8.8021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0681        3.6947        .50079E-03   -1.5668    
   4  Prefactor     .16204E-06    19.014        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .75148        2.2395        .58618E-03   -1.5691    
   6  Prefactor     11.436        14.317        .29639E-03   -1.5640    
   7  Prefactor     1.9206        1.5358        .74938E-03   -1.5680    
   8  Prefactor     .16948E-06    17.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .64393E-07    14.339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.485        19.700        .23235E-03   -1.5622    
  11  Prefactor     .61062E-09    13.116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .18097E-07    12.778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2139        7.6365        .56773E-03   -1.5672    
  14  Prefactor     1.7475        5.2292        .79076E-03   -1.5682    
  15  Prefactor     21.694        17.830        .21452E-03   -1.5615    
  16  norm           .0000        .48181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.914        33.833        .23649E-03   -1.5619    
  18  Prefactor      .0000        1.7070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.8203        3.8564        .51619E-03   -1.5669    
  20  Prefactor      .0000        6.8960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.2572        17.224        .43868E-03   -1.5662    
  22  Normalizat    .97483        .11982        .45854E-01   -.93878    
  23  Prefactor     .96637        .12612        .45848E-01   -.93859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38491e-06
Minuit parameter uncertainties:
  1  34.1078
  2  3.27041e-05
  3  3.69473
  4  0.00351074
  5  2.23953
  6  14.3174
  7  1.53577
  8  0.00340014
  9  0.00192185
  10  19.6997
  11  0.000180196
  12  0.000961659
  13  7.63649
  14  5.22921
  15  17.8298
  16  2.61553e-07
  17  33.8333
  18  1.93418e-06
  19  3.85636
  20  2.67246e-05
  21  17.224
  22  0.119858
  23  0.126161
Done.

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

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  6.106e-10  1.802e-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:  9.664e-01  1.262e-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.748e-01  1.199e-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: 2.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/583779/likelihoodResults_691372801_691632001_4FGL_J1451.4+6355_daily_bin1744.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) = 10394.7709041
delta logL = -0.039147159674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10394.626696
delta logL = 0.105060915739

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59753       1.0000          .0000       .10000E+07
     2 'Index     '    2.7418       1.0000          .0000       10.000    
     3 'Normalizat'    .96637       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96931       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=   10394.63     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      240 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60194        54.453        .69450E-03    .24520E-01
   2  Index         2.7407        3.6812        .96680E-01    .30429E-03
   3  Normalizat    .96656        .26461E-01    .45744E-01   -.62563E-05
   4  Prefactor     .96892        .28782E-01    .45882E-01   -.21975E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.601944
  Index      = 2.7407
  Normalizat = 0.966557
  Prefactor  = 0.96892
 **********
 **   18 **HESSE 
 **********

 FCN=   10394.63     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .79E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60194        166.02        .17557E-04   -1.5692    
   2  Index         2.7407        5.1684        .11545E-01   -.46885    
   3  Normalizat    .96656        .11720        .21762E-03   -.94159    
   4  Prefactor     .96892        .12901        .23715E-03   -.93773    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.88984e-06
Minuit parameter uncertainties:
  1  19.9938
  2  10.1612
  3  0.117233
  4  0.129047
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/583779': 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) = 10394.6266889
delta logL = 0.10506802031

Extracting fit parameters...

4FGL J1451.4+6355
   Spectrum: PowerLaw
349    Prefactor:  6.019e-01  1.999e+01  0.000e+00  1.000e+06 ( 1.000e-14)
350        Index:  2.741e+00  1.016e+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:  9.689e-01  1.290e-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.666e-01  1.172e-01  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/583779/cmap_HighResolution_691372801_691632001_4FGL_J1451.4+6355_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-03', job_status='DONE', photon_flux_upper_limit='2.61e-08', time_completed='2022-12-02 01:25:56.133664', job_id='583779', GAL2='0.97', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1669973156.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.05e-01', ts2='0.21', photon_index_error='0.00', photon_index='1.82' WHERE bin_id='1744' AND source_name='4FGL J1451.4+6355' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:25:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 583779: <4FGL_J1451.4+6355_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1451.4+6355_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:10:17 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:10:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:10:19 2022
Terminated at Fri Dec  2 01:25:57 2022
Results reported at Fri Dec  2 01:25:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1451.4+6355_daily_bin1744 222.855 63.9172 691372801 691632001 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 :                                   873.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             333.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            940 sec.

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

