aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 40 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1769
RA = 223.544, Dec = 16.3747
tmin = 697852801, tmax = 698112001
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='437197', job_status='RUN', time_executed='2023-02-15 00:56:20.695912', time_epoch_executed='1676451380.7' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/437197

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/437197/ft1_4FGL_J1454.1+1622_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/437197/ft2_4FGL_J1454.1+1622_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/437197/ft1_4FGL_J1454.1+1622_daily_bin1769.fits outfile=/scratch/kocevski/437197/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1769.fits ra=223.544 dec=16.3747 rad=12.0 tmin=697852801.0 tmax=698112001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.37
user 4.12
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/437197/ft2_4FGL_J1454.1+1622_daily_bin1769.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/437197/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/437197/ft1_filtered_4FGL_J1454.1+1622_daily_bin1769.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.48
user 0.36
sys 0.12

Number of photons that the gtmktime cut: 693

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/437197/ft1_filtered_4FGL_J1454.1+1622_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/437197/ft2_4FGL_J1454.1+1622_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/437197/ltcube_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.fits outfile=/scratch/kocevski/437197/expmap_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.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/437197/ltcube_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.fits
.....................!
real 192.98
user 188.14
sys 4.49

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/437197/ft1_filtered_4FGL_J1454.1+1622_daily_bin1769.fits scfile=/scratch/kocevski/437197/ft2_4FGL_J1454.1+1622_daily_bin1769.fits outfile=/scratch/kocevski/437197/cmap_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/437197/ft1_filtered_4FGL_J1454.1+1622_daily_bin1769.fits scfile=/scratch/kocevski/437197/ft2_4FGL_J1454.1+1622_daily_bin1769.fits outfile=/scratch/kocevski/437197/cmap_HighResolution_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.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.54
user 0.35
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/437197/ft1_filtered_4FGL_J1454.1+1622_daily_bin1769.fits', '/scratch/kocevski/437197/ft2_4FGL_J1454.1+1622_daily_bin1769.fits', expMap='/scratch/kocevski/437197/expmap_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.fits', expCube='/scratch/kocevski/437197/ltcube_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/437197/Model_4FGL_J1454.1+1622_daily_bin1769.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  0.000e+00  1.000e+06 ( 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/437197/ft1_filtered_4FGL_J1454.1+1622_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/437197/ft2_4FGL_J1454.1+1622_daily_bin1769.fits
Exposure map: /scratch/kocevski/437197/expmap_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.fits
Exposure cube: /scratch/kocevski/437197/ltcube_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/437197/Model_4FGL_J1454.1+1622_daily_bin1769.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) = 7362.78824907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.608       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.1050       1.0000          .0000       .10000E+07
     3 'norm      '    .68848       1.0000          .0000       .10000E+07
     4 'norm      '    .11181E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .39289E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .11034E-01   1.0000          .0000       .10000E+07
     7 'norm      '    2.5574       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.6480       1.0000          .0000       .10000E+07
     9 'Prefactor '    .39084E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    24.849       1.0000          .0000       .10000E+07
    11 'Prefactor '    11.538       1.0000          .0000       .10000E+07
    12 'norm      '    .72288       1.0000          .0000       .10000E+07
    13 'norm      '    .86321E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .96583E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    32.282       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32821       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.5211       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .71468       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7362.746     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1308 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     88.147        34.353       -.99655E-07   -.13602    
   2  Prefactor     2.1329        5.7928        .44832E-07    .11809E-02
   3  norm          .68898        .93643       -.13267E-07   -.37478E-02
   4  norm          .55511E-10    1.8207       -.38141E-07** at limit **
   5  Prefactor     .22204E-09    11.833        .12987E-06** at limit **
   6  norm          .55511E-10    8.4303        .20676E-08** at limit **
   7  norm          2.5615        2.5242        .22383E-07    .30871E-02
   8  Prefactor     8.0007        16.776       -.22546E-06   -.42437E-01
   9  Prefactor      .0000        9.2528       -.10721E-08** at limit **
  10  Prefactor     25.067        15.203        .44955E-07    .10941    
  11  Prefactor     11.589        9.1800       -.84607E-07   -.48305E-02
  12  norm          .72358        .20750       -.65778E-08   -.41785E-01
  13  norm           .0000        2.6831       -.18533E-07** at limit **
  14  norm          .49960E-09    18.849        .12572E-06** at limit **
  15  Prefactor     34.171        34.471        .38157E-06    .15404    
  16  Prefactor     .35837E-02    467.60       -.35647E-05** at limit **
  17  Normalizat    1.5166        .24281        .81342E-06   -.15206E-03
  18  Prefactor     .71575        .15002       -.10707E-05   -.25155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 88.1468
  Prefactor  = 2.13289
  norm       = 0.688977
  norm       = 5.55112e-11
  Prefactor  = 2.22045e-10
  norm       = 5.55112e-11
  norm       = 2.56149
  Prefactor  = 8.00066
  Prefactor  = 0
  Prefactor  = 25.0674
  Prefactor  = 11.5888
  norm       = 0.723581
  norm       = 0
  norm       = 4.996e-10
  Prefactor  = 34.1708
  Prefactor  = 0.00358375
  Normalizat = 1.51661
  Prefactor  = 0.715752
 **********
 **   18 **HESSE 
 **********

 FCN=   7362.746     FROM HESSE     STATUS=OK           288 CALLS     1596 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     88.147        37.885        .10746E-03   -1.5520    
   2  Prefactor     2.1329        5.8213        .71090E-03   -1.5679    
   3  norm          .68898        .94756        .61648E-03   -1.5691    
   4  norm          .55511E-10    1.8113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    11.862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    8.4480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5615        2.5126        .63814E-03   -1.5676    
   8  Prefactor     8.0007        26.214        .36238E-03   -1.5651    
   9  Prefactor      .0000        9.2631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.067        24.374        .20065E-03   -1.5608    
  11  Prefactor     11.589        9.1929        .29468E-03   -1.5640    
  12  norm          .72358        .20825        .45202E-03   -1.5691    
  13  norm           .0000        2.6856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .49960E-09    18.848        .14022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     34.171        41.276        .17603E-03   -1.5591    
  16  Prefactor     .35837E-02    19.000        .13178E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.5166        .20262        .58376E-01   -.77313    
  18  Prefactor     .71575        .12621        .42596E-01   -1.0291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02991e-06
