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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1109
RA = 223.544, Dec = 16.3747
tmin = 526780801, tmax = 527040001
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='844380', job_status='RUN', time_executed='2021-09-10 12:33:36.705709', time_epoch_executed='1631302416.71' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844380

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844380/ft1_4FGL_J1454.1+1622_daily_bin1109.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844380/ft2_4FGL_J1454.1+1622_daily_bin1109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844380/ft1_4FGL_J1454.1+1622_daily_bin1109.fits outfile=/scratch/kocevski/844380/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1109.fits ra=223.544 dec=16.3747 rad=12.0 tmin=526780801.0 tmax=527040001.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.43
user 4.10
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844380/ft2_4FGL_J1454.1+1622_daily_bin1109.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/844380/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1109.fits evtable="EVENTS" outfile="/scratch/kocevski/844380/ft1_filtered_4FGL_J1454.1+1622_daily_bin1109.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.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844380/ft1_filtered_4FGL_J1454.1+1622_daily_bin1109.fits" evtable="EVENTS" scfile=/scratch/kocevski/844380/ft2_4FGL_J1454.1+1622_daily_bin1109.fits sctable="SC_DATA" outfile=/scratch/kocevski/844380/ltcube_526780801_527040001_4FGL_J1454.1+1622_daily_bin1109.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/844380/ft2_4FGL_J1454.1+1622_daily_bin1109.fits
.....................!
real 12.97
user 12.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844380/ft1_filtered_4FGL_J1454.1+1622_daily_bin1109.fits evtable="EVENTS" scfile=/scratch/kocevski/844380/ft2_4FGL_J1454.1+1622_daily_bin1109.fits sctable="SC_DATA" expcube=/scratch/kocevski/844380/ltcube_526780801_527040001_4FGL_J1454.1+1622_daily_bin1109.fits outfile=/scratch/kocevski/844380/expmap_526780801_527040001_4FGL_J1454.1+1622_daily_bin1109.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/844380/ltcube_526780801_527040001_4FGL_J1454.1+1622_daily_bin1109.fits
.....................!
real 190.83
user 185.97
sys 4.21

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/844380/ft1_filtered_4FGL_J1454.1+1622_daily_bin1109.fits scfile=/scratch/kocevski/844380/ft2_4FGL_J1454.1+1622_daily_bin1109.fits outfile=/scratch/kocevski/844380/cmap_526780801_527040001_4FGL_J1454.1+1622_daily_bin1109.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844380/ft1_filtered_4FGL_J1454.1+1622_daily_bin1109.fits scfile=/scratch/kocevski/844380/ft2_4FGL_J1454.1+1622_daily_bin1109.fits outfile=/scratch/kocevski/844380/cmap_HighResolution_526780801_527040001_4FGL_J1454.1+1622_daily_bin1109.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31937E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8145       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8720       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10453E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.5678       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.4182       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.412       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.448       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0941       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.623       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0016       1.0000         .10000E-03   10000.    
    21 'Prefactor '    53.557       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1101       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0375       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=   8529.322     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2545 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    48.970       -.33433E-06** at limit **
   2  Prefactor     4.8421        6.6896        .13817E-06   -.83322E-04
   3  norm          2.8715        2.2513       -.58320E-07   -.28826E-04
   4  Prefactor     .10000E-03    2.9509       -.15588E-06** at limit **
   5  norm          4.5696        3.4087        .17678E-05   -.43388E-03
   6  Prefactor     .10000E-03    25.323       -.32235E-06** at limit **
   7  norm          .10000E-03    31.357        .55568E-06** at limit **
   8  norm          5.4188        4.5789        .44560E-07    .10455E-04
   9  Prefactor     35.416        33.884       -.64270E-06    .12672E-04
  10  Prefactor     .10000E-03    17.809       -.33466E-06** at limit **
  11  Prefactor     .10000E-03    11.842       -.76842E-06** at limit **
  12  Prefactor     33.406        27.724       -.41180E-06   -.22748E-03
  13  Prefactor     .10000E-03    15.126       -.88879E-07** at limit **
  14  Prefactor     .10000E-03    3.3687       -.25939E-07** at limit **
  15  norm          2.0939        .28490        .57828E-08   -.11987E-03
  16  norm          .10000E-03    1.6713       -.61152E-08** at limit **
  17  norm          .10000E-03    13.286        .18659E-06** at limit **
  18  Prefactor     10.626        28.166        .45789E-06    .47451E-05
  19  Prefactor     .10000E-03    2.6882       -.47275E-08** at limit **
  20  Prefactor     2.0333        114.24        .37271E-05    .39775E-04
  21  Prefactor     53.555        36.133        .23573E-06   -.20010E-04
  22  Normalizat    1.1101        .21700       -.55867E-06   -.75992E-05
  23  Prefactor     1.0375        .13487        .57140E-07   -.47029E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.84206
  norm       = 2.87153
  Prefactor  = 0.0001
  norm       = 4.56956
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 5.41882
  Prefactor  = 35.4164
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.406
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.09388
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.626
  Prefactor  = 0.0001
  Prefactor  = 2.03331
  Prefactor  = 53.5548
  Normalizat = 1.11013
  Prefactor  = 1.03753
 **********
 **   18 **HESSE 
 **********

 FCN=   8529.322     FROM HESSE     STATUS=OK           366 CALLS     2911 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.527        .21363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.8421        6.6849        .18335E-03   -1.5268    
   3  norm          2.8715        2.2541        .11924E-03   -1.5369    
   4  Prefactor     .10000E-03    2.9663        .15491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.5696        3.4100        .70097E-03   -1.5280    
   6  Prefactor     .10000E-03    25.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    31.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.4188        4.5751        .17264E-03   -1.5242    
   9  Prefactor     35.416        33.925        .67344E-04   -1.4517    
  10  Prefactor     .10000E-03    17.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     33.406        27.731        .69287E-04   -1.4551    
  13  Prefactor     .10000E-03    15.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.3810        .16553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0939        .28531        .17338E-04   -1.5419    
  16  norm          .10000E-03    1.6722        .11660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    13.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.626        28.168        .12293E-03   -1.5056    
  19  Prefactor     .10000E-03    2.6906        .14788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0333        113.02        .29272E-03   -1.5423    
  21  Prefactor     53.555        36.110        .54807E-04   -1.4243    
  22  Normalizat    1.1101        .25941        .33315E-03   -.89427    
  23  Prefactor     1.0375        .16173        .21909E-03   -.91489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13117e-10
