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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1018
RA = 223.544, Dec = 16.3747
tmin = 503193601, tmax = 503452801
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='844162', job_status='RUN', time_executed='2021-09-10 12:35:21.746426', time_epoch_executed='1631302521.75' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1018'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844162

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844162/ft1_4FGL_J1454.1+1622_daily_bin1018.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844162/ft2_4FGL_J1454.1+1622_daily_bin1018.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844162/ft1_4FGL_J1454.1+1622_daily_bin1018.fits outfile=/scratch/kocevski/844162/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1018.fits ra=223.544 dec=16.3747 rad=12.0 tmin=503193601.0 tmax=503452801.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 5.16
user 4.88
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844162/ft1_filtered_4FGL_J1454.1+1622_daily_bin1018.fits evtable="EVENTS" scfile=/scratch/kocevski/844162/ft2_4FGL_J1454.1+1622_daily_bin1018.fits sctable="SC_DATA" expcube=/scratch/kocevski/844162/ltcube_503193601_503452801_4FGL_J1454.1+1622_daily_bin1018.fits outfile=/scratch/kocevski/844162/expmap_503193601_503452801_4FGL_J1454.1+1622_daily_bin1018.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/844162/ltcube_503193601_503452801_4FGL_J1454.1+1622_daily_bin1018.fits
.....................!
real 190.09
user 185.33
sys 4.33

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/844162/ft1_filtered_4FGL_J1454.1+1622_daily_bin1018.fits scfile=/scratch/kocevski/844162/ft2_4FGL_J1454.1+1622_daily_bin1018.fits outfile=/scratch/kocevski/844162/cmap_503193601_503452801_4FGL_J1454.1+1622_daily_bin1018.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844162/ft1_filtered_4FGL_J1454.1+1622_daily_bin1018.fits scfile=/scratch/kocevski/844162/ft2_4FGL_J1454.1+1622_daily_bin1018.fits outfile=/scratch/kocevski/844162/cmap_HighResolution_503193601_503452801_4FGL_J1454.1+1622_daily_bin1018.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5120       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.0609       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.2093       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.209       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.379       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.520       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9709       1.0000         .10000E-03   10000.    
    15 'norm      '    2.3960       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7196       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    129.99       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89916       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1196       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=   7018.743     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2525 TOTAL
                     EDM=   .97E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5133        28.153        .95294E-06   -.13422E-04
   2  Prefactor     .10000E-03    2.0195        .10482E-06** at limit **
   3  norm          2.0610        2.0739       -.18712E-07    .11649E-03
   4  Prefactor     .10000E-03    2.1720        .14414E-06** at limit **
   5  norm          9.2095        4.1342       -.13783E-06   -.84438E-05
   6  Prefactor     .10000E-03    13.515       -.58674E-05** at limit **
   7  norm          .10000E-03    5.6798        .26616E-06** at limit **
   8  norm          14.210        7.3405        .30127E-06   -.22517E-04
   9  Prefactor     15.375        25.688       -.19405E-05    .53011E-04
  10  Prefactor     .10000E-03    16.242        .20280E-04** at limit **
  11  Prefactor     .10000E-03    20.218       -.16776E-04** at limit **
  12  Prefactor     12.519        31.522       -.40631E-06    .87557E-04
  13  Prefactor     .10000E-03    19.090       -.69334E-05** at limit **
  14  Prefactor     8.9711        8.9781       -.65719E-08    .42327E-04
  15  norm          2.3960        .35990        .12885E-07   -.14194E-03
  16  norm          2.7198        5.3520       -.63171E-06   -.33228E-03
  17  norm          .10000E-03    51.649        .10524E-04** at limit **
  18  Prefactor     .10000E-03    61.611       -.49007E-04** at limit **
  19  Prefactor     .10000E-03    4.2122        .68826E-07** at limit **
  20  Prefactor     129.98        50.865       -.39198E-05    .27836E-04
  21  Prefactor     .10000E-03    43.268        .34242E-04** at limit **
  22  Normalizat    .89909        .24300        .89556E-06    .76764E-04
  23  Prefactor     1.1196        .15108        .27194E-06    .12656E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.51328
  Prefactor  = 0.0001
  norm       = 2.06102
  Prefactor  = 0.0001
  norm       = 9.20954
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 14.2096
  Prefactor  = 15.3755
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5186
  Prefactor  = 0.0001
  Prefactor  = 8.97112
  norm       = 2.39599
  norm       = 2.7198
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 129.982
  Prefactor  = 0.0001
  Normalizat = 0.899095
  Prefactor  = 1.11963
 **********
 **   18 **HESSE 
 **********

 FCN=   7018.743     FROM HESSE     STATUS=OK           366 CALLS     2891 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5133        28.179        .14632E-03   -1.5160    
   2  Prefactor     .10000E-03    2.0208        .11626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0610        2.0798        .11758E-03   -1.5421    
   4  Prefactor     .10000E-03    2.1762        .12056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.2095        4.1349        .10880E-03   -1.5101    
   6  Prefactor     .10000E-03    13.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.6827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.210        7.3462        .10626E-03   -1.4954    
   9  Prefactor     15.375        25.650        .10213E-03   -1.4924    
  10  Prefactor     .10000E-03    16.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.519        31.464        .11321E-03   -1.5000    
  13  Prefactor     .10000E-03    19.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.9711        8.9785        .13382E-03   -1.5109    
  15  norm          2.3960        .36047        .18465E-04   -1.5398    
  16  norm          2.7198        5.3356        .24695E-03   -1.5378    
  17  norm          .10000E-03    51.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    61.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.2177        .16792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     129.98        50.872        .35314E-04   -1.3423    
  21  Prefactor     .10000E-03    43.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89909        .27883        .37312E-03   -.96492    
  23  Prefactor     1.1196        .17409        .21708E-03   -.88842    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92588e-10
