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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1103
RA = 223.544, Dec = 16.3747
tmin = 525225601, tmax = 525484801
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='844365', job_status='RUN', time_executed='2021-09-10 12:36:06.378542', time_epoch_executed='1631302566.38' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1103'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844365

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844365/ft1_4FGL_J1454.1+1622_daily_bin1103.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844365/ft2_4FGL_J1454.1+1622_daily_bin1103.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844365/ft1_4FGL_J1454.1+1622_daily_bin1103.fits outfile=/scratch/kocevski/844365/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1103.fits ra=223.544 dec=16.3747 rad=12.0 tmin=525225601.0 tmax=525484801.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 4.06
user 3.83
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844365/ft2_4FGL_J1454.1+1622_daily_bin1103.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/844365/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1103.fits evtable="EVENTS" outfile="/scratch/kocevski/844365/ft1_filtered_4FGL_J1454.1+1622_daily_bin1103.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844365/ft1_filtered_4FGL_J1454.1+1622_daily_bin1103.fits" evtable="EVENTS" scfile=/scratch/kocevski/844365/ft2_4FGL_J1454.1+1622_daily_bin1103.fits sctable="SC_DATA" outfile=/scratch/kocevski/844365/ltcube_525225601_525484801_4FGL_J1454.1+1622_daily_bin1103.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/844365/ft2_4FGL_J1454.1+1622_daily_bin1103.fits
.....................!
real 11.73
user 11.40
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844365/ft1_filtered_4FGL_J1454.1+1622_daily_bin1103.fits evtable="EVENTS" scfile=/scratch/kocevski/844365/ft2_4FGL_J1454.1+1622_daily_bin1103.fits sctable="SC_DATA" expcube=/scratch/kocevski/844365/ltcube_525225601_525484801_4FGL_J1454.1+1622_daily_bin1103.fits outfile=/scratch/kocevski/844365/expmap_525225601_525484801_4FGL_J1454.1+1622_daily_bin1103.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/844365/ltcube_525225601_525484801_4FGL_J1454.1+1622_daily_bin1103.fits
.....................!
real 191.30
user 186.97
sys 3.97

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/844365/ft1_filtered_4FGL_J1454.1+1622_daily_bin1103.fits scfile=/scratch/kocevski/844365/ft2_4FGL_J1454.1+1622_daily_bin1103.fits outfile=/scratch/kocevski/844365/cmap_525225601_525484801_4FGL_J1454.1+1622_daily_bin1103.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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844365/ft1_filtered_4FGL_J1454.1+1622_daily_bin1103.fits scfile=/scratch/kocevski/844365/ft2_4FGL_J1454.1+1622_daily_bin1103.fits outfile=/scratch/kocevski/844365/cmap_HighResolution_525225601_525484801_4FGL_J1454.1+1622_daily_bin1103.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.56
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.7425       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9592       1.0000         .10000E-03   10000.    
     5 'norm      '    6.3203       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.256       1.0000         .10000E-03   10000.    
     7 'norm      '    24.145       1.0000         .10000E-03   10000.    
     8 'norm      '    8.7453       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.566       1.0000         .10000E-03   10000.    
    10 'Prefactor '    49.261       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4219       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.6883       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7438       1.0000         .10000E-03   10000.    
    16 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    47.039       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0869       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93625       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=   7309.793     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2513 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.005       -.11702E-05** at limit **
   2  Prefactor     .10000E-03    4.4195        .14393E-06** at limit **
   3  norm          6.7424        2.7986       -.11550E-07   -.72409E-04
   4  Prefactor     6.9599        7.2685        .11512E-06    .54992E-04
   5  norm          6.3200        3.2708        .11478E-07   -.59022E-04
   6  Prefactor     20.256        45.427       -.19118E-07   -.16637E-05
   7  norm          24.141        26.572        .48799E-07   -.76530E-05
   8  norm          8.7451        5.0802        .34017E-06    .95449E-04
   9  Prefactor     10.560        24.464       -.23604E-05   -.32472E-04
  10  Prefactor     49.260        25.502        .61838E-07   -.11257E-04
  11  Prefactor     .10000E-03    11.408        .56864E-08** at limit **
  12  Prefactor     1.4145        60.974        .20248E-04   -.98685E-05
  13  Prefactor     .10000E-03    27.260        .18118E-05** at limit **
  14  Prefactor     7.6882        5.6808       -.16048E-06   -.76496E-04
  15  norm          1.7438        .28779       -.54570E-08   -.10451E-02
  16  norm          .10000E-03    7.5228        .42598E-07** at limit **
  17  norm          .10000E-03    14.497        .24232E-07** at limit **
  18  Prefactor     47.029        45.162        .73830E-06   -.16526E-04
  19  Prefactor     .10000E-03    1.9576       -.62960E-08** at limit **
  20  Prefactor     .10000E-03    77.531        .73610E-06** at limit **
  21  Prefactor     .10000E-03    23.023       -.92225E-06** at limit **
  22  Normalizat    1.0870        .21448        .43369E-06    .29415E-04
  23  Prefactor     .93613        .13458       -.85852E-06   -.10307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.74239
  Prefactor  = 6.95992
  norm       = 6.32002
  Prefactor  = 20.2558
  norm       = 24.141
  norm       = 8.74508
  Prefactor  = 10.5604
  Prefactor  = 49.2598
  Prefactor  = 0.0001
  Prefactor  = 1.41446
  Prefactor  = 0.0001
  Prefactor  = 7.68824
  norm       = 1.74378
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 47.0286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.08703
  Prefactor  = 0.936131
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.793     FROM HESSE     STATUS=OK           372 CALLS     2885 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.4530        .17543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.7424        2.8002        .89423E-04   -1.5189    
   4  Prefactor     6.9599        7.3061        .15208E-03   -1.5180    
   5  norm          6.3200        3.2692        .10585E-03   -1.5205    
   6  Prefactor     20.256        45.736        .88992E-04   -1.4808    
   7  norm          24.141        26.754        .81521E-04   -1.4725    
   8  norm          8.7451        5.0877        .13554E-03   -1.5116    
   9  Prefactor     10.560        24.527        .12326E-03   -1.5058    
  10  Prefactor     49.260        25.521        .57135E-04   -1.4303    
  11  Prefactor     .10000E-03    11.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4145        61.494        .18136E-02   -1.5470    
  13  Prefactor     .10000E-03    27.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.6882        5.6853        .14462E-03   -1.5153    
  15  norm          1.7438        .28822        .17820E-04   -1.5444    
  16  norm          .10000E-03    7.7173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    14.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     47.029        45.236        .58463E-04   -1.4335    
  19  Prefactor     .10000E-03    1.9597        .11683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    78.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    23.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0870        .25936        .30842E-03   -.90169    
  23  Prefactor     .93613        .16193        .21710E-03   -.94890    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.78406e-11
