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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1403
RA = 223.544, Dec = 16.3747
tmin = 602985601, tmax = 603244801
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='846546', job_status='RUN', time_executed='2021-09-10 12:39:35.504569', time_epoch_executed='1631302775.5' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1403'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846546

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846546/ft1_4FGL_J1454.1+1622_daily_bin1403.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846546/ft2_4FGL_J1454.1+1622_daily_bin1403.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846546/ft1_4FGL_J1454.1+1622_daily_bin1403.fits outfile=/scratch/kocevski/846546/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1403.fits ra=223.544 dec=16.3747 rad=12.0 tmin=602985601.0 tmax=603244801.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.15
user 2.78
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846546/ft1_filtered_4FGL_J1454.1+1622_daily_bin1403.fits evtable="EVENTS" scfile=/scratch/kocevski/846546/ft2_4FGL_J1454.1+1622_daily_bin1403.fits sctable="SC_DATA" expcube=/scratch/kocevski/846546/ltcube_602985601_603244801_4FGL_J1454.1+1622_daily_bin1403.fits outfile=/scratch/kocevski/846546/expmap_602985601_603244801_4FGL_J1454.1+1622_daily_bin1403.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/846546/ltcube_602985601_603244801_4FGL_J1454.1+1622_daily_bin1403.fits
.....................!
real 193.18
user 185.73
sys 4.66

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/846546/ft1_filtered_4FGL_J1454.1+1622_daily_bin1403.fits scfile=/scratch/kocevski/846546/ft2_4FGL_J1454.1+1622_daily_bin1403.fits outfile=/scratch/kocevski/846546/cmap_602985601_603244801_4FGL_J1454.1+1622_daily_bin1403.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846546/ft1_filtered_4FGL_J1454.1+1622_daily_bin1403.fits scfile=/scratch/kocevski/846546/ft2_4FGL_J1454.1+1622_daily_bin1403.fits outfile=/scratch/kocevski/846546/cmap_HighResolution_602985601_603244801_4FGL_J1454.1+1622_daily_bin1403.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.59
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.353       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .95283       1.0000         .10000E-03   10000.    
     3 'norm      '    6.0025       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.122       1.0000         .10000E-03   10000.    
     5 'norm      '    5.8067       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.4686       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5763       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .63336E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9242       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8726       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .36931       1.0000         .10000E-03   10000.    
    16 'norm      '    .92156       1.0000         .10000E-03   10000.    
    17 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.649       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2160       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86473       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=   9017.661     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2563 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     86.398        37.275        .93394E-05   -.13369E-04
   2  Prefactor     .95331        1.0092        .90194E-07   -.64591E-03
   3  norm          6.0024        2.3309        .48990E-07   -.20289E-04
   4  Prefactor     14.121        7.3072       -.45088E-06   -.10153E-03
   5  norm          5.8070        2.5840        .92733E-07   -.42801E-04
   6  Prefactor     .10000E-03    20.218        .58318E-06** at limit **
   7  norm          .10000E-03    12.988        .16026E-06** at limit **
   8  norm          3.4686        2.9084        .12312E-06   -.39202E-05
   9  Prefactor     .10000E-03    4.7822        .15532E-07** at limit **
  10  Prefactor     8.5794        18.125       -.13609E-06   -.17693E-04
  11  Prefactor     .10001E-03    6.9169        .64852E-06** at limit **
  12  Prefactor     3.9144        13.400        .29007E-06   -.15333E-04
  13  Prefactor     4.9299        46.733       -.72119E-05   -.21208E-04
  14  Prefactor     .10000E-03    2.7378        .44875E-07** at limit **
  15  norm          .36929        .15537        .26170E-07   -.47724E-03
  16  norm          .92157        3.6117        .13382E-06   -.66659E-05
  17  norm          .10000E-03    17.594       -.16316E-05** at limit **
  18  Prefactor     .10000E-03    18.058        .12668E-05** at limit **
  19  Prefactor     .10000E-03    7.3791        .10520E-06** at limit **
  20  Prefactor     29.633        23.244        .76019E-05   -.17444E-04
  21  Prefactor     .10000E-03    8.9581       -.36299E-08** at limit **
  22  Normalizat    1.2160        .18379       -.21464E-05   -.17402E-04
  23  Prefactor     .86471        .11600       -.15290E-06   -.21408E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 86.3978
  Prefactor  = 0.953312
  norm       = 6.00244
  Prefactor  = 14.1206
  norm       = 5.807
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.46862
  Prefactor  = 0.0001
  Prefactor  = 8.57937
  Prefactor  = 0.000100009
  Prefactor  = 3.91444
  Prefactor  = 4.92995
  Prefactor  = 0.0001
  norm       = 0.36929
  norm       = 0.921571
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.6327
  Prefactor  = 0.0001
  Normalizat = 1.21602
  Prefactor  = 0.864708
 **********
 **   18 **HESSE 
 **********

 FCN=   9017.661     FROM HESSE     STATUS=OK           376 CALLS     2939 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     86.398        37.690        .43233E-04   -1.3846    
   2  Prefactor     .95331        9.8722        .25996E-02   -1.5513    
   3  norm          6.0024        2.3324        .87898E-04   -1.5218    
   4  Prefactor     14.121        7.6044        .53293E-03   -1.4956    
   5  norm          5.8070        2.5833        .98089E-04   -1.5226    
   6  Prefactor     .10000E-03    20.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    13.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.4686        2.9132        .14384E-03   -1.5335    
   9  Prefactor     .10000E-03    4.7854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.5794        18.114        .13688E-03   -1.5122    
  11  Prefactor     .10001E-03    47.568        .47298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.9144        13.262        .20365E-03   -1.5312    
  13  Prefactor     4.9299        45.682        .18223E-03   -1.5264    
  14  Prefactor     .10000E-03    2.7559        .15343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .36929        .15271        .23026E-04   -1.5586    
  16  norm          .92157        3.5329        .34643E-03   -1.5516    
  17  norm          .10000E-03    17.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.5119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     29.633        23.246        .73580E-04   -1.4619    
  21  Prefactor     .10000E-03    8.9686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2160        .22448        .27834E-03   -.86109    
  23  Prefactor     .86471        .14224        .21096E-03   -.97385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54625e-09
