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


Performing analysis on: 4FGL_J1454.4-3744_daily_bin1320
RA = 223.616, Dec = -37.7499
tmin = 581472001, tmax = 581731201
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='867375', job_status='RUN', time_executed='2021-09-10 13:52:12.322976', time_epoch_executed='1631307132.32' WHERE source_name='4FGL J1454.4-3744' and cadence='daily' and bin_id='1320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867375

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867375/ft1_4FGL_J1454.4-3744_daily_bin1320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867375/ft2_4FGL_J1454.4-3744_daily_bin1320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867375/ft1_4FGL_J1454.4-3744_daily_bin1320.fits outfile=/scratch/kocevski/867375/ft1_filteredMKT_4FGL_J1454.4-3744_daily_bin1320.fits ra=223.616 dec=-37.7499 rad=12.0 tmin=581472001.0 tmax=581731201.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.78
user 2.57
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867375/ft2_4FGL_J1454.4-3744_daily_bin1320.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/867375/ft1_filteredMKT_4FGL_J1454.4-3744_daily_bin1320.fits evtable="EVENTS" outfile="/scratch/kocevski/867375/ft1_filtered_4FGL_J1454.4-3744_daily_bin1320.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867375/ft1_filtered_4FGL_J1454.4-3744_daily_bin1320.fits" evtable="EVENTS" scfile=/scratch/kocevski/867375/ft2_4FGL_J1454.4-3744_daily_bin1320.fits sctable="SC_DATA" outfile=/scratch/kocevski/867375/ltcube_581472001_581731201_4FGL_J1454.4-3744_daily_bin1320.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/867375/ft2_4FGL_J1454.4-3744_daily_bin1320.fits
.....................!
real 12.09
user 11.76
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867375/ft1_filtered_4FGL_J1454.4-3744_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/867375/ft2_4FGL_J1454.4-3744_daily_bin1320.fits sctable="SC_DATA" expcube=/scratch/kocevski/867375/ltcube_581472001_581731201_4FGL_J1454.4-3744_daily_bin1320.fits outfile=/scratch/kocevski/867375/expmap_581472001_581731201_4FGL_J1454.4-3744_daily_bin1320.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/867375/ltcube_581472001_581731201_4FGL_J1454.4-3744_daily_bin1320.fits
.....................!
real 189.25
user 185.07
sys 3.82

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/867375/ft1_filtered_4FGL_J1454.4-3744_daily_bin1320.fits scfile=/scratch/kocevski/867375/ft2_4FGL_J1454.4-3744_daily_bin1320.fits outfile=/scratch/kocevski/867375/cmap_581472001_581731201_4FGL_J1454.4-3744_daily_bin1320.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867375/ft1_filtered_4FGL_J1454.4-3744_daily_bin1320.fits scfile=/scratch/kocevski/867375/ft2_4FGL_J1454.4-3744_daily_bin1320.fits outfile=/scratch/kocevski/867375/cmap_HighResolution_581472001_581731201_4FGL_J1454.4-3744_daily_bin1320.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867375/ft1_filtered_4FGL_J1454.4-3744_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/867375/ft2_4FGL_J1454.4-3744_daily_bin1320.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867375/Model_4FGL_J1454.4-3744_daily_bin1320.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/867375/ft1_filtered_4FGL_J1454.4-3744_daily_bin1320.fits.....................!
real 137.99
user 136.54
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12475E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    441.52       1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.292       1.0000         .10000E-03   10000.    
     5 'norm      '    7.4176       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .65759E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.045       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.497       1.0000         .10000E-03   10000.    
    13 'Prefactor '    60.241       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .42321       1.0000         .10000E-03   10000.    
    15 'norm      '    .68992E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .95564E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10356E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .13091E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3529       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98345       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=   2850.747     FROM MIGRAD    STATUS=CONVERGED   1101 CALLS     3919 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.906        .18142E-02** at limit **
   2  Prefactor     .10000E-03    389.74        .18142E-02** at limit **
   3  Prefactor     441.41        169.16        .97356E-04   -.19887E-04
   4  Prefactor     41.300        36.870        .62382E-04   -.10023E-04
   5  norm          7.4200        11.780        .14726E-03    .45163E-05
   6  Prefactor     .10000E-03    41.255        .18142E-02** at limit **
   7  norm          .17701E-02    .50391        .73881E-02** at limit **
   8  Prefactor     .10000E-03    159.97        .18142E-02** at limit **
   9  Prefactor     52.059        78.707        .55593E-04    .39877E-05
  10  Prefactor     .10000E-03    41.022        .18142E-02** at limit **
  11  norm          .10000E-03    19.999        .18142E-02** at limit **
  12  Prefactor     18.095        1135.1        .46563E-03    .57377E-06
  13  Prefactor     60.301        112.77        .51694E-04    .34352E-04
  14  Prefactor     .18114E-02    166.42        .16666    ** at limit **
  15  norm          .10000E-03    20.674        .15610E-02** at limit **
  16  Prefactor     .10000E-03    27.162        .18142E-02** at limit **
  17  Prefactor     .10000E-03    35.302        .18142E-02** at limit **
  18  norm          .10000E-03    30.649        .18142E-02** at limit **
  19  norm          .10001E-03    6505.1        .18158E-02** at limit **
  20  norm          .10000E-03    26.224        .18142E-02** at limit **
  21  Prefactor     .10000E-03    64.133        .18142E-02** at limit **
  22  norm          .10000E-03    84.802        .18142E-02** at limit **
  23  Prefactor     .10000E-03    458.24        .18142E-02** at limit **
  24  Normalizat    1.3524        .76878        .54844E-03    .18169E-04
  25  Prefactor     .98347        .19555        .16605E-03    .12899E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 441.411
  Prefactor  = 41.3001
  norm       = 7.42004
  Prefactor  = 0.0001
  norm       = 0.00177009
  Prefactor  = 0.0001
  Prefactor  = 52.0586
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.0947
  Prefactor  = 60.3013
  Prefactor  = 0.00181136
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.00010001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.3524
  Prefactor  = 0.983469
 **********
 **   18 **HESSE 
 **********

 FCN=   2850.747     FROM HESSE     STATUS=OK           421 CALLS     4340 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.907        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    389.74        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     441.41        169.17        .19471E-04   -1.1474    
   4  Prefactor     41.300        36.871        .24953E-05   -1.4422    
   5  norm          7.4200        11.780        .58904E-05   -1.5163    
   6  Prefactor     .10000E-03    41.255        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17701E-02    .39052        .86266E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    159.98        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     52.059        78.732        .22237E-05   -1.4264    
  10  Prefactor     .10000E-03    41.022        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    20.001        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.095        1135.0        .18625E-04   -1.4857    
  13  Prefactor     60.301        112.70        .10339E-04   -1.4153    
  14  Prefactor     .18114E-02    178.75        .15991       -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    20.872        .31221E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    35.304        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    30.653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    6505.4        .36316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    26.225        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    64.139        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    84.838        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    458.24        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3524        .76954        .21938E-04   -.82015    
  25  Prefactor     .98347        .19576        .33210E-04   -.93283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53291e-10
