/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 52 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 = 7248
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin465
RA = 223.544, Dec = 16.3747
tmin = 359856001, tmax = 360115201
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='841319', job_status='RUN', time_executed='2021-09-10 12:24:18.995918', time_epoch_executed='1631301859.0' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/841319

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/841319/ft1_4FGL_J1454.1+1622_daily_bin465.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/841319/ft2_4FGL_J1454.1+1622_daily_bin465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/841319/ft1_4FGL_J1454.1+1622_daily_bin465.fits outfile=/scratch/kocevski/841319/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin465.fits ra=223.544 dec=16.3747 rad=12.0 tmin=359856001.0 tmax=360115201.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.46
user 3.03
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/841319/ft2_4FGL_J1454.1+1622_daily_bin465.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/841319/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin465.fits evtable="EVENTS" outfile="/scratch/kocevski/841319/ft1_filtered_4FGL_J1454.1+1622_daily_bin465.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.60
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/841319/ft1_filtered_4FGL_J1454.1+1622_daily_bin465.fits" evtable="EVENTS" scfile=/scratch/kocevski/841319/ft2_4FGL_J1454.1+1622_daily_bin465.fits sctable="SC_DATA" outfile=/scratch/kocevski/841319/ltcube_359856001_360115201_4FGL_J1454.1+1622_daily_bin465.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/841319/ft2_4FGL_J1454.1+1622_daily_bin465.fits
.....................!
real 11.94
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/841319/ft1_filtered_4FGL_J1454.1+1622_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/841319/ft2_4FGL_J1454.1+1622_daily_bin465.fits sctable="SC_DATA" expcube=/scratch/kocevski/841319/ltcube_359856001_360115201_4FGL_J1454.1+1622_daily_bin465.fits outfile=/scratch/kocevski/841319/expmap_359856001_360115201_4FGL_J1454.1+1622_daily_bin465.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/841319/ltcube_359856001_360115201_4FGL_J1454.1+1622_daily_bin465.fits
.....................!
real 192.88
user 186.71
sys 4.42

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/841319/ft1_filtered_4FGL_J1454.1+1622_daily_bin465.fits scfile=/scratch/kocevski/841319/ft2_4FGL_J1454.1+1622_daily_bin465.fits outfile=/scratch/kocevski/841319/cmap_359856001_360115201_4FGL_J1454.1+1622_daily_bin465.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.55
user 0.39
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.9908       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10596E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.0768       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.659       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17127E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0914       1.0000         .10000E-03   10000.    
    15 'norm      '    .61811E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    59.962       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .57440       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.4201       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.527       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0054       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1007       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=   6579.890     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     3337 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.864       -.88628E-05** at limit **
   2  Prefactor     .10000E-03    2.4525       -.80449E-07** at limit **
   3  norm          2.9908        2.3963       -.15341E-07   -.43529E-04
   4  Prefactor     .10000E-03    3.8196       -.44413E-08** at limit **
   5  norm          .10000E-03    .76255       -.26335E-07** at limit **
   6  Prefactor     .10000E-03    29.982        .52556E-05** at limit **
   7  norm          8.0813        17.163       -.33653E-05   -.82254E-04
   8  norm          .10000E-03    1.0715        .57776E-07** at limit **
   9  Prefactor     26.660        20.917       -.40043E-06    .29109E-05
  10  Prefactor     .10006E-03    17.089       -.35308E-06** at limit **
  11  Prefactor     .10000E-03    8.4035       -.17704E-06** at limit **
  12  Prefactor     .10000E-03    18.321        .53758E-06** at limit **
  13  Prefactor     .10000E-03    17.961       -.37486E-05** at limit **
  14  Prefactor     3.0913        2.9934        .62351E-06   -.15109E-02
  15  norm          .61738E-01    .14440       -.35178E-08   -.59384E-03
  16  norm          .10000E-03    2.0763        .10065E-06** at limit **
  17  norm          .10000E-03    20.166        .66522E-05** at limit **
  18  Prefactor     59.962        42.817       -.52245E-06    .46484E-05
  19  Prefactor     .57495        5.0021       -.12432E-05    .25325E-03
  20  Prefactor     6.4216        27.434       -.78619E-06   -.24053E-05
  21  Prefactor     24.528        33.066       -.13972E-06    .18067E-05
  22  Normalizat    1.0053        .20509        .14239E-07    .12848E-03
  23  Prefactor     1.1007        .13807        .40695E-06    .11370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.99082
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 8.08131
  norm       = 0.0001
  Prefactor  = 26.6595
  Prefactor  = 0.000100058
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.09126
  norm       = 0.0617376
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 59.9615
  Prefactor  = 0.574948
  Prefactor  = 6.42159
  Prefactor  = 24.5279
  Normalizat = 1.00531
  Prefactor  = 1.10071
 **********
 **   18 **HESSE 
 **********

 FCN=   6579.890     FROM HESSE     STATUS=OK           376 CALLS     3713 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4580        .12403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9908        2.3894        .10884E-03   -1.5362    
   4  Prefactor     .10000E-03    9.1495        .30382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    .77094        .69158E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.0813        17.301        .14108E-03   -1.5139    
   8  norm          .10000E-03    1.0754        .81993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.660        20.918        .77588E-04   -1.4675    
  10  Prefactor     .10006E-03    156.99        .63533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.4427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0913        6.6212        .11533E-02   -1.5356    
  15  norm          .61738E-01    .15306        .43942E-03   -1.5658    
  16  norm          .10000E-03    2.0767        .11415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    20.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     59.962        42.784        .51814E-04   -1.4158    
  19  Prefactor     .57495        12.085        .34760E-02   -1.5556    
  20  Prefactor     6.4216        27.400        .15840E-03   -1.5201    
  21  Prefactor     24.528        33.055        .80884E-04   -1.4717    
  22  Normalizat    1.0053        .24075        .29240E-03   -.92853    
  23  Prefactor     1.1007        .16587        .19174E-03   -.89444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44183e-08
