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 78 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0115.1-0129_daily_bin1672
RA = 18.7859, Dec = -1.4962
tmin = 672710401, tmax = 672969601
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='153884', job_status='RUN', time_executed='2022-04-30 00:10:11.159215', time_epoch_executed='1651302611.16' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153884

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153884/ft1_4FGL_J0115.1-0129_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153884/ft1_4FGL_J0115.1-0129_daily_bin1672.fits outfile=/scratch/kocevski/153884/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin1672.fits ra=18.7859 dec=-1.4962 rad=12.0 tmin=672710401.0 tmax=672969601.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.10
user 2.89
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.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/153884/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin1672.fits evtable="EVENTS" outfile="/scratch/kocevski/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 543

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/153884/ltcube_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.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/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits
.....................!
real 12.49
user 12.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/153884/ltcube_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.fits outfile=/scratch/kocevski/153884/expmap_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.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/153884/ltcube_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.fits
.....................!
real 190.96
user 185.70
sys 4.91

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

Setting source of interest to:
4FGL J0115.1-0129 @ 18.7859 -1.4962

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.fits scfile=/scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits outfile=/scratch/kocevski/153884/cmap_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.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=18.7859 yref=-1.4962 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.fits scfile=/scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits outfile=/scratch/kocevski/153884/cmap_HighResolution_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.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=18.7859 yref=-1.4962 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153884/Model_4FGL_J0115.1-0129_daily_bin1672.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/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.fits.....................!
real 70.16
user 68.82
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.fits', '/scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits', expMap='/scratch/kocevski/153884/expmap_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.fits', expCube='/scratch/kocevski/153884/ltcube_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153884/Model_4FGL_J0115.1-0129_daily_bin1672.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0115.1-0129'

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.905e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  2.721e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/153884/ft1_filtered_4FGL_J0115.1-0129_daily_bin1672.fits
Spacecraft file(s): /scratch/kocevski/153884/ft2_4FGL_J0115.1-0129_daily_bin1672.fits
Exposure map: /scratch/kocevski/153884/expmap_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.fits
Exposure cube: /scratch/kocevski/153884/ltcube_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153884/Model_4FGL_J0115.1-0129_daily_bin1672.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) = 5816.13952388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9629       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8326       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.1452       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.237       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    19.029       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    104.61       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3413       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    89.266       1.0000         .10000E-03   10000.    
    18 'norm      '    58.389       1.0000         .10000E-03   10000.    
    19 'norm      '    10.415       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7661       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4194       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .68596       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5816.129     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2537 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9642        11.830        .14026E-06   -.26578E-05
   2  Prefactor     8.8341        5.3244        .54959E-07    .21829E-06
   3  Prefactor     .10000E-03    1.3622        .28343E-06** at limit **
   4  norm          .10000E-03    1.8986        .28870E-06** at limit **
   5  norm          7.1426        6.3470       -.19807E-07   -.32199E-04
   6  Prefactor     26.232        30.934       -.28002E-06   -.13059E-04
   7  Prefactor     .10000E-03    58.429        .11682E-05** at limit **
   8  Prefactor     .10000E-03    9.0865        .16191E-06** at limit **
   9  norm          18.948        39.332        .41838E-07   -.14762E-04
  10  Prefactor     .10000E-03    128.72        .22093E-06** at limit **
  11  norm          104.61        8.2572       -.25890E-07   -.71802E-04
  12  Prefactor     .10000E-03    42.466        .35870E-06** at limit **
  13  Prefactor     1.3413        11.501        .28068E-05    .22815E-04
  14  Prefactor     .10000E-03    2.2433        .51449E-06** at limit **
  15  Prefactor     .10000E-03    29.573        .64134E-06** at limit **
  16  Prefactor     .10000E-03    10.037       -.35477E-08** at limit **
  17  Prefactor     89.158        117.32       -.43713E-07   -.88416E-05
  18  norm          58.417        49.338       -.46632E-06    .30312E-05
  19  norm          10.417        10.015       -.18773E-06    .17424E-04
  20  Prefactor     3.5089        1027.4       -.48181E-04    .44709E-05
  21  Prefactor     .10000E-03    4.1794       -.33617E-07** at limit **
  22  Normalizat    1.4179        .30142        .73531E-06   -.96631E-04
  23  Prefactor     .68711        .22987       -.17661E-05   -.17494E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.96419
  Prefactor  = 8.83407
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.14262
  Prefactor  = 26.2318
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.9478
  Prefactor  = 0.0001
  norm       = 104.61
  Prefactor  = 0.0001
  Prefactor  = 1.34134
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.1576
  norm       = 58.4174
  norm       = 10.4168
  Prefactor  = 3.50888
  Prefactor  = 0.0001
  Normalizat = 1.41793
  Prefactor  = 0.687112
 **********
 **   18 **HESSE 
 **********

 FCN=   5816.129     FROM HESSE     STATUS=OK           374 CALLS     2911 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9642        11.843        .15204E-03   -1.5180    
   2  Prefactor     8.8341        5.3313        .12973E-03   -1.5113    
   3  Prefactor     .10000E-03    1.3710        .86968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.9143        .10266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.1426        6.3466        .15007E-03   -1.5173    
   6  Prefactor     26.232        30.969        .78209E-04   -1.4683    
   7  Prefactor     .10000E-03    58.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.0890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          18.948        39.881        .91816E-04   -1.4837    
  10  Prefactor     .10000E-03    128.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          104.61        8.2721        .39316E-04   -1.3659    
  12  Prefactor     .10000E-03    42.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3413        11.640        .37842E-03   -1.5476    
  14  Prefactor     .10000E-03    2.2694        .11173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    29.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     89.158        117.58        .21264E-03   -1.3817    
  18  norm          58.417        49.593        .52503E-04   -1.4178    
  19  norm          10.417        10.001        .12415E-03   -1.5062    
  20  Prefactor     3.5089        1032.4        .20803E-02   -1.5333    
  21  Prefactor     .10000E-03    4.1806        .15227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4179        .36416        .35829E-03   -.80111    
  23  Prefactor     .68711        .27339        .38207E-03   -1.0403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02452e-10
