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 208 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_J0237.8+2848_daily_bin1723
RA = 39.4737, Dec = 28.8044
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='430334', job_status='RUN', time_executed='2022-09-30 00:09:12.858406', time_epoch_executed='1664521752.86' WHERE source_name='4FGL J0237.8+2848' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430334

Creating custom pfile directory:
/scratch/kocevski/430334/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/430334/ft1_4FGL_J0237.8+2848_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/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430334/ft1_4FGL_J0237.8+2848_daily_bin1723.fits outfile=/scratch/kocevski/430334/ft1_filteredMKT_4FGL_J0237.8+2848_daily_bin1723.fits ra=39.4737 dec=28.8044 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.65
user 3.36
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_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/430334/ft1_filteredMKT_4FGL_J0237.8+2848_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430334/ft1_filtered_4FGL_J0237.8+2848_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.54
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 966

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430334/ft1_filtered_4FGL_J0237.8+2848_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430334/ltcube_685929601_686188801_4FGL_J0237.8+2848_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/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits
.....................!
real 12.22
user 11.67
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430334/ft1_filtered_4FGL_J0237.8+2848_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430334/ltcube_685929601_686188801_4FGL_J0237.8+2848_daily_bin1723.fits outfile=/scratch/kocevski/430334/expmap_685929601_686188801_4FGL_J0237.8+2848_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/430334/ltcube_685929601_686188801_4FGL_J0237.8+2848_daily_bin1723.fits
.....................!
real 191.19
user 185.01
sys 5.52

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

Setting source of interest to:
4FGL J0237.8+2848 @ 39.4737 28.8044

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430334/ft1_filtered_4FGL_J0237.8+2848_daily_bin1723.fits scfile=/scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits outfile=/scratch/kocevski/430334/cmap_685929601_686188801_4FGL_J0237.8+2848_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=39.4737 yref=28.8044 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430334/ft1_filtered_4FGL_J0237.8+2848_daily_bin1723.fits scfile=/scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits outfile=/scratch/kocevski/430334/cmap_HighResolution_685929601_686188801_4FGL_J0237.8+2848_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=39.4737 yref=28.8044 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430334/ft1_filtered_4FGL_J0237.8+2848_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430334/Model_4FGL_J0237.8+2848_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/430334/ft1_filtered_4FGL_J0237.8+2848_daily_bin1723.fits.....................!
real 138.28
user 136.54
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430334/ft1_filtered_4FGL_J0237.8+2848_daily_bin1723.fits', '/scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits', expMap='/scratch/kocevski/430334/expmap_685929601_686188801_4FGL_J0237.8+2848_daily_bin1723.fits', expCube='/scratch/kocevski/430334/ltcube_685929601_686188801_4FGL_J0237.8+2848_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430334/Model_4FGL_J0237.8+2848_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0237.8+2848'

4FGL J0237.8+2848
   Spectrum: LogParabola
