/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 30 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 = 7346
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin119
RA = 223.544, Dec = 16.3747
tmin = 270172801, tmax = 270432001
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='838163', job_status='RUN', time_executed='2021-09-10 12:12:04.591964', time_epoch_executed='1631301124.59' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/838163

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/838163/ft1_4FGL_J1454.1+1622_daily_bin119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/838163/ft2_4FGL_J1454.1+1622_daily_bin119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/838163/ft1_4FGL_J1454.1+1622_daily_bin119.fits outfile=/scratch/kocevski/838163/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin119.fits ra=223.544 dec=16.3747 rad=12.0 tmin=270172801.0 tmax=270432001.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 1.79
user 1.46
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/838163/ft1_filtered_4FGL_J1454.1+1622_daily_bin119.fits" evtable="EVENTS" scfile=/scratch/kocevski/838163/ft2_4FGL_J1454.1+1622_daily_bin119.fits sctable="SC_DATA" outfile=/scratch/kocevski/838163/ltcube_270172801_270432001_4FGL_J1454.1+1622_daily_bin119.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/838163/ft2_4FGL_J1454.1+1622_daily_bin119.fits
.....................!
real 12.65
user 12.11
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/838163/ft1_filtered_4FGL_J1454.1+1622_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/838163/ft2_4FGL_J1454.1+1622_daily_bin119.fits sctable="SC_DATA" expcube=/scratch/kocevski/838163/ltcube_270172801_270432001_4FGL_J1454.1+1622_daily_bin119.fits outfile=/scratch/kocevski/838163/expmap_270172801_270432001_4FGL_J1454.1+1622_daily_bin119.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/838163/ltcube_270172801_270432001_4FGL_J1454.1+1622_daily_bin119.fits
.....................!
real 191.07
user 185.71
sys 4.63

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/838163/ft1_filtered_4FGL_J1454.1+1622_daily_bin119.fits scfile=/scratch/kocevski/838163/ft2_4FGL_J1454.1+1622_daily_bin119.fits outfile=/scratch/kocevski/838163/cmap_270172801_270432001_4FGL_J1454.1+1622_daily_bin119.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/838163/ft1_filtered_4FGL_J1454.1+1622_daily_bin119.fits scfile=/scratch/kocevski/838163/ft2_4FGL_J1454.1+1622_daily_bin119.fits outfile=/scratch/kocevski/838163/cmap_HighResolution_270172801_270432001_4FGL_J1454.1+1622_daily_bin119.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/838163/ft1_filtered_4FGL_J1454.1+1622_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/838163/ft2_4FGL_J1454.1+1622_daily_bin119.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/838163/Model_4FGL_J1454.1+1622_daily_bin119.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/838163/ft1_filtered_4FGL_J1454.1+1622_daily_bin119.fits.....................!
real 77.53
user 75.88
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.765       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.0505       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8691       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9281       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11511       1.0000         .10000E-03   10000.    
     8 'norm      '    3.8469       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.6793       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9471       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.377       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5535       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4771       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.188       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .44975E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.5249       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2205       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0035       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=   10951.67     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2576 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.762        21.541        .81010E-05   -.17517E-04
   2  Prefactor     .10000E-03    3.3683       -.77863E-07** at limit **
   3  norm          6.0503        2.5085        .77560E-07   -.10262E-03
   4  Prefactor     4.8679        5.1284        .23120E-06   -.31628E-03
   5  norm          1.9286        2.8653        .29588E-06   -.12079E-02
   6  Prefactor     .10000E-03    20.315       -.64701E-05** at limit **
   7  norm          .12995        9.4069        .23158E-05   -.60936E-03
   8  norm          3.8472        2.9016        .70944E-07   -.58531E-04
   9  Prefactor     8.7047        16.710       -.20401E-04   -.72496E-04
  10  Prefactor     .10000E-03    5.4236        .10214E-07** at limit **
  11  Prefactor     5.9389        11.262        .99918E-06   -.91136E-04
  12  Prefactor     17.373        19.422        .87068E-05    .19587E-04
  13  Prefactor     .10000E-03    9.0807       -.13483E-06** at limit **
  14  Prefactor     5.5549        8.5556        .11929E-05   -.12713E-03
  15  norm          1.4771        .22022        .14165E-07   -.10851E-02
  16  norm          .10000E-03    1.3352       -.10747E-07** at limit **
  17  norm          .10000E-03    10.495        .18358E-06** at limit **
  18  Prefactor     16.289        38.067        .10775E-04   -.13461E-04
  19  Prefactor     .10030E-03    4.7963       -.13540E-05** at limit **
  20  Prefactor     .10000E-03    22.246        .98333E-05** at limit **
  21  Prefactor     8.5131        26.674        .17549E-04   -.26547E-04
  22  Normalizat    1.2205        .18419       -.12320E-05   -.70038E-04
  23  Prefactor     1.0034        .11598       -.77846E-06   -.16477E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7616
  Prefactor  = 0.0001
  norm       = 6.05032
  Prefactor  = 4.86786
  norm       = 1.92862
  Prefactor  = 0.0001
  norm       = 0.129953
  norm       = 3.84724
  Prefactor  = 8.70466
  Prefactor  = 0.0001
  Prefactor  = 5.9389
  Prefactor  = 17.3729
  Prefactor  = 0.0001
  Prefactor  = 5.55491
  norm       = 1.47711
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 16.289
  Prefactor  = 0.000100297
  Prefactor  = 0.0001
  Prefactor  = 8.51314
  Normalizat = 1.22055
  Prefactor  = 1.00338
 **********
 **   18 **HESSE 
 **********

 FCN=   10951.67     FROM HESSE     STATUS=OK           384 CALLS     2960 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.762        21.530        .85855E-04   -1.4775    
   2  Prefactor     .10000E-03    3.4120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.0503        2.5081        .10335E-03   -1.5216    
   4  Prefactor     4.8679        5.1223        .18229E-03   -1.5267    
   5  norm          1.9286        2.8428        .20227E-03   -1.5430    
   6  Prefactor     .10000E-03    20.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .12995        11.791        .96998E-01   -1.5636    
   8  norm          3.8472        2.9005        .15036E-03   -1.5316    
   9  Prefactor     8.7047        16.729        .13606E-03   -1.5118    
  10  Prefactor     .10000E-03    5.4312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.9389        11.234        .16466E-03   -1.5221    
  12  Prefactor     17.373        19.410        .96081E-04   -1.4874    
  13  Prefactor     .10000E-03    9.0829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.5549        8.5419        .17048E-03   -1.5237    
  15  norm          1.4771        .22041        .18084E-04   -1.5465    
  16  norm          .10000E-03    1.3362        .11809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.289        38.085        .99547E-04   -1.4901    
  19  Prefactor     .10030E-03    36.626        .44026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.5131        26.575        .13729E-03   -1.5124    
  22  Normalizat    1.2205        .22180        .30556E-03   -.85970    
  23  Prefactor     1.0034        .14034        .21839E-03   -.92617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.16173e-09