Minuit parameter uncertainties:
  1  11.8467
  2  5.3316
  3  1.46197e-06
  4  2.69896e-06
  5  6.34719
  6  30.988
  7  5.10319e-05
  8  2.23356e-06
  9  39.9374
  10  0.000106125
  11  8.27221
  12  5.8544e-06
  13  7.90445
  14  4.01046e-06
  15  2.49767e-05
  16  2.14404e-05
  17  117.891
  18  49.6281
  19  10.0026
  20  122.573
  21  7.32359e-07
  22  0.364831
  23  0.273924
Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.341e+00  7.904e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  2.721e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  6.871e-01  2.739e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.418e+00  3.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 18.786 -1.496
Photon Flux Upper Limit: 1.95e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.54e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/153884/likelihoodResults_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.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) = 5816.11833386
delta logL = 0.0102130377645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5816.11683669
delta logL = 0.0117102034746

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7777       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2943       1.0000          .0000       10.000    
     3 'Normalizat'    1.4203       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68521       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5816.117     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      267 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7718        9.2437        .15697E-02   -.17650E-04
   2  Index         2.2946        2.3013        .20902E-01    .88407E-05
   3  Normalizat    1.4202        .33598        .35805E-03    .98429E-05
   4  Prefactor     .68521        .26049        .38252E-03    .90945E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.77184
  Index      = 2.29463
  Normalizat = 1.42016
  Prefactor  = 0.685212
 **********
 **   18 **HESSE 
 **********

 FCN=   5816.117     FROM HESSE     STATUS=OK            27 CALLS      294 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7718        9.2500        .62790E-04   -1.5442    
   2  Index         2.2946        2.3047        .83607E-03   -.57171    
   3  Normalizat    1.4202        .33631        .14322E-04   -.80047    
   4  Prefactor     .68521        .26073        .15301E-04   -1.0411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81923e-11
Minuit parameter uncertainties:
  1  8.09853
  2  2.43922
  3  0.336831
  4  0.261194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153884': 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) = 5816.11683607
delta logL = 0.0117108290888

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.772e+00  8.099e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  2.295e+00  2.439e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  5.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  6.852e-01  2.612e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.420e+00  3.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 18.786 -1.496

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/153884/cmap_HighResolution_672710401_672969601_4FGL_J0115.1-0129_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-02', job_status='DONE', photon_flux_upper_limit='1.95e-07', time_completed='2022-04-30 00:20:56.892228', job_id='153884', GAL2='0.69', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1651303256.89', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='1.17e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1672' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:20:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 153909: <4FGL_J0115.1-0129_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0115.1-0129_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:45 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:09:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:09:06 2022
Terminated at Sat Apr 30 00:20:55 2022
Results reported at Sat Apr 30 00:20:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1-0129_daily_bin1672 18.7859 -1.4962 672710401 672969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0115.1-0129 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   667.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             374.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            910 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 153884: <4FGL_J0115.1-0129_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0115.1-0129_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:43 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:08:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:08:45 2022
Terminated at Sat Apr 30 00:20:57 2022
Results reported at Sat Apr 30 00:20:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1-0129_daily_bin1672 18.7859 -1.4962 672710401 672969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0115.1-0129 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   647.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             285.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            914 sec.

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

