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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin110
RA = 223.544, Dec = 16.3747
tmin = 267840001, tmax = 268099201
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='838151', job_status='RUN', time_executed='2021-09-10 12:11:37.254049', time_epoch_executed='1631301097.25' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/838151

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/838151/ft1_4FGL_J1454.1+1622_daily_bin110.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/838151/ft2_4FGL_J1454.1+1622_daily_bin110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/838151/ft1_4FGL_J1454.1+1622_daily_bin110.fits outfile=/scratch/kocevski/838151/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin110.fits ra=223.544 dec=16.3747 rad=12.0 tmin=267840001.0 tmax=268099201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.61
user 1.29
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/838151/ft1_filtered_4FGL_J1454.1+1622_daily_bin110.fits" evtable="EVENTS" scfile=/scratch/kocevski/838151/ft2_4FGL_J1454.1+1622_daily_bin110.fits sctable="SC_DATA" outfile=/scratch/kocevski/838151/ltcube_267840001_268099201_4FGL_J1454.1+1622_daily_bin110.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/838151/ft2_4FGL_J1454.1+1622_daily_bin110.fits
.....................!
real 13.07
user 12.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/838151/ft1_filtered_4FGL_J1454.1+1622_daily_bin110.fits evtable="EVENTS" scfile=/scratch/kocevski/838151/ft2_4FGL_J1454.1+1622_daily_bin110.fits sctable="SC_DATA" expcube=/scratch/kocevski/838151/ltcube_267840001_268099201_4FGL_J1454.1+1622_daily_bin110.fits outfile=/scratch/kocevski/838151/expmap_267840001_268099201_4FGL_J1454.1+1622_daily_bin110.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/838151/ltcube_267840001_268099201_4FGL_J1454.1+1622_daily_bin110.fits
.....................!
real 191.45
user 185.99
sys 4.77

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/838151/ft1_filtered_4FGL_J1454.1+1622_daily_bin110.fits scfile=/scratch/kocevski/838151/ft2_4FGL_J1454.1+1622_daily_bin110.fits outfile=/scratch/kocevski/838151/cmap_267840001_268099201_4FGL_J1454.1+1622_daily_bin110.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/838151/ft1_filtered_4FGL_J1454.1+1622_daily_bin110.fits scfile=/scratch/kocevski/838151/ft2_4FGL_J1454.1+1622_daily_bin110.fits outfile=/scratch/kocevski/838151/cmap_HighResolution_267840001_268099201_4FGL_J1454.1+1622_daily_bin110.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.544 yref=16.3747 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.951       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8526       1.0000         .10000E-03   10000.    
     3 'norm      '    15.615       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2201       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9910       1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.064       1.0000         .10000E-03   10000.    
     7 'norm      '    .10812E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.8169       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14492E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.010       1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.833       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11367E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.9959       1.0000         .10000E-03   10000.    
    16 'norm      '    4.9248       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .32684       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.022       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3840       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77246       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=   7952.883     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2559 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.959        26.606        .39913E-05    .96798E-05
   2  Prefactor     2.8532        7.9804       -.26665E-06   -.95228E-03
   3  norm          15.615        4.4422        .23447E-06   -.19456E-05
   4  Prefactor     2.2213        4.1877        .34355E-06   -.16686E-02
   5  norm          1.9911        2.3843        .76840E-07   -.66789E-04
   6  Prefactor     39.059        30.832       -.14600E-05   -.67411E-04
   7  norm          .10000E-03    50.838        .31013E-05** at limit **
   8  norm          4.8165        4.1105        .34507E-07   -.32612E-03
   9  Prefactor     .10000E-03    38.271       -.41686E-05** at limit **
  10  Prefactor     .10000E-03    6.0689        .38659E-07** at limit **
  11  Prefactor     19.010        16.969       -.25998E-05   -.93119E-05
  12  Prefactor     36.850        27.236        .84124E-05    .48204E-04
  13  Prefactor     .10000E-03    41.220        .16891E-05** at limit **
  14  Prefactor     .10000E-03    4.5635        .12329E-06** at limit **
  15  norm          1.9959        .28184        .79216E-08   -.19938E-03
  16  norm          4.9248        5.6031       -.15075E-07   -.28524E-03
  17  norm          .10000E-03    15.370        .15577E-06** at limit **
  18  Prefactor     .10000E-03    18.184        .20370E-06** at limit **
  19  Prefactor     .32627        3.7184       -.18193E-06    .18906E-04
  20  Prefactor     .10000E-03    8.4330        .11643E-06** at limit **
  21  Prefactor     19.019        23.804       -.13444E-05   -.59440E-05
  22  Normalizat    1.3838        .20617       -.79990E-06    .31205E-04
  23  Prefactor     .77254        .12990       -.24161E-06   -.31445E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.9592
  Prefactor  = 2.8532
  norm       = 15.615
  Prefactor  = 2.22132
  norm       = 1.99113
  Prefactor  = 39.0587
  norm       = 0.000100001
  norm       = 4.81645
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 19.0095
  Prefactor  = 36.8496
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.9959
  norm       = 4.92476
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.326267
  Prefactor  = 0.0001
  Prefactor  = 19.0189
  Normalizat = 1.38384
  Prefactor  = 0.772544
 **********
 **   18 **HESSE 
 **********

 FCN=   7952.883     FROM HESSE     STATUS=OK           376 CALLS     2935 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.959        26.663        .72020E-04   -1.4595    
   2  Prefactor     2.8532        7.9523        .12036E-02   -1.5370    
   3  norm          15.615        4.4445        .96763E-04   -1.4917    
   4  Prefactor     2.2213        6.4466        .13799E-02   -1.5410    
   5  norm          1.9911        2.3671        .14507E-03   -1.5426    
   6  Prefactor     39.059        30.658        .64130E-04   -1.4457    
   7  norm          .10000E-03    51.931        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.8165        4.1379        .81341E-03   -1.5269    
   9  Prefactor     .10000E-03    38.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.010        16.988        .91862E-04   -1.4836    
  12  Prefactor     36.850        27.221        .66036E-04   -1.4493    
  13  Prefactor     .10000E-03    41.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.9959        .28253        .16992E-04   -1.5425    
  16  norm          4.9248        5.6351        .90620E-03   -1.5264    
  17  norm          .10000E-03    15.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .32627        12.094        .33530E-02   -1.5594    
  20  Prefactor     .10000E-03    8.4383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.019        23.821        .91832E-04   -1.4835    
  22  Normalizat    1.3838        .25155        .28672E-03   -.81097    
  23  Prefactor     .77254        .15570        .23806E-03   -1.0075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04121e-09
