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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1285
RA = 223.544, Dec = 16.3747
tmin = 572400001, tmax = 572659201
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='844829', job_status='RUN', time_executed='2021-09-10 12:32:56.778457', time_epoch_executed='1631302376.78' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844829

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844829/ft1_4FGL_J1454.1+1622_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844829/ft2_4FGL_J1454.1+1622_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844829/ft1_4FGL_J1454.1+1622_daily_bin1285.fits outfile=/scratch/kocevski/844829/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1285.fits ra=223.544 dec=16.3747 rad=12.0 tmin=572400001.0 tmax=572659201.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.65
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844829/ft1_filtered_4FGL_J1454.1+1622_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/844829/ft2_4FGL_J1454.1+1622_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/844829/ltcube_572400001_572659201_4FGL_J1454.1+1622_daily_bin1285.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/844829/ft2_4FGL_J1454.1+1622_daily_bin1285.fits
.....................!
real 12.43
user 11.81
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844829/ft1_filtered_4FGL_J1454.1+1622_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/844829/ft2_4FGL_J1454.1+1622_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/844829/ltcube_572400001_572659201_4FGL_J1454.1+1622_daily_bin1285.fits outfile=/scratch/kocevski/844829/expmap_572400001_572659201_4FGL_J1454.1+1622_daily_bin1285.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/844829/ltcube_572400001_572659201_4FGL_J1454.1+1622_daily_bin1285.fits
.....................!
real 194.06
user 186.30
sys 5.40

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/844829/ft1_filtered_4FGL_J1454.1+1622_daily_bin1285.fits scfile=/scratch/kocevski/844829/ft2_4FGL_J1454.1+1622_daily_bin1285.fits outfile=/scratch/kocevski/844829/cmap_572400001_572659201_4FGL_J1454.1+1622_daily_bin1285.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=223.544 yref=16.3747 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    54.275       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4527       1.0000         .10000E-03   10000.    
     3 'norm      '    5.2676       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .66452       1.0000         .10000E-03   10000.    
     5 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24766E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.6351       1.0000         .10000E-03   10000.    
     8 'norm      '    2.3161       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    37.538       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.726       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.447       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4543       1.0000         .10000E-03   10000.    
    15 'norm      '    .58417       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    30.318       1.0000         .10000E-03   10000.    
    18 'Prefactor '    33.136       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12476E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3119       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .85400       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=   8574.327     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2641 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     54.305        33.685       -.14783E-06    .84001E-05
   2  Prefactor     4.4490        7.8615        .17683E-05    .40419E-03
   3  norm          5.2673        2.3510        .11458E-07   -.37751E-04
   4  Prefactor     .65144        4.3265       -.99150E-06    .27167E-03
   5  norm          .10000E-03    1.1584        .17442E-06** at limit **
   6  Prefactor     .10000E-03    36.885        .15339E-05** at limit **
   7  norm          7.6103        10.702       -.26351E-06   -.11927E-03
   8  norm          2.3151        4.3657        .37433E-06    .80949E-04
   9  Prefactor     .10000E-03    7.2724       -.79696E-07** at limit **
  10  Prefactor     37.544        24.610       -.22918E-06   -.60310E-04
  11  Prefactor     .10000E-03    6.2907       -.11136E-06** at limit **
  12  Prefactor     18.720        18.423        .18029E-05    .20528E-03
  13  Prefactor     31.445        32.942        .49607E-06    .56907E-04
  14  Prefactor     3.4538        5.4320        .11924E-06    .20471E-04
  15  norm          .58412        .17851        .11361E-07    .35421E-03
  16  norm          .10000E-03    1.9589        .16172E-07** at limit **
  17  norm          30.257        31.829        .14894E-05    .84446E-04
  18  Prefactor     33.220        35.950        .28668E-05    .17013E-03
  19  Prefactor     .10000E-03    10.882        .84215E-07** at limit **
  20  Prefactor     .12324E-03    46.491       -.50469E-05** at limit **
  21  Prefactor     .10000E-03    38.040       -.15425E-05** at limit **
  22  Normalizat    1.3123        .19834       -.48411E-06    .16836E-03
  23  Prefactor     .85381        .12198       -.57419E-06    .14106E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 54.3054
  Prefactor  = 4.44905
  norm       = 5.26732
  Prefactor  = 0.65144
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.61033
  norm       = 2.31515
  Prefactor  = 0.0001
  Prefactor  = 37.544
  Prefactor  = 0.0001
  Prefactor  = 18.7199
  Prefactor  = 31.4455
  Prefactor  = 3.45381
  norm       = 0.584121
  norm       = 0.0001
  norm       = 30.2568
  Prefactor  = 33.2198
  Prefactor  = 0.0001
  Prefactor  = 0.000123237
  Prefactor  = 0.0001
  Normalizat = 1.31231
  Prefactor  = 0.85381
 **********
 **   18 **HESSE 
 **********

 FCN=   8574.327     FROM HESSE     STATUS=OK           382 CALLS     3023 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     54.305        33.652        .54445E-04   -1.4233    
   2  Prefactor     4.4490        8.2593        .95414E-03   -1.5286    
   3  norm          5.2673        2.3519        .92223E-04   -1.5249    
   4  Prefactor     .65144        26.053        .30876E-02   -1.5547    
   5  norm          .10000E-03    2.0468        .19239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    37.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.6103        10.613        .14513E-03   -1.5156    
   8  norm          2.3151        4.3514        .25414E-03   -1.5404    
   9  Prefactor     .10000E-03    7.2786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     37.544        24.654        .65416E-04   -1.4482    
  11  Prefactor     .10000E-03    6.3109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.720        18.408        .92555E-04   -1.4842    
  13  Prefactor     31.445        32.933        .71452E-04   -1.4586    
  14  Prefactor     3.4538        5.4199        .21760E-03   -1.5336    
  15  norm          .58412        .17796        .20542E-04   -1.5555    
  16  norm          .10000E-03    1.9646        .12657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          30.257        31.839        .72766E-04   -1.4607    
  18  Prefactor     33.220        36.017        .69612E-04   -1.4555    
  19  Prefactor     .10000E-03    11.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .12324E-03    28.806        .12122       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    38.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3123        .24254        .28300E-03   -.83200    
  23  Prefactor     .85381        .14770        .21984E-03   -.97774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14147e-09