Minuit parameter uncertainties:
  1  0.000109852
  2  6.68596
  3  2.25419
  4  5.79693e-06
  5  3.41018
  6  0.000173184
  7  0.000283912
  8  4.57537
  9  33.9435
  10  8.5765e-05
  11  5.20777e-05
  12  27.7417
  13  9.30417e-05
  14  2.16686e-07
  15  0.285313
  16  4.65275e-07
  17  7.15464e-05
  18  28.2034
  19  4.69716e-07
  20  30.3781
  21  36.1247
  22  0.259705
  23  0.161807
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  3.341e+01  2.774e+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.038e+00  1.618e-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.110e+00  2.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.61
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.01e-08 +/- 4.16e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.35e-05

TS (Fixed Index): 2.61
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 1.40e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844380/likelihoodResults_526780801_527040001_4FGL_J1454.1+1622_daily_bin1109.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) = 8529.2535609
delta logL = 0.0685286055068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8529.25060398
delta logL = 0.0714855270016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.695       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6567       1.0000          .0000       10.000    
     3 'Normalizat'    1.0962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0427       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=   8529.251     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      297 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.690        28.754        .74791E-04    .14428E-03
   2  Index         2.6565        .70254        .85793E-02    .49268E-04
   3  Normalizat    1.0961        .25526        .33493E-03    .16361E-03
   4  Prefactor     1.0427        .16173        .21858E-03    .28327E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.6897
  Index      = 2.65645
  Normalizat = 1.09615
  Prefactor  = 1.0427
 **********
 **   18 **HESSE 
 **********

 FCN=   8529.251     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.690        27.221        .14958E-04   -1.4636    
   2  Index         2.6565        .66447        .34317E-03   -.48783    
   3  Normalizat    1.0961        .25526        .13397E-04   -.89876    
   4  Prefactor     1.0427        .16178        .43717E-04   -.91320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.89667e-11
Minuit parameter uncertainties:
  1  27.2325
  2  0.666998
  3  0.255545
  4  0.161859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844380': 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) = 8529.25060372
delta logL = 0.071485789882

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.869e+01  2.723e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.656e+00  6.670e-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:  1.043e+00  1.619e-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.096e+00  2.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.76
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.66 +/- 0.67
Photon Flux (Free Index): 6.35e-08 +/- 5.83e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.21e-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/844380/cmap_HighResolution_526780801_527040001_4FGL_J1454.1+1622_daily_bin1109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='5.01e-08', energy_flux2='1.58e-05', photon_flux_error='4.16e-08', dlogl='7.15e-02', energy_flux='1.62e-05', photon_flux2='6.35e-08', job_status='DONE', time_completed='2021-09-10 12:45:15.544727', photon_index_error2='0.67', photon_index2='2.66', ts='2.61', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.40e-07', energy_flux_error2='1.21e-05', EG='1.11', time_epoch_completed='1631303115.54', return_code='0', job_id='844380', GAL2='1.04', EG2='1.10', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='5.83e-08', ts2='2.76', photon_index='2.41' WHERE bin_id='1109' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:45:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 844380: <4FGL_J1454.1+1622_daily_bin1109> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1109 223.544 16.3747 526780801 527040001 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 :                                   697.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            786 sec.

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

