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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1422
RA = 223.544, Dec = 16.3747
tmin = 607910401, tmax = 608169601
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='846577', job_status='RUN', time_executed='2021-09-10 12:40:06.340747', time_epoch_executed='1631302806.34' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1422'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846577

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846577/ft1_4FGL_J1454.1+1622_daily_bin1422.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846577/ft2_4FGL_J1454.1+1622_daily_bin1422.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846577/ft1_4FGL_J1454.1+1622_daily_bin1422.fits outfile=/scratch/kocevski/846577/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1422.fits ra=223.544 dec=16.3747 rad=12.0 tmin=607910401.0 tmax=608169601.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.52
user 3.30
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846577/ft1_filtered_4FGL_J1454.1+1622_daily_bin1422.fits" evtable="EVENTS" scfile=/scratch/kocevski/846577/ft2_4FGL_J1454.1+1622_daily_bin1422.fits sctable="SC_DATA" outfile=/scratch/kocevski/846577/ltcube_607910401_608169601_4FGL_J1454.1+1622_daily_bin1422.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/846577/ft2_4FGL_J1454.1+1622_daily_bin1422.fits
.....................!
real 11.95
user 11.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846577/ft1_filtered_4FGL_J1454.1+1622_daily_bin1422.fits evtable="EVENTS" scfile=/scratch/kocevski/846577/ft2_4FGL_J1454.1+1622_daily_bin1422.fits sctable="SC_DATA" expcube=/scratch/kocevski/846577/ltcube_607910401_608169601_4FGL_J1454.1+1622_daily_bin1422.fits outfile=/scratch/kocevski/846577/expmap_607910401_608169601_4FGL_J1454.1+1622_daily_bin1422.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/846577/ltcube_607910401_608169601_4FGL_J1454.1+1622_daily_bin1422.fits
.....................!
real 189.16
user 185.01
sys 3.75

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/846577/ft1_filtered_4FGL_J1454.1+1622_daily_bin1422.fits scfile=/scratch/kocevski/846577/ft2_4FGL_J1454.1+1622_daily_bin1422.fits outfile=/scratch/kocevski/846577/cmap_607910401_608169601_4FGL_J1454.1+1622_daily_bin1422.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.52
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    123.19       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.4739       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.3679       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20596E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    30.746       1.0000         .10000E-03   10000.    
     8 'norm      '    3.6367       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24210E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5999       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.5311       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.177       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.697       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6890       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .49959       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=   7329.306     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2558 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     123.18        45.043        .63175E-07   -.23011E-04
   2  Prefactor     .10000E-03    15.873        .54675E-05** at limit **
   3  norm          3.4739        1.9816        .66343E-07   -.68971E-05
   4  Prefactor     .10000E-03    3.3081        .14527E-06** at limit **
   5  norm          2.3679        2.3709       -.11732E-06   -.10142E-03
   6  Prefactor     .10001E-03    120.93       -.11780E-05** at limit **
   7  norm          30.744        21.401        .19917E-05    .52276E-04
   8  norm          3.6367        2.9801        .10990E-06   -.41987E-05
   9  Prefactor     .10000E-03    29.848        .73914E-05** at limit **
  10  Prefactor     .10000E-03    46.477       -.42102E-05** at limit **
  11  Prefactor     .10001E-03    34.120        .78246E-05** at limit **
  12  Prefactor     5.6091        17.150        .16670E-05   -.44664E-04
  13  Prefactor     .10000E-03    18.754        .23349E-05** at limit **
  14  Prefactor     .10000E-03    4.4601        .88396E-07** at limit **
  15  norm          1.5312        .27921       -.11214E-07   -.16694E-03
  16  norm          .10000E-03    1.7202       -.54875E-08** at limit **
  17  norm          .10000E-03    12.922       -.20174E-07** at limit **
  18  Prefactor     18.156        41.821        .28455E-05   -.21545E-05
  19  Prefactor     .10000E-03    2.6093        .23241E-07** at limit **
  20  Prefactor     .10000E-03    19.968       -.18488E-05** at limit **
  21  Prefactor     17.695        26.602       -.65448E-07   -.25015E-05
  22  Normalizat    1.6889        .20962       -.28730E-06   -.32683E-04
  23  Prefactor     .49971        .12548       -.12873E-06   -.12794E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 123.182
  Prefactor  = 0.000100003
  norm       = 3.47389
  Prefactor  = 0.0001
  norm       = 2.36786
  Prefactor  = 0.000100011
  norm       = 30.7442
  norm       = 3.63667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 5.60906
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.53121
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 18.1564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6948
  Normalizat = 1.68889
  Prefactor  = 0.499715
 **********
 **   18 **HESSE 
 **********

 FCN=   7329.306     FROM HESSE     STATUS=OK           368 CALLS     2926 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     123.18        44.259        .36263E-04   -1.3484    
   2  Prefactor     .10000E-03    23.723        .35801E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.4739        1.9851        .88669E-04   -1.5335    
   4  Prefactor     .10000E-03    3.3343        .15195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.3679        2.3656        .12725E-03   -1.5400    
   6  Prefactor     .10001E-03    122.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          30.744        21.580        .72260E-04   -1.4598    
   8  norm          3.6367        2.9801        .65095E-03   -1.5327    
   9  Prefactor     .10000E-03    30.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    47.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    63.511        .54263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.6091        16.930        .16977E-03   -1.5234    
  13  Prefactor     .10000E-03    18.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.4957        .17655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.5312        .27934        .18252E-04   -1.5460    
  16  norm          .10000E-03    1.7207        .10966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    12.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.156        41.919        .93942E-04   -1.4856    
  19  Prefactor     .10000E-03    2.6122        .13505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.695        26.596        .95207E-04   -1.4866    
  22  Normalizat    1.6889        .24860        .25329E-03   -.72600    
  23  Prefactor     .49971        .14884        .26596E-03   -1.1199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39427e-10