Minuit parameter uncertainties:
  1  28.2288
  2  9.39765e-07
  3  2.07992
  4  3.73055e-07
  5  4.13505
  6  3.82713e-06
  7  1.65819e-06
  8  7.34667
  9  25.6686
  10  2.79497e-05
  11  5.90169e-05
  12  31.5053
  13  1.47295e-05
  14  8.97989
  15  0.360466
  16  5.33654
  17  2.00278e-05
  18  0.000194383
  19  1.20217e-06
  20  50.889
  21  5.10043e-05
  22  0.279277
  23  0.174174
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.252e+01  3.151e+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.120e+00  1.742e-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:  8.991e-01  2.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/844162/likelihoodResults_503193601_503452801_4FGL_J1454.1+1622_daily_bin1018.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) = 7018.67628772
delta logL = 0.066325241628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7018.61606135
delta logL = 0.126551606973

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27094E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    6.3164       1.0000          .0000       10.000    
     3 'Normalizat'    .84508       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1470       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=   7018.616     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      330 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25547E-01    .38402        .44200E-02    .73759E-02
   2  Index         6.3449        2.1342        .20919        .87110E-04
   3  Normalizat    .84516        .31293E-01    .86625E-01    .54382E-04
   4  Prefactor     1.1472        .20185E-01    .36024E-01    .31271E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0255467
  Index      = 6.34495
  Normalizat = 0.845157
  Prefactor  = 1.14716
 **********
 **   18 **HESSE 
 **********

 FCN=   7018.616     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      363 TOTAL
                     EDM=   .66E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25547E-01    2.8624        .19361E-04   -1.5676    
   2  Index         6.3449        8.0652        .71724E-02    .27234    
   3  Normalizat    .84516        .20853        .38363E-03   -.98415    
   4  Prefactor     1.1472        .13159        .21479E-03   -.87973    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.64137e-07
Minuit parameter uncertainties:
  1  0.539795
  2  10.2919
  3  0.208727
  4  0.131627
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844162': 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): 102
logL (Free Index) = 7018.61605105
delta logL = 0.126561912307

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.555e-02  5.398e-01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  6.345e+00  1.029e+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.147e+00  1.316e-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:  8.452e-01  2.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 223.544 16.375

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/844162/cmap_HighResolution_503193601_503452801_4FGL_J1454.1+1622_daily_bin1018.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-09-10 12:45:49.931650', job_id='844162', GAL2='1.15', fit_tolerance='1e-08', EG2='0.85', EG='0.90', time_epoch_completed='1631303149.93', return_code2='102', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.27e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1018' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:45:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 844162: <4FGL_J1454.1+1622_daily_bin1018> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1018 223.544 16.3747 503193601 503452801 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 :                                   625.29 sec.
    Max Memory :                                 1236 MB
    Average Memory :                             289.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