Minuit parameter uncertainties:
  1  37.7005
  2  6.13655
  3  2.33239
  4  7.60488
  5  2.58332
  6  2.45335e-05
  7  2.25069e-05
  8  2.91333
  9  4.79903e-06
  10  18.1256
  11  0.0012981
  12  13.2716
  13  30.0441
  14  6.14735e-06
  15  0.152712
  16  3.53367
  17  5.41927e-06
  18  6.79612e-06
  19  2.72235e-05
  20  23.2533
  21  4.3823e-06
  22  0.224656
  23  0.142299
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  3.914e+00  1.327e+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:  8.647e-01  1.423e-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.216e+00  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/846546/likelihoodResults_602985601_603244801_4FGL_J1454.1+1622_daily_bin1403.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) = 9017.62421241
delta logL = 0.0368606482698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9017.61649835
delta logL = 0.044574706737

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6491       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9422       1.0000          .0000       10.000    
     3 'Normalizat'    1.2195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86276       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=   9017.616     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      256 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6507        14.625        .16901E-03   -.37171E-03
   2  Index         1.9422        1.3247        .13204E-01   -.15190E-03
   3  Normalizat    1.2195        .21490        .27799E-03    .28204E-03
   4  Prefactor     .86275        .14077        .21116E-03    .46273E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.65075
  Index      = 1.94224
  Normalizat = 1.2195
  Prefactor  = 0.862751
 **********
 **   18 **HESSE 
 **********

 FCN=   9017.616     FROM HESSE     STATUS=OK            23 CALLS      279 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6507        14.646        .67605E-05   -1.5232    
   2  Index         1.9422        1.3271        .52815E-03   -.65802    
   3  Normalizat    1.2195        .21510        .55597E-04   -.86002    
   4  Prefactor     .86275        .14091        .42233E-04   -.97455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5066e-09
Minuit parameter uncertainties:
  1  14.6551
  2  1.35338
  3  0.215253
  4  0.140966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846546': 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) = 9017.61649833
delta logL = 0.0445747222238

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  5.651e+00  1.466e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.942e+00  1.353e+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:  8.628e-01  1.410e-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.220e+00  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/846546/cmap_HighResolution_602985601_603244801_4FGL_J1454.1+1622_daily_bin1403.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-03', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2021-09-10 12:51:42.844907', job_id='846546', GAL2='0.86', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631303502.84', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='4.46e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1403' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:51:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 846546: <4FGL_J1454.1+1622_daily_bin1403> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1403> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 12:37:10 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:37:11 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:37:11 2021
Terminated at Fri Sep 10 12:51:43 2021
Results reported at Fri Sep 10 12:51:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1403 223.544 16.3747 602985601 603244801 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 :                                   717.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            873 sec.

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

