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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1619
RA = 223.544, Dec = 16.3747
tmin = 658972801, tmax = 659232001
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='376005', job_status='RUN', time_executed='2021-12-08 01:43:29.473855', time_epoch_executed='1638956609.47' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1619'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376005

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376005/ft1_4FGL_J1454.1+1622_daily_bin1619.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376005/ft1_4FGL_J1454.1+1622_daily_bin1619.fits outfile=/scratch/kocevski/376005/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1619.fits ra=223.544 dec=16.3747 rad=12.0 tmin=658972801.0 tmax=659232001.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.96
user 2.77
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.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/376005/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1619.fits evtable="EVENTS" outfile="/scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.fits" evtable="EVENTS" scfile=/scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits sctable="SC_DATA" outfile=/scratch/kocevski/376005/ltcube_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.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/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits
.....................!
real 13.40
user 13.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.fits evtable="EVENTS" scfile=/scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits sctable="SC_DATA" expcube=/scratch/kocevski/376005/ltcube_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.fits outfile=/scratch/kocevski/376005/expmap_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.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/376005/ltcube_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.fits
.....................!
real 191.09
user 185.30
sys 5.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
Added 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.1+1622 @ 223.544 16.3747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.fits scfile=/scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits outfile=/scratch/kocevski/376005/cmap_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.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.544 yref=16.3747 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.fits scfile=/scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits outfile=/scratch/kocevski/376005/cmap_HighResolution_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.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.544 yref=16.3747 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.fits evtable="EVENTS" scfile=/scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/376005/Model_4FGL_J1454.1+1622_daily_bin1619.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.fits.....................!
real 55.76
user 54.37
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.fits', '/scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits', expMap='/scratch/kocevski/376005/expmap_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.fits', expCube='/scratch/kocevski/376005/ltcube_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/376005/Model_4FGL_J1454.1+1622_daily_bin1619.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.1+1622'

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.482e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/376005/ft1_filtered_4FGL_J1454.1+1622_daily_bin1619.fits
Spacecraft file(s): /scratch/kocevski/376005/ft2_4FGL_J1454.1+1622_daily_bin1619.fits
Exposure map: /scratch/kocevski/376005/expmap_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.fits
Exposure cube: /scratch/kocevski/376005/ltcube_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/376005/Model_4FGL_J1454.1+1622_daily_bin1619.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) = 7320.57331106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.492       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .67038E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4159       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.223       1.0000         .10000E-03   10000.    
     5 'norm      '    7.4416       1.0000         .10000E-03   10000.    
     6 'Prefactor '    84.009       1.0000         .10000E-03   10000.    
     7 'norm      '    .16768E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    4.1534       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6038       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.056       1.0000         .10000E-03   10000.    
    15 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    112.98       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1434       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7320.567     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2596 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.489        31.122       -.16344E-06    .72679E-05
   2  Prefactor     .10000E-03    51.452       -.29010E-05** at limit **
   3  norm          1.4159        1.2429       -.17482E-07    .41973E-04
   4  Prefactor     16.220        8.9828       -.54004E-07    .11839E-04
   5  norm          7.4417        3.1926       -.21801E-07   -.36750E-04
   6  Prefactor     83.989        63.309        .25848E-05    .16528E-04
   7  norm          .10000E-03    240.36       -.33551E-05** at limit **
   8  norm          4.1534        3.2620       -.29614E-07   -.38216E-04
   9  Prefactor     .10000E-03    6.8603       -.27311E-07** at limit **
  10  Prefactor     3.5925        99.945        .27172E-05   -.13948E-04
  11  Prefactor     .10000E-03    9.7680       -.94477E-07** at limit **
  12  Prefactor     .10000E-03    13.933        .43868E-06** at limit **
  13  Prefactor     .10000E-03    24.542        .18882E-07** at limit **
  14  Prefactor     19.056        10.081       -.54005E-07   -.30531E-04
  15  norm          .10000E-03    .11333       -.31318E-07** at limit **
  16  norm          .10000E-03    6.1222       -.19142E-07** at limit **
  17  norm          .10000E-03    14.990       -.87531E-06** at limit **
  18  Prefactor     .10000E-03    54.942        .24109E-05** at limit **
  19  Prefactor     .10000E-03    1.7498       -.10458E-07** at limit **
  20  Prefactor     112.98        52.356       -.20756E-06   -.38235E-04
  21  Prefactor     .10000E-03    17.014        .36712E-06** at limit **
  22  Normalizat    1.1433        .21219       -.20133E-07   -.39793E-04
  23  Prefactor     .90245        .13149        .60984E-06   -.12467E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.4892
  Prefactor  = 0.0001
  norm       = 1.4159
  Prefactor  = 16.2202
  norm       = 7.44174
  Prefactor  = 83.9889
  norm       = 0.0001
  norm       = 4.15338
  Prefactor  = 0.0001
  Prefactor  = 3.59254
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.0557
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 112.978
  Prefactor  = 0.0001
  Normalizat = 1.14333
  Prefactor  = 0.902447
 **********
 **   18 **HESSE 
 **********

 FCN=   7320.567     FROM HESSE     STATUS=OK           378 CALLS     2974 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.489        31.131        .68233E-04   -1.4533    
   2  Prefactor     .10000E-03    4.1241        .59750E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4159        1.2573        .86976E-04   -1.5470    
   4  Prefactor     16.220        9.0059        .99439E-04   -1.4902    
   5  norm          7.4417        3.1932        .95066E-04   -1.5162    
   6  Prefactor     83.989        62.514        .43827E-04   -1.3872    
   7  norm          .10000E-03    235.56        .40762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.1534        3.2616        .13219E-03   -1.5300    
   9  Prefactor     .10000E-03    6.8645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5925        97.761        .21285E-03   -1.5329    
  11  Prefactor     .10000E-03    9.8071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    24.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.056        10.093        .91751E-04   -1.4835    
  15  norm          .10000E-03    .14569        .55428E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.1711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    15.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    54.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.7511        .11053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     112.98        52.542        .37846E-04   -1.3578    
  21  Prefactor     .10000E-03    17.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1433        .25366        .30313E-03   -.88373    
  23  Prefactor     .90245        .15535        .21546E-03   -.96056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77353e-11
