/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 42 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_gri/nfs/farm/lsb_spool2/kocevski/1643789294.489359: line 8: 46033 Quit                    (core dumped) /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1643 223.544 16.3747 665193601 665452801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 number of points = 7502
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1643
RA = 223.544, Dec = 16.3747
tmin = 665193601, tmax = 665452801
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='489361', job_status='RUN', time_executed='2022-02-02 00:13:21.027951', time_epoch_executed='1643789601.03' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1643'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/489361

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/489361/ft1_4FGL_J1454.1+1622_daily_bin1643.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/489361/ft2_4FGL_J1454.1+1622_daily_bin1643.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/489361/ft1_4FGL_J1454.1+1622_daily_bin1643.fits outfile=/scratch/kocevski/489361/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1643.fits ra=223.544 dec=16.3747 rad=12.0 tmin=665193601.0 tmax=665452801.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.62
user 3.42
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/489361/ft1_filtered_4FGL_J1454.1+1622_daily_bin1643.fits" evtable="EVENTS" scfile=/scratch/kocevski/489361/ft2_4FGL_J1454.1+1622_daily_bin1643.fits sctable="SC_DATA" outfile=/scratch/kocevski/489361/ltcube_665193601_665452801_4FGL_J1454.1+1622_daily_bin1643.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/489361/ft2_4FGL_J1454.1+1622_daily_bin1643.fits
.....................!
real 20.03
user 19.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/489361/ft1_filtered_4FGL_J1454.1+1622_daily_bin1643.fits evtable="EVENTS" scfile=/scratch/kocevski/489361/ft2_4FGL_J1454.1+1622_daily_bin1643.fits sctable="SC_DATA" expcube=/scratch/kocevski/489361/ltcube_665193601_665452801_4FGL_J1454.1+1622_daily_bin1643.fits outfile=/scratch/kocevski/489361/expmap_665193601_665452801_4FGL_J1454.1+1622_daily_bin1643.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/489361/ltcube_665193601_665452801_4FGL_J1454.1+1622_daily_bin1643.fits
.....................!
real 191.08
user 186.17
sys 4.61

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/489361/ft1_filtered_4FGL_J1454.1+1622_daily_bin1643.fits scfile=/scratch/kocevski/489361/ft2_4FGL_J1454.1+1622_daily_bin1643.fits outfile=/scratch/kocevski/489361/cmap_665193601_665452801_4FGL_J1454.1+1622_daily_bin1643.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/489361/ft1_filtered_4FGL_J1454.1+1622_daily_bin1643.fits scfile=/scratch/kocevski/489361/ft2_4FGL_J1454.1+1622_daily_bin1643.fits outfile=/scratch/kocevski/489361/cmap_HighResolution_665193601_665452801_4FGL_J1454.1+1622_daily_bin1643.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.544 yref=16.3747 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.261       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.6269       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21012E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .10597E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.7362       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1714       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.164       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.021       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .26043       1.0000         .10000E-03   10000.    
    16 'norm      '    5.8642       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.186       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.439       1.0000         .10000E-03   10000.    
    21 'Prefactor '    36.295       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1154       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0205       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=   7626.282     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2539 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.263        31.753        .14004E-02   -.23602E-03
   2  Prefactor     .10000E-03    4.3526        .90712E-02** at limit **
   3  norm          5.6272        2.4654        .42338E-02   -.28417E-03
   4  Prefactor     .10000E-03    3.1810        .90712E-02** at limit **
   5  norm          .10000E-03    1.5832        .90712E-02** at limit **
   6  Prefactor     .10007E-03    167.53        .91276E-02** at limit **
   7  norm          .10001E-03    55.997        .90712E-02** at limit **
   8  norm          6.7368        3.9292        .38650E-02    .12624E-03
   9  Prefactor     5.1717        19.586        .44195E-02   -.52909E-04
  10  Prefactor     25.150        23.335        .19964E-02   -.20476E-02
  11  Prefactor     10.022        10.333        .31646E-02   -.95106E-03
  12  Prefactor     .10000E-03    8.0025        .90712E-02** at limit **
  13  Prefactor     .10000E-03    13.741        .90712E-02** at limit **
  14  Prefactor     .10000E-03    3.2488        .90712E-02** at limit **
  15  norm          .26050        .16450        .58781E-02    .31781E-02
  16  norm          5.8642        6.1723        .41459E-02   -.14857E-03
  17  norm          .10000E-03    12.980        .90712E-02** at limit **
  18  Prefactor     10.191        31.636        .31387E-02    .17698E-04
  19  Prefactor     .10000E-03    9.6853        .90712E-02** at limit **
  20  Prefactor     22.449        32.603        .21139E-02   -.13600E-03
  21  Prefactor     36.300        40.957        .16631E-02   -.53049E-03
  22  Normalizat    1.1151        .20259        .66781E-01   -.30859E-03
  23  Prefactor     1.0206        .13050        .42092E-01   -.81005E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.263
  Prefactor  = 0.0001
  norm       = 5.62723
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100071
  norm       = 0.00010001
  norm       = 6.73678
  Prefactor  = 5.17169
  Prefactor  = 25.1497
  Prefactor  = 10.0216
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.260499
  norm       = 5.86423
  norm       = 0.000100001
  Prefactor  = 10.1914
  Prefactor  = 0.0001
  Prefactor  = 22.4489
  Prefactor  = 36.3003
  Normalizat = 1.11514
  Prefactor  = 1.02056
 **********
 **   18 **HESSE 
 **********

 FCN=   7626.282     FROM HESSE     STATUS=OK           358 CALLS     2897 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.263        31.801        .56015E-04   -1.4275    
   2  Prefactor     .10000E-03    4.3866        .17779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.6272        2.4673        .88241E-04   -1.5233    
   4  Prefactor     .10000E-03    3.2077        .15203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6271        .21441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10007E-03    172.73        .36511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10001E-03    57.812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.7368        3.9297        .12822E-03   -1.5189    
   9  Prefactor     5.1717        19.575        .17678E-03   -1.5253    
  10  Prefactor     25.150        23.319        .79855E-04   -1.4705    
  11  Prefactor     10.022        10.331        .63291E-03   -1.5075    
  12  Prefactor     .10000E-03    8.0112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.2624        .15371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .26050        .15948        .26620E-04   -1.5606    
  16  norm          5.8642        6.1714        .16584E-03   -1.5224    
  17  norm          .10000E-03    12.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.191        31.649        .12555E-03   -1.5069    
  19  Prefactor     .10000E-03    9.8232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     22.449        32.682        .84558E-04   -1.4760    
  21  Prefactor     36.300        40.964        .66523E-04   -1.4502    
  22  Normalizat    1.1151        .24402        .29544E-03   -.89267    
  23  Prefactor     1.0206        .15721        .20409E-03   -.92047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27304e-08
