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


Performing analysis on: 4FGL_J2304.3+0618_daily_bin1779
RA = 346.078, Dec = 6.3071
tmin = 700444801, tmax = 700704001
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='40400', job_status='RUN', time_executed='2023-03-17 02:36:19.196542', time_epoch_executed='1679045779.2' WHERE source_name='4FGL J2304.3+0618' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/40400

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/40400/ft1_4FGL_J2304.3+0618_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/40400/ft2_4FGL_J2304.3+0618_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/40400/ft1_4FGL_J2304.3+0618_daily_bin1779.fits outfile=/scratch/kocevski/40400/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin1779.fits ra=346.078 dec=6.3071 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.32
user 5.06
sys 0.23

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

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

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/40400/ft1_filtered_4FGL_J2304.3+0618_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/40400/ft2_4FGL_J2304.3+0618_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/40400/ltcube_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.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/40400/ft2_4FGL_J2304.3+0618_daily_bin1779.fits
.....................!
real 12.23
user 11.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/40400/ft1_filtered_4FGL_J2304.3+0618_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/40400/ft2_4FGL_J2304.3+0618_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/40400/ltcube_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.fits outfile=/scratch/kocevski/40400/expmap_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.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/40400/ltcube_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.fits
.....................!
real 191.61
user 185.61
sys 5.65

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/40400/ft1_filtered_4FGL_J2304.3+0618_daily_bin1779.fits scfile=/scratch/kocevski/40400/ft2_4FGL_J2304.3+0618_daily_bin1779.fits outfile=/scratch/kocevski/40400/cmap_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/40400/ft1_filtered_4FGL_J2304.3+0618_daily_bin1779.fits scfile=/scratch/kocevski/40400/ft2_4FGL_J2304.3+0618_daily_bin1779.fits outfile=/scratch/kocevski/40400/cmap_HighResolution_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.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 0.55
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/40400/ft1_filtered_4FGL_J2304.3+0618_daily_bin1779.fits', '/scratch/kocevski/40400/ft2_4FGL_J2304.3+0618_daily_bin1779.fits', expMap='/scratch/kocevski/40400/expmap_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.fits', expCube='/scratch/kocevski/40400/ltcube_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/40400/Model_4FGL_J2304.3+0618_daily_bin1779.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  0.000e+00  1.000e+06 ( 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/40400/ft1_filtered_4FGL_J2304.3+0618_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/40400/ft2_4FGL_J2304.3+0618_daily_bin1779.fits
Exposure map: /scratch/kocevski/40400/expmap_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.fits
Exposure cube: /scratch/kocevski/40400/ltcube_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/40400/Model_4FGL_J2304.3+0618_daily_bin1779.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) = 6671.16317653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10982E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.9983       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13812E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .31790E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29017       1.0000         .10000E-03   10000.    
     6 'norm      '    17.204       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11395E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.7776       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.7013       1.0000          .0000       .10000E+07
    10 'norm      '    .20234       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.4503       1.0000          .0000       .10000E+07
    12 'Prefactor '    .24269E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .40291E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.8213       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15068E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .20881E-05   1.0000          .0000       .10000E+07
    17 'norm      '    154.60       1.0000          .0000       .10000E+07
    18 'Prefactor '    66.481       1.0000          .0000       .10000E+07
    19 'Prefactor '    .12353E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1464       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95795       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6670.602     FROM MIGRAD    STATUS=CONVERGED    173 CALLS     1709 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23759E-07    5.1807       -.12657E-05** at limit **
   2  Prefactor     1.9999        .32249        .16081E-06   -.77976E-03
   3  Prefactor     .10000E-03    16.283        .15157E-04** at limit **
   4  Prefactor     .29976E-08    6.8856       -.92619E-06** at limit **
   5  Prefactor     .29071        .13346       -.10659E-06    .22947E-03
   6  norm          17.021        11.895       -.11175E-05   -.36650E-01
   7  Prefactor     .39968E-08    20.371        .17277E-05** at limit **
   8  Prefactor     4.7771        5.9314        .68611E-06   -.16123E-04
   9  Prefactor     8.8977        2.0145       -.25202E-06    .14409E-01
  10  norm          .19469        2.1432       -.16384E-05** at limit **
  11  Prefactor     5.4793        6.4227       -.68829E-06   -.95875E-04
  12  Prefactor     .45691E-06    56.123       -.41031E-06** at limit **
  13  norm          .10880E-07    4.6729       -.81743E-06** at limit **
  14  Prefactor     1.8765        6.2080       -.70189E-06    .91887E-05
  15  Prefactor     .77716E-08    5.2527        .43367E-07** at limit **
  16  norm           .0000        6.3213        .10408E-05** at limit **
  17  norm          156.49        25.082       -.10384E-06   -.33672    
  18  Prefactor     70.339        42.765       -.51355E-06    .13160    
  19  Prefactor     .17042E-07    11.995        .67120E-06** at limit **
  20  Normalizat    1.1421        .28176        .12304E-04    .45447E-04
  21  Prefactor     .95861        .16029       -.18626E-06    .72108E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.37588e-08
  Prefactor  = 1.99988
  Prefactor  = 0.0001
  Prefactor  = 2.9976e-09
  Prefactor  = 0.290714
  norm       = 17.0209
  Prefactor  = 3.9968e-09
  Prefactor  = 4.77713
  Prefactor  = 8.89774
  norm       = 0.194695
  Prefactor  = 5.47929
  Prefactor  = 4.56912e-07
  norm       = 1.08802e-08
  Prefactor  = 1.87646
  Prefactor  = 7.77156e-09
  norm       = 0
  norm       = 156.488
  Prefactor  = 70.3392
  Prefactor  = 1.70419e-08
  Normalizat = 1.14214
  Prefactor  = 0.958614
 **********
 **   18 **HESSE 
 **********

 FCN=   6670.602     FROM HESSE     STATUS=OK           363 CALLS     2072 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23759E-07    8.6705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9999        .32386        .40126E-02   -1.5425    
   3  Prefactor     .10000E-03    4.2823        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .29976E-08    11.152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .29071        .13462        .43729E-02   -1.5600    
   6  norm          17.021        13.311        .24120E-03   -1.5625    
   7  Prefactor     .39968E-08    20.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.7771        5.9598        .46006E-03   -1.5664    
   9  Prefactor     8.8977        18.592        .33957E-03   -1.5648    
  10  norm          .19469        .95260        .26445E-02   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.4793        6.4347        .43017E-03   -1.5661    
  12  Prefactor     .45691E-06    56.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10880E-07    11.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8765        6.2247        .77342E-03   -1.5681    
  15  Prefactor     .77716E-08    8.7775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        6.3600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          156.49        55.781        .80433E-04   -1.5458    
  18  Prefactor     70.339        49.391        .12265E-03   -1.5540    
  19  Prefactor     .17042E-07    12.150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1421        .23813        .75326E-01   -.88410    
  21  Prefactor     .95861        .13595        .45739E-01   -.94122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7408e-06
