/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 12 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 = 7407
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1000
RA = 223.544, Dec = 16.3747
tmin = 498528001, tmax = 498787201
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='844144', job_status='RUN', time_executed='2021-09-10 12:36:04.055163', time_epoch_executed='1631302564.06' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844144

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844144/ft1_4FGL_J1454.1+1622_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844144/ft2_4FGL_J1454.1+1622_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844144/ft1_4FGL_J1454.1+1622_daily_bin1000.fits outfile=/scratch/kocevski/844144/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1000.fits ra=223.544 dec=16.3747 rad=12.0 tmin=498528001.0 tmax=498787201.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 5.16
user 4.71
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844144/ft1_filtered_4FGL_J1454.1+1622_daily_bin1000.fits" evtable="EVENTS" scfile=/scratch/kocevski/844144/ft2_4FGL_J1454.1+1622_daily_bin1000.fits sctable="SC_DATA" outfile=/scratch/kocevski/844144/ltcube_498528001_498787201_4FGL_J1454.1+1622_daily_bin1000.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/844144/ft2_4FGL_J1454.1+1622_daily_bin1000.fits
.....................!
real 12.48
user 11.87
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844144/ft1_filtered_4FGL_J1454.1+1622_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/844144/ft2_4FGL_J1454.1+1622_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/844144/ltcube_498528001_498787201_4FGL_J1454.1+1622_daily_bin1000.fits outfile=/scratch/kocevski/844144/expmap_498528001_498787201_4FGL_J1454.1+1622_daily_bin1000.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/844144/ltcube_498528001_498787201_4FGL_J1454.1+1622_daily_bin1000.fits
.....................!
real 193.46
user 185.83
sys 5.19

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/844144/ft1_filtered_4FGL_J1454.1+1622_daily_bin1000.fits scfile=/scratch/kocevski/844144/ft2_4FGL_J1454.1+1622_daily_bin1000.fits outfile=/scratch/kocevski/844144/cmap_498528001_498787201_4FGL_J1454.1+1622_daily_bin1000.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 1.20
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844144/ft1_filtered_4FGL_J1454.1+1622_daily_bin1000.fits scfile=/scratch/kocevski/844144/ft2_4FGL_J1454.1+1622_daily_bin1000.fits outfile=/scratch/kocevski/844144/cmap_HighResolution_498528001_498787201_4FGL_J1454.1+1622_daily_bin1000.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 1.05
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41102E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7922       1.0000         .10000E-03   10000.    
     3 'norm      '    5.6388       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.1011       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .42975E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    24.901       1.0000         .10000E-03   10000.    
     8 'norm      '    6.9558       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.399       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7926       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7840       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    28.184       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.978       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18653E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.867       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0175       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1653       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=   7731.280     FROM MIGRAD    STATUS=CONVERGED    919 CALLS     2968 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.821        .12642    ** at limit **
   2  Prefactor     4.7831        8.4232        .18378E-03    .18372E-04
   3  norm          5.6392        2.9238        .10509E-03    .14063E-05
   4  Prefactor     .10000E-03    4.5454        .18142E-02** at limit **
   5  norm          6.1016        3.1386        .53902E-03    .11981E-03
   6  Prefactor     .10000E-03    54.336        .21230E-02** at limit **
   7  norm          24.871        21.858        .80275E-04   -.10055E-04
   8  norm          6.9565        4.4502        .14371E-03   -.41927E-05
   9  Prefactor     .10000E-03    8.2603        .18142E-02** at limit **
  10  Prefactor     25.387        31.191        .79485E-04   -.51490E-05
  11  Prefactor     .10000E-03    12.244        .18142E-02** at limit **
  12  Prefactor     .10000E-03    9.8184        .18142E-02** at limit **
  13  Prefactor     .10000E-03    140.68        .18142E-02** at limit **
  14  Prefactor     1.7941        4.9910        .31237E-03    .14958E-04
  15  norm          1.7841        .32121        .19756E-04   -.25435E-03
  16  norm          .10000E-03    2.4534        .13442E-02** at limit **
  17  norm          28.182        36.799        .75464E-04   -.43689E-05
  18  Prefactor     28.996        44.388        .74426E-04    .76376E-06
  19  Prefactor     .10000E-03    6.4375        .18142E-02** at limit **
  20  Prefactor     .10000E-03    57.286        .18142E-02** at limit **
  21  Prefactor     30.827        29.433        .72118E-04    .31528E-06
  22  Normalizat    1.0173        .27350        .35318E-03   -.13487E-04
  23  Prefactor     1.1652        .17375        .21582E-03   -.49970E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.78309
  norm       = 5.63921
  Prefactor  = 0.0001
  norm       = 6.10163
  Prefactor  = 0.0001
  norm       = 24.8707
  norm       = 6.95647
  Prefactor  = 0.0001
  Prefactor  = 25.3874
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.79405
  norm       = 1.78406
  norm       = 0.0001
  norm       = 28.1818
  Prefactor  = 28.9956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.8266
  Normalizat = 1.01733
  Prefactor  = 1.16522
 **********
 **   18 **HESSE 
 **********

 FCN=   7731.280     FROM HESSE     STATUS=OK           358 CALLS     3326 TOTAL
                     EDM=   .45E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.315        .12829       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7831        8.4224        .73513E-05   -1.5271    
   3  norm          5.6392        2.9238        .42038E-05   -1.5233    
   4  Prefactor     .10000E-03    4.5468        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.1016        3.1385        .10780E-03   -1.5214    
   6  Prefactor     .10000E-03    54.339        .42461E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          24.871        21.855        .32110E-05   -1.4710    
   8  norm          6.9565        4.4501        .57485E-05   -1.5180    
   9  Prefactor     .10000E-03    8.2605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.387        31.189        .31794E-05   -1.4700    
  11  Prefactor     .10000E-03    12.246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.8188        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    140.75        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7941        4.9908        .12495E-04   -1.5440    
  15  norm          1.7841        .32122        .79023E-06   -1.5441    
  16  norm          .10000E-03    2.4534        .26885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          28.182        36.794        .30186E-05   -1.4646    
  18  Prefactor     28.996        44.377        .29770E-05   -1.4630    
  19  Prefactor     .10000E-03    6.4396        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    57.301        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     30.827        29.431        .28847E-05   -1.4597    
  22  Normalizat    1.0173        .27373        .14127E-04   -.92452    
  23  Prefactor     1.1652        .17392        .43163E-04   -.87409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49175e-12