Minuit parameter uncertainties:
  1  31.8114
  2  2.79841e-06
  3  2.4673
  4  1.06327e-05
  5  4.43331e-05
  6  0.00703945
  7  0.00151236
  8  3.92985
  9  19.5988
  10  23.3272
  11  10.3329
  12  5.04836e-05
  13  9.25168e-05
  14  2.08313e-05
  15  0.15948
  16  6.17202
  17  0.000164657
  18  31.7009
  19  8.56002e-06
  20  32.7078
  21  40.9953
  22  0.244268
  23  0.15728
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  5.048e-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.021e+00  1.573e-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.115e+00  2.443e-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.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/489361/likelihoodResults_665193601_665452801_4FGL_J1454.1+1622_daily_bin1643.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) = 7626.2823739
delta logL = -0.000593757816205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7626.28178021
delta logL = -7.32779881218e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3964       1.0000          .0000       10.000    
     3 'Normalizat'    1.1152       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0205       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=   7626.282     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10125E-03    142.68        .18142E-02** at limit **
   2  Index         2.3239        5.5100        .50000        .10126E-04
   3  Normalizat    1.1151        .20468E-01    .29544E-03   -.10390E-05
   4  Prefactor     1.0206        .13673E-01    .20409E-03   -.61276E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101247
  Index      = 2.32386
  Normalizat = 1.11513
  Prefactor  = 1.02056
 **********
 **   18 **HESSE 
 **********

 FCN=   7626.282     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10125E-03    574.44        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3239        8.7605        .50000       -.56478    
   3  Normalizat    1.1151        .44300E-01    .11818E-04   -.89267    
   4  Prefactor     1.0206        .29592E-01    .81634E-05   -.92047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.50672e-08
Minuit parameter uncertainties:
  1  0.0540637
  2  1343.33
  3  0.0443014
  4  0.0295928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/489361': 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) = 7626.28177998
delta logL = 1.56754140335e-07

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.012e-04  5.406e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.324e+00  1.343e+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.021e+00  2.959e-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.115e+00  4.430e-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/489361/cmap_HighResolution_665193601_665452801_4FGL_J1454.1+1622_daily_bin1643.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.25e-03', job_status='DONE', photon_flux_upper_limit='5.50e-08', time_completed='2022-02-02 00:24:17.199125', job_id='489361', GAL2='1.02', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1643790257.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.57e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1643' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb  2 00:24:17 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 489361: <4FGL_J1454.1+1622_daily_bin1643> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1643> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Feb  2 00:08:14 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb  2 00:10:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb  2 00:10:15 2022
Terminated at Wed Feb  2 00:24:17 2022
Results reported at Wed Feb  2 00:24:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1643 223.544 16.3747 665193601 665452801 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 :                                   658.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             312.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            963 sec.

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