Minuit parameter uncertainties:
  1  0.000907404
  2  0.323863
  3  3.12977e-05
  4  0.000366034
  5  0.134625
  6  13.3107
  7  0.00057007
  8  5.95977
  9  18.5926
  10  0.861316
  11  6.43467
  12  0.010124
  13  0.000706179
  14  6.2247
  15  0.000522581
  16  2.28204e-05
  17  55.7815
  18  49.3915
  19  0.000909739
  20  0.238352
  21  0.135999
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  3.997e-09  5.701e-04  0.000e+00  1.000e+06 ( 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:  9.586e-01  1.360e-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:  1.142e+00  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.078 6.307
Photon Flux Upper Limit: 9.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/40400/likelihoodResults_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.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) = 6670.62528096
delta logL = -0.0235916350248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6670.60168953
delta logL = -2.10382495425e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71020E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.8664       1.0000          .0000       10.000    
     3 'Normalizat'    1.1421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95861       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.

 FCN=   6670.602     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      230 TOTAL
                     EDM=   .58E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10547E-08    .41374E-01    .42118E-03** at limit **
   2  Index         3.9699        6.0459        .50000        .59117E-09
   3  Normalizat    1.1421        .46419E-03    .75326E-01   -.26133E-04
   4  Prefactor     .95861        .27579E-03    .45748E-01   -.29717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.05471e-09
  Index      = 3.96995
  Normalizat = 1.14214
  Prefactor  = 0.958614
 **********
 **   18 **HESSE 
 **********

 FCN=   6670.602     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      263 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10547E-08    .29060        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.9699        5.2426        .50000       -.20750    
   3  Normalizat    1.1421        .12206E-02    .33338E-03   -.88410    
   4  Prefactor     .95861        .72610E-03    .21305E-03   -.94122    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.0504e-12
Minuit parameter uncertainties:
  1  3.49462e-05
  2  4610.83
  3  0.00122061
  4  0.000726097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/40400': 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) = 6670.60168932
delta logL = 2.0008883439e-11

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  1.055e-09  3.495e-05  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  3.970e+00  4.611e+03  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:  9.586e-01  7.261e-04  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:  1.142e+00  1.221e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.078 6.307

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/40400/cmap_HighResolution_700444801_700704001_4FGL_J2304.3+0618_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', job_status='DONE', photon_flux_upper_limit='9.05e-08', time_completed='2023-03-17 02:46:38.187903', job_id='40400', GAL2='0.96', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1679046398.19', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1779' AND source_name='4FGL J2304.3+0618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:46:38 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 40400: <4FGL_J2304.3+0618_daily_bin1779> in cluster <slac> Done

Job <4FGL_J2304.3+0618_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 02:35:17 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:35:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:35:18 2023
Terminated at Fri Mar 17 02:46:38 2023
Results reported at Fri Mar 17 02:46:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.3+0618_daily_bin1779 346.078 6.3071 700444801 700704001 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 :                                   621.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            681 sec.

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