Minuit parameter uncertainties:
  1  31.1454
  2  1.88404e-05
  3  1.25732
  4  9.00665
  5  3.19328
  6  62.563
  7  5.18313e-05
  8  3.26173
  9  3.19405e-06
  10  37.5489
  11  9.81704e-06
  12  5.65247e-06
  13  1.30092e-05
  14  10.0939
  15  1.52094e-06
  16  5.87661e-06
  17  1.59076e-05
  18  1.04773e-05
  19  8.60316e-07
  20  52.5636
  21  5.06371e-06
  22  0.253932
  23  0.155423
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  5.652e-06  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  9.024e-01  1.554e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  1.143e+00  2.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 7.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/376005/likelihoodResults_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.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) = 7320.56713286
delta logL = -0.000341408188433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7320.56679144
delta logL = 3.24780558003e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4037       1.0000          .0000       10.000    
     3 'Normalizat'    1.1433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .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=   7320.567     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      248 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10026E-03    719.18        .18142E-02** at limit **
   2  Index         2.3574        6.1821        .50000        .20129E-05
   3  Normalizat    1.1433        .39409E-01    .30313E-03    .26253E-06
   4  Prefactor     .90245        .25355E-01    .21546E-03   -.31658E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100263
  Index      = 2.35737
  Normalizat = 1.14333
  Prefactor  = 0.902448
 **********
 **   18 **HESSE 
 **********

 FCN=   7320.567     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      277 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10026E-03    6181.2        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3574        6.7440        .50000       -.55686    
   3  Normalizat    1.1433        .10095        .12125E-04   -.88373    
   4  Prefactor     .90245        .64893E-01    .86185E-05   -.96056    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.17225e-08
Minuit parameter uncertainties:
  1  0.0520994
  2  3958.78
  3  0.100968
  4  0.0648984
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376005': 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) = 7320.56679143
delta logL = 2.16023181565e-08

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.003e-04  5.210e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.357e+00  3.959e+03  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  9.024e-01  6.490e-02  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  1.143e+00  1.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.544 16.375

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/376005/cmap_HighResolution_658972801_659232001_4FGL_J1454.1+1622_daily_bin1619.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.36e-08', time_completed='2021-12-08 01:53:56.782798', job_id='376005', GAL2='0.90', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1638957236.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.16e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1619' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:53:56 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 376005: <4FGL_J1454.1+1622_daily_bin1619> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1619> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec  8 01:40:20 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:40:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 01:40:39 2021
Terminated at Wed Dec  8 01:53:57 2021
Results reported at Wed Dec  8 01:53:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1619 223.544 16.3747 658972801 659232001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.1+1622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   626.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            817 sec.

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