Minuit parameter uncertainties:
  1  26.6734
  2  7.95519
  3  4.44459
  4  6.44858
  5  2.36724
  6  30.6701
  7  0.000431337
  8  4.13813
  9  0.000412545
  10  3.37143e-06
  11  16.9927
  12  27.2303
  13  0.000213853
  14  1.20292e-06
  15  0.282528
  16  5.63575
  17  8.67961e-07
  18  6.32765e-07
  19  3.97312
  20  2.38543e-06
  21  23.8331
  22  0.251775
  23  0.155785
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  3.685e+01  2.723e+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:  7.725e-01  1.558e-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.384e+00  2.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.40
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.53e-08 +/- 4.08e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.32e-05

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

Saving results to:
/scratch/kocevski/838151/likelihoodResults_267840001_268099201_4FGL_J1454.1+1622_daily_bin110.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) = 7952.73991857
delta logL = 0.143021577504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7952.73449463
delta logL = 0.148445517433

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.027       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7632       1.0000          .0000       10.000    
     3 'Normalizat'    1.3644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78038       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=   7952.734     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      297 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.014        30.933        .77060E-04    .21463E-03
   2  Index         2.7625        .75143        .69480E-02    .62454E-04
   3  Normalizat    1.3645        .24459        .28834E-03    .12207E-03
   4  Prefactor     .78052        .15558        .23693E-03    .11075E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0137
  Index      = 2.76246
  Normalizat = 1.36452
  Prefactor  = 0.780522
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.014        27.862        .15412E-04   -1.4668    
   2  Index         2.7625        .67672        .27792E-03   -.46398    
   3  Normalizat    1.3645        .24451        .11534E-04   -.81660    
   4  Prefactor     .78052        .15557        .94771E-05   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11314e-11
Minuit parameter uncertainties:
  1  27.8757
  2  0.679331
  3  0.244716
  4  0.155662
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/838151': 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) = 7952.73448941
delta logL = 0.148450739962

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.701e+01  2.788e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.762e+00  6.793e-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:  7.805e-01  1.557e-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.365e+00  2.447e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.70
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.76 +/- 0.68
Photon Flux (Free Index): 7.11e-08 +/- 5.34e-08
Energy Flux (Free Index): 1.63e-05 +/- 1.12e-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/838151/cmap_HighResolution_267840001_268099201_4FGL_J1454.1+1622_daily_bin110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', photon_flux='5.53e-08', energy_flux2='1.63e-05', photon_flux_error='4.08e-08', dlogl='1.48e-01', energy_flux='1.79e-05', photon_flux2='7.11e-08', job_status='DONE', time_completed='2021-09-10 12:22:54.503047', photon_index_error2='0.68', photon_index2='2.76', ts='3.40', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.12e-05', EG='1.38', time_epoch_completed='1631301774.5', return_code='0', job_id='838151', GAL2='0.78', EG2='1.36', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='5.34e-08', ts2='3.70', photon_index='2.41' WHERE bin_id='110' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:22:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 838151: <4FGL_J1454.1+1622_daily_bin110> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin110> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Sep 10 12:11:12 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:11:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:11:14 2021
Terminated at Fri Sep 10 12:22:55 2021
Results reported at Fri Sep 10 12:22:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin110 223.544 16.3747 267840001 268099201 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 :                                   675.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

