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


Performing analysis on: 4FGL_J2304.3+0618_daily_bin1747
RA = 346.078, Dec = 6.3071
tmin = 692150401, tmax = 692409601
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='816098', job_status='RUN', time_executed='2022-12-11 01:51:35.803122', time_epoch_executed='1670752295.8' WHERE source_name='4FGL J2304.3+0618' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816098

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816098/ft1_4FGL_J2304.3+0618_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816098/ft2_4FGL_J2304.3+0618_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816098/ft1_4FGL_J2304.3+0618_daily_bin1747.fits outfile=/scratch/kocevski/816098/ft1_filteredMKT_4FGL_J2304.3+0618_daily_bin1747.fits ra=346.078 dec=6.3071 rad=12.0 tmin=692150401.0 tmax=692409601.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.00
user 3.76
sys 0.22

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

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

Number of photons that the gtmktime cut: 742

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816098/ft1_filtered_4FGL_J2304.3+0618_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816098/ft2_4FGL_J2304.3+0618_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/816098/ltcube_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.fits outfile=/scratch/kocevski/816098/expmap_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.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/816098/ltcube_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.fits
.....................!
real 190.47
user 185.00
sys 5.15

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/816098/ft1_filtered_4FGL_J2304.3+0618_daily_bin1747.fits scfile=/scratch/kocevski/816098/ft2_4FGL_J2304.3+0618_daily_bin1747.fits outfile=/scratch/kocevski/816098/cmap_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816098/ft1_filtered_4FGL_J2304.3+0618_daily_bin1747.fits scfile=/scratch/kocevski/816098/ft2_4FGL_J2304.3+0618_daily_bin1747.fits outfile=/scratch/kocevski/816098/cmap_HighResolution_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/816098/ft1_filtered_4FGL_J2304.3+0618_daily_bin1747.fits', '/scratch/kocevski/816098/ft2_4FGL_J2304.3+0618_daily_bin1747.fits', expMap='/scratch/kocevski/816098/expmap_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.fits', expCube='/scratch/kocevski/816098/ltcube_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/816098/Model_4FGL_J2304.3+0618_daily_bin1747.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/816098/ft1_filtered_4FGL_J2304.3+0618_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/816098/ft2_4FGL_J2304.3+0618_daily_bin1747.fits
Exposure map: /scratch/kocevski/816098/expmap_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.fits
Exposure cube: /scratch/kocevski/816098/ltcube_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/816098/Model_4FGL_J2304.3+0618_daily_bin1747.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) = 7576.10095525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87223E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.4199       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17529E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.7810       1.0000         .10000E-03   10000.    
     6 'norm      '    32.870       1.0000          .0000       .10000E+07
     7 'Prefactor '    .79292E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .36392E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .97310E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.2272       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72709E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .35246E-01   1.0000          .0000       .10000E+07
    13 'norm      '    11.046       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7943       1.0000          .0000       .10000E+07
    15 'Prefactor '    21.418       1.0000          .0000       .10000E+07
    16 'norm      '    41.775       1.0000          .0000       .10000E+07
    17 'norm      '    29.243       1.0000          .0000       .10000E+07
    18 'Prefactor '    77.260       1.0000          .0000       .10000E+07
    19 'Prefactor '    53.470       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1331       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79479       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=   7576.100     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1681 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13434E-07    10.834       -.12939E-06** at limit **
   2  Prefactor     2.4199        .32467        .28986E-07    .16256E-02
   3  Prefactor     .10000E-03    3.5685        .82452E-06** at limit **
   4  Prefactor     .17764E-08    7.0050       -.84804E-07** at limit **
   5  Prefactor     1.7810        .23518        .14097E-07    .15020E-02
   6  norm          32.880        1.1944        .29655E-08   -.11743E-01
   7  Prefactor     .48223E-06    15.638       -.32190E-07** at limit **
   8  Prefactor     .55334E-06    15.851       -.12967E-06** at limit **
   9  Prefactor     .13534E-06    23.245        .13375E-06** at limit **
  10  norm          1.2277        1.2030       -.94546E-08    .17458E-03
  11  Prefactor     .55511E-10    3.3039        .53464E-07** at limit **
  12  Prefactor     .27756E-09    27.098       -.26157E-06** at limit **
  13  norm          11.008        11.126       -.26514E-07   -.33179E-02
  14  Prefactor     6.8105        9.5213       -.61706E-07    .49484E-03
  15  Prefactor     21.427        2.4197        .99535E-09   -.60535E-02
  16  norm          41.774        1.5802        .66051E-09   -.89105E-02
  17  norm          29.037        18.794        .19767E-07   -.77760E-01
  18  Prefactor     77.673        39.614       -.23012E-07   -.10122    
  19  Prefactor     53.310        16.494        .12699E-07   -.86865E-01
  20  Normalizat    1.1330        .26063        .24379E-05    .16275E-03
  21  Prefactor     .79489        .14733       -.31936E-06    .19708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.34337e-08
  Prefactor  = 2.41994
  Prefactor  = 0.0001
  Prefactor  = 1.77636e-09
  Prefactor  = 1.78099
  norm       = 32.8798
  Prefactor  = 4.82225e-07
  Prefactor  = 5.53335e-07
  Prefactor  = 1.35336e-07
  norm       = 1.22773
  Prefactor  = 5.55112e-11
  Prefactor  = 2.77556e-10
  norm       = 11.0084
  Prefactor  = 6.81049
  Prefactor  = 21.4274
  norm       = 41.7736
  norm       = 29.0373
  Prefactor  = 77.6727
  Prefactor  = 53.3097
  Normalizat = 1.13301
  Prefactor  = 0.794894
 **********
 **   18 **HESSE 
 **********

 FCN=   7576.100     FROM HESSE     STATUS=OK           361 CALLS     2042 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13434E-07    10.848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4199        .32506        .39335E-02   -1.5397    
   3  Prefactor     .10000E-03    3.5546        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .17764E-08    7.0138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7810        .23520        .33191E-02   -1.5441    
   6  norm          32.880        17.941        .17445E-03   -1.5593    
   7  Prefactor     .48223E-06    16.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55334E-06    16.514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .13534E-06    23.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2277        1.2278        .10157E-02   -1.5686    
  11  Prefactor     .55511E-10    3.3069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27756E-09    27.017        .16186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.008        11.479        .30119E-03   -1.5642    
  14  Prefactor     6.8105        9.6713        .38469E-03   -1.5656    
  15  Prefactor     21.427        17.731        .21614E-03   -1.5615    
  16  norm          41.774        18.129        .15473E-03   -1.5579    
  17  norm          29.037        34.673        .18495E-03   -1.5600    
  18  Prefactor     77.673        47.701        .11378E-03   -1.5532    
  19  Prefactor     53.310        32.507        .13677E-03   -1.5562    
  20  Normalizat    1.1330        .23097        .76537E-01   -.88699    
  21  Prefactor     .79489        .12674        .43649E-01   -.99917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93013e-07
