/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 57 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 = 7369
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.4-3744_daily_bin1373
RA = 223.616, Dec = -37.7499
tmin = 595209601, tmax = 595468801
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='867455', job_status='RUN', time_executed='2021-09-10 13:52:20.003951', time_epoch_executed='1631307140.0' WHERE source_name='4FGL J1454.4-3744' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867455

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867455/ft1_4FGL_J1454.4-3744_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867455/ft2_4FGL_J1454.4-3744_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867455/ft1_4FGL_J1454.4-3744_daily_bin1373.fits outfile=/scratch/kocevski/867455/ft1_filteredMKT_4FGL_J1454.4-3744_daily_bin1373.fits ra=223.616 dec=-37.7499 rad=12.0 tmin=595209601.0 tmax=595468801.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.91
user 2.71
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867455/ft2_4FGL_J1454.4-3744_daily_bin1373.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/867455/ft1_filteredMKT_4FGL_J1454.4-3744_daily_bin1373.fits evtable="EVENTS" outfile="/scratch/kocevski/867455/ft1_filtered_4FGL_J1454.4-3744_daily_bin1373.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867455/ft1_filtered_4FGL_J1454.4-3744_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/867455/ft2_4FGL_J1454.4-3744_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/867455/ltcube_595209601_595468801_4FGL_J1454.4-3744_daily_bin1373.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/867455/ft2_4FGL_J1454.4-3744_daily_bin1373.fits
.....................!
real 12.68
user 12.35
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867455/ft1_filtered_4FGL_J1454.4-3744_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/867455/ft2_4FGL_J1454.4-3744_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/867455/ltcube_595209601_595468801_4FGL_J1454.4-3744_daily_bin1373.fits outfile=/scratch/kocevski/867455/expmap_595209601_595468801_4FGL_J1454.4-3744_daily_bin1373.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/867455/ltcube_595209601_595468801_4FGL_J1454.4-3744_daily_bin1373.fits
.....................!
real 189.61
user 185.11
sys 4.14

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/867455/ft1_filtered_4FGL_J1454.4-3744_daily_bin1373.fits scfile=/scratch/kocevski/867455/ft2_4FGL_J1454.4-3744_daily_bin1373.fits outfile=/scratch/kocevski/867455/cmap_595209601_595468801_4FGL_J1454.4-3744_daily_bin1373.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867455/ft1_filtered_4FGL_J1454.4-3744_daily_bin1373.fits scfile=/scratch/kocevski/867455/ft2_4FGL_J1454.4-3744_daily_bin1373.fits outfile=/scratch/kocevski/867455/cmap_HighResolution_595209601_595468801_4FGL_J1454.4-3744_daily_bin1373.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867455/ft1_filtered_4FGL_J1454.4-3744_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/867455/ft2_4FGL_J1454.4-3744_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867455/Model_4FGL_J1454.4-3744_daily_bin1373.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/867455/ft1_filtered_4FGL_J1454.4-3744_daily_bin1373.fits.........................!
real 50.41
user 49.04
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10723E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .31951E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10142E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .82154       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13824E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    14 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    15 'norm      '    10000.       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19716E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10147E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.2091       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .26453       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1055E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   708.3804     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     2835 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10009E-03    39.626       -.33714E-06** at limit **
   2  Prefactor     .12646E-03    179.26        .58544E-05** at limit **
   3  Prefactor     .13205E-03    2.9798        .78627E-06** at limit **
   4  Prefactor     .10000E-03    19.987       -.31449E-06** at limit **
   5  norm          .10000E-03    15.062        .31890E-07** at limit **
   6  Prefactor     .10000E-03    60.578        .19412E-05** at limit **
   7  norm          .82153        .64332        .41178E-08   -.53800E-04
   8  Prefactor     .10348E-03    44.685       -.19061E-05** at limit **
   9  Prefactor     .10044E-03    43.657       -.17448E-05** at limit **
  10  Prefactor     .10007E-03    43.145       -.15686E-05** at limit **
  11  norm          .12116E-03    47.336       -.98319E-06** at limit **
  12  Prefactor     .57996E-02    19.854        .22007E-05    .83633E-03
  13  Prefactor    10000.0        9.8140       -.15450E-05   -.61177E-03
  14  Prefactor    10000.0        5.2498       -.99158E-06** at limit **
  15  norm         10000.0        158.45       -.49859E-05** at limit **
  16  Prefactor     .18746E-02    102.66        .48875E-05** at limit **
  17  Prefactor     .15647E-03    70.397        .14528E-05** at limit **
  18  norm          .11419E-03    46.083        .19041E-05** at limit **
  19  norm          .12449E-03    49.310       -.99444E-07** at limit **
  20  norm          .10000E-03    31.607       -.25345E-06** at limit **
  21  Prefactor     .10477E-03    64.328       -.24673E-05** at limit **
  22  norm          .10007E-03    36.185       -.79212E-06** at limit **
  23  Prefactor     2.1890        4.2114        .68901E-06    .47469E-03
  24  Normalizat    .10000E-01    .10959        .64708E-06** at limit **
  25  Prefactor     .26455        .78596E-01    .19635E-06   -.28616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100094
  Prefactor  = 0.000126463
  Prefactor  = 0.000132051
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.821526
  Prefactor  = 0.000103485
  Prefactor  = 0.000100437
  Prefactor  = 0.000100073
  norm       = 0.000121158
  Prefactor  = 0.00579961
  Prefactor  = 9999.99
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 0.00187456
  Prefactor  = 0.000156473
  norm       = 0.000114189
  norm       = 0.000124495
  norm       = 0.000100001
  Prefactor  = 0.000104772
  norm       = 0.000100068
  Prefactor  = 2.18898
  Normalizat = 0.01
  Prefactor  = 0.264554
 **********
 **   18 **HESSE 
 **********

 FCN=   708.3804     FROM HESSE     STATUS=OK           457 CALLS     3292 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10009E-03    39.757        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12646E-03    640.83        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .13205E-03    1721.2        .10682E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.988        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    15.061        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    113.32        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .82153        .64161        .41357E-02   -1.5527    
   8  Prefactor     .10348E-03    194.54        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10044E-03    205.57        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10007E-03    213.95        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12116E-03    147.70        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .57996E-02    6933.3        .90712E-02   -1.5693    
  13  Prefactor    10000.0        7679.7        .90712E-02    1.5691    
  14  Prefactor    10000.0        953.81        .10654E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm         10000.0        493.54        .90712E-02    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .18746E-02    1448.3        .90712E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15647E-03    310.14        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .11419E-03    85.081        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .12449E-03    262.34        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    31.609        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10477E-03    71.960        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10007E-03    36.220        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.1890        6892.4        .69190E-02   -1.5412    
  24  Normalizat    .10000E-01    .10945        .12345       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .26455        .79533E-01    .36258E-01   -1.2440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61284e-06