Minuit parameter uncertainties:
  1  44.2708
  2  0.00051215
  3  1.98515
  4  4.5877e-06
  5  2.3657
  6  0.00232682
  7  21.5854
  8  2.98023
  9  8.67452e-05
  10  4.45554e-05
  11  0.00168714
  12  16.9448
  13  2.10113e-06
  14  1.48223e-06
  15  0.279336
  16  3.8617e-07
  17  9.19928e-07
  18  41.9872
  19  7.56568e-07
  20  3.83981e-06
  21  26.6135
  22  0.248784
  23  0.148954
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  5.609e+00  1.694e+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:  4.997e-01  1.490e-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.689e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/846577/likelihoodResults_607910401_608169601_4FGL_J1454.1+1622_daily_bin1422.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) = 7329.30139599
delta logL = 0.00496582121377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7329.30076181
delta logL = 0.00559999328379

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2209       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2045       1.0000          .0000       10.000    
     3 'Normalizat'    1.6911       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49899       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=   7329.301     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      252 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2436        400.51        .40237E-02    .38112E-04
   2  Index         2.2119        2.7325        .50000       -.31694E-05
   3  Normalizat    1.6910        .29768E-01    .57255E-01    .91415E-05
   4  Prefactor     .49876        .17793E-01    .60163E-01    .44400E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.24361
  Index      = 2.21194
  Normalizat = 1.69104
  Prefactor  = 0.498755
 **********
 **   18 **HESSE 
 **********

 FCN=   7329.301     FROM HESSE     STATUS=OK            33 CALLS      285 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2436        18.638        .16095E-03   -1.5208    
   2  Index         2.2119        1.7036        .10836E-01   -.59151    
   3  Normalizat    1.6910        .24321        .25316E-03   -.72543    
   4  Prefactor     .49876        .14856        .26619E-03   -1.1203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61133e-12
Minuit parameter uncertainties:
  1  18.655
  2  1.75543
  3  0.243381
  4  0.148675
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846577': 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) = 7329.30074414
delta logL = 0.00561767052932

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  6.244e+00  1.865e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.212e+00  1.755e+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:  4.988e-01  1.487e-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.691e+00  2.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/846577/cmap_HighResolution_607910401_608169601_4FGL_J1454.1+1622_daily_bin1422.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2021-09-10 12:50:43.811328', job_id='846577', GAL2='0.50', fit_tolerance='1e-08', EG2='1.69', EG='1.69', time_epoch_completed='1631303443.81', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='5.62e-03', ts2='0.14', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1422' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:50:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 846577: <4FGL_J1454.1+1622_daily_bin1422> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1422 223.544 16.3747 607910401 608169601 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 :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            812 sec.

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

