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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1469
RA = 223.544, Dec = 16.3747
tmin = 620092801, tmax = 620352001
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='846655', job_status='RUN', time_executed='2021-09-10 12:39:18.908103', time_epoch_executed='1631302758.91' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846655

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846655/ft1_4FGL_J1454.1+1622_daily_bin1469.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846655/ft1_4FGL_J1454.1+1622_daily_bin1469.fits outfile=/scratch/kocevski/846655/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1469.fits ra=223.544 dec=16.3747 rad=12.0 tmin=620092801.0 tmax=620352001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.52
user 3.19
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.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/846655/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1469.fits evtable="EVENTS" outfile="/scratch/kocevski/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits" evtable="EVENTS" scfile=/scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits sctable="SC_DATA" outfile=/scratch/kocevski/846655/ltcube_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.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/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits
.....................!
real 12.07
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits evtable="EVENTS" scfile=/scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits sctable="SC_DATA" expcube=/scratch/kocevski/846655/ltcube_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.fits outfile=/scratch/kocevski/846655/expmap_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.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/846655/ltcube_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.fits
.....................!
real 190.26
user 185.13
sys 4.66

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/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits scfile=/scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits outfile=/scratch/kocevski/846655/cmap_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits scfile=/scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits outfile=/scratch/kocevski/846655/cmap_HighResolution_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits evtable="EVENTS" scfile=/scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846655/Model_4FGL_J1454.1+1622_daily_bin1469.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/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits.....................!
real 51.63
user 50.27
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits', '/scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits', expMap='/scratch/kocevski/846655/expmap_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.fits', expCube='/scratch/kocevski/846655/ltcube_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846655/Model_4FGL_J1454.1+1622_daily_bin1469.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/846655/ft1_filtered_4FGL_J1454.1+1622_daily_bin1469.fits
Spacecraft file(s): /scratch/kocevski/846655/ft2_4FGL_J1454.1+1622_daily_bin1469.fits
Exposure map: /scratch/kocevski/846655/expmap_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.fits
Exposure cube: /scratch/kocevski/846655/ltcube_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846655/Model_4FGL_J1454.1+1622_daily_bin1469.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) = 6922.14886192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.673       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.9781       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8434       1.0000         .10000E-03   10000.    
     5 'norm      '    .17295E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.4919       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    44.758       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3355       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7518       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 '    31.391       1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.068       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .70784       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1747       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=   6922.142     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2491 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.666        31.383       -.48305E-05    .14259E-04
   2  Prefactor     .10000E-03    3.8528        .33504E-06** at limit **
   3  norm          8.9782        3.4043        .27308E-07    .58999E-04
   4  Prefactor     5.8439        7.4657       -.73554E-06   -.14010E-03
   5  norm          .10000E-03    1.8250       -.28483E-06** at limit **
   6  Prefactor     .10000E-03    69.302       -.12791E-04** at limit **
   7  norm          .10000E-03    15.787       -.11489E-04** at limit **
   8  norm          8.4917        4.5961       -.58041E-07    .14100E-04
   9  Prefactor     .10000E-03    9.0083       -.14007E-05** at limit **
  10  Prefactor     .10000E-03    22.934       -.34016E-05** at limit **
  11  Prefactor     .10000E-03    4.9585        .15285E-06** at limit **
  12  Prefactor     .10000E-03    16.387       -.20746E-04** at limit **
  13  Prefactor     44.760        38.792        .14481E-05    .80262E-04
  14  Prefactor     4.3352        8.6255       -.77893E-06   -.20070E-03
  15  norm          1.7517        .29541       -.74118E-08    .10546E-02
  16  norm          .10000E-03    1.9564        .60423E-07** at limit **
  17  norm          .10000E-03    14.318        .23528E-04** at limit **
  18  Prefactor     .10000E-03    24.788        .18979E-04** at limit **
  19  Prefactor     .10000E-03    1.9303       -.15227E-07** at limit **
  20  Prefactor     31.384        30.682       -.62400E-05   -.92278E-05
  21  Prefactor     28.065        28.896       -.22350E-05   -.47051E-05
  22  Normalizat    .70804        .21532        .23522E-05    .14573E-03
  23  Prefactor     1.1746        .14137        .32996E-06    .29837E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.6664
  Prefactor  = 0.0001
  norm       = 8.97817
  Prefactor  = 5.84387
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.49175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.7595
  Prefactor  = 4.33516
  norm       = 1.75173
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.3835
  Prefactor  = 28.0648
  Normalizat = 0.708043
  Prefactor  = 1.17463
 **********
 **   18 **HESSE 
 **********

 FCN=   6922.142     FROM HESSE     STATUS=OK           364 CALLS     2855 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.666        31.390        .57478E-04   -1.4312    
   2  Prefactor     .10000E-03    3.8738        .15933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.9782        3.4048        .91341E-04   -1.5109    
   4  Prefactor     5.8439        7.4616        .16614E-03   -1.5224    
   5  norm          .10000E-03    4.0387        .21566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    69.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.4917        4.5966        .12690E-03   -1.5125    
   9  Prefactor     .10000E-03    9.0229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.9650        .18093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.760        38.798        .59928E-04   -1.4369    
  14  Prefactor     4.3352        8.6242        .19346E-03   -1.5292    
  15  norm          1.7517        .29550        .17716E-04   -1.5443    
  16  norm          .10000E-03    1.9571        .11365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    14.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.9313        .11289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     31.384        30.711        .71515E-04   -1.4587    
  21  Prefactor     28.065        28.899        .75620E-04   -1.4648    
  22  Normalizat    .70804        .24260        .35668E-03   -1.0358    
  23  Prefactor     1.1746        .16090        .19487E-03   -.87116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17408e-10