Minuit parameter uncertainties:
  1  0.000763024
  2  0.325058
  3  2.17465e-05
  4  0.000221614
  5  0.235201
  6  17.9409
  7  0.00563144
  8  0.00604587
  9  0.00355723
  10  1.2278
  11  2.06401e-05
  12  0.000180468
  13  11.4788
  14  9.67134
  15  17.7312
  16  18.1295
  17  34.6728
  18  47.7008
  19  32.5067
  20  0.231177
  21  0.126787
Done.

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

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  4.822e-07  5.631e-03  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:  7.949e-01  1.268e-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.133e+00  2.312e-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: 7.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/816098/likelihoodResults_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.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) = 7576.12925804
delta logL = -0.0292210473863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7576.10003698
delta logL = 9.29503585212e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     2 'Index     '    .81378       1.0000          .0000       10.000    
     3 'Normalizat'    1.1330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79490       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7576.100     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .61E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        11.429        .42118E-03** at limit **
   2  Index         3.1770        1.9787        .19409E-04     .0000    
   3  Normalizat    1.1330        1.1350       -.10428E-04   -.65882E-04
   4  Prefactor     .79489        1.1436        .64156E-05   -.10566E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.17701
  Normalizat = 1.13301
  Prefactor  = 0.794894
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7576.100     FROM HESSE     STATUS=FAILED         9 CALLS      220 TOTAL
                     EDM=   .61E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        11.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1361        2.2137        .19409E-04   -.37320    
   3  Normalizat    1.1330        1.1350       -.10428E-04   -.88699    
   4  Prefactor     .79489        1.1436        .64156E-05   -.99917    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.11686e-12
Minuit parameter uncertainties:
  1  2.37552e-05
  2  2.04374
  3  1.16099
  4  1.18076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816098': 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): 101
logL (Free Index) = 7576.10003698
delta logL = 1.46774254972e-08

Extracting fit parameters...

4FGL J2304.3+0618
   Spectrum: PowerLaw
362    Prefactor:  0.000e+00  2.376e-05  0.000e+00  1.000e+06 ( 1.000e-13)
363        Index:  3.177e+00  2.044e+00  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:  7.949e-01  1.181e+00  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.133e+00  1.161e+00  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/816098/cmap_HighResolution_692150401_692409601_4FGL_J2304.3+0618_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.95e-03', job_status='DONE', photon_flux_upper_limit='7.64e-08', time_completed='2022-12-11 02:01:59.825844', job_id='816098', GAL2='0.79', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1670752919.83', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.47e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1747' AND source_name='4FGL J2304.3+0618' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:01:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 816098: <4FGL_J2304.3+0618_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2304.3+0618_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:50:18 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:50:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:50:19 2022
Terminated at Sun Dec 11 02:02:00 2022
Results reported at Sun Dec 11 02:02:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2304.3+0618_daily_bin1747 346.078 6.3071 692150401 692409601 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 :                                   626.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            702 sec.

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

