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


Performing analysis on: 4FGL_J0309.0+1029_daily_bin1751
RA = 47.2617, Dec = 10.4927
tmin = 693187201, tmax = 693446401
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='67412', job_status='RUN', time_executed='2022-12-23 00:05:24.556402', time_epoch_executed='1671782724.56' WHERE source_name='4FGL J0309.0+1029' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67412

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67412/ft1_4FGL_J0309.0+1029_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67412/ft1_4FGL_J0309.0+1029_daily_bin1751.fits outfile=/scratch/kocevski/67412/ft1_filteredMKT_4FGL_J0309.0+1029_daily_bin1751.fits ra=47.2617 dec=10.4927 rad=12.0 tmin=693187201.0 tmax=693446401.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.96
user 3.45
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.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/67412/ft1_filteredMKT_4FGL_J0309.0+1029_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.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.74
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 936

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/67412/ltcube_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.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/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits
.....................!
real 12.53
user 12.03
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/67412/ltcube_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.fits outfile=/scratch/kocevski/67412/expmap_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.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/67412/ltcube_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.fits
.....................!
real 192.02
user 185.30
sys 4.25

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

Setting source of interest to:
4FGL J0309.0+1029 @ 47.2617 10.4927

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.fits scfile=/scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits outfile=/scratch/kocevski/67412/cmap_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.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=47.2617 yref=10.4927 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.fits scfile=/scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits outfile=/scratch/kocevski/67412/cmap_HighResolution_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.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=47.2617 yref=10.4927 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/67412/Model_4FGL_J0309.0+1029_daily_bin1751.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/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.fits.....................!
real 131.65
user 128.49
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.fits', '/scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits', expMap='/scratch/kocevski/67412/expmap_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.fits', expCube='/scratch/kocevski/67412/ltcube_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/67412/Model_4FGL_J0309.0+1029_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0309.0+1029'

4FGL J0309.0+1029
   Spectrum: LogParabola
285         norm:  4.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
286        alpha:  2.226e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  1.147e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  7.342e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/67412/ft1_filtered_4FGL_J0309.0+1029_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/67412/ft2_4FGL_J0309.0+1029_daily_bin1751.fits
Exposure map: /scratch/kocevski/67412/expmap_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.fits
Exposure cube: /scratch/kocevski/67412/ltcube_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/67412/Model_4FGL_J0309.0+1029_daily_bin1751.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) = 10282.5875526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18615E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12704E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13693E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17064E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .31798E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .66966       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13568E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .22229E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .90705E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10803E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    36.990       1.0000          .0000       .10000E+07
    12 'Prefactor '    .30952E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9876       1.0000          .0000       .10000E+07
    14 'norm      '    4.1405       1.0000          .0000       .10000E+07
    15 'norm      '    43.697       1.0000          .0000       .10000E+07
    16 'norm      '    5.4053       1.0000          .0000       .10000E+07
    17 'Prefactor '    .33650E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .60089E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    10.350       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.9762       1.0000          .0000       .10000E+07
    21 'Prefactor '    17.607       1.0000          .0000       .10000E+07
    22 'Prefactor '    .86607E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .15928E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .13988E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    .96090       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94389       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10282.58     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2184 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41278E-06    16.632       -.46896E-05** at limit **
   2  Prefactor     .74729E-06    10.569        .91692E-06** at limit **
   3  Prefactor     .11374E-06    2.7842        .13503E-05** at limit **
   4  Prefactor     .94580E-06    6.6447        .18178E-05** at limit **
   5  Prefactor     .18707E-06    2.8700       -.16203E-05** at limit **
   6  norm          .66892        .43337       -.16534E-07   -.11382E-01
   7  Prefactor     .13505E-05    10.999        .56994E-06** at limit **
   8  Prefactor     .23870E-06    3.3984       -.20727E-05** at limit **
   9  norm          .33877E-05    6.7695        .79222E-06** at limit **
  10  Prefactor     .64104E-06    4.4225       -.41444E-06** at limit **
  11  Prefactor     37.258        32.843        .62586E-05   -.54065E-01
  12  Prefactor     .64482E-06    6.7976        .35418E-05** at limit **
  13  Prefactor     3.9721        7.7190        .12697E-05    .13696E-02
  14  norm          4.0381        6.9518       -.60916E-06    .10163E-02
  15  norm          43.691        1.3997        .65407E-07    .78166E-02
  16  norm          5.4088        4.2013        .24557E-06   -.35995E-02
  17  Prefactor     .23870E-08    4.6178        .55038E-06** at limit **
  18  norm          .30309E-07    5.6438       -.25947E-05** at limit **
  19  Prefactor     10.362        2.1746        .77357E-06   -.95690E-02
  20  Prefactor     2.9753        3.2019       -.90688E-07    .26688E-03
  21  Prefactor     17.620        7.8779       -.16948E-06   -.26428E-02
  22  Prefactor     .39663E-06    5.3532        .42882E-05** at limit **
  23  Prefactor     .27756E-09    3.4299        .47560E-07** at limit **
  24  norm          .55511E-10    2.1854       -.15037E-06** at limit **
  25  Normalizat    .96068        .22371       -.18462E-04    .11679E-03
  26  Prefactor     .94394        .77382E-01   -.45779E-06    .31290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12781e-07
  Prefactor  = 7.47291e-07
  Prefactor  = 1.13742e-07
  Prefactor  = 9.45799e-07
  Prefactor  = 1.87073e-07
  norm       = 0.668923
  Prefactor  = 1.35048e-06
  Prefactor  = 2.38698e-07
  norm       = 3.38773e-06
  Prefactor  = 6.41043e-07
  Prefactor  = 37.2583
  Prefactor  = 6.44818e-07
  Prefactor  = 3.97212
  norm       = 4.03806
  norm       = 43.6907
  norm       = 5.40883
  Prefactor  = 2.38698e-09
  norm       = 3.03091e-08
  Prefactor  = 10.3616
  Prefactor  = 2.97527
  Prefactor  = 17.6196
  Prefactor  = 3.96627e-07
  Prefactor  = 2.77556e-10
  norm       = 5.55112e-11
  Normalizat = 0.960676
  Prefactor  = 0.943943
 **********
 **   18 **HESSE 
 **********

 FCN=   10282.58     FROM HESSE     STATUS=OK           504 CALLS     2688 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41278E-06    20.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .74729E-06    28.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11374E-06    10.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .94580E-06    26.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18707E-06    7.3763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .66892        .43680        .63206E-03   -1.5692    
   7  Prefactor     .13505E-05    28.419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .23870E-06    7.3494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .33877E-05    24.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .64104E-06    9.3248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.258        35.960        .16444E-03   -1.5586    
  12  Prefactor     .64482E-06    10.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9721        7.9764        .50483E-03   -1.5668    
  14  norm          4.0381        6.9563        .49512E-03   -1.5668    
  15  norm          43.691        17.126        .15129E-03   -1.5576    
  16  norm          5.4088        4.2665        .43199E-03   -1.5661    
  17  Prefactor     .23870E-08    4.6021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .30309E-07    5.7027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.362        14.519        .31120E-03   -1.5644    
  20  Prefactor     2.9753        3.1988        .58827E-03   -1.5673    
  21  Prefactor     17.620        7.8802        .23842E-03   -1.5624    
  22  Prefactor     .39663E-06    6.4823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .27756E-09    3.4264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    2.1821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .96068        .20803        .94364E-01   -.94360    
  26  Prefactor     .94394        .70310E-01    .33927E-01   -.94622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78926e-07
