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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1130
RA = 223.544, Dec = 16.3747
tmin = 532224001, tmax = 532483201
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='844433', job_status='RUN', time_executed='2021-09-10 12:36:29.968248', time_epoch_executed='1631302589.97' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1130'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844433/ft1_4FGL_J1454.1+1622_daily_bin1130.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844433/ft2_4FGL_J1454.1+1622_daily_bin1130.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844433/ft1_4FGL_J1454.1+1622_daily_bin1130.fits outfile=/scratch/kocevski/844433/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1130.fits ra=223.544 dec=16.3747 rad=12.0 tmin=532224001.0 tmax=532483201.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.92
user 3.30
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844433/ft1_filtered_4FGL_J1454.1+1622_daily_bin1130.fits" evtable="EVENTS" scfile=/scratch/kocevski/844433/ft2_4FGL_J1454.1+1622_daily_bin1130.fits sctable="SC_DATA" outfile=/scratch/kocevski/844433/ltcube_532224001_532483201_4FGL_J1454.1+1622_daily_bin1130.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/844433/ft2_4FGL_J1454.1+1622_daily_bin1130.fits
.....................!
real 12.62
user 11.82
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844433/ft1_filtered_4FGL_J1454.1+1622_daily_bin1130.fits evtable="EVENTS" scfile=/scratch/kocevski/844433/ft2_4FGL_J1454.1+1622_daily_bin1130.fits sctable="SC_DATA" expcube=/scratch/kocevski/844433/ltcube_532224001_532483201_4FGL_J1454.1+1622_daily_bin1130.fits outfile=/scratch/kocevski/844433/expmap_532224001_532483201_4FGL_J1454.1+1622_daily_bin1130.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/844433/ltcube_532224001_532483201_4FGL_J1454.1+1622_daily_bin1130.fits
.....................!
real 193.42
user 185.77
sys 5.40

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/844433/ft1_filtered_4FGL_J1454.1+1622_daily_bin1130.fits scfile=/scratch/kocevski/844433/ft2_4FGL_J1454.1+1622_daily_bin1130.fits outfile=/scratch/kocevski/844433/cmap_532224001_532483201_4FGL_J1454.1+1622_daily_bin1130.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.46
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844433/ft1_filtered_4FGL_J1454.1+1622_daily_bin1130.fits scfile=/scratch/kocevski/844433/ft2_4FGL_J1454.1+1622_daily_bin1130.fits outfile=/scratch/kocevski/844433/cmap_HighResolution_532224001_532483201_4FGL_J1454.1+1622_daily_bin1130.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.47
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10363E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.122       1.0000         .10000E-03   10000.    
     3 'norm      '    1.6216       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9907       1.0000         .10000E-03   10000.    
     5 'norm      '    5.3488       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.5417       1.0000         .10000E-03   10000.    
     9 'Prefactor '    45.268       1.0000         .10000E-03   10000.    
    10 'Prefactor '    44.549       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.224       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.123       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9217       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1010       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.565       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .21091E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.900       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1812       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1229       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=   8520.308     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2552 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.777        .16859E-05** at limit **
   2  Prefactor     13.121        13.473       -.43916E-06    .15126E-03
   3  norm          1.6216        1.5935        .30675E-07    .75228E-05
   4  Prefactor     4.9848        10.155        .29548E-05    .58003E-03
   5  norm          5.3488        2.9558       -.38450E-07   -.64974E-05
   6  Prefactor     .10000E-03    14.993       -.16936E-05** at limit **
   7  norm          .10000E-03    12.555        .65213E-07** at limit **
   8  norm          4.5414        3.7965        .50857E-07   -.26885E-04
   9  Prefactor     45.262        34.810        .44933E-06    .31056E-04
  10  Prefactor     44.545        33.095        .74776E-06    .37558E-04
  11  Prefactor     .10000E-03    10.789       -.34437E-06** at limit **
  12  Prefactor     .10000E-03    12.020        .76589E-06** at limit **
  13  Prefactor     35.225        48.577       -.25829E-06   -.17499E-04
  14  Prefactor     10.123        8.6895       -.14830E-07   -.71093E-04
  15  norm          1.9216        .32294        .34802E-08   -.32243E-03
  16  norm          2.1013        3.8325        .12639E-06    .54996E-04
  17  norm          .10000E-03    20.218        .12413E-05** at limit **
  18  Prefactor     13.538        53.969        .99682E-05    .72971E-04
  19  Prefactor     .10016E-03    11.257        .42679E-05** at limit **
  20  Prefactor     16.897        41.733        .73590E-06   -.13898E-05
  21  Prefactor     .10000E-03    19.622        .10364E-05** at limit **
  22  Normalizat    1.1815        .24764       -.11676E-05   -.54467E-04
  23  Prefactor     1.1227        .14749       -.33508E-06   -.24794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.1207
  norm       = 1.62157
  Prefactor  = 4.98481
  norm       = 5.34876
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.54145
  Prefactor  = 45.2617
  Prefactor  = 44.5452
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.2249
  Prefactor  = 10.1226
  norm       = 1.92164
  norm       = 2.1013
  norm       = 0.0001
  Prefactor  = 13.5376
  Prefactor  = 0.000100164
  Prefactor  = 16.8975
  Prefactor  = 0.0001
  Normalizat = 1.18153
  Prefactor  = 1.12274
 **********
 **   18 **HESSE 
 **********

 FCN=   8520.308     FROM HESSE     STATUS=OK           372 CALLS     2924 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.121        13.460        .55288E-03   -1.4983    
   3  norm          1.6216        1.5932        .11243E-03   -1.5453    
   4  Prefactor     4.9848        10.664        .90006E-03   -1.5261    
   5  norm          5.3488        2.9545        .11304E-03   -1.5245    
   6  Prefactor     .10000E-03    15.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    12.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.5414        3.7955        .15940E-03   -1.5282    
   9  Prefactor     45.262        34.924        .59590E-04   -1.4361    
  10  Prefactor     44.545        33.226        .60067E-04   -1.4372    
  11  Prefactor     .10000E-03    10.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.225        48.574        .67523E-04   -1.4520    
  14  Prefactor     10.123        8.6933        .12594E-03   -1.5072    
  15  norm          1.9216        .32345        .20116E-04   -1.5431    
  16  norm          2.1013        3.8069        .23796E-03   -1.5418    
  17  norm          .10000E-03    20.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.538        55.174        .10875E-03   -1.4972    
  19  Prefactor     .10016E-03    30.448        .41170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.897        41.857        .97426E-04   -1.4886    
  21  Prefactor     .10000E-03    19.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1815        .29466        .34974E-03   -.87176    
  23  Prefactor     1.1227        .17500        .23054E-03   -.88743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13806e-09