Minuit parameter uncertainties:
  1  21.5381
  2  1.36616e-05
  3  2.50811
  4  5.12272
  5  2.843
  6  2.18967e-05
  7  2.47528
  8  2.90056
  9  16.7376
  10  3.59749e-06
  11  11.2383
  12  19.4174
  13  8.61883e-06
  14  8.54375
  15  0.220413
  16  4.72884e-07
  17  9.69905e-07
  18  38.1423
  19  0.00659959
  20  9.81803e-05
  21  26.6123
  22  0.221976
  23  0.140394
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.737e+01  1.942e+01  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.003e+00  1.404e-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.221e+00  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.29
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.61e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 8.44e-06 +/- 9.43e-06

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

Saving results to:
/scratch/kocevski/838163/likelihoodResults_270172801_270432001_4FGL_J1454.1+1622_daily_bin119.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10951.5551479
delta logL = 0.114840441336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10951.5508653
delta logL = 0.119123080443

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.069       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9920       1.0000          .0000       10.000    
     3 'Normalizat'    1.2332       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99860       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=   10951.55     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      261 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.068        20.977        .91719E-04    .20080E-04
   2  Index         1.9920        .79211        .14867E-01   -.85552E-05
   3  Normalizat    1.2332        .21218        .30422E-03   -.35950E-04
   4  Prefactor     .99860        .13940        .21886E-03   -.30648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.068
  Index      = 1.99199
  Normalizat = 1.2332
  Prefactor  = 0.998599
 **********
 **   18 **HESSE 
 **********

 FCN=   10951.55     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.068        21.165        .36688E-05   -1.4834    
   2  Index         1.9920        .79942        .59470E-03   -.64551    
   3  Normalizat    1.2332        .21237        .12169E-04   -.85583    
   4  Prefactor     .99860        .13955        .87542E-05   -.92776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65372e-12
Minuit parameter uncertainties:
  1  21.173
  2  0.804852
  3  0.212524
  4  0.139599
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/838163': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10951.5508653
delta logL = 0.11912308205

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.907e+01  2.117e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.992e+00  8.049e-01  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.986e-01  1.396e-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.233e+00  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 223.544 16.375
Photon Index (Free Index): 1.99 +/- 0.80
Photon Flux (Free Index): 1.61e-08 +/- 2.60e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.53e-05

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/838163/cmap_HighResolution_270172801_270432001_4FGL_J1454.1+1622_daily_bin119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.14e-03', comment='SUCCESS', photon_flux='2.61e-08', energy_flux2='1.13e-05', photon_flux_error='2.91e-08', dlogl='1.19e-01', energy_flux='8.44e-06', photon_flux2='1.61e-08', job_status='DONE', time_completed='2021-09-10 12:25:44.124484', photon_index_error2='0.80', photon_index2='1.99', ts='1.29', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.23e-08', energy_flux_error2='1.53e-05', EG='1.22', time_epoch_completed='1631301944.12', return_code='0', job_id='838163', GAL2='1.00', EG2='1.23', return_code2='0', energy_flux_error='9.43e-06', photon_flux_error2='2.60e-08', ts2='1.53', photon_index='2.41' WHERE bin_id='119' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:25:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 838163: <4FGL_J1454.1+1622_daily_bin119> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin119> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Sep 10 12:11:13 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:11:14 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:11:14 2021
Terminated at Fri Sep 10 12:25:44 2021
Results reported at Fri Sep 10 12:25:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin119 223.544 16.3747 270172801 270432001 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 :                                   814.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            871 sec.

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

