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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1618
RA = 223.544, Dec = 16.3747
tmin = 658713601, tmax = 658972801
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='376003', job_status='RUN', time_executed='2021-12-08 01:40:49.615400', time_epoch_executed='1638956449.62' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1618'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376003

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376003/ft1_4FGL_J1454.1+1622_daily_bin1618.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376003/ft2_4FGL_J1454.1+1622_daily_bin1618.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376003/ft1_4FGL_J1454.1+1622_daily_bin1618.fits outfile=/scratch/kocevski/376003/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1618.fits ra=223.544 dec=16.3747 rad=12.0 tmin=658713601.0 tmax=658972801.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 2.99
user 2.78
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376003/ft1_filtered_4FGL_J1454.1+1622_daily_bin1618.fits" evtable="EVENTS" scfile=/scratch/kocevski/376003/ft2_4FGL_J1454.1+1622_daily_bin1618.fits sctable="SC_DATA" outfile=/scratch/kocevski/376003/ltcube_658713601_658972801_4FGL_J1454.1+1622_daily_bin1618.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/376003/ft2_4FGL_J1454.1+1622_daily_bin1618.fits
.....................!
real 13.79
user 13.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376003/ft1_filtered_4FGL_J1454.1+1622_daily_bin1618.fits evtable="EVENTS" scfile=/scratch/kocevski/376003/ft2_4FGL_J1454.1+1622_daily_bin1618.fits sctable="SC_DATA" expcube=/scratch/kocevski/376003/ltcube_658713601_658972801_4FGL_J1454.1+1622_daily_bin1618.fits outfile=/scratch/kocevski/376003/expmap_658713601_658972801_4FGL_J1454.1+1622_daily_bin1618.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/376003/ltcube_658713601_658972801_4FGL_J1454.1+1622_daily_bin1618.fits
.....................!
real 190.45
user 185.56
sys 4.53

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/376003/ft1_filtered_4FGL_J1454.1+1622_daily_bin1618.fits scfile=/scratch/kocevski/376003/ft2_4FGL_J1454.1+1622_daily_bin1618.fits outfile=/scratch/kocevski/376003/cmap_658713601_658972801_4FGL_J1454.1+1622_daily_bin1618.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376003/ft1_filtered_4FGL_J1454.1+1622_daily_bin1618.fits scfile=/scratch/kocevski/376003/ft2_4FGL_J1454.1+1622_daily_bin1618.fits outfile=/scratch/kocevski/376003/cmap_HighResolution_658713601_658972801_4FGL_J1454.1+1622_daily_bin1618.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.294       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .58535E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8223       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .73714E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    41.913       1.0000         .10000E-03   10000.    
     8 'norm      '    2.1338       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2324       1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.365       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.516       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6005       1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .12145E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.143       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.4604       1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.686       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1161       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0403       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=   8289.061     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     3045 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.284        25.321       -.15787E-06    .16594E-03
   2  Prefactor     .10000E-03    5.4567       -.26607E-06** at limit **
   3  norm          .10000E-03    .57543       -.15636E-06** at limit **
   4  Prefactor     .10000E-03    28.500       -.14734E-04** at limit **
   5  norm          1.8217        2.4564       -.11205E-06    .34553E-03
   6  Prefactor     .10005E-03    89.618        .77988E-05** at limit **
   7  norm          41.889        25.328       -.92094E-06   -.71681E-04
   8  norm          2.1339        2.3565       -.63104E-07    .73162E-04
   9  Prefactor     3.2296        17.572       -.38543E-05    .12807E-03
  10  Prefactor     29.361        29.434       -.11781E-06    .60323E-04
  11  Prefactor     .10000E-03    10.178       -.59756E-06** at limit **
  12  Prefactor     .10000E-03    6.4617       -.11672E-06** at limit **
  13  Prefactor     24.520        41.241        .67146E-06    .44340E-04
  14  Prefactor     4.5995        8.4571       -.19824E-06    .72922E-04
  15  norm          .10000E-03    .46991E-01   -.31759E-07** at limit **
  16  norm          .10000E-03    8.1596       -.28918E-06** at limit **
  17  norm          .10000E-03    12.382        .25265E-06** at limit **
  18  Prefactor     30.127        48.366       -.12536E-05    .10250E-03
  19  Prefactor     8.4604        8.5401       -.11538E-06    .56350E-04
  20  Prefactor     24.665        41.408       -.17852E-05    .11433E-03
  21  Prefactor     .10000E-03    33.421        .76695E-06** at limit **
  22  Normalizat    1.1164        .20193       -.61445E-07    .47058E-03
  23  Prefactor     1.0402        .12885        .94503E-06    .60731E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.2836
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.82169
  Prefactor  = 0.000100048
  norm       = 41.8885
  norm       = 2.13391
  Prefactor  = 3.22961
  Prefactor  = 29.3611
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5197
  Prefactor  = 4.59947
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 30.1267
  Prefactor  = 8.4604
  Prefactor  = 24.6648
  Prefactor  = 0.0001
  Normalizat = 1.11645
  Prefactor  = 1.04016
 **********
 **   18 **HESSE 
 **********

 FCN=   8289.061     FROM HESSE     STATUS=OK           366 CALLS     3411 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.284        25.299        .72795E-04   -1.4607    
   2  Prefactor     .10000E-03    5.5439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .89595        .13392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.019        .28733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8217        2.4296        .15643E-03   -1.5438    
   6  Prefactor     .10005E-03    93.215        .20950E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          41.889        25.388        .61920E-04   -1.4413    
   8  norm          2.1339        2.3432        .14246E-03   -1.5416    
   9  Prefactor     3.2296        17.787        .11265E-02   -1.5349    
  10  Prefactor     29.361        29.403        .73934E-04   -1.4624    
  11  Prefactor     .10000E-03    10.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.4643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.520        41.243        .80903E-04   -1.4717    
  14  Prefactor     4.5995        8.4407        .18766E-03   -1.5279    
  15  norm          .10000E-03    .51587E-01    .38385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.5647        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    12.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.127        48.305        .72977E-04   -1.4610    
  19  Prefactor     8.4604        8.5343        .13782E-03   -1.5126    
  20  Prefactor     24.665        41.347        .80624E-04   -1.4714    
  21  Prefactor     .10000E-03    33.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1164        .23844        .30219E-03   -.89225    
  23  Prefactor     1.0402        .15371        .20515E-03   -.91403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03416e-09