Minuit parameter uncertainties:
  1  1.45245e-05
  2  8.42451
  3  2.92386
  4  5.93038e-07
  5  3.13855
  6  6.83319e-06
  7  21.8616
  8  4.45034
  9  1.90571e-06
  10  31.2091
  11  1.0835e-06
  12  6.3113e-08
  13  4.48892e-06
  14  4.99196
  15  0.321218
  16  3.41197e-07
  17  36.8233
  18  44.4271
  19  1.43295e-06
  20  1.31305e-05
  21  29.4445
  22  0.274113
  23  0.174006
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  6.311e-08  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.165e+00  1.740e-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.017e+00  2.741e-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: 6.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844144/likelihoodResults_498528001_498787201_4FGL_J1454.1+1622_daily_bin1000.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) = 7731.28028869
delta logL = -0.00048476871325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7731.27980493
delta logL = -1.01224031823e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3983       1.0000          .0000       10.000    
     3 'Normalizat'    1.0173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1652       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=   7731.280     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10078E-03    150.79        .18142E-02** at limit **
   2  Index         2.3449        5.9828        .50000        .74820E-05
   3  Normalizat    1.0173        .21733E-01    .35318E-03    .42168E-05
   4  Prefactor     1.1652        .14193E-01    .21582E-03    .74803E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100777
  Index      = 2.34493
  Normalizat = 1.01733
  Prefactor  = 1.16522
 **********
 **   18 **HESSE 
 **********

 FCN=   7731.280     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10078E-03    622.69        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3449        5.2750        .50000       -.55980    
   3  Normalizat    1.0173        .47271E-01    .14127E-04   -.92452    
   4  Prefactor     1.1652        .30870E-01    .86326E-05   -.87409    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11467e-08
Minuit parameter uncertainties:
  1  0.0444751
  2  1250.64
  3  0.0472727
  4  0.0308706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844144': 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) = 7731.27980383
delta logL = 8.91859599506e-08

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.008e-04  4.448e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.345e+00  1.251e+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:  1.165e+00  3.087e-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.017e+00  4.727e-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/844144/cmap_HighResolution_498528001_498787201_4FGL_J1454.1+1622_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.17e-03', job_status='DONE', photon_flux_upper_limit='6.69e-08', time_completed='2021-09-10 12:48:28.866393', job_id='844144', GAL2='1.17', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631303308.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='8.92e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1000' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:48:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 844144: <4FGL_J1454.1+1622_daily_bin1000> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1000> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 10 12:31:57 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:31:59 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:31:59 2021
Terminated at Fri Sep 10 12:48:29 2021
Results reported at Fri Sep 10 12:48:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1000 223.544 16.3747 498528001 498787201 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 :                                   716.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            992 sec.

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

