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


Performing analysis on: 4FGL_J0304.5+3349_daily_bin1723
RA = 46.1379, Dec = 33.8261
tmin = 685929601, tmax = 686188801
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='430397', job_status='RUN', time_executed='2022-09-30 00:07:37.093869', time_epoch_executed='1664521657.09' WHERE source_name='4FGL J0304.5+3349' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430397

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430397/ft1_4FGL_J0304.5+3349_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430397/ft1_4FGL_J0304.5+3349_daily_bin1723.fits outfile=/scratch/kocevski/430397/ft1_filteredMKT_4FGL_J0304.5+3349_daily_bin1723.fits ra=46.1379 dec=33.8261 rad=12.0 tmin=685929601.0 tmax=686188801.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 3.79
user 3.38
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.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/430397/ft1_filteredMKT_4FGL_J0304.5+3349_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.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.53
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 1304

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430397/ltcube_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.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/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits
.....................!
real 15.81
user 15.35
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430397/ltcube_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.fits outfile=/scratch/kocevski/430397/expmap_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.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/430397/ltcube_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.fits
.....................!
real 194.65
user 187.73
sys 5.59

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

Setting source of interest to:
4FGL J0304.5+3349 @ 46.1379 33.8261

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.fits scfile=/scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits outfile=/scratch/kocevski/430397/cmap_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.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=46.1379 yref=33.8261 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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.fits scfile=/scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits outfile=/scratch/kocevski/430397/cmap_HighResolution_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.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=46.1379 yref=33.8261 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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430397/Model_4FGL_J0304.5+3349_daily_bin1723.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/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.fits.....................!
real 201.36
user 198.84
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.fits', '/scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits', expMap='/scratch/kocevski/430397/expmap_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.fits', expCube='/scratch/kocevski/430397/ltcube_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430397/Model_4FGL_J0304.5+3349_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0304.5+3349'

4FGL J0304.5+3349
   Spectrum: LogParabola
295         norm:  3.979e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.863e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  3.847e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430397/ft1_filtered_4FGL_J0304.5+3349_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430397/ft2_4FGL_J0304.5+3349_daily_bin1723.fits
Exposure map: /scratch/kocevski/430397/expmap_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430397/ltcube_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430397/Model_4FGL_J0304.5+3349_daily_bin1723.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) = 13167.4136578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75939E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .38668       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.5490       1.0000          .0000       .10000E+07
     4 'norm      '    9.2937       1.0000          .0000       .10000E+07
     5 'norm      '    2.7141       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.884       1.0000          .0000       .10000E+07
     7 'Prefactor '    62.192       1.0000          .0000       .10000E+07
     8 'norm      '    .58907E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .58940E-05   1.0000          .0000       .10000E+07
    10 'norm      '    4.8412       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.7034       1.0000          .0000       .10000E+07
    12 'norm      '    .76208       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29396       1.0000          .0000       .10000E+07
    14 'Normalizat'    .99867       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0490       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13167.41     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      986 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    .59485        .31793E-07** at limit **
   2  norm          .38680        .31723        .53540E-08    .22514E-01
   3  Prefactor     5.5569        4.7808        .12234E-07    .92940E-02
   4  norm          9.2711        6.1756       -.11642E-06    .59564E-02
   5  norm          2.7135        1.5648        .26062E-07    .10687E-01
   6  Prefactor     12.908        8.7273       -.14034E-05   -.19281E-01
   7  Prefactor     62.170        2.9642       -.20300E-06    .15392    
   8  norm          .27756E-08    10.556       -.61597E-07** at limit **
   9  Prefactor     .22760E-08    3.1960       -.16561E-06** at limit **
  10  norm          4.8405        .73214       -.11621E-07   -.14011E-01
  11  Prefactor     1.7035        1.5515        .35210E-07    .87974E-02
  12  norm          .76001        1.9634       -.56963E-07    .61020E-02
  13  Prefactor     .11102E-09    34.137        .35575E-06** at limit **
  14  Normalizat    .99856        .22825        .44322E-05    .56118E-03
  15  Prefactor     1.0491        .75048E-01   -.37366E-07    .23868E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 0.386803
  Prefactor  = 5.55686
  norm       = 9.27109
  norm       = 2.71355
  Prefactor  = 12.9084
  Prefactor  = 62.1699
  norm       = 2.77556e-09
  Prefactor  = 2.27596e-09
  norm       = 4.8405
  Prefactor  = 1.70349
  norm       = 0.760006
  Prefactor  = 1.11022e-10
  Normalizat = 0.998562
  Prefactor  = 1.0491
 **********
 **   18 **HESSE 
 **********

 FCN=   13167.41     FROM HESSE     STATUS=OK           216 CALLS     1202 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    .59785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .38680        .36045        .13257E-02   -1.5696    
   3  Prefactor     5.5569        4.7756        .42626E-03   -1.5661    
   4  norm          9.2711        6.1888        .32850E-03   -1.5647    
   5  norm          2.7135        1.5633        .61796E-03   -1.5675    
   6  Prefactor     12.908        8.7256        .27881E-03   -1.5636    
   7  Prefactor     62.170        62.584        .12681E-03   -1.5550    
   8  norm          .27756E-08    10.558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22760E-08    3.1971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.8405        .73201        .45696E-03   -1.5664    
  11  Prefactor     1.7035        1.5881        .80551E-03   -1.5682    
  12  norm          .76001        1.9998        .55805E-03   -1.5691    
  13  Prefactor     .11102E-09    34.095        .10297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .99856        .21444        .10825       -.93079    
  15  Prefactor     1.0491        .68860E-01    .39966E-01   -.91110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49744e-06