273         norm:  8.849e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
274        alpha:  2.209e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  8.714e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  4.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430334/ft1_filtered_4FGL_J0237.8+2848_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430334/ft2_4FGL_J0237.8+2848_daily_bin1723.fits
Exposure map: /scratch/kocevski/430334/expmap_685929601_686188801_4FGL_J0237.8+2848_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430334/ltcube_685929601_686188801_4FGL_J0237.8+2848_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430334/Model_4FGL_J0237.8+2848_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) = 10070.3179604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32846E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .25585E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .79603E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .85238       1.0000          .0000       .10000E+07
     5 'Prefactor '    .20484E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .93203E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .38717       1.0000          .0000       .10000E+07
     8 'norm      '    .40117       1.0000          .0000       .10000E+07
     9 'Prefactor '    .75261       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.4494       1.0000          .0000       .10000E+07
    11 'Prefactor '    39.737       1.0000          .0000       .10000E+07
    12 'norm      '    7.9155       1.0000          .0000       .10000E+07
    13 'norm      '    2.7243       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10376E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.523       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31716E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    64.289       1.0000          .0000       .10000E+07
    18 'norm      '    5.6072       1.0000          .0000       .10000E+07
    19 'norm      '    .62783E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.8430       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.1335       1.0000          .0000       .10000E+07
    22 'Normalizat'    .97892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0476       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10070.31     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1853 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .48572       -.15581E-06** at limit **
   2  Prefactor     .50515E-08    7.3123       -.26549E-06** at limit **
   3  norm           .0000        .88826       -.46273E-07** at limit **
   4  Prefactor     .87818        7.0149        .37244E-05    .39729E-01
   5  Prefactor      .0000        2.3068        .25026E-07** at limit **
   6  norm           .0000        .59586       -.22905E-06** at limit **
   7  norm          .38670        .31636       -.37778E-07    .86255E-03
   8  norm          .40723E-06    11.521        .11984E-05** at limit **
   9  Prefactor     .15260E-04    257.36        .69857E-05** at limit **
  10  Prefactor     7.4802        5.3942        .25967E-07   -.44835E-02
  11  Prefactor     40.257        10.113       -.66213E-06    .11905    
  12  norm          7.9147        7.2839        .97430E-06    .20055E-01
  13  norm          2.7245        1.5550        .96711E-07    .20955E-03
  14  Prefactor     .27756E-09    5.6986        .35956E-06** at limit **
  15  Prefactor     10.487        7.9379       -.23469E-06   -.32338E-02
  16  Prefactor     .10686E-06    10.236       -.58196E-06** at limit **
  17  Prefactor     64.915        12.994        .12839E-06   -.27384    
  18  norm          5.6589        6.5601        .14849E-06   -.11137E-02
  19  norm          .59341E-07    10.796       -.94571E-06** at limit **
  20  Prefactor     2.8768        5.7561        .61977E-06    .38927E-02
  21  Prefactor     1.1328        1.5481        .17311E-06    .44281E-03
  22  Normalizat    .97885        .21488       -.71434E-05   -.12141E-04
  23  Prefactor     1.0476        .89656E-01   -.58660E-07   -.35890E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 5.05151e-09
  norm       = 0
  Prefactor  = 0.878175
  Prefactor  = 0
  norm       = 0
  norm       = 0.386705
  norm       = 4.0723e-07
  Prefactor  = 1.52595e-05
  Prefactor  = 7.48017
  Prefactor  = 40.2569
  norm       = 7.91474
  norm       = 2.72447
  Prefactor  = 2.77556e-10
  Prefactor  = 10.487
  Prefactor  = 1.06859e-07
  Prefactor  = 64.9148
  norm       = 5.65894
  norm       = 5.93414e-08
  Prefactor  = 2.87682
  Prefactor  = 1.13278
  Normalizat = 0.978847
  Prefactor  = 1.0476
 **********
 **   18 **HESSE 
 **********

 FCN=   10070.31     FROM HESSE     STATUS=OK           414 CALLS     2267 TOTAL
                     EDM=   .53E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .47646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .50515E-08    7.3332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .88919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .87818        7.1122        .49110E-03   -1.5689    
   5  Prefactor      .0000        2.3128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .59605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .38670        .32829        .90989E-03   -1.5696    
   8  norm          .40723E-06    57.429        .89352E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15260E-04    273.33        .56536E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.4802        5.4020        .36722E-03   -1.5653    
  11  Prefactor     40.257        46.503        .15865E-03   -1.5581    
  12  norm          7.9147        7.2992        .35615E-03   -1.5652    
  13  norm          2.7245        1.5591        .61672E-03   -1.5675    
  14  Prefactor     .27756E-09    5.7011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.487        7.9595        .30862E-03   -1.5643    
  16  Prefactor     .10686E-06    12.258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     64.915        62.997        .12473E-03   -1.5547    
  18  norm          5.6589        6.5660        .42401E-03   -1.5660    
  19  norm          .59341E-07    11.027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.8768        5.7679        .60279E-03   -1.5674    
  21  Prefactor     1.1328        1.5668        .10953E-02   -1.5687    
  22  Normalizat    .97885        .19714        .88068E-01   -.93742    
  23  Prefactor     1.0476        .80691E-01    .40051E-01   -.91159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.34022e-06
