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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1645
RA = 223.544, Dec = 16.3747
tmin = 665712001, tmax = 665971201
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='621292', job_status='RUN', time_executed='2022-02-08 00:13:38.254306', time_epoch_executed='1644308018.25' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1645'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/621292

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/621292/ft1_4FGL_J1454.1+1622_daily_bin1645.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/621292/ft2_4FGL_J1454.1+1622_daily_bin1645.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/621292/ft1_4FGL_J1454.1+1622_daily_bin1645.fits outfile=/scratch/kocevski/621292/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1645.fits ra=223.544 dec=16.3747 rad=12.0 tmin=665712001.0 tmax=665971201.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 7.11
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/621292/ft2_4FGL_J1454.1+1622_daily_bin1645.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/621292/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1645.fits evtable="EVENTS" outfile="/scratch/kocevski/621292/ft1_filtered_4FGL_J1454.1+1622_daily_bin1645.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 2.14
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/621292/ft1_filtered_4FGL_J1454.1+1622_daily_bin1645.fits" evtable="EVENTS" scfile=/scratch/kocevski/621292/ft2_4FGL_J1454.1+1622_daily_bin1645.fits sctable="SC_DATA" outfile=/scratch/kocevski/621292/ltcube_665712001_665971201_4FGL_J1454.1+1622_daily_bin1645.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/621292/ft2_4FGL_J1454.1+1622_daily_bin1645.fits
.....................!
real 14.55
user 11.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/621292/ft1_filtered_4FGL_J1454.1+1622_daily_bin1645.fits evtable="EVENTS" scfile=/scratch/kocevski/621292/ft2_4FGL_J1454.1+1622_daily_bin1645.fits sctable="SC_DATA" expcube=/scratch/kocevski/621292/ltcube_665712001_665971201_4FGL_J1454.1+1622_daily_bin1645.fits outfile=/scratch/kocevski/621292/expmap_665712001_665971201_4FGL_J1454.1+1622_daily_bin1645.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/621292/ltcube_665712001_665971201_4FGL_J1454.1+1622_daily_bin1645.fits
.....................!
real 205.70
user 187.98
sys 6.00

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/621292/ft1_filtered_4FGL_J1454.1+1622_daily_bin1645.fits scfile=/scratch/kocevski/621292/ft2_4FGL_J1454.1+1622_daily_bin1645.fits outfile=/scratch/kocevski/621292/cmap_665712001_665971201_4FGL_J1454.1+1622_daily_bin1645.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.36
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8996       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6636       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0313       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4044       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10679E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .13543E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.7017       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.277       1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.263       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .61372       1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.714       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4015       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .86739E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10295E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.186       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1732       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86972       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=   6951.820     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2577 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8999        16.240        .19151E-06    .10559E-04
   2  Prefactor     1.6635        3.4828        .46331E-06    .15363E-03
   3  norm          3.0313        2.1577        .42503E-07    .65438E-04
   4  Prefactor     .10000E-03    1.5943       -.80105E-07** at limit **
   5  norm          2.4044        1.9833        .26056E-07    .70875E-04
   6  Prefactor     .10000E-03    64.079       -.86101E-07** at limit **
   7  norm          .10000E-03    39.853       -.13827E-06** at limit **
   8  norm          4.7014        4.1671        .13144E-06    .88054E-04
   9  Prefactor     10.278        14.914       -.42180E-06    .18935E-04
  10  Prefactor     40.270        24.915       -.46498E-06   -.10074E-04
  11  Prefactor     .59647        10.864       -.19105E-05    .53700E-03
  12  Prefactor     28.705        24.765        .11770E-05    .15783E-03
  13  Prefactor     3.4933        96.584       -.10885E-04   -.31259E-04
  14  Prefactor     .10000E-03    10.675       -.29597E-06** at limit **
  15  norm          .86740E-01    .11026        .11238E-06    .38361E-02
  16  norm          .10000E-03    4.3115       -.11525E-06** at limit **
  17  norm          .10000E-03    19.240        .14765E-06** at limit **
  18  Prefactor     .10000E-03    12.822       -.13932E-07** at limit **
  19  Prefactor     .10000E-03    2.1959       -.25874E-07** at limit **
  20  Prefactor     .10000E-03    17.313        .10626E-06** at limit **
  21  Prefactor     21.198        27.352        .18126E-06    .13333E-04
  22  Normalizat    1.1733        .19262        .95463E-06    .79344E-04
  23  Prefactor     .86967        .12534       -.72433E-06    .14327E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.89989
  Prefactor  = 1.66351
  norm       = 3.03134
  Prefactor  = 0.0001
  norm       = 2.40436
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.70137
  Prefactor  = 10.2777
  Prefactor  = 40.2697
  Prefactor  = 0.596472
  Prefactor  = 28.7049
  Prefactor  = 3.49327
  Prefactor  = 0.0001
  norm       = 0.08674
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1984
  Normalizat = 1.17326
  Prefactor  = 0.869669
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.820     FROM HESSE     STATUS=OK           376 CALLS     2953 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8999        16.221        .18171E-03   -1.5265    
   2  Prefactor     1.6635        3.4423        .21866E-03   -1.5450    
   3  norm          3.0313        2.1527        .10035E-03   -1.5360    
   4  Prefactor     .10000E-03    1.5993        .10280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4044        1.9769        .10327E-03   -1.5398    
   6  Prefactor     .10000E-03    64.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    40.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.7014        4.1653        .15474E-03   -1.5274    
   9  Prefactor     10.278        14.896        .12499E-03   -1.5067    
  10  Prefactor     40.270        24.952        .63171E-04   -1.4438    
  11  Prefactor     .59647        52.105        .41626E-02   -1.5554    
  12  Prefactor     28.705        24.562        .74766E-04   -1.4636    
  13  Prefactor     3.4933        97.569        .21936E-03   -1.5334    
  14  Prefactor     .10000E-03    10.954        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .86740E-01    .10202        .31080E-03   -1.5649    
  16  norm          .10000E-03    4.3618        .16908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    19.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1977        .12066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    17.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.198        27.350        .87019E-04   -1.4787    
  22  Normalizat    1.1733        .22696        .26571E-03   -.87433    
  23  Prefactor     .86967        .14886        .20125E-03   -.97209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.24813e-09
