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


Performing analysis on: 4FGL_J1454.4-3744_monthly_bin168
RA = 223.616, Dec = -37.7499
tmin = 672451201, tmax = 675043201
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='636912', job_status='RUN', time_executed='2022-05-24 03:18:50.246995', time_epoch_executed='1653387530.25' WHERE source_name='4FGL J1454.4-3744' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636912

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636912/ft1_4FGL_J1454.4-3744_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636912/ft1_4FGL_J1454.4-3744_monthly_bin168.fits outfile=/scratch/kocevski/636912/ft1_filteredMKT_4FGL_J1454.4-3744_monthly_bin168.fits ra=223.616 dec=-37.7499 rad=12.0 tmin=672451201.0 tmax=675043201.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 23.48
user 22.70
sys 0.69

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.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/636912/ft1_filteredMKT_4FGL_J1454.4-3744_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.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.74
user 0.57
sys 0.17

Number of photons that the gtmktime cut: 6636

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/636912/ltcube_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.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/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits
.....................!
real 146.58
user 145.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/636912/ltcube_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.fits outfile=/scratch/kocevski/636912/expmap_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.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/636912/ltcube_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.fits
.....................!
real 158.13
user 153.50
sys 4.08

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/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.fits scfile=/scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits outfile=/scratch/kocevski/636912/cmap_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.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.67
user 0.52
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.fits scfile=/scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits outfile=/scratch/kocevski/636912/cmap_HighResolution_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.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.68
user 0.52
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636912/Model_4FGL_J1454.4-3744_monthly_bin168.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/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.fits.....................!
real 2576.69
user 2570.94
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.fits', '/scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits', expMap='/scratch/kocevski/636912/expmap_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.fits', expCube='/scratch/kocevski/636912/ltcube_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/636912/Model_4FGL_J1454.4-3744_monthly_bin168.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/636912/ft1_filtered_4FGL_J1454.4-3744_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/636912/ft2_4FGL_J1454.4-3744_monthly_bin168.fits
Exposure map: /scratch/kocevski/636912/expmap_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.fits
Exposure cube: /scratch/kocevski/636912/ltcube_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/636912/Model_4FGL_J1454.4-3744_monthly_bin168.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) = 66082.7601842

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4735       1.0000         .10000E-03   10000.    
     2 'Prefactor '    90.649       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.545       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9256       1.0000         .10000E-03   10000.    
     5 'norm      '    .10221E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.353       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6620       1.0000         .10000E-03   10000.    
     8 'Prefactor '    60.339       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.4489       1.0000         .10000E-03   10000.    
    11 'norm      '    16.262       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2082       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.498       1.0000         .10000E-03   10000.    
    15 'norm      '    7.0129       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.920       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20505       1.0000         .10000E-03   10000.    
    18 'norm      '    .37254       1.0000         .10000E-03   10000.    
    19 'norm      '    21.351       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.6533       1.0000         .10000E-03   10000.    
    22 'norm      '    2.1843       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3320       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96979       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=   66082.76     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2948 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4724        11.071       -.16302E-06   -.31910E-05
   2  Prefactor     90.642        106.42       -.10480E-05   -.22675E-05
   3  Prefactor     27.542        21.262       -.52537E-06   -.11727E-04
   4  Prefactor     9.9224        6.9306       -.24019E-06   -.20647E-03
   5  norm          .10000E-03    .45922        .25058E-06** at limit **
   6  Prefactor     10.354        13.035       -.50798E-06   -.33539E-03
   7  norm          1.6620        .10298        .43450E-08   -.43886E-03
   8  Prefactor     60.335        33.959       -.52626E-06   -.10782E-04
   9  Prefactor     .10000E-03    6.8770       -.10052E-06** at limit **
  10  Prefactor     4.4484        8.5967        .20196E-06   -.26177E-03
  11  norm          16.262        5.7883       -.10560E-06    .19640E-03
  12  Prefactor     .10000E-03    23.361        .38155E-05** at limit **
  13  Prefactor     2.2039        16.478        .10607E-05    .57827E-04
  14  Prefactor     22.496        10.457       -.23502E-06    .31297E-04
  15  norm          7.0127        .73157       -.71844E-07    .26817E-02
  16  Prefactor     18.918        6.4514       -.45600E-06    .31113E-03
  17  Prefactor     .16325        36.480       -.18808E-04    .21891E-03
  18  norm          .38256        1.2894        .26182E-05    .19595E-02
  19  norm          21.350        13.410       -.27400E-06    .34931E-04
  20  norm          .10000E-03    .39594        .28535E-06** at limit **
  21  Prefactor     3.6564        3.4824       -.19306E-05    .51302E-03
  22  norm          2.1847        1.8119        .25074E-06    .50172E-04
  23  Prefactor     .10000E-03    10.070        .27925E-06** at limit **
  24  Normalizat    1.3322        .15198       -.46510E-06   -.31745E-03
  25  Prefactor     .96975        .30573E-01   -.32095E-06    .78204E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.47243
  Prefactor  = 90.6422
  Prefactor  = 27.5418
  Prefactor  = 9.92243
  norm       = 0.0001
  Prefactor  = 10.3538
  norm       = 1.66202
  Prefactor  = 60.3347
  Prefactor  = 0.0001
  Prefactor  = 4.44843
  norm       = 16.2616
  Prefactor  = 0.0001
  Prefactor  = 2.20386
  Prefactor  = 22.4957
  norm       = 7.01271
  Prefactor  = 18.9185
  Prefactor  = 0.163252
  norm       = 0.382557
  norm       = 21.3495
  norm       = 0.0001
  Prefactor  = 3.65643
  norm       = 2.18468
  Prefactor  = 0.0001
  Normalizat = 1.3322
  Prefactor  = 0.969753
 **********
 **   18 **HESSE 
 **********

 FCN=   66082.76     FROM HESSE     STATUS=OK           445 CALLS     3393 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4724        11.069        .13020E-03   -1.5092    
   2  Prefactor     90.642        106.41        .42205E-04   -1.3801    
   3  Prefactor     27.542        21.260        .76333E-04   -1.4658    
   4  Prefactor     9.9224        6.9459        .12719E-03   -1.5078    
   5  norm          .10000E-03    1.4266        .32386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.354        12.670        .12453E-03   -1.5064    
   7  norm          1.6620        .10315        .19453E-04   -1.5450    
   8  Prefactor     60.335        33.979        .51652E-04   -1.4153    
   9  Prefactor     .10000E-03    6.8998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.4484        8.6016        .19091E-03   -1.5286    
  11  norm          16.262        5.7828        .99318E-04   -1.4901    
  12  Prefactor     .10000E-03    23.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2039        16.501        .27682E-03   -1.5411    
  14  Prefactor     22.496        10.450        .84447E-04   -1.4759    
  15  norm          7.0127        .72843        .64530E-04   -1.5178    
  16  Prefactor     18.918        6.4454        .92079E-04   -1.4838    
  17  Prefactor     .16325        1.8683        .86077E-01   -1.5627    
  18  norm          .38256        4.7954        .42106E-02   -1.5584    
  19  norm          21.350        13.407        .86684E-04   -1.4784    
  20  norm          .10000E-03    .40248        .15813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.6564        3.4938        .10567E-02   -1.5326    
  22  norm          2.1847        1.8009        .27852E-03   -1.5412    
  23  Prefactor     .10000E-03    10.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3322        .16791        .59982E-03   -.82610    
  25  Prefactor     .96975        .33831E-01    .15134E-03   -.93745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52979e-08
