/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 122 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_grnumber of points = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0304.5+3349_daily_bin1769
RA = 46.1379, Dec = 33.8261
tmin = 697852801, tmax = 698112001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable soDone.


Performing analysis on: 4FGL_J0304.5+3349_daily_bin1769
RA = 46.1379, Dec = 33.8261
tmin = 697852801, tmax = 698112001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='424311', job_status='RUN', time_executed='2023-02-15 00:09:20.121710', time_epoch_executed='1676448560.12' WHERE source_name='4FGL J0304.5+3349' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424311/ft1_4FGL_J0304.5+3349_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits


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

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

Done.
real 4.36
user 4.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/424311/ft1_filteredMKT_4FGL_J0304.5+3349_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.82
user 0.33
sys 0.13

Number of photons that the gtmktime cut: 1191

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/424311/ltcube_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits
.....................!
real 11.73
user 11.33
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/424311/ltcube_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits outfile=/scratch/kocevski/424311/expmap_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/424311/ltcube_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits
.....................!
real 189.35
user 185.15
sys 3.79

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/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits scfile=/scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits outfile=/scratch/kocevski/424311/cmap_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits scfile=/scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits outfile=/scratch/kocevski/424311/cmap_HighResolution_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/424311/Model_4FGL_J0304.5+3349_daily_bin1769.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits.....................!
real 188.76
user 187.38
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits', '/scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits', expMap='/scratch/kocevski/424311/expmap_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits', expCube='/scratch/kocevski/424311/ltcube_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/424311/Model_4FGL_J0304.5+3349_daily_bin1769.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/424311/ft1_filtered_4FGL_J0304.5+3349_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/424311/ft2_4FGL_J0304.5+3349_daily_bin1769.fits
Exposure map: /scratch/kocevski/424311/expmap_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits
Exposure cube: /scratch/kocevski/424311/ltcube_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/424311/Model_4FGL_J0304.5+3349_daily_bin1769.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2398       1.0000          .0000       .10000E+07
     2 'norm      '    .77842       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44409E-09   1.0000          .0000       .10000E+07
     4 'norm      '    3.5009       1.0000          .0000       .10000E+07
     5 'norm      '    4.0827       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12323E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    36.588       1.0000          .0000       .10000E+07
     8 'norm      '    .33753E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    15.296       1.0000          .0000       .10000E+07
    10 'norm      '    9.9352       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.3282       1.0000          .0000       .10000E+07
    12 'norm      '    1.4876       1.0000          .0000       .10000E+07
    13 'Prefactor '    156.67       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1611       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .98163       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=   12604.00     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     1022 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2397        3.6959       -.69424E-06    .30085E-02
   2  norm          .77839        .70200        .33557E-06    .14743E-02
   3  Prefactor     .11102E-09    1.6712        .10642E-05** at limit **
   4  norm          3.4979        4.8133       -.32079E-06    .82689E-03
   5  norm          4.0839        2.4604        .57724E-06   -.51602E-02
   6  Prefactor      .0000        6.9164        .44911E-06** at limit **
   7  Prefactor     35.726        57.529       -.10225E-05   -.66183E-01
   8  norm          .27756E-09    33.869        .30090E-05** at limit **
   9  Prefactor     15.448        18.779        .29240E-06    .22492E-02
  10  norm          9.9295        1.2898       -.36444E-07    .64890E-02
  11  Prefactor     2.3282        2.0588        .59701E-06   -.33824E-02
  12  norm          1.4875        2.4092        .30045E-06   -.47047E-03
  13  Prefactor     156.38        22.473       -.19961E-06    .35564    
  14  Normalizat    1.1611        .27111       -.18157E-04    .36266E-07
  15  Prefactor     .98173        .81012E-01    .80865E-06   -.12075E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.23967
  norm       = 0.778392
  Prefactor  = 1.11022e-10
  norm       = 3.49786
  norm       = 4.08395
  Prefactor  = 0
  Prefactor  = 35.7259
  norm       = 2.77556e-10
  Prefactor  = 15.4475
  norm       = 9.92947
  Prefactor  = 2.32816
  norm       = 1.48749
  Prefactor  = 156.375
  Normalizat = 1.1611
  Prefactor  = 0.981725
 **********
 **   18 **HESSE 
 **********

 FCN=   12604.00     FROM HESSE     STATUS=OK           216 CALLS     1238 TOTAL
                     EDM=   .63E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2397        3.6831        .48912E-03   -1.5667    
   2  norm          .77839        .70382        .54558E-03   -1.5690    
   3  Prefactor     .11102E-09    1.6743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.4979        4.8098        .54011E-03   -1.5671    
   5  norm          4.0839        2.4613        .49872E-03   -1.5668    
   6  Prefactor      .0000        6.8941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.726        59.526        .16534E-03   -1.5588    
   8  norm          .27756E-09    33.867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.448        18.654        .25583E-03   -1.5629    
  10  norm          9.9295        1.2815        .31766E-03   -1.5645    
  11  Prefactor     2.3282        2.0958        .67187E-03   -1.5677    
  12  norm          1.4875        2.4412        .87893E-03   -1.5684    
  13  Prefactor     156.38        84.876        .79899E-04   -1.5458    
  14  Normalizat    1.1611        .24792        .11544       -.87814    
  15  Prefactor     .98173        .73567E-01    .46037E-01   -.93341    
                               ERR DEF=  .500    
