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


Performing analysis on: 4FGL_J2304.3+0618_daily_bin1700
RA = 346.078, Dec = 6.3071
tmin = 679968001, tmax = 680227201
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='83454', job_status='RUN', time_executed='2022-07-23 00:37:06.456219', time_epoch_executed='1658561826.46' WHERE source_name='4FGL J2304.3+0618' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83454

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83454/ft1_4FGL_J2304.3+0618_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83454/ft1_4FGL_J2304.3+0618_daily_bin1700.fits outfile=/scratch/kocevski/83454/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin1700.fits ra=346.078 dec=6.3071 rad=12.0 tmin=679968001.0 tmax=680227201.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.65
user 4.38
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.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/83454/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin1700.fits evtable="EVENTS" outfile="/scratch/kocevski/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.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.51
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 725

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83454/ltcube_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.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/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits
.....................!
real 11.76
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83454/ltcube_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.fits outfile=/scratch/kocevski/83454/expmap_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.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/83454/ltcube_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.fits
.....................!
real 191.44
user 185.54
sys 5.50

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J2304.3+0618 @ 346.078 6.3071

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.fits scfile=/scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits outfile=/scratch/kocevski/83454/cmap_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.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=346.078 yref=6.3071 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.94
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.fits scfile=/scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits outfile=/scratch/kocevski/83454/cmap_HighResolution_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.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=346.078 yref=6.3071 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 1.22
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83454/Model_4FGL_J2304.3+0618_daily_bin1700.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/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.fits.....................!
real 82.60
user 76.60
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.fits', '/scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits', expMap='/scratch/kocevski/83454/expmap_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.fits', expCube='/scratch/kocevski/83454/ltcube_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83454/Model_4FGL_J2304.3+0618_daily_bin1700.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2304.3+0618'

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.761e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/83454/ft1_filtered_4FGL_J2304.3+0618_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83454/ft2_4FGL_J2304.3+0618_daily_bin1700.fits
Exposure map: /scratch/kocevski/83454/expmap_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83454/ltcube_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83454/Model_4FGL_J2304.3+0618_daily_bin1700.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) = 7909.58888862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.839       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .52140       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.414       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .24460E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0500       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4764       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.513       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.013       1.0000         .10000E-03   10000.    
    12 'norm      '    .25250       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.9415       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.4649       1.0000         .10000E-03   10000.    
    17 'Prefactor '    144.07       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .19901E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    13.834       1.0000         .10000E-03   10000.    
    22 'Prefactor '    25.234       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.8106       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .85264       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7909.572     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2948 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.837        27.030       -.12630E-07    .50671E-05
   2  Prefactor     .52135        .25148        .11517E-07    .26265E-04
   3  Prefactor     14.413        8.7352        .26298E-07   -.10089E-05
   4  Prefactor     .10000E-03    202.68        .12856E-06** at limit **
   5  Prefactor     9.0491        11.144        .33764E-07   -.38323E-06
   6  Prefactor     1.4763        .23126        .36843E-08    .24663E-04
   7  norm          .10000E-03    22.606       -.22641E-07** at limit **
   8  Prefactor     35.518        34.337        .74840E-07    .54694E-05
   9  Prefactor     .10000E-03    1.9631        .50163E-08** at limit **
  10  Prefactor     .10000E-03    13.310        .36734E-07** at limit **
  11  Prefactor     15.012        16.825        .11281E-06    .12662E-04
  12  norm          .25141        .50705       -.26485E-06   -.25903E-02
  13  Prefactor     .10000E-03    3.0041       -.19962E-07** at limit **
  14  Prefactor     .10000E-03    43.853       -.10250E-06** at limit **
  15  norm          4.9411        7.3240        .60843E-07    .24498E-05
  16  Prefactor     6.4653        7.7708        .50669E-07    .10675E-04
  17  Prefactor     143.98        168.01        .81241E-05   -.42931E-04
  18  Prefactor     .10000E-03    17.577       -.20169E-05** at limit **
  19  Prefactor     .10000E-03    11.562        .89195E-08** at limit **
  20  norm          .10000E-03    6.5989       -.71398E-06** at limit **
  21  norm          13.844        19.684        .63143E-06    .34097E-04
  22  Prefactor     25.234        24.617       -.22984E-06    .91260E-05
  23  Prefactor     1.8089        41.101        .11972E-04   -.38227E-04
  24  Normalizat    .85284        .21329       -.26828E-06    .56136E-04
  25  Prefactor     1.0755        .12374       -.27352E-06    .78939E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.8369
  Prefactor  = 0.521349
  Prefactor  = 14.4132
  Prefactor  = 0.0001
  Prefactor  = 9.04913
  Prefactor  = 1.47626
  norm       = 0.0001
  Prefactor  = 35.5185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0121
  norm       = 0.251414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.9411
  Prefactor  = 6.46526
  Prefactor  = 143.983
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.000100005
  norm       = 13.8436
  Prefactor  = 25.2336
  Prefactor  = 1.80888
  Normalizat = 0.852835
  Prefactor  = 1.07545
 **********
 **   18 **HESSE 
 **********

 FCN=   7909.572     FROM HESSE     STATUS=OK           433 CALLS     3381 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.837        27.026        .69925E-04   -1.4561    
   2  Prefactor     .52135        .24905        .27321E-04   -1.5564    
   3  Prefactor     14.413        8.7345        .10550E-03   -1.4948    
   4  Prefactor     .10000E-03    210.90        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.0491        11.147        .13323E-03   -1.5106    
   6  Prefactor     1.4763        .23122        .16152E-04   -1.5465    
   7  norm          .10000E-03    23.478        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     35.518        34.386        .67249E-04   -1.4515    
   9  Prefactor     .10000E-03    1.9689        .12168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.012        16.842        .10337E-03   -1.4933    
  12  norm          .25141        .40751        .90465E-03   -1.5608    
  13  Prefactor     .10000E-03    3.0096        .15050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    43.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9411        7.2580        .18093E-03   -1.5263    
  16  Prefactor     6.4653        7.7139        .15785E-03   -1.5199    
  17  Prefactor     143.98        166.45        .16784E-03   -1.3302    
  18  Prefactor     .10000E-03    18.001        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    29.388        .44016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          13.844        19.535        .10769E-03   -1.4964    
  22  Prefactor     25.234        24.662        .79745E-04   -1.4703    
  23  Prefactor     1.8089        40.251        .15525E-02   -1.5439    
  24  Normalizat    .85284        .24218        .36169E-03   -.98138    
  25  Prefactor     1.0755        .14158        .19850E-03   -.90255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78181e-10