Minuit parameter uncertainties:
  1  37.8848
  2  5.82132
  3  0.947556
  4  1.55528e-05
  5  9.67042e-05
  6  4.17499e-05
  7  2.51264
  8  26.2144
  9  1.5957e-05
  10  24.3743
  11  9.19291
  12  0.208247
  13  5.09449e-06
  14  0.000196578
  15  41.2768
  16  0.521885
  17  0.202727
  18  0.126263
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.507e+01  2.437e+01  0.000e+00  1.000e+06 ( 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:  7.158e-01  1.263e-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.517e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.04
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.76e-08 +/- 3.65e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.18e-05

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

Saving results to:
/scratch/kocevski/437197/likelihoodResults_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.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) = 7362.54875637
delta logL = 0.197372657034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7362.53877149
delta logL = 0.207357531081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.465       1.0000          .0000       .10000E+07
     2 'Index     '    2.9915       1.0000          .0000       10.000    
     3 'Normalizat'    1.4838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72812       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=   7362.539     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      297 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.458        27.847        .98624E-05   -.30720E-02
   2  Index         2.9922        1.1725        .75236E-02   -.46008E-04
   3  Normalizat    1.4837        .24063        .26039E-03   -.32265E-04
   4  Prefactor     .72829        .15163        .22977E-03   -.23334E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.4582
  Index      = 2.99219
  Normalizat = 1.4837
  Prefactor  = 0.728293
 **********
 **   18 **HESSE 
 **********

 FCN=   7362.539     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.458        22.196        .39449E-06   -1.5627    
   2  Index         2.9922        .93662        .30094E-03   -.41322    
   3  Normalizat    1.4837        .23899        .10416E-04   -.78237    
   4  Prefactor     .72829        .15105        .91909E-05   -1.0243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4428e-10
Minuit parameter uncertainties:
  1  22.1966
  2  0.943282
  3  0.239172
  4  0.151132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/437197': 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) = 7362.53876895
delta logL = 0.207360079056

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.646e+01  2.220e+01  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.992e+00  9.433e-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:  7.283e-01  1.511e-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.484e+00  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.99 +/- 0.94
Photon Flux (Free Index): 6.39e-08 +/- 5.92e-08
Energy Flux (Free Index): 1.28e-05 +/- 9.88e-06

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/437197/cmap_HighResolution_697852801_698112001_4FGL_J1454.1+1622_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.97e-03', comment='SUCCESS', photon_flux='3.76e-08', energy_flux2='1.28e-05', photon_flux_error='3.65e-08', dlogl='2.07e-01', energy_flux='1.22e-05', photon_flux2='6.39e-08', job_status='DONE', time_completed='2023-02-15 01:04:56.984155', photon_index_error2='0.94', photon_index2='2.99', ts='2.04', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='9.88e-06', EG='1.52', time_epoch_completed='1676451896.98', return_code='0', job_id='437197', GAL2='0.73', EG2='1.48', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='5.92e-08', ts2='2.48', photon_index='2.41' WHERE bin_id='1769' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:04:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 437197: <4FGL_J1454.1+1622_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 00:55:24 2023
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:55:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:55:26 2023
Terminated at Wed Feb 15 01:04:57 2023
Results reported at Wed Feb 15 01:04:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1769 223.544 16.3747 697852801 698112001 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 :                                   518.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            573 sec.

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