Minuit parameter uncertainties:
  1  2.82312e-05
  2  0.000185681
  3  169.365
  4  36.8914
  5  11.7833
  6  5.32e-05
  7  0.0510771
  8  0.000167986
  9  78.8896
  10  0.000118725
  11  6.37419e-06
  12  292.617
  13  113.098
  14  1.10949
  15  0.000171952
  16  6.03321e-06
  17  1.56873e-06
  18  1.38239e-05
  19  0.0114319
  20  1.33591e-05
  21  1.29203e-05
  22  5.5504e-05
  23  0.000219842
  24  0.776237
  25  0.195904
Done.

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

Extracting fit parameters...

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  6.030e+01  1.131e+02  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.835e-01  1.959e-01  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.352e+00  7.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 223.616 -37.750
Photon Flux Upper Limit: 7.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.47e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/867375/likelihoodResults_581472001_581731201_4FGL_J1454.4-3744_daily_bin1320.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) = 2850.72405219
delta logL = 0.0227836488921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2850.71765223
delta logL = 0.029183614653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.120       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7977       1.0000          .0000       10.000    
     3 'Normalizat'    1.3371       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98544       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=   2850.718     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      264 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.117        114.73        .57805E-04    .80832E-04
   2  Index         2.7978        1.1199        .75454E-02    .52544E-04
   3  Normalizat    1.3376        .70387        .55096E-03   -.49295E-04
   4  Prefactor     .98530        .18651        .16589E-03   -.16903E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.1169
  Index      = 2.79776
  Normalizat = 1.33763
  Prefactor  = 0.985298
 **********
 **   18 **HESSE 
 **********

 FCN=   2850.718     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.117        105.98        .11561E-04   -1.4320    
   2  Index         2.7978        1.0346        .30181E-03   -.45610    
   3  Normalizat    1.3376        .70437        .22038E-04   -.82450    
   4  Prefactor     .98530        .18652        .33178E-04   -.93221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67739e-10
Minuit parameter uncertainties:
  1  106.396
  2  1.04403
  3  0.709539
  4  0.186643
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867375': 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) = 2850.71765195
delta logL = 0.0291838955659

Extracting fit parameters...

4FGL J1454.4-3744
   Spectrum: PowerLaw
359    Prefactor:  4.812e+01  1.064e+02  1.000e-04  1.000e+04 ( 1.000e-13)
360        Index:  2.798e+00  1.044e+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.853e-01  1.866e-01  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.338e+00  7.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/867375/cmap_HighResolution_581472001_581731201_4FGL_J1454.4-3744_daily_bin1320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-02', job_status='DONE', photon_flux_upper_limit='7.01e-07', time_completed='2021-09-10 14:05:50.833161', job_id='867375', GAL2='0.99', fit_tolerance='1e-08', EG2='1.34', EG='1.35', time_epoch_completed='1631307950.83', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.92e-02', ts2='0.39', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1320' AND source_name='4FGL J1454.4-3744' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 14:05:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 867375: <4FGL_J1454.4-3744_daily_bin1320> in cluster <slac> Done

Job <4FGL_J1454.4-3744_daily_bin1320> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 13:51:04 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 13:51:06 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:06 2021
Terminated at Fri Sep 10 14:05:51 2021
Results reported at Fri Sep 10 14:05:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4-3744_daily_bin1320 223.616 -37.7499 581472001 581731201 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 :                                   817.00 sec.
    Max Memory :                                 1098 MB
    Average Memory :                             334.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