Minuit parameter uncertainties:
  1  11.0717
  2  106.634
  3  21.2655
  4  6.94646
  5  6.36575e-06
  6  12.6731
  7  0.103152
  8  33.9902
  9  4.73381e-05
  10  8.60396
  11  5.78301
  12  4.80343e-05
  13  12.0651
  14  10.4504
  15  0.728434
  16  6.44565
  17  1.10425
  18  2.70879
  19  13.4086
  20  6.49551e-07
  21  3.49403
  22  1.80098
  23  5.98189e-06
  24  0.167978
  25  0.0338315
Done.

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

Extracting fit parameters...

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  2.204e+00  1.207e+01  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:  9.698e-01  3.383e-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.332e+00  1.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/636912/likelihoodResults_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.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) = 66082.7268537
delta logL = 0.031188475652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 66082.6572826
delta logL = 0.100759549561

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37181       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2357       1.0000          .0000       10.000    
     3 'Normalizat'    1.3163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97174       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   66082.66     FROM MIGRAD    STATUS=FAILED       111 CALLS      307 TOTAL
                     EDM=   .53E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37112        67.416        .21103E-02    .46128E-01
   2  Index         4.2368        5.5372        .47002E-02    .11599E-03
   3  Normalizat    1.3164        .83535E-01    .60277E-03   -.19917E-04
   4  Prefactor     .97174        .17783E-01    .15120E-03   -.50529E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   66082.66     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      396 TOTAL
                     EDM=   .57E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37112        67.416        .11865E-03    .46128E-01
   2  Index         4.2368        5.5372        .14551E-02    .11599E-03
   3  Normalizat    1.3164        .83535E-01    .84088E-04   -.19917E-04
   4  Prefactor     .97174        .17783E-01    .47653E-05   -.50529E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   66082.66     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      468 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37112        6.2926        .84413E-04   -.43097E-04
   2  Index         4.2368        3.5292        .37601E-04   -.96752E-06
   3  Normalizat    1.3164        .15394        .48221E-05   -.22633E-04
   4  Prefactor     .97174        .33225E-01    .12096E-05   -.60154E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.371116
  Index      = 4.23683
  Normalizat = 1.31635
  Prefactor  = 0.971738
 **********
 **   18 **HESSE 
 **********

 FCN=   66082.66     FROM HESSE     STATUS=OK            23 CALLS      491 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37112        5.7276        .33765E-05   -1.5586    
   2  Index         4.2368        3.4373        .75202E-05   -.15323    
   3  Normalizat    1.3164        .16254        .96443E-06   -.83080    
   4  Prefactor     .97174        .34896E-01    .24191E-06   -.93678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62133e-12
Minuit parameter uncertainties:
  1  2.91582
  2  3.80122
  3  0.162608
  4  0.0348971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636912': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 66082.6572824
delta logL = 0.100759784516

Extracting fit parameters...

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  3.711e-01  2.916e+00  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  4.237e+00  3.801e+00  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:  9.717e-01  3.490e-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.316e+00  1.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/636912/cmap_HighResolution_672451201_675043201_4FGL_J1454.4-3744_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2022-05-24 06:04:01.395466', job_id='636912', GAL2='0.97', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1653397441.4', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.01e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='168' AND source_name='4FGL J1454.4-3744' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 06:04:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 636912: <4FGL_J1454.4-3744_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1454.4-3744_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 03:15:27 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:18:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:18:18 2022
Terminated at Tue May 24 06:06:19 2022
Results reported at Tue May 24 06:06:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4-3744_monthly_bin168 223.616 -37.7499 672451201 675043201 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 :                                   9601.00 sec.
    Max Memory :                                 649 MB
    Average Memory :                             504.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10001 sec.
    Turnaround time :                            10252 sec.

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