Minuit parameter uncertainties:
  1  0.0057741
  2  0.0091717
  3  0.00213397
  4  0.0100177
  5  0.00234954
  6  0.436795
  7  0.0123903
  8  0.00264893
  9  0.0181327
  10  0.00488981
  11  35.9598
  12  0.0051861
  13  7.9764
  14  6.95628
  15  17.1259
  16  4.26649
  17  0.000210794
  18  0.000831611
  19  14.519
  20  3.19881
  21  7.88025
  22  0.00320697
  23  6.21907e-05
  24  2.18254e-05
  25  0.208205
  26  0.070317
Done.

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

Extracting fit parameters...

4FGL J0309.0+1029
   Spectrum: LogParabola
285         norm:  3.031e-08  8.316e-04  0.000e+00  1.000e+06 ( 1.000e-12)
286        alpha:  2.226e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  1.147e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  7.342e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.439e-01  7.032e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.607e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 47.262 10.493
Photon Flux Upper Limit: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/67412/likelihoodResults_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.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) = 10282.6703891
delta logL = -0.0897622816501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10282.5806269
delta logL = -5.89279807173e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35366E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5243       1.0000          .0000       5.0000    
     3 'Normalizat'    .96068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94395       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10282.58     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      204 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66613E-09    4.8492        .11047E-05** at limit **
   2  alpha         2.0683        3.4607        .16290E-03   -.18131E-09
   3  Normalizat    .96068        .21107       -.51747E-04    .49479E-03
   4  Prefactor     .94394        .75869E-01    .18927E-04    .32225E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.66134e-10
  alpha      = 2.06828
  Normalizat = 0.960682
  Prefactor  = 0.943941
 **********
 **   18 **HESSE 
 **********

 FCN=   10282.58     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      239 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66613E-09    2.4709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0683        3.4254        .46698       -.17356    
   3  Normalizat    .96068        .39444E-02    .94363E-01   -.94360    
   4  Prefactor     .94394        .14109E-02    .33927E-01   -.94622    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.80322e-11
Minuit parameter uncertainties:
  1  8.03556e-05
  2  54154.3
  3  0.00394441
  4  0.00141094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67412': 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) = 10282.5806268
delta logL = 2.16095941141e-09

Extracting fit parameters...

4FGL J0309.0+1029
   Spectrum: LogParabola
285         norm:  6.661e-10  8.036e-05  0.000e+00  1.000e+06 ( 1.000e-12)
286        alpha:  2.068e+00  5.415e+04  0.000e+00  5.000e+00 ( 1.000e+00)
287         beta:  1.147e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  7.342e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.439e-01  1.411e-03  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  9.607e-01  3.944e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 47.262 10.493

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/67412/cmap_HighResolution_693187201_693446401_4FGL_J0309.0+1029_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.12e-05', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2022-12-23 00:19:46.348349', job_id='67412', GAL2='0.94', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1671783586.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.16e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1751' AND source_name='4FGL J0309.0+1029' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:19:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 67412: <4FGL_J0309.0+1029_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0309.0+1029_daily_bin1751> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec 23 00:05:09 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:05:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:05:11 2022
Terminated at Fri Dec 23 00:19:47 2022
Results reported at Fri Dec 23 00:19:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0309.0+1029_daily_bin1751 47.2617 10.4927 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0309.0+1029 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   826.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             384.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            878 sec.

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