Minuit fit quality: 3   esDone.

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

Extracting fit parameters...

4FGL J0304.5+3349
   Spectrum: LogParabola
295         norm:  2.776e-10  2.019e-04  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.863e+00  0.000e+00  0.000e+00  Done.

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

Extracting fit parameters...

4FGL J0304.5+3349
   Spectrum: LogParabola
295         norm:  2.776e-10  2.019e-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:  9.817e-01  7.357e-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:  1.161e+00  2.482e-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: 7.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.59e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424311/likelihoodResults_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12604.0161814
delta logL = -0.0147742763347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12603.9499562
delta logL = 0.0514508908564

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.615       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6179       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97947       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12603.95     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      265 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.621        35.731        .12291E-04   -.22199E-04
   2  alpha         1.6184        1.5952        .76112E-01   -.46661E-05
   3  Normalizat    1.1641        .25031        .51141E-03   -.23697E-04
   4  Prefactor     .97947        .78817E-01    .17175E-03   -.23829E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6211
  alpha      = 1.61839
  Normalizat = 1.16409
  Prefactor  = 0.97947
 **********
 **   18 **HESSE 
 **********

 FCN=   12603.95     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.621        35.433        .49163E-06   -1.5643    
   2  alpha         1.6184        1.5871        .15222E-01   -.36040    
   3  Normalizat    1.1641        .25040        .20456E-04   -.87720    
   4  Prefactor     .97947        .78850E-01    .68700E-05   -.93417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42872e-12
Minuit parameter uncertainties:
  1  35.4334
  2  1.7443
  3  0.250659
  4  0.0788592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424311': 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) = 12603.9499561
delta logL = 0.0514509672794

Extracting fit parameters...

4FGL J0304.5+3349
   Spectrum: LogParabola
295         norm:  1.062e+01  3.543e+01  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.618e+00  1.744e+00  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:  9.795e-01  7.886e-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:  1.164e+00  2.507e-01  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/424311/cmap_HighResolution_697852801_698112001_4FGL_J0304.5+3349_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.59e-05', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2023-02-15 00:21:57.960112', job_id='424311', GAL2='0.98', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1676449317.96', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.15e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.86' WHERE bin_id='1769' AND source_name='4FGL J0304.5+3349' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:21:57 PST 2023

r <slac> at Wed Feb 15 00:05:34 2023
Job was executed on host(s) <bullet0139>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:05:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:05:34 2023
Terminated at Wed Feb 15 00:21:22 2023
Results reported at Wed Feb 15 00:21:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0304.5+3349_daily_bin1769 46.1379 33.8261 697852801 698112001 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 :                                   747.28 sec.
    Max Memory :                                 813 MB
    Average Memory :                             307.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            948 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 424311: <4FGL_J0304.5+3349_daily_bin1769> in cluster <slac> Done

Job <4FGL_J0304.5+3349_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 00:05:34 2023
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:05:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:05:34 2023
Terminated at Wed Feb 15 00:21:58 2023
Results reported at Wed Feb 15 00:21:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0304.5+3349_daily_bin1769 46.1379 33.8261 697852801 698112001 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 :                                   756.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            984 sec.

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

