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


Performing analysis on: 4FGL_J1454.4-3744_daily_bin1668
RA = 223.616, Dec = -37.7499
tmin = 671673601, tmax = 671932801
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='555574', job_status='RUN', time_executed='2022-04-18 03:01:31.242516', time_epoch_executed='1650276091.24' WHERE source_name='4FGL J1454.4-3744' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555574

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555574/ft1_4FGL_J1454.4-3744_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555574/ft1_4FGL_J1454.4-3744_daily_bin1668.fits outfile=/scratch/kocevski/555574/ft1_filteredMKT_4FGL_J1454.4-3744_daily_bin1668.fits ra=223.616 dec=-37.7499 rad=12.0 tmin=671673601.0 tmax=671932801.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.58
user 3.36
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.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/555574/ft1_filteredMKT_4FGL_J1454.4-3744_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 1531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555574/ltcube_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.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/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits
.....................!
real 14.80
user 14.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555574/ltcube_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.fits outfile=/scratch/kocevski/555574/expmap_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.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/555574/ltcube_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.fits
.....................!
real 191.60
user 185.90
sys 5.31

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Extended source MSH 15-52 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Added 290 point sources and 11 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1454.4-3744 @ 223.616 -37.7499

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.fits scfile=/scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits outfile=/scratch/kocevski/555574/cmap_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.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=223.616 yref=-37.7499 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.fits scfile=/scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits outfile=/scratch/kocevski/555574/cmap_HighResolution_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.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=223.616 yref=-37.7499 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/555574/Model_4FGL_J1454.4-3744_daily_bin1668.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 CenA Lobes
adding source EG_v02
adding source FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-52
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
Working on...
/scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.fits.....................!
real 752.08
user 747.47
sys 1.59

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.fits', '/scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits', expMap='/scratch/kocevski/555574/expmap_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.fits', expCube='/scratch/kocevski/555574/ltcube_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555574/Model_4FGL_J1454.4-3744_daily_bin1668.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.4-3744'

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  6.763e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
361        Scale:  9.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555574/ft1_filtered_4FGL_J1454.4-3744_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555574/ft2_4FGL_J1454.4-3744_daily_bin1668.fits
Exposure map: /scratch/kocevski/555574/expmap_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555574/ltcube_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555574/Model_4FGL_J1454.4-3744_daily_bin1668.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) = 14871.4732624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.695       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12344E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    80.015       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.856       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0859       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0518       1.0000         .10000E-03   10000.    
     7 'norm      '    2.4432       1.0000         .10000E-03   10000.    
     8 'Prefactor '    80.797       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4636       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.5175       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20778E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .54299       1.0000         .10000E-03   10000.    
    19 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.7632       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.7207       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12520E-02   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4144       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1055E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14871.46     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2920 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.684        44.362        .13509E-05    .46112E-04
   2  Prefactor     .10000E-03    119.15       -.36961E-05** at limit **
   3  Prefactor     80.004        55.083        .13838E-05    .46726E-04
   4  Prefactor     21.847        16.484       -.13199E-06   -.47328E-04
   5  norm          1.0849        2.7426        .14112E-06   -.36383E-03
   6  Prefactor     5.0903        42.709       -.63145E-05   -.10815E-03
   7  norm          2.4432        .25353        .14982E-07   -.15921E-02
   8  Prefactor     80.835        101.65       -.43598E-05   -.59454E-04
   9  Prefactor     2.4540        116.66        .10970E-04    .45207E-04
  10  Prefactor     .10000E-03    11.541       -.15436E-06** at limit **
  11  norm          .10000E-03    6.0086       -.13356E-07** at limit **
  12  Prefactor     .10000E-03    33.434        .24918E-06** at limit **
  13  Prefactor     .10000E-03    11.894       -.20639E-06** at limit **
  14  Prefactor     .10000E-03    5.3019        .42515E-07** at limit **
  15  norm          4.5172        1.1638        .30162E-07   -.99126E-04
  16  Prefactor     .10000E-03    5.1582       -.43164E-07** at limit **
  17  Prefactor     .10000E-03    4.1160       -.12201E-06** at limit **
  18  norm          .54599        2.7227        .11970E-05   -.33406E-03
  19  norm          .10000E-03    10.920       -.16804E-06** at limit **
  20  norm          4.7626        4.4797        .20166E-05   -.23693E-03
  21  Prefactor     2.7229        5.4073        .45214E-05   -.25134E-03
  22  norm          .10000E-03    1.0284        .39456E-07** at limit **
  23  Prefactor     .10000E-03    238.42        .12904E-04** at limit **
  24  Normalizat    1.4148        .29906        .10133E-06   -.23048E-03
  25  Prefactor     .88091        .61505E-01   -.65220E-06   -.71215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.6841
  Prefactor  = 0.000100001
  Prefactor  = 80.0045
  Prefactor  = 21.8474
  norm       = 1.08488
  Prefactor  = 5.09028
  norm       = 2.44321
  Prefactor  = 80.835
  Prefactor  = 2.45395
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.51725
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.54599
  norm       = 0.0001
  norm       = 4.76258
  Prefactor  = 2.72291
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.41475
  Prefactor  = 0.880915
 **********
 **   18 **HESSE 
 **********

 FCN=   14871.46     FROM HESSE     STATUS=OK           427 CALLS     3347 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.684        44.408        .55780E-04   -1.4269    
   2  Prefactor     .10000E-03    119.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     80.004        55.108        .22449E-03   -1.3917    
   4  Prefactor     21.847        16.489        .85677E-04   -1.4773    
   5  norm          1.0849        2.6826        .29468E-03   -1.5500    
   6  Prefactor     5.0903        42.088        .17890E-03   -1.5257    
   7  norm          2.4432        .25410        .18582E-04   -1.5395    
   8  Prefactor     80.835        101.54        .44682E-04   -1.3907    
   9  Prefactor     2.4540        116.05        .26055E-03   -1.5395    
  10  Prefactor     .10000E-03    11.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.0314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.3097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.5172        1.1636        .64027E-04   -1.5283    
  16  Prefactor     .10000E-03    5.1798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.518        .47010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .54599        7.6859        .37660E-02   -1.5560    
  19  norm          .10000E-03    10.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.7626        4.4881        .92177E-03   -1.5271    
  21  Prefactor     2.7229        5.4227        .12345E-02   -1.5378    
  22  norm          .10000E-03    1.0305        .12076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    239.09        .20607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.4148        .33230        .56006E-03   -.80203    
  25  Prefactor     .88091        .69562E-01    .14815E-03   -.96811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.24795e-08