Minuit parameter uncertainties:
  1  33.664
  2  8.26146
  3  2.35192
  4  8.24264
  5  1.31001e-05
  6  0.000233348
  7  10.6155
  8  4.35199
  9  7.97137e-06
  10  24.6611
  11  1.11029e-05
  12  18.414
  13  32.9516
  14  5.42068
  15  0.177964
  16  1.41042e-06
  17  31.8571
  18  36.0401
  19  1.9333e-05
  20  0.0517691
  21  0.0001255
  22  0.242751
  23  0.147773
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  8.538e-01  1.478e-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.312e+00  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.30
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.81e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 9.09e-06 +/- 8.95e-06

TS (Fixed Index): 3.30
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844829/likelihoodResults_572400001_572659201_4FGL_J1454.1+1622_daily_bin1285.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) = 8573.5785192
delta logL = 0.748329097571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8573.57217686
delta logL = 0.754671435889

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.471       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5962       1.0000          .0000       10.000    
     3 'Normalizat'    1.3324       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84587       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=   8573.572     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.471        21.086        .22131E-02   -.29942E-02
   2  Index         1.5960        .43554        .28798       -.60185E-04
   3  Normalizat    1.3328        .18720        .63558E-01   -.38388E-04
   4  Prefactor     .84589        .12070        .44311E-01   -.49500E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.4706
  Index      = 1.59596
  Normalizat = 1.33281
  Prefactor  = 0.845894
 **********
 **   18 **HESSE 
 **********

 FCN=   8573.572     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.471        22.209        .88526E-04   -1.4803    
   2  Index         1.5960        .57481        .10144E-01   -.74887    
   3  Normalizat    1.3328        .22546        .28113E-03   -.82592    
   4  Prefactor     .84589        .14562        .22074E-03   -.98058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80174e-08
Minuit parameter uncertainties:
  1  22.2181
  2  0.577195
  3  0.225623
  4  0.145689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844829': 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) = 8573.57216801
delta logL = 0.754680288486

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.047e+01  2.222e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  1.596e+00  5.772e-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:  8.459e-01  1.457e-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.333e+00  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.82
Ra Dec: 223.544 16.375
Photon Index (Free Index): 1.60 +/- 0.58
Photon Flux (Free Index): 1.17e-08 +/- 1.52e-08
Energy Flux (Free Index): 2.69e-05 +/- 3.86e-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/844829/cmap_HighResolution_572400001_572659201_4FGL_J1454.1+1622_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-03', comment='SUCCESS', photon_flux='2.81e-08', energy_flux2='2.69e-05', photon_flux_error='2.76e-08', dlogl='7.55e-01', energy_flux='9.09e-06', photon_flux2='1.17e-08', job_status='DONE', time_completed='2021-09-10 12:44:50.942276', photon_index_error2='0.58', photon_index2='1.60', ts='3.30', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='3.86e-05', EG='1.31', time_epoch_completed='1631303090.94', return_code='0', job_id='844829', GAL2='0.85', EG2='1.33', return_code2='0', energy_flux_error='8.95e-06', photon_flux_error2='1.52e-08', ts2='4.82', photon_index='2.41' WHERE bin_id='1285' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:44:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 844829: <4FGL_J1454.1+1622_daily_bin1285> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1285 223.544 16.3747 572400001 572659201 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 :                                   709.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            742 sec.

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