Minuit parameter uncertainties:
  1  1.89423e-06
  2  0.000384489
  3  3.9546e-06
  4  4.99832
  5  1.15027e-05
  6  1.05255e-06
  7  0.328286
  8  0.00967197
  9  0.129171
  10  5.40205
  11  46.5037
  12  7.29925
  13  1.55911
  14  7.90957e-05
  15  7.95954
  16  0.00228912
  17  62.9972
  18  6.56598
  19  0.00161776
  20  5.7679
  21  1.56681
  22  0.197284
  23  0.0807001
Done.

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

Extracting fit parameters...

4FGL J0237.8+2848
   Spectrum: LogParabola
273         norm:  2.724e+00  1.559e+00  0.000e+00  1.000e+06 ( 1.000e-11)
274        alpha:  2.209e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
275         beta:  8.714e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  4.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.048e+00  8.070e-02  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  9.788e-01  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.49
Ra Dec: 39.474 28.804
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 6.07e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 2.21e-05 +/- 1.26e-05

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) = 10069.9624084
delta logL = 0.347324267528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10069.9195672
delta logL = 0.390165477735

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10069.92     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2517        1.3832        .68422E-03    .19161E-02
   2  alpha         1.7220        .35466        .40174       -.60606E-04
   3  Normalizat    1.0035        .18476        .87116E-01    .31624E-04
   4  Prefactor     1.0429        .79207E-01    .40345E-01   -.26296E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.25165
  alpha      = 1.72197
  Normalizat = 1.00349
  Prefactor  = 1.04287
 **********
 **   18 **HESSE 
 **********

 FCN=   10069.92     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .68E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2517        1.6901        .89564E-05   -1.5678    
   2  alpha         1.7220        .52480        .14609E-01   -.31647    
   3  Normalizat    1.0035        .20491        .38572E-03   -.92914    
   4  Prefactor     1.0429        .87807E-01    .16218E-03   -.91314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.77671e-12
Minuit parameter uncertainties:
  1  1.69008
  2  0.529163
  3  0.205071
  4  0.0878187
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430334': 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) = 10069.9195665
delta logL = 0.390166203128

Extracting fit parameters...

4FGL J0237.8+2848
   Spectrum: LogParabola
273         norm:  2.252e+00  1.690e+00  0.000e+00  1.000e+06 ( 1.000e-11)
274        alpha:  1.722e+00  5.292e-01  0.000e+00  5.000e+00 ( 1.000e+00)
275         beta:  8.714e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
276           Eb:  4.643e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
547    Prefactor:  1.043e+00  8.782e-02  0.000e+00  1.000e+01 ( 1.000e+00)
548        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
549        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.003e+00  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.26
Ra Dec: 39.474 28.804
Photon Index (Free Index): 1.72 +/- 0.53
Photon Flux (Free Index): 3.87e-08 +/- 3.33e-08
Energy Flux (Free Index): 3.08e-05 +/- 2.43e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/430334/cmap_HighResolution_685929601_686188801_4FGL_J0237.8+2848_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-08', energy_flux2='3.08e-05', photon_flux_error='3.47e-08', dlogl='3.90e-01', energy_flux='2.21e-05', photon_flux2='3.87e-08', job_status='DONE', time_completed='2022-09-30 00:21:39.461345', photon_index_error2='0.53', photon_index2='1.72', ts='7.49', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='0.98', time_epoch_completed='1664522499.46', return_code='0', job_id='430334', GAL2='1.04', EG2='1.00', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='3.33e-08', ts2='8.26', photon_index='2.21' WHERE bin_id='1723' AND source_name='4FGL J0237.8+2848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:21:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 430334: <4FGL_J0237.8+2848_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0237.8+2848_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:11 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:33 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:33 2022
Terminated at Fri Sep 30 00:21:40 2022
Results reported at Fri Sep 30 00:21:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0237.8+2848_daily_bin1723 39.4737 28.8044 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0237.8+2848 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   747.60 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             284.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            989 sec.

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

