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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1025
RA = 223.544, Dec = 16.3747
tmin = 505008001, tmax = 505267201
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='844172', job_status='RUN', time_executed='2021-09-10 12:36:18.812489', time_epoch_executed='1631302578.81' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844172/ft1_4FGL_J1454.1+1622_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844172/ft2_4FGL_J1454.1+1622_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844172/ft1_4FGL_J1454.1+1622_daily_bin1025.fits outfile=/scratch/kocevski/844172/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1025.fits ra=223.544 dec=16.3747 rad=12.0 tmin=505008001.0 tmax=505267201.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.52
user 4.27
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844172/ft1_filtered_4FGL_J1454.1+1622_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/844172/ft2_4FGL_J1454.1+1622_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/844172/ltcube_505008001_505267201_4FGL_J1454.1+1622_daily_bin1025.fits outfile=/scratch/kocevski/844172/expmap_505008001_505267201_4FGL_J1454.1+1622_daily_bin1025.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/844172/ltcube_505008001_505267201_4FGL_J1454.1+1622_daily_bin1025.fits
.....................!
real 189.97
user 185.72
sys 3.74

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/844172/ft1_filtered_4FGL_J1454.1+1622_daily_bin1025.fits scfile=/scratch/kocevski/844172/ft2_4FGL_J1454.1+1622_daily_bin1025.fits outfile=/scratch/kocevski/844172/cmap_505008001_505267201_4FGL_J1454.1+1622_daily_bin1025.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 1.30
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844172/ft1_filtered_4FGL_J1454.1+1622_daily_bin1025.fits scfile=/scratch/kocevski/844172/ft2_4FGL_J1454.1+1622_daily_bin1025.fits outfile=/scratch/kocevski/844172/cmap_HighResolution_505008001_505267201_4FGL_J1454.1+1622_daily_bin1025.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 2.07
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5941       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.7846       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7281       1.0000         .10000E-03   10000.    
     5 'norm      '    3.9900       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      '    9.9192       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15686E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.873       1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.378       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .96951       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.053       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.548       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2191       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.735       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .61073       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2966       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=   6804.447     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2500 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6009        32.902        .27507E-05    .83674E-04
   2  Prefactor     .10000E-03    19.953        .25475E-06** at limit **
   3  norm          8.7851        3.4390        .65228E-07    .24712E-04
   4  Prefactor     2.7290        7.1743        .91939E-06   -.80275E-04
   5  norm          3.9910        3.6852       -.13907E-06   -.64555E-03
   6  Prefactor     .10000E-03    19.098       -.25824E-05** at limit **
   7  norm          .10000E-03    9.9414        .28501E-06** at limit **
   8  norm          9.9200        4.8917        .33714E-07   -.79429E-04
   9  Prefactor     .10000E-03    21.243        .23835E-05** at limit **
  10  Prefactor     .10002E-03    44.231       -.67129E-05** at limit **
  11  Prefactor     .10000E-03    8.5140       -.30750E-08** at limit **
  12  Prefactor     24.881        27.615        .16579E-05    .17597E-03
  13  Prefactor     35.382        32.713        .75292E-06    .11120E-03
  14  Prefactor     .10000E-03    2.4264        .22879E-07** at limit **
  15  norm          .96942        .25190        .12267E-07    .29688E-03
  16  norm          .10000E-03    2.0062        .40783E-08** at limit **
  17  norm          12.035        38.830       -.52341E-05   -.20048E-03
  18  Prefactor     17.557        46.543        .30463E-05    .81487E-04
  19  Prefactor     4.2207        7.9533        .64031E-05   -.75147E-03
  20  Prefactor     .10002E-03    37.457        .57560E-05** at limit **
  21  Prefactor     33.738        44.623        .11962E-05    .27256E-04
  22  Normalizat    .61066        .24323       -.27070E-05   -.29557E-04
  23  Prefactor     1.2965        .15472        .93905E-07   -.52535E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.60088
  Prefactor  = 0.0001
  norm       = 8.78514
  Prefactor  = 2.72901
  norm       = 3.99104
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 9.91998
  Prefactor  = 0.000100002
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 24.881
  Prefactor  = 35.382
  Prefactor  = 0.0001
  norm       = 0.969416
  norm       = 0.0001
  norm       = 12.035
  Prefactor  = 17.5568
  Prefactor  = 4.22066
  Prefactor  = 0.000100018
  Prefactor  = 33.7379
  Normalizat = 0.610656
  Prefactor  = 1.29651
 **********
 **   18 **HESSE 
 **********

 FCN=   6804.447     FROM HESSE     STATUS=OK           366 CALLS     2866 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6009        32.923        .12938E-03   -1.5088    
   2  Prefactor     .10000E-03    20.524        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.7851        3.4383        .92548E-04   -1.5115    
   4  Prefactor     2.7290        7.1136        .24654E-03   -1.5378    
   5  norm          3.9910        3.6853        .14321E-03   -1.5308    
   6  Prefactor     .10000E-03    19.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    9.9811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.9200        4.8912        .12391E-03   -1.5078    
   9  Prefactor     .10000E-03    21.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    46.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.5367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.881        27.662        .80320E-04   -1.4710    
  13  Prefactor     35.382        32.738        .67377E-04   -1.4518    
  14  Prefactor     .10000E-03    2.4309        .12548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .96942        .25157        .20039E-04   -1.5511    
  16  norm          .10000E-03    2.0067        .11411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.035        39.610        .11539E-03   -1.5014    
  18  Prefactor     17.557        46.629        .95610E-04   -1.4870    
  19  Prefactor     4.2207        8.2079        .98092E-03   -1.5297    
  20  Prefactor     .10002E-03    38.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     33.738        44.590        .68992E-04   -1.4546    
  22  Normalizat    .61066        .26715        .39520E-03   -1.0753    
  23  Prefactor     1.2965        .17299        .19022E-03   -.83411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01655e-09