Minuit parameter uncertainties:
  1  0.000247681
  2  13.4627
  3  1.59321
  4  10.6678
  5  2.95455
  6  0.000127732
  7  1.13551e-05
  8  3.79566
  9  34.9396
  10  33.2397
  11  2.86586e-05
  12  3.77768e-05
  13  48.6286
  14  8.69435
  15  0.323451
  16  3.80736
  17  0.000110477
  18  54.7474
  19  0.00447172
  20  41.9301
  21  8.81581e-05
  22  0.295074
  23  0.17509
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  3.778e-05  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.123e+00  1.751e-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.182e+00  2.951e-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: 8.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844433/likelihoodResults_532224001_532483201_4FGL_J1454.1+1622_daily_bin1130.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) = 8520.30883494
delta logL = -0.000396096875193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8520.30843882
delta logL = 2.02489900403e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4205       1.0000          .0000       10.000    
     3 'Normalizat'    1.1815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1227       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=   8520.308     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      244 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2220.4        .18142E-02** at limit **
   2  Index         2.4329        5.9074        .50000       -.91706E-05
   3  Normalizat    1.1815        .12395        .34974E-03   -.17189E-03
   4  Prefactor     1.1227        .80419E-01    .23054E-03    .57795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.4329
  Normalizat = 1.18152
  Prefactor  = 1.12274
 **********
 **   18 **HESSE 
 **********

 FCN=   8520.308     FROM HESSE     STATUS=OK            29 CALLS      273 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.353        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4329        6.2160        .50000       -.53916    
   3  Normalizat    1.1815        .26476        .13989E-04   -.87176    
   4  Prefactor     1.1227        .17189        .92217E-05   -.88743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18493e-10
Minuit parameter uncertainties:
  1  0.000232827
  2  4.50671
  3  0.265059
  4  0.171972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844433': 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) = 8520.30843879
delta logL = 4.99858288094e-08

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  2.328e-04  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.433e+00  4.507e+00  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.123e+00  1.720e-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.182e+00  2.651e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/844433/cmap_HighResolution_532224001_532483201_4FGL_J1454.1+1622_daily_bin1130.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', job_status='DONE', photon_flux_upper_limit='8.21e-08', time_completed='2021-09-10 12:48:21.318473', job_id='844433', GAL2='1.12', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1631303301.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='5.00e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1130' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:48:21 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1130 223.544 16.3747 532224001 532483201 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 :                                   690.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            969 sec.

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

