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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1214
RA = 223.544, Dec = 16.3747
tmin = 553996801, tmax = 554256001
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='844649', job_status='RUN', time_executed='2021-09-10 12:35:03.850323', time_epoch_executed='1631302503.85' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844649

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844649/ft1_4FGL_J1454.1+1622_daily_bin1214.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844649/ft2_4FGL_J1454.1+1622_daily_bin1214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844649/ft1_4FGL_J1454.1+1622_daily_bin1214.fits outfile=/scratch/kocevski/844649/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1214.fits ra=223.544 dec=16.3747 rad=12.0 tmin=553996801.0 tmax=554256001.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 2.78
user 2.43
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844649/ft2_4FGL_J1454.1+1622_daily_bin1214.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/844649/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1214.fits evtable="EVENTS" outfile="/scratch/kocevski/844649/ft1_filtered_4FGL_J1454.1+1622_daily_bin1214.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.93
user 0.34
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844649/ft1_filtered_4FGL_J1454.1+1622_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/844649/ft2_4FGL_J1454.1+1622_daily_bin1214.fits sctable="SC_DATA" expcube=/scratch/kocevski/844649/ltcube_553996801_554256001_4FGL_J1454.1+1622_daily_bin1214.fits outfile=/scratch/kocevski/844649/expmap_553996801_554256001_4FGL_J1454.1+1622_daily_bin1214.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/844649/ltcube_553996801_554256001_4FGL_J1454.1+1622_daily_bin1214.fits
.....................!
real 193.16
user 185.07
sys 5.17

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/844649/ft1_filtered_4FGL_J1454.1+1622_daily_bin1214.fits scfile=/scratch/kocevski/844649/ft2_4FGL_J1454.1+1622_daily_bin1214.fits outfile=/scratch/kocevski/844649/cmap_553996801_554256001_4FGL_J1454.1+1622_daily_bin1214.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/844649/ft1_filtered_4FGL_J1454.1+1622_daily_bin1214.fits scfile=/scratch/kocevski/844649/ft2_4FGL_J1454.1+1622_daily_bin1214.fits outfile=/scratch/kocevski/844649/cmap_HighResolution_553996801_554256001_4FGL_J1454.1+1622_daily_bin1214.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.57
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11777E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.8483       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.2508       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2908       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.3368       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20145E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3744       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.455       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.958       1.0000         .10000E-03   10000.    
    15 'norm      '    .39924       1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.6952       1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.972       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.392       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1875       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94725       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=   10077.88     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2550 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    105.67       -.22139E-05** at limit **
   2  Prefactor     .10000E-03    3.7080       -.62096E-07** at limit **
   3  norm          7.8482        2.5403       -.15826E-07   -.88249E-05
   4  Prefactor     8.2510        5.7829       -.13111E-06   -.19513E-04
   5  norm          1.2907        1.2482        .37656E-07    .60600E-04
   6  Prefactor     .10000E-03    5.1264       -.10688E-06** at limit **
   7  norm          .10000E-03    3.3410        .46065E-07** at limit **
   8  norm          3.3365        3.7747       -.47583E-07   -.10360E-03
   9  Prefactor     .10000E-03    20.006        .26301E-06** at limit **
  10  Prefactor     .10052E-03    7.5943       -.24668E-05** at limit **
  11  Prefactor     6.3744        14.901       -.21284E-06   -.11924E-05
  12  Prefactor     26.454        21.315       -.11439E-06   -.51505E-04
  13  Prefactor     .10001E-03    50.468        .19258E-04** at limit **
  14  Prefactor     10.957        6.8784        .13649E-06    .37023E-04
  15  norm          .39926        .14289        .15308E-07    .21394E-02
  16  norm          .10000E-03    4.9514       -.12642E-06** at limit **
  17  norm          .10000E-03    19.501        .13753E-05** at limit **
  18  Prefactor     .10000E-03    18.964       -.13543E-05** at limit **
  19  Prefactor     2.6938        2.8426        .29312E-06   -.84610E-03
  20  Prefactor     33.972        23.643       -.15209E-06   -.57471E-05
  21  Prefactor     13.393        19.752       -.15060E-06   -.63925E-05
  22  Normalizat    1.1875        .17748        .34531E-06    .19005E-03
  23  Prefactor     .94729        .11303       -.16647E-06    .24949E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.84824
  Prefactor  = 8.25104
  norm       = 1.29067
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.33652
  Prefactor  = 0.0001
  Prefactor  = 0.000100515
  Prefactor  = 6.37439
  Prefactor  = 26.4536
  Prefactor  = 0.000100011
  Prefactor  = 10.9575
  norm       = 0.399257
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.69385
  Prefactor  = 33.9723
  Prefactor  = 13.3929
  Normalizat = 1.18754
  Prefactor  = 0.94729
 **********
 **   18 **HESSE 
 **********

 FCN=   10077.88     FROM HESSE     STATUS=OK           372 CALLS     2922 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    110.08        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.7376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.8482        2.5411        .88409E-04   -1.5148    
   4  Prefactor     8.2510        5.8189        .13957E-03   -1.5133    
   5  norm          1.2907        1.2646        .10709E-03   -1.5481    
   6  Prefactor     .10000E-03    5.1278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.3432        .17920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3365        3.7733        .20006E-03   -1.5343    
   9  Prefactor     .10000E-03    20.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10052E-03    46.378        .48288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3744        14.879        .15898E-03   -1.5203    
  12  Prefactor     26.454        21.292        .77886E-04   -1.4679    
  13  Prefactor     .10001E-03    51.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.957        6.8798        .12103E-03   -1.5046    
  15  norm          .39926        .14202        .21692E-04   -1.5582    
  16  norm          .10000E-03    5.0973        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    19.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.6938        8.5059        .12408E-02   -1.5380    
  20  Prefactor     33.972        23.670        .68752E-04   -1.4542    
  21  Prefactor     13.393        19.754        .10945E-03   -1.4976    
  22  Normalizat    1.1875        .21888        .28690E-03   -.86989    
  23  Prefactor     .94729        .13873        .20966E-03   -.94508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28955e-08
