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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1149
RA = 223.544, Dec = 16.3747
tmin = 537148801, tmax = 537408001
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='844480', job_status='RUN', time_executed='2021-09-10 12:32:30.629768', time_epoch_executed='1631302350.63' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1149'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844480

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844480/ft1_4FGL_J1454.1+1622_daily_bin1149.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844480/ft2_4FGL_J1454.1+1622_daily_bin1149.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844480/ft1_4FGL_J1454.1+1622_daily_bin1149.fits outfile=/scratch/kocevski/844480/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1149.fits ra=223.544 dec=16.3747 rad=12.0 tmin=537148801.0 tmax=537408001.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 4.05
user 3.57
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844480/ft1_filtered_4FGL_J1454.1+1622_daily_bin1149.fits evtable="EVENTS" scfile=/scratch/kocevski/844480/ft2_4FGL_J1454.1+1622_daily_bin1149.fits sctable="SC_DATA" expcube=/scratch/kocevski/844480/ltcube_537148801_537408001_4FGL_J1454.1+1622_daily_bin1149.fits outfile=/scratch/kocevski/844480/expmap_537148801_537408001_4FGL_J1454.1+1622_daily_bin1149.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/844480/ltcube_537148801_537408001_4FGL_J1454.1+1622_daily_bin1149.fits
.....................!
real 194.21
user 188.69
sys 4.28

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/844480/ft1_filtered_4FGL_J1454.1+1622_daily_bin1149.fits scfile=/scratch/kocevski/844480/ft2_4FGL_J1454.1+1622_daily_bin1149.fits outfile=/scratch/kocevski/844480/cmap_537148801_537408001_4FGL_J1454.1+1622_daily_bin1149.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844480/ft1_filtered_4FGL_J1454.1+1622_daily_bin1149.fits scfile=/scratch/kocevski/844480/ft2_4FGL_J1454.1+1622_daily_bin1149.fits outfile=/scratch/kocevski/844480/cmap_HighResolution_537148801_537408001_4FGL_J1454.1+1622_daily_bin1149.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.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .33158E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.4650       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5101       1.0000         .10000E-03   10000.    
     5 'norm      '    4.4260       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .13143E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10559E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5814       1.0000         .10000E-03   10000.    
    15 'norm      '    1.6072       1.0000         .10000E-03   10000.    
    16 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.7823       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .68911       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=   8121.181     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2129 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.806       -.29982E-05** at limit **
   2  Prefactor     .10000E-03    65.588       -.69080E-05** at limit **
   3  norm          3.4655        2.2812       -.10974E-06    .46790E-04
   4  Prefactor     4.5127        4.2777        .54856E-06   -.20805E-05
   5  norm          4.4269        2.6377       -.26881E-06    .12525E-03
   6  Prefactor     .10000E-03    13.379        .10339E-05** at limit **
   7  norm          .10000E-03    25.465        .95971E-06** at limit **
   8  norm          .10000E-03    3.1193       -.46932E-06** at limit **
   9  Prefactor     .10000E-03    6.3627       -.50153E-07** at limit **
  10  Prefactor     .10000E-03    10.036       -.11808E-05** at limit **
  11  Prefactor     .10000E-03    4.1163       -.11367E-06** at limit **
  12  Prefactor     .10000E-03    7.7012       -.31758E-06** at limit **
  13  Prefactor     .10000E-03    11.019       -.16323E-06** at limit **
  14  Prefactor     5.5824        5.6550        .21867E-06   -.26734E-04
  15  norm          1.6070        .27477       -.33684E-07    .64537E-03
  16  norm          .10000E-03    2.9799       -.48806E-07** at limit **
  17  norm          .10000E-03    15.078        .27009E-06** at limit **
  18  Prefactor     .10000E-03    15.115        .17566E-06** at limit **
  19  Prefactor     .10000E-03    7.4864        .64784E-07** at limit **
  20  Prefactor     .10000E-03    11.123       -.59645E-07** at limit **
  21  Prefactor     .10000E-03    12.268        .80292E-06** at limit **
  22  Normalizat    1.7820        .21374        .16056E-05    .27030E-04
  23  Prefactor     .68906        .13214        .19325E-06    .16271E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.4655
  Prefactor  = 4.51274
  norm       = 4.42687
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.58238
  norm       = 1.607
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.78204
  Prefactor  = 0.689059
 **********
 **   18 **HESSE 
 **********

 FCN=   8121.181     FROM HESSE     STATUS=OK           370 CALLS     2499 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.3688        .60877E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4655        2.2804        .10726E-03   -1.5336    
   4  Prefactor     4.5127        4.3481        .17510E-03   -1.5283    
   5  norm          4.4269        2.6333        .10893E-03   -1.5287    
   6  Prefactor     .10000E-03    13.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    25.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    14.779        .30131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.3709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.1233        .17859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.7182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.5824        5.6540        .17005E-03   -1.5235    
  15  norm          1.6070        .27485        .18642E-04   -1.5454    
  16  norm          .10000E-03    2.9893        .15192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    15.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.5482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.7820        .25362        .26337E-03   -.70133    
  23  Prefactor     .68906        .15948        .25354E-03   -1.0396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0774e-10
