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


Performing analysis on: 4FGL_J0539.9-2839_daily_bin1748
RA = 84.9952, Dec = -28.6585
tmin = 692409601, tmax = 692668801
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='876116', job_status='RUN', time_executed='2022-12-14 00:07:18.872269', time_epoch_executed='1671005238.87' WHERE source_name='4FGL J0539.9-2839' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/876116

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/876116/ft1_4FGL_J0539.9-2839_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/876116/ft1_4FGL_J0539.9-2839_daily_bin1748.fits outfile=/scratch/kocevski/876116/ft1_filteredMKT_4FGL_J0539.9-2839_daily_bin1748.fits ra=84.9952 dec=-28.6585 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.33
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.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/876116/ft1_filteredMKT_4FGL_J0539.9-2839_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.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.57
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 822

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/876116/ltcube_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.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/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits
.....................!
real 14.83
user 14.43
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/876116/ltcube_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.fits outfile=/scratch/kocevski/876116/expmap_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.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/876116/ltcube_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.fits
.....................!
real 191.78
user 186.20
sys 5.27

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

Setting source of interest to:
4FGL J0539.9-2839 @ 84.9952 -28.6585

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.fits scfile=/scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits outfile=/scratch/kocevski/876116/cmap_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.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=84.9952 yref=-28.6585 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/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.fits scfile=/scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits outfile=/scratch/kocevski/876116/cmap_HighResolution_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.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=84.9952 yref=-28.6585 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/876116/Model_4FGL_J0539.9-2839_daily_bin1748.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/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.fits.....................!
real 99.31
user 97.98
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.fits', '/scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits', expMap='/scratch/kocevski/876116/expmap_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.fits', expCube='/scratch/kocevski/876116/ltcube_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/876116/Model_4FGL_J0539.9-2839_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0539.9-2839'

4FGL J0539.9-2839
   Spectrum: LogParabola
258         norm:  2.014e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
259        alpha:  2.677e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.119e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  3.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/876116/ft1_filtered_4FGL_J0539.9-2839_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/876116/ft2_4FGL_J0539.9-2839_daily_bin1748.fits
Exposure map: /scratch/kocevski/876116/expmap_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.fits
Exposure cube: /scratch/kocevski/876116/ltcube_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/876116/Model_4FGL_J0539.9-2839_daily_bin1748.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) = 8726.64162776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61946E-03   1.0000          .0000       .10000E+07
     2 'norm      '    14.081       1.0000          .0000       .10000E+07
     3 'norm      '    1.1680       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.4559       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9036       1.0000          .0000       .10000E+07
     6 'norm      '    3.4385       1.0000          .0000       .10000E+07
     7 'Prefactor '    .40014E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .15531E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .47408E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .65063E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .54358E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.2777       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.8989       1.0000          .0000       .10000E+07
    14 'Prefactor '    72.022       1.0000          .0000       .10000E+07
    15 'Prefactor '    .24212       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.693       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10376E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .78783E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.7958       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11685E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .48511E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .89786       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91581       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8726.562     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1485 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51625E-08    50.259        .10416E-04** at limit **
   2  norm          14.062        4.2351        .22015E-06   -.27411E-02
   3  norm          1.1671        .24845       -.46886E-07    .32614E-02
   4  Prefactor     3.2572        3.0421       -.35643E-06    .31305E-01
   5  Prefactor     3.8984        3.2417       -.18814E-06    .15475E-02
   6  norm          3.4344        1.7581       -.54265E-06    .11610E-01
   7  Prefactor     .11657E-08    6.7682        .18507E-05** at limit **
   8  Prefactor      .0000        1.1460       -.31032E-06** at limit **
   9  Prefactor      .0000        2.7779       -.36343E-06** at limit **
  10  norm           .0000        1.3476        .87103E-06** at limit **
  11  Prefactor     .55511E-10    5.6526       -.30497E-06** at limit **
  12  norm          3.2751        1.4512        .84511E-06   -.18921E-01
  13  Prefactor     6.9280        5.3881        .24262E-07   -.14508E-03
  14  Prefactor     66.527        52.476       -.61859E-06   -.54007E-02
  15  Prefactor     .17623E-04    1.5835        .72186E-06** at limit **
  16  Prefactor     10.697        9.6013        .51754E-06    .21071E-03
  17  Prefactor     .72164E-09    6.5467       -.30019E-05** at limit **
  18  norm          .76050E-08    20.225        .18864E-05** at limit **
  19  Prefactor     5.8068        4.1910       -.12317E-05    .14595E-01
  20  Prefactor     .36748E-07    6.3232        .16468E-05** at limit **
  21  norm          .22204E-09    4.0708       -.25531E-05** at limit **
  22  Normalizat    .89849        .18187        .41287E-04    .46512E-03
  23  Prefactor     .91687        .14011       -.43684E-04    .87150E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.16254e-09
  norm       = 14.0621
  norm       = 1.16707
  Prefactor  = 3.25716
  Prefactor  = 3.89835
  norm       = 3.43444
  Prefactor  = 1.16573e-09
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 3.27514
  Prefactor  = 6.928
  Prefactor  = 66.5266
  Prefactor  = 1.7623e-05
  Prefactor  = 10.6971
  Prefactor  = 7.21645e-10
  norm       = 7.60503e-09
  Prefactor  = 5.80684
  Prefactor  = 3.67484e-08
  norm       = 2.22045e-10
  Normalizat = 0.898494
  Prefactor  = 0.916872
 **********
 **   18 **HESSE 
 **********

 FCN=   8726.562     FROM HESSE     STATUS=OK           422 CALLS     1907 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51625E-08    50.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.062        4.2278        .26666E-03   -1.5633    
   3  norm          1.1671        .24853        .46342E-03   -1.5686    
   4  Prefactor     3.2572        261.71        .54377E-03   -1.5672    
   5  Prefactor     3.8984        3.2932        .51041E-03   -1.5668    
   6  norm          3.4344        1.7685        .54521E-03   -1.5671    
   7  Prefactor     .11657E-08    13.137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.1470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        2.7854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.3374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    5.6573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.2751        1.4523        .55905E-03   -1.5672    
  13  Prefactor     6.9280        5.3761        .38174E-03   -1.5655    
  14  Prefactor     66.527        52.670        .11784E-03   -1.5545    
  15  Prefactor     .17623E-04    15.435        .13293E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.697        9.6113        .30615E-03   -1.5643    
  17  Prefactor     .72164E-09    6.5456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .76050E-08    19.893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.8068        4.2316        .41694E-03   -1.5660    
  20  Prefactor     .36748E-07    13.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .22204E-09    4.0766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89849        .16035        .44874E-01   -.96513    
  23  Prefactor     .91687        .12196        .45206E-01   -.95554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07323e-06