Minuit parameter uncertainties:
  1  31.4008
  2  1.60515e-05
  3  3.40486
  4  7.46276
  5  1.47435e-05
  6  0.000140998
  7  2.48449e-05
  8  4.5968
  9  4.32069e-07
  10  1.15143e-05
  11  2.37272e-06
  12  1.7659e-06
  13  38.8194
  14  8.62671
  15  0.295499
  16  4.50614e-07
  17  7.63701e-07
  18  2.96094e-05
  19  8.99586e-07
  20  30.7267
  21  28.9137
  22  0.242972
  23  0.160964
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.766e-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:  1.175e+00  1.610e-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:  7.080e-01  2.430e-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.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846655/likelihoodResults_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.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) = 6922.14250127
delta logL = -0.000289994176455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6922.14221417
delta logL = -2.89368927042e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10594E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1521       1.0000          .0000       10.000    
     3 'Normalizat'    .70803       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1746       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=   6922.142     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      287 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10399E-03    .12564        .74312E-01** at limit **
   2  Index         3.0310        6.6218        .50000        .18562E-04
   3  Normalizat    .70804        .74478E-03    .35668E-03    .35157E-04
   4  Prefactor     1.1746        .51566E-03    .19487E-03    .52588E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103989
  Index      = 3.03097
  Normalizat = 0.708043
  Prefactor  = 1.17462
 **********
 **   18 **HESSE 
 **********

 FCN=   6922.142     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      318 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10399E-03    38.082        .38537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0310        7.5190        .50000       -.40477    
   3  Normalizat    .70804        .98883E-02    .14267E-04   -1.0358    
   4  Prefactor     1.1746        .68463E-02    .38974E-04   -.87116    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.76038e-08
Minuit parameter uncertainties:
  1  0.0246676
  2  341.63
  3  0.00988837
  4  0.00684633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846655': 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) = 6922.14221355
delta logL = -2.274155122e-06

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.040e-04  2.467e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  3.031e+00  3.416e+02  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:  1.175e+00  6.846e-03  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:  7.080e-01  9.888e-03  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/846655/cmap_HighResolution_620092801_620352001_4FGL_J1454.1+1622_daily_bin1469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.72e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2021-09-10 12:49:37.554591', job_id='846655', GAL2='1.17', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1631303377.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='-2.27e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1469' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:49:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 846655: <4FGL_J1454.1+1622_daily_bin1469> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1469> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:37:19 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:37:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:37:20 2021
Terminated at Fri Sep 10 12:49:38 2021
Results reported at Fri Sep 10 12:49:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1469 223.544 16.3747 620092801 620352001 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 :                                   612.24 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             338.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