Minuit parameter uncertainties:
  1  9.57534e-06
  2  0.360446
  3  4.7756
  4  6.18883
  5  1.56333
  6  8.72562
  7  62.5852
  8  0.000342166
  9  0.000171262
  10  0.732005
  11  1.58809
  12  1.9998
  13  0.000115146
  14  0.214624
  15  0.0688662
Done.

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

Extracting fit parameters...

4FGL J0304.5+3349
   Spectrum: LogParabola
295         norm:  2.776e-09  3.422e-04  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.863e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  3.847e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  1.049e+00  6.887e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  9.986e-01  2.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 46.138 33.826
Photon Flux Upper Limit: 5.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430397/likelihoodResults_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.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): 102
logL (Free Index) = 13167.4130312
delta logL = -6.22018560534e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13167.4129691
delta logL = -4.13838279201e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97311E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .79066       1.0000          .0000       5.0000    
     3 'Normalizat'    .99851       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0491       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13167.41     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      277 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-09    .22218        .42118E-03** at limit **
   2  alpha         4.0226        2.9858        .51000        .11592E-09
   3  Normalizat    .99857        .12405E-02    .10824        .57208E-03
   4  Prefactor     1.0491        .41952E-03    .39962E-01    .18171E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-10
  alpha      = 4.0226
  Normalizat = 0.998571
  Prefactor  = 1.04909
 **********
 **   18 **HESSE 
 **********

 FCN=   13167.41     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-09    1.1961        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.0226        3.1040        .51000        .65485    
   3  Normalizat    .99857        .28580E-02    .47982E-03   -.93078    
   4  Prefactor     1.0491        .96987E-03    .15796E-03   -.91110    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30814e-11
Minuit parameter uncertainties:
  1  5.14991e-05
  2  62786.7
  3  0.00285796
  4  0.00096987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430397': 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) = 13167.412969
delta logL = -3.27418092638e-11

Extracting fit parameters...

4FGL J0304.5+3349
   Spectrum: LogParabola
295         norm:  5.551e-10  5.150e-05  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  4.023e+00  6.279e+04  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  3.847e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.082e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  1.049e+00  9.699e-04  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  9.986e-01  2.858e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 46.138 33.826

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/430397/cmap_HighResolution_685929601_686188801_4FGL_J0304.5+3349_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-05', job_status='DONE', photon_flux_upper_limit='5.94e-08', time_completed='2022-09-30 00:20:52.958406', job_id='430397', GAL2='1.05', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1664522452.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='-3.27e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.86' WHERE bin_id='1723' AND source_name='4FGL J0304.5+3349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:20:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 430397: <4FGL_J0304.5+3349_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0304.5+3349_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:17 2022
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:44 2022
Terminated at Fri Sep 30 00:20:54 2022
Results reported at Fri Sep 30 00:20:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0304.5+3349_daily_bin1723 46.1379 33.8261 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0304.5+3349 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   795.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             381.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            937 sec.

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