Minuit parameter uncertainties:
  1  0.00101854
  2  4.22781
  3  0.248528
  4  58.396
  5  3.29318
  6  1.76845
  7  0.000246803
  8  9.00569e-06
  9  9.12434e-06
  10  9.77637e-06
  11  3.26547e-05
  12  1.45235
  13  5.37613
  14  52.67
  15  0.0329851
  16  9.61135
  17  0.000136032
  18  0.000776602
  19  4.23165
  20  0.00139947
  21  6.1706e-05
  22  0.160439
  23  0.121992
Done.

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

Extracting fit parameters...

4FGL J0539.9-2839
   Spectrum: LogParabola
258         norm:  3.275e+00  1.452e+00  0.000e+00  1.000e+06 ( 1.000e-11)
259        alpha:  2.677e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.119e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  3.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  9.169e-01  1.220e-01  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  8.985e-01  1.604e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.77
Ra Dec: 84.995 -28.659
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 6.90e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 7.19e-06

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) = 8725.10869354
delta logL = 1.45339475574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8725.10137009
delta logL = 1.46071820549

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8725.101     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      205 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5893        1.6034        .53314E-03   -.20503E-01
   2  alpha         1.9164        .35796        .32710       -.32017E-04
   3  Normalizat    .93218        .15293        .45312E-01    .35160E-04
   4  Prefactor     .89761        .11996        .44975E-01    .72563E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.58931
  alpha      = 1.91643
  Normalizat = 0.932182
  Prefactor  = 0.897614
 **********
 **   18 **HESSE 
 **********

 FCN=   8725.101     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5893        1.6535        .75460E-05   -1.5670    
   2  alpha         1.9164        .40354        .13220E-01   -.23560    
   3  Normalizat    .93218        .17523        .27668E-03   -.95338    
   4  Prefactor     .89761        .13717        .22060E-03   -.96225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16846e-09
Minuit parameter uncertainties:
  1  1.65351
  2  0.405419
  3  0.175338
  4  0.137219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/876116': 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) = 8725.10137008
delta logL = 1.46071820753

Extracting fit parameters...

4FGL J0539.9-2839
   Spectrum: LogParabola
258         norm:  3.589e+00  1.654e+00  0.000e+00  1.000e+06 ( 1.000e-11)
259        alpha:  1.916e+00  4.054e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.119e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  3.935e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  8.976e-01  1.372e-01  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  9.322e-01  1.753e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.57
Ra Dec: 84.995 -28.659
Photon Index (Free Index): 1.92 +/- 0.41
Photon Flux (Free Index): 4.82e-08 +/- 2.53e-08
Energy Flux (Free Index): 2.36e-05 +/- 1.26e-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/876116/cmap_HighResolution_692409601_692668801_4FGL_J0539.9-2839_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.90e-08', energy_flux2='2.36e-05', photon_flux_error='3.06e-08', dlogl='1.46e+00', energy_flux='1.62e-05', photon_flux2='4.82e-08', job_status='DONE', time_completed='2022-12-14 00:17:47.428962', photon_index_error2='0.41', photon_index2='1.92', ts='11.77', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='0.90', time_epoch_completed='1671005867.43', return_code='0', job_id='876116', GAL2='0.90', EG2='0.93', return_code2='0', energy_flux_error='7.19e-06', photon_flux_error2='2.53e-08', ts2='14.57', photon_index='2.68' WHERE bin_id='1748' AND source_name='4FGL J0539.9-2839' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:17:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 876117: <4FGL_J0539.9-2839_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0539.9-2839_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:05:32 2022
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:05:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:05:40 2022
Terminated at Wed Dec 14 00:16:46 2022
Results reported at Wed Dec 14 00:16:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0539.9-2839_daily_bin1748 84.9952 -28.6585 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0539.9-2839 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   620.55 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             340.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            674 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 876116: <4FGL_J0539.9-2839_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0539.9-2839_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:05:32 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:05:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:05:40 2022
Terminated at Wed Dec 14 00:17:48 2022
Results reported at Wed Dec 14 00:17:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0539.9-2839_daily_bin1748 84.9952 -28.6585 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0539.9-2839 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            736 sec.

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