Minuit parameter uncertainties:
  1  25.3075
  2  3.10218e-05
  3  4.22899e-06
  4  0.000321185
  5  2.42975
  6  0.00425444
  7  25.3941
  8  2.34333
  9  15.165
  10  29.4172
  11  3.92928e-05
  12  9.59519e-06
  13  41.2914
  14  8.44292
  15  5.17227e-07
  16  7.72391e-05
  17  2.69672e-05
  18  48.368
  19  8.53551
  20  41.3954
  21  5.8298e-05
  22  0.238669
  23  0.153773
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  9.595e-06  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.040e+00  1.538e-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.116e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/376003/likelihoodResults_658713601_658972801_4FGL_J1454.1+1622_daily_bin1618.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): 102
logL (Free Index) = 8289.06173577
delta logL = -0.000736261315978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8289.06099971
delta logL = -1.99768692255e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3965       1.0000          .0000       10.000    
     3 'Normalizat'    1.1163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0403       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=   8289.061     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      239 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10146E-03    123.78        .18142E-02** at limit **
   2  Index         2.3156        8.2992        .50000        .12672E-04
   3  Normalizat    1.1164        .20809E-01    .30219E-03   -.61699E-05
   4  Prefactor     1.0402        .13771E-01    .20515E-03   -.14741E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010146
  Index      = 2.31557
  Normalizat = 1.11645
  Prefactor  = 1.04016
 **********
 **   18 **HESSE 
 **********

 FCN=   8289.061     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10146E-03    491.22        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3156        5.9902        .50000       -.56674    
   3  Normalizat    1.1164        .44858E-01    .12087E-04   -.89225    
   4  Prefactor     1.0402        .29686E-01    .82060E-05   -.91403    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.41969e-08
Minuit parameter uncertainties:
  1  0.0540109
  2  1304.49
  3  0.0448591
  4  0.0296866
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376003': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8289.0609993
delta logL = 2.10106009035e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.015e-04  5.401e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.316e+00  1.304e+03  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.040e+00  2.969e-02  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.116e+00  4.486e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/376003/cmap_HighResolution_658713601_658972801_4FGL_J1454.1+1622_daily_bin1618.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-03', job_status='DONE', photon_flux_upper_limit='5.20e-08', time_completed='2021-12-08 01:52:39.845979', job_id='376003', GAL2='1.04', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1638957159.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1618' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:52:39 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 376003: <4FGL_J1454.1+1622_daily_bin1618> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1618> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Dec  8 01:40:20 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:40:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 01:40:39 2021
Terminated at Wed Dec  8 01:52:40 2021
Results reported at Wed Dec  8 01:52:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1618 223.544 16.3747 658713601 658972801 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 :                                   707.00 sec.
    Max Memory :                                 1208 MB
    Average Memory :                             303.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            740 sec.

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