Minuit parameter uncertainties:
  1  27.0358
  2  0.249051
  3  8.73526
  4  0.000142348
  5  11.1495
  6  0.231216
  7  3.17442e-05
  8  34.405
  9  5.20388e-07
  10  7.77166e-06
  11  16.8475
  12  0.407515
  13  8.0872e-07
  14  2.76921e-05
  15  7.25928
  16  7.7151
  17  166.993
  18  0.000338647
  19  1.22091e-06
  20  0.000754362
  21  19.5441
  22  24.6724
  23  17.0782
  24  0.242491
  25  0.141634
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  3.552e+01  3.440e+01  1.000e-04  1.000e+04 ( 1.000e-13)
363        Index:  2.530e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.075e+00  1.416e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  8.528e-01  2.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.46
Ra Dec: 346.078 6.307
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 4.49e-08 +/- 4.35e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.22e-05

TS (Fixed Index): 1.46
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83454/likelihoodResults_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.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) = 7909.54407719
delta logL = 0.0276804031546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7909.53112216
delta logL = 0.0406354355609

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.449       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7782       1.0000          .0000       10.000    
     3 'Normalizat'    .84079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0802       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+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=   7909.531     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      267 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.433        42.202        .73830E-04   -.58591E-03
   2  Index         2.7806        1.0108        .79025E-02   -.32906E-03
   3  Normalizat    .84082        .23604        .36403E-03   -.14555E-02
   4  Prefactor     1.0802        .14214        .19812E-03   -.27944E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.4333
  Index      = 2.7806
  Normalizat = 0.840819
  Prefactor  = 1.08015
 **********
 **   18 **HESSE 
 **********

 FCN=   7909.531     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.433        38.309        .14766E-04   -1.4622    
   2  Index         2.7806        .91737        .31610E-03   -.45992    
   3  Normalizat    .84082        .23572        .72806E-04   -.98572    
   4  Prefactor     1.0802        .14197        .39625E-04   -.90103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71119e-09
Minuit parameter uncertainties:
  1  38.3411
  2  0.923906
  3  0.236005
  4  0.142023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83454': 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) = 7909.53111606
delta logL = 0.0406415340767

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  2.943e+01  3.834e+01  1.000e-04  1.000e+04 ( 1.000e-13)
363        Index:  2.781e+00  9.239e-01  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  8.008e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.080e+00  1.420e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  8.408e-01  2.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.54
Ra Dec: 346.078 6.307
Photon Index (Free Index): 2.78 +/- 0.92
Photon Flux (Free Index): 5.38e-08 +/- 5.62e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.14e-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/83454/cmap_HighResolution_679968001_680227201_4FGL_J2304.3+0618_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', photon_flux='4.49e-08', energy_flux2='1.22e-05', photon_flux_error='4.35e-08', dlogl='4.06e-02', energy_flux='1.26e-05', photon_flux2='5.38e-08', job_status='DONE', time_completed='2022-07-23 00:51:23.069636', photon_index_error2='0.92', photon_index2='2.78', ts='1.46', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.14e-05', EG='0.85', time_epoch_completed='1658562683.07', return_code='0', job_id='83454', GAL2='1.08', EG2='0.84', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='5.62e-08', ts2='1.54', photon_index='2.53' WHERE bin_id='1700' AND source_name='4FGL J2304.3+0618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:51:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 83454: <4FGL_J2304.3+0618_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2304.3+0618_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:49 2022
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:50 2022
Terminated at Sat Jul 23 00:51:23 2022
Results reported at Sat Jul 23 00:51:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.3+0618_daily_bin1700 346.078 6.3071 679968001 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2304.3+0618 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   804.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            934 sec.

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