Minuit parameter uncertainties:
  1  0.000166536
  2  2.03036e-05
  3  2.80024
  4  7.30706
  5  3.2693
  6  45.8154
  7  26.7676
  8  5.08796
  9  24.5499
  10  25.5262
  11  9.88783e-06
  12  18.6726
  13  3.60754e-05
  14  5.68574
  15  0.28822
  16  9.21234e-06
  17  2.06787e-07
  18  45.2691
  19  3.22013e-07
  20  0.000271429
  21  2.42698e-06
  22  0.25966
  23  0.162009
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.414e+00  1.867e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  9.361e-01  1.620e-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.087e+00  2.597e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/844365/likelihoodResults_525225601_525484801_4FGL_J1454.1+1622_daily_bin1103.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) = 7309.77210867
delta logL = 0.0208624704601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7309.76994847
delta logL = 0.0230226697686

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0567       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0656       1.0000          .0000       10.000    
     3 'Normalizat'    1.0800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93800       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=   7309.770     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      263 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0582        22.212        .28819E-03   -.29705E-04
   2  Index         3.0655        3.0247        .62788E-02    .17375E-03
   3  Normalizat    1.0800        .24581        .30930E-03    .85077E-03
   4  Prefactor     .93799        .16108        .21691E-03    .95277E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.05815
  Index      = 3.0655
  Normalizat = 1.08
  Prefactor  = 0.937993
 **********
 **   18 **HESSE 
 **********

 FCN=   7309.770     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0582        18.226        .11528E-04   -1.5421    
   2  Index         3.0655        2.7824        .25115E-03   -.39727    
   3  Normalizat    1.0800        .24606        .61860E-04   -.90397    
   4  Prefactor     .93799        .16119        .43381E-04   -.94826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35851e-08
Minuit parameter uncertainties:
  1  12.254
  2  2.98698
  3  0.246325
  4  0.161269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844365': 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) = 7309.76994846
delta logL = 0.0230226846134

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.058e+00  1.225e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  3.065e+00  2.987e+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:  9.380e-01  1.613e-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.080e+00  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/844365/cmap_HighResolution_525225601_525484801_4FGL_J1454.1+1622_daily_bin1103.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-03', job_status='DONE', photon_flux_upper_limit='8.08e-08', time_completed='2021-09-10 12:46:52.143289', job_id='844365', GAL2='0.94', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1631303212.14', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.30e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1103' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:46:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 844365: <4FGL_J1454.1+1622_daily_bin1103> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1103 223.544 16.3747 525225601 525484801 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 :                                   642.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