Minuit parameter uncertainties:
  1  0.00387189
  2  0.263313
  3  0.48439
  4  4.73234e-05
  5  4.11259e-06
  6  0.00112727
  7  0.641616
  8  0.0522457
  9  0.0190236
  10  0.00792305
  11  0.11208
  12  10.144
  13  13.519
  14  0.0901295
  15  0.15958
  16  3.28918
  17  0.266072
  18  0.0695877
  19  0.161034
  20  0.000379761
  21  0.0371076
  22  0.0031444
  23  200.5
  24  2.24526e-07
  25  0.0795657
Done.

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

Extracting fit parameters...

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  1.000e+04  1.352e+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:  2.646e-01  7.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.000e-02  2.245e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.65
Ra Dec: 223.616 -37.750
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 2.30e-05 +/- 3.11e-08
Energy Flux (Fixed Index): 6.31e-03 +/- 8.53e-06
calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 1.65
Ra Dec: 223.616 -37.750
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.80e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/867455/likelihoodResults_595209601_595468801_4FGL_J1454.4-3744_daily_bin1373.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) = 696.674339616
delta logL = 11.7060974191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 696.674337859
delta logL = 11.7060991755

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    4.2696       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.

 FCN=   696.6743     FROM MIGRAD    STATUS=CONVERGED     12 CALLS       67 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       4.2696        .14012        .20367E-01    .18578E-04
                               ERR DEF=  .500    
Final values: 
  Index      = 4.2696
 **********
 **   18 **HESSE 
 **********

 FCN=   696.6743     FROM HESSE     STATUS=OK             7 CALLS       74 TOTAL
                     EDM=   .18E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       4.2696        .14053        .73053E-04   -.14660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75985e-16
Minuit parameter uncertainties:
  1  0.140551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867455': 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) = 696.674337859
delta logL = 11.7060991755

Extracting fit parameters...

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
360        Index:  4.270e+00  1.406e-01  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:  2.646e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 25.06
Ra Dec: 223.616 -37.750
Photon Index (Free Index): 4.27 +/- 0.14
Photon Flux (Free Index): 5.70e-04 +/- 1.59e-04
Energy Flux (Free Index): 8.19e-02 +/- 2.14e-02

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/867455/cmap_HighResolution_595209601_595468801_4FGL_J1454.4-3744_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.80e+04', comment='SUCCESS', photon_flux='2.30e-05', energy_flux2='8.19e-02', photon_flux_error='3.11e-08', dlogl='1.17e+01', energy_flux='6.31e-03', photon_flux2='5.70e-04', job_status='DONE', time_completed='2021-09-10 14:00:04.200210', photon_index_error2='0.14', photon_index2='4.27', ts='1.65', fit_tolerance='1e-08', GAL='0.26', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='2.14e-02', EG='0.01', time_epoch_completed='1631307604.2', return_code='0', job_id='867455', GAL2='0.26', EG2='0.01', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='1.59e-04', ts2='25.06', photon_index='2.55' WHERE bin_id='1373' AND source_name='4FGL J1454.4-3744' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 14:00:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 867455: <4FGL_J1454.4-3744_daily_bin1373> in cluster <slac> Done

Job <4FGL_J1454.4-3744_daily_bin1373> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 13:51:12 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 13:51:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 13:51:14 2021
Terminated at Fri Sep 10 14:00:04 2021
Results reported at Fri Sep 10 14:00:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4-3744_daily_bin1373 223.616 -37.7499 595209601 595468801 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 :                                   463.12 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             315.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            532 sec.

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