Minuit parameter uncertainties:
  1  32.9852
  2  5.5493e-05
  3  3.43834
  4  7.11585
  5  3.68546
  6  0.000532931
  7  6.10225e-05
  8  4.8914
  9  0.00045924
  10  0.001857
  11  2.02595e-05
  12  27.6765
  13  32.7544
  14  1.46458e-06
  15  0.251573
  16  7.74478e-07
  17  39.6971
  18  46.7258
  19  8.21004
  20  0.00165726
  21  44.6344
  22  0.267721
  23  0.173069
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.488e+01  2.768e+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.297e+00  1.731e-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:  6.107e-01  2.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.20
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.73e-08 +/- 4.15e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.34e-05

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

Saving results to:
/scratch/kocevski/844172/likelihoodResults_505008001_505267201_4FGL_J1454.1+1622_daily_bin1025.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) = 6804.07048483
delta logL = 0.376863212008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6804.03952124
delta logL = 0.407826797938

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5875       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4985       1.0000          .0000       10.000    
     3 'Normalizat'    .55172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3221       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6804.040     FROM MIGRAD    STATUS=FAILED       104 CALLS      304 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6041        251.00        .68395E-03   -.23919E-04
   2  Index         3.4984        6.7400        .62894E-02    .63860E-03
   3  Normalizat    .55169        .27689        .41444E-03    .24688E-06
   4  Prefactor     1.3220        .17990        .18858E-03   -.12479E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6804.040     FROM SIMPLEX   STATUS=UNCHANGED     88 CALLS      392 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6041        251.00        .26307E-03   -.23919E-04
   2  Index         3.4984        6.7400        .13769E-02    .63860E-03
   3  Normalizat    .55169        .27689        .27914E-03    .24688E-06
   4  Prefactor     1.3220        .17990        .17791E-03   -.12479E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6804.040     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      424 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6041        21.790        .27358E-04   -.31166E-04
   2  Index         3.4984        1.4822        .12579E-02   -.64983E-05
   3  Normalizat    .55169        .26253        .16578E-04    .27431E-06
   4  Prefactor     1.3220        .17502        .75432E-05   -.12660E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.60407
  Index      = 3.49835
  Normalizat = 0.551686
  Prefactor  = 1.32204
 **********
 **   18 **HESSE 
 **********

 FCN=   6804.040     FROM HESSE     STATUS=OK            23 CALLS      447 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6041        19.400        .10943E-05   -1.5121    
   2  Index         3.4984        1.3234        .50315E-04   -.30504    
   3  Normalizat    .55169        .26199        .33155E-05   -1.1008    
   4  Prefactor     1.3220        .17471        .15086E-05   -.82654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27363e-12
Minuit parameter uncertainties:
  1  19.4145
  2  1.34096
  3  0.262575
  4  0.174787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844172': 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) = 6804.03951867
delta logL = 0.407829369103

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  8.604e+00  1.941e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  3.498e+00  1.341e+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:  1.322e+00  1.748e-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:  5.517e-01  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.10
Ra Dec: 223.544 16.375
Photon Index (Free Index): 3.50 +/- 1.34
Photon Flux (Free Index): 8.21e-08 +/- 7.18e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.11e-05

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/844172/cmap_HighResolution_505008001_505267201_4FGL_J1454.1+1622_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', photon_flux='3.73e-08', energy_flux2='1.37e-05', photon_flux_error='4.15e-08', dlogl='4.08e-01', energy_flux='1.21e-05', photon_flux2='8.21e-08', job_status='DONE', time_completed='2021-09-10 12:46:56.364723', photon_index_error2='1.34', photon_index2='3.50', ts='1.20', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', photon_flux_upper_limit='1.31e-07', energy_flux_error2='1.11e-05', EG='0.61', time_epoch_completed='1631303216.36', return_code='0', job_id='844172', GAL2='1.32', EG2='0.55', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='7.18e-08', ts2='2.10', photon_index='2.41' WHERE bin_id='1025' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:46:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 844172: <4FGL_J1454.1+1622_daily_bin1025> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1025 223.544 16.3747 505008001 505267201 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 :                                   618.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             222.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            897 sec.

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