Minuit parameter uncertainties:
  1  0.000172557
  2  7.00367e-07
  3  2.5411
  4  5.81927
  5  1.26463
  6  1.59302e-06
  7  2.20293e-06
  8  3.77358
  9  1.41525e-05
  10  0.00978245
  11  14.8873
  12  21.2979
  13  0.00150654
  14  6.88033
  15  0.142025
  16  2.43655e-06
  17  6.76695e-05
  18  6.85281e-05
  19  8.50967
  20  23.6764
  21  19.7632
  22  0.219052
  23  0.138778
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.645e+01  2.130e+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:  9.473e-01  1.388e-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.188e+00  2.191e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.06
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 3.19e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.03e-05

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) = 10077.7205992
delta logL = 0.15998403119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10077.5911103
delta logL = 0.289472939217

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.080       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4572       1.0000          .0000       10.000    
     3 'Normalizat'    1.2263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93568       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.

 FCN=   10077.59     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      224 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.006        13.641        .27688E-02   -.23704E-03
   2  Index         1.4533        .44259        .30316       -.41603E-04
   3  Normalizat    1.2264        .16949        .63975E-01    .50084E-04
   4  Prefactor     .93563        .11244        .45458E-01    .60218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0057
  Index      = 1.45329
  Normalizat = 1.22642
  Prefactor  = 0.935625
 **********
 **   18 **HESSE 
 **********

 FCN=   10077.59     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.006        19.156        .11075E-03   -1.4987    
   2  Index         1.4533        .76300        .11808E-01   -.78856    
   3  Normalizat    1.2264        .20703        .28299E-03   -.85790    
   4  Prefactor     .93563        .13756        .21087E-03   -.94907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.65976e-11
Minuit parameter uncertainties:
  1  19.1645
  2  0.769089
  3  0.207165
  4  0.137615
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844649': 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) = 10077.5910989
delta logL = 0.28948428203

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.301e+01  1.916e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.453e+00  7.691e-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.356e-01  1.376e-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.226e+00  2.072e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 223.544 16.375
Photon Index (Free Index): 1.45 +/- 0.77
Photon Flux (Free Index): 6.93e-09 +/- 1.16e-08
Energy Flux (Free Index): 2.56e-05 +/- 4.10e-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/844649/cmap_HighResolution_553996801_554256001_4FGL_J1454.1+1622_daily_bin1214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='2.56e-05', photon_flux_error='3.19e-08', dlogl='2.89e-01', energy_flux='1.29e-05', photon_flux2='6.93e-09', job_status='DONE', time_completed='2021-09-10 12:46:29.619012', photon_index_error2='0.77', photon_index2='1.45', ts='5.06', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='4.10e-05', EG='1.19', time_epoch_completed='1631303189.62', return_code='0', job_id='844649', GAL2='0.94', EG2='1.23', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='1.16e-08', ts2='5.62', photon_index='2.41' WHERE bin_id='1214' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:46:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 844649: <4FGL_J1454.1+1622_daily_bin1214> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1214 223.544 16.3747 553996801 554256001 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 :                                   678.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            847 sec.

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