Minuit parameter uncertainties:
  1  44.4363
  2  0.000626782
  3  55.1428
  4  16.4919
  5  2.68291
  6  29.3016
  7  0.254099
  8  101.754
  9  33.8207
  10  7.95238e-05
  11  6.80435e-07
  12  8.55295e-06
  13  1.15599e-05
  14  5.5377e-06
  15  1.16361
  16  5.69738e-06
  17  0.000672799
  18  4.09731
  19  1.01032e-05
  20  4.4884
  21  5.42365
  22  5.04579e-07
  23  0.000149843
  24  0.332814
  25  0.0695689
Done.

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

Extracting fit parameters...

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  1.000e-04  1.156e-05  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  2.554e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
361        Scale:  9.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1031    Prefactor:  8.809e-01  6.957e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1032        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1033        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1015   Normalization:  1.415e+00  3.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.616 -37.750
Photon Flux Upper Limit: 9.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555574/likelihoodResults_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.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) = 14871.457042
delta logL = -0.000399308313717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14871.4566433
delta logL = -6.45295585855e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5319       1.0000          .0000       10.000    
     3 'Normalizat'    1.4144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1055E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14871.46     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      253 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10192E-03    137.21        .18142E-02** at limit **
   2  Index         2.4584        7.4768        .50000        .12056E-04
   3  Normalizat    1.4148        .24044E-01    .56006E-03   -.38162E-05
   4  Prefactor     .88091        .52112E-02    .14815E-03   -.16882E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101917
  Index      = 2.45844
  Normalizat = 1.41475
  Prefactor  = 0.880915
 **********
 **   18 **HESSE 
 **********

 FCN=   14871.46     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10192E-03    566.83        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4584        7.0850        .50000       -.53322    
   3  Normalizat    1.4148        .51208E-01    .22402E-04   -.80203    
   4  Prefactor     .88091        .11099E-01    .59261E-05   -.96811    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54891e-08
Minuit parameter uncertainties:
  1  0.0665676
  2  932.514
  3  0.05121
  4  0.0110988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555574': 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) = 14871.4566424
delta logL = 2.2921267373e-07

Extracting fit parameters...

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  1.019e-04  6.657e-02  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  2.458e+00  9.325e+02  0.000e+00  1.000e+01 (-1.000e+00)
361        Scale:  9.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1031    Prefactor:  8.809e-01  1.110e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1032        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1033        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1015   Normalization:  1.415e+00  5.121e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.616 -37.750

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/555574/cmap_HighResolution_671673601_671932801_4FGL_J1454.4-3744_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', job_status='DONE', photon_flux_upper_limit='9.04e-08', time_completed='2022-04-18 03:47:59.315333', job_id='555574', GAL2='0.88', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1650278879.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.29e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1668' AND source_name='4FGL J1454.4-3744' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:47:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 555574: <4FGL_J1454.4-3744_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1454.4-3744_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:36 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 03:00:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 03:00:43 2022
Terminated at Mon Apr 18 03:48:01 2022
Results reported at Mon Apr 18 03:48:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4-3744_daily_bin1668 223.616 -37.7499 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.4-3744 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2785.00 sec.
    Max Memory :                                 1098 MB
    Average Memory :                             412.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2837 sec.
    Turnaround time :                            13225 sec.

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