Minuit parameter uncertainties:
  1  1.78106e-05
  2  9.56625e-05
  3  2.28044
  4  4.34842
  5  2.6334
  6  1.38682e-05
  7  9.31092e-05
  8  0.000446051
  9  4.64813e-06
  10  1.13634e-05
  11  3.68646e-06
  12  7.40657e-06
  13  6.00269e-06
  14  5.65458
  15  0.274851
  16  1.05219e-06
  17  1.46714e-06
  18  1.81617e-05
  19  2.16978e-05
  20  1.52089e-05
  21  9.94473e-06
  22  0.253809
  23  0.159589
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  7.407e-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:  6.891e-01  1.596e-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.782e+00  2.538e-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: 5.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844480/likelihoodResults_537148801_537408001_4FGL_J1454.1+1622_daily_bin1149.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) = 8121.18185001
delta logL = -0.000616000608716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8121.18123401
delta logL = 5.69980329601e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3919       1.0000          .0000       10.000    
     3 'Normalizat'    1.7820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68907       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=   8121.181     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      254 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.326        .18142E-01** at limit **
   2  Index         1.9499        8.4474        .50000        .50568E-07
   3  Normalizat    1.7820        .83364E-02    .26337E-03   -.33945E-04
   4  Prefactor     .68906        .53259E-02    .25354E-03   -.26276E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.9499
  Normalizat = 1.78204
  Prefactor  = 0.689057
 **********
 **   18 **HESSE 
 **********

 FCN=   8121.181     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    226.85        .26637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9499        5.6029        .50000       -.65608    
   3  Normalizat    1.7820        .26112E-01    .52675E-04   -.70133    
   4  Prefactor     .68906        .16683E-01    .10142E-04   -1.0396    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31172e-10
Minuit parameter uncertainties:
  1  4.69167e-07
  2  895.066
  3  0.0261127
  4  0.0166827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844480': 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) = 8121.18123297
delta logL = 1.03838283394e-06

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  4.692e-07  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.950e+00  8.951e+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:  6.891e-01  1.668e-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.782e+00  2.611e-02  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/844480/cmap_HighResolution_537148801_537408001_4FGL_J1454.1+1622_daily_bin1149.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.04e-03', job_status='DONE', photon_flux_upper_limit='5.22e-08', time_completed='2021-09-10 12:43:16.772281', job_id='844480', GAL2='0.69', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1631302996.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='1.04e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1149' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:43:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 844480: <4FGL_J1454.1+1622_daily_bin1149> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1149> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 10 12:32:15 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:32:16 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:32:16 2021
Terminated at Fri Sep 10 12:43:17 2021
Results reported at Fri Sep 10 12:43:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1149 223.544 16.3747 537148801 537408001 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 :                                   643.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            662 sec.

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