Minuit parameter uncertainties:
  1  16.2351
  2  3.44272
  3  2.15278
  4  2.4327e-06
  5  1.97694
  6  4.56692e-05
  7  9.0254e-06
  8  4.16558
  9  14.9014
  10  24.9587
  11  11.1589
  12  24.5707
  13  36.9896
  14  1.6201e-05
  15  0.102017
  16  6.77097e-06
  17  7.41006e-06
  18  3.03769e-06
  19  9.58024e-07
  20  1.95793e-05
  21  27.3665
  22  0.227152
  23  0.148926
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  8.697e-01  1.489e-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.173e+00  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.00
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.30e-08 +/- 3.68e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/621292/likelihoodResults_665712001_665971201_4FGL_J1454.1+1622_daily_bin1645.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) = 6951.71763359
delta logL = 0.102616802985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6951.69360471
delta logL = 0.12664568331

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.632       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0954       1.0000          .0000       10.000    
     3 'Normalizat'    1.1850       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86492       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=   6951.694     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      239 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.630        29.239        .68096E-04    .62256E-03
   2  Index         2.0960        .60959        .95864E-02    .23245E-03
   3  Normalizat    1.1854        .22335        .26457E-03    .59819E-03
   4  Prefactor     .86479        .14803        .20177E-03    .81448E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.6304
  Index      = 2.09596
  Normalizat = 1.18539
  Prefactor  = 0.864791
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.694     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.630        29.003        .13619E-04   -1.4530    
   2  Index         2.0960        .60460        .38346E-03   -.61972    
   3  Normalizat    1.1854        .22350        .52915E-04   -.87055    
   4  Prefactor     .86479        .14814        .40353E-04   -.97382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88085e-09
Minuit parameter uncertainties:
  1  29.0144
  2  0.606841
  3  0.22368
  4  0.148213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/621292': 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) = 6951.69360054
delta logL = 0.126649859142

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  8.648e-01  1.482e-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.185e+00  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.26
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.10 +/- 0.61
Photon Flux (Free Index): 3.33e-08 +/- 3.55e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.93e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/621292/cmap_HighResolution_665712001_665971201_4FGL_J1454.1+1622_daily_bin1645.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.20e-03', comment='SUCCESS', photon_flux='4.30e-08', energy_flux2='1.84e-05', photon_flux_error='3.68e-08', dlogl='1.27e-01', energy_flux='1.39e-05', photon_flux2='3.33e-08', job_status='DONE', time_completed='2022-02-08 00:24:28.958683', photon_index_error2='0.61', photon_index2='2.10', ts='3.00', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.93e-05', EG='1.17', time_epoch_completed='1644308668.96', return_code='0', job_id='621292', GAL2='0.86', EG2='1.19', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='3.55e-08', ts2='3.26', photon_index='2.41' WHERE bin_id='1645' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb  8 00:24:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 621330: <4FGL_J1454.1+1622_daily_bin1645> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1645> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Feb  8 00:08:18 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:09:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:09:12 2022
Terminated at Tue Feb  8 00:21:25 2022
Results reported at Tue Feb  8 00:21:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1645 223.544 16.3747 665712001 665971201 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 :                                   640.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             263.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            787 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 621292: <4FGL_J1454.1+1622_daily_bin1645> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1645> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb  8 00:08:15 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb  8 00:09:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb  8 00:09:10 2022
Terminated at Tue Feb  8 00:24:29 2022
Results reported at Tue Feb  8 00:24:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1645 223.544 16.3747 665712001 665971201 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 :                                   631.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            974 sec.

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