Minuit parameter uncertainties:
  1  0.000161591
  2  6.46627e-07
  3  2.3895
  4  2.5826e-05
  5  3.90729e-07
  6  0.000306809
  7  17.3117
  8  1.55336e-07
  9  20.9239
  10  0.00605411
  11  2.58666e-06
  12  1.04897e-05
  13  5.98313e-05
  14  6.62275
  15  0.153059
  16  3.97965e-07
  17  0.000110111
  18  42.8063
  19  5.27269
  20  26.5499
  21  33.0798
  22  0.241006
  23  0.165947
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.049e-05  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.101e+00  1.659e-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.005e+00  2.410e-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: 7.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/841319/likelihoodResults_359856001_360115201_4FGL_J1454.1+1622_daily_bin465.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) = 6579.89073179
delta logL = -0.000258598061009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6579.89047247
delta logL = 7.26804501028e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9653       1.0000          .0000       10.000    
     3 'Normalizat'    1.0053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1007       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=   6579.890     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      247 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.912        .90712E-02** at limit **
   2  Index         2.9775        7.5105        .50000       -.45334E-05
   3  Normalizat    1.0053        .38793E-02    .66108E-01    .77223E-04
   4  Prefactor     1.1007        .26609E-02    .37560E-01    .69913E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.97751
  Normalizat = 1.00531
  Prefactor  = 1.10071
 **********
 **   18 **HESSE 
 **********

 FCN=   6579.890     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      280 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    66.297        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9775        5.7688        .50000       -.41643    
   3  Normalizat    1.0053        .80203E-02    .29240E-03   -.92853    
   4  Prefactor     1.1007        .55082E-02    .19174E-03   -.89444    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.63005e-08
Minuit parameter uncertainties:
  1  0.00035712
  2  209.956
  3  0.00802032
  4  0.00550822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/841319': 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) = 6579.89047245
delta logL = 7.44218596083e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  3.571e-04  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.978e+00  2.100e+02  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.101e+00  5.508e-03  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.005e+00  8.020e-03  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/841319/cmap_HighResolution_359856001_360115201_4FGL_J1454.1+1622_daily_bin465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-03', job_status='DONE', photon_flux_upper_limit='7.04e-08', time_completed='2021-09-10 12:35:24.200353', job_id='841319', GAL2='1.10', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631302524.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='7.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='465' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:35:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 841319: <4FGL_J1454.1+1622_daily_bin465> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin465> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 12:22:18 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:22:19 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:22:19 2021
Terminated at Fri Sep 10 12:35:25 2021
Results reported at Fri Sep 10 12:35:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin465 223.544 16.3747 359856001 360115201 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 :                                   654.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            787 sec.

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

