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


Performing analysis on: 4FGL_J0115.1-0129_daily_bin1500
RA = 18.7859, Dec = -1.4962
tmin = 628128001, tmax = 628387201
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='496735', job_status='RUN', time_executed='2021-08-13 20:34:17.491093', time_epoch_executed='1628912057.49' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/496735

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/496735/ft1_4FGL_J0115.1-0129_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/496735/ft1_4FGL_J0115.1-0129_daily_bin1500.fits outfile=/scratch/kocevski/496735/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin1500.fits ra=18.7859 dec=-1.4962 rad=12.0 tmin=628128001.0 tmax=628387201.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 7.65
user 4.92
sys 2.66

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/496735/ft1_filtered_4FGL_J0115.1-0129_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/496735/ltcube_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.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/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits
.....................!
real 14.96
user 11.84
sys 3.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/496735/ft1_filtered_4FGL_J0115.1-0129_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/496735/ltcube_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.fits outfile=/scratch/kocevski/496735/expmap_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.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/496735/ltcube_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.fits
.....................!
real 194.61
user 185.10
sys 9.11

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/496735/ft1_filtered_4FGL_J0115.1-0129_daily_bin1500.fits scfile=/scratch/kocevski/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits outfile=/scratch/kocevski/496735/cmap_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.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 2.74
user 0.38
sys 2.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/496735/ft1_filtered_4FGL_J0115.1-0129_daily_bin1500.fits scfile=/scratch/kocevski/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits outfile=/scratch/kocevski/496735/cmap_HighResolution_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.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 2.94
user 0.41
sys 2.51

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/496735/ft1_filtered_4FGL_J0115.1-0129_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/496735/Model_4FGL_J0115.1-0129_daily_bin1500.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/496735/ft1_filtered_4FGL_J0115.1-0129_daily_bin1500.fits.....................!
real 53.30
user 48.68
sys 4.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/496735/ft1_filtered_4FGL_J0115.1-0129_daily_bin1500.fits', '/scratch/kocevski/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits', expMap='/scratch/kocevski/496735/expmap_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.fits', expCube='/scratch/kocevski/496735/ltcube_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/496735/Model_4FGL_J0115.1-0129_daily_bin1500.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/496735/ft1_filtered_4FGL_J0115.1-0129_daily_bin1500.fits
Spacecraft file(s): /scratch/kocevski/496735/ft2_4FGL_J0115.1-0129_daily_bin1500.fits
Exposure map: /scratch/kocevski/496735/expmap_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.fits
Exposure cube: /scratch/kocevski/496735/ltcube_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/496735/Model_4FGL_J0115.1-0129_daily_bin1500.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) = 4477.69669154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    44.173       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8323       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .34805       1.0000         .10000E-03   10000.    
     4 'norm      '    .10140E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.8724       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13067E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14326E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.162       1.0000         .10000E-03   10000.    
     9 'norm      '    .99421E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .48819E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    8.1064       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .26494E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3675       1.0000         .10000E-03   10000.    
    15 'Prefactor '    50.637       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    111.18       1.0000         .10000E-03   10000.    
    18 'norm      '    .10160E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .68658E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .52675       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3540       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=   4477.689     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2600 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.168        16.090        .31368E-06    .12948E-03
   2  Prefactor     1.8318        1.8000        .93753E-07    .21859E-03
   3  Prefactor     .35041        3.6498        .15174E-05    .34099E-03
   4  norm          .10000E-03    3.3437       -.50338E-06** at limit **
   5  norm          8.8924        9.2473        .89327E-06    .34936E-03
   6  Prefactor     .10000E-03    22.557       -.53072E-06** at limit **
   7  Prefactor     .10000E-03    25.119       -.38866E-06** at limit **
   8  Prefactor     31.099        45.812        .28868E-05    .16146E-03
   9  norm          .10001E-03    165.63        .26871E-04** at limit **
  10  Prefactor     .10039E-03    586.00        .14069E-05** at limit **
  11  norm          8.1089        2.2277        .16723E-06    .22382E-02
  12  Prefactor     .10000E-03    93.608        .55638E-06** at limit **
  13  Prefactor     .10000E-03    3.8399       -.10727E-06** at limit **
  14  Prefactor     2.3686        5.9310        .23951E-05    .40376E-04
  15  Prefactor     50.580        66.181       -.34673E-05   -.16079E-03
  16  Prefactor     .10000E-03    5.4263       -.40708E-06** at limit **
  17  Prefactor     111.02        69.802       -.19443E-05    .26481E-04
  18  norm          .10000E-03    35.587       -.18857E-05** at limit **
  19  norm          .37184E-01    414.27        .13362E-03    .10296E-04
  20  Prefactor     .10000E-03    72.410        .15820E-06** at limit **
  21  Prefactor     .10000E-03    3.2676        .91817E-07** at limit **
  22  Normalizat    .52705        .23599       -.33031E-05    .10061E-04
  23  Prefactor     1.3541        .20323        .75869E-06    .25014E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.1676
  Prefactor  = 1.83184
  Prefactor  = 0.350409
  norm       = 0.0001
  norm       = 8.89239
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 31.0995
  norm       = 0.000100006
  Prefactor  = 0.000100391
  norm       = 8.10894
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 2.36862
  Prefactor  = 50.5801
  Prefactor  = 0.0001
  Prefactor  = 111.022
  norm       = 0.0001
  norm       = 0.0371845
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.527049
  Prefactor  = 1.35409
 **********
 **   18 **HESSE 
 **********

 FCN=   4477.689     FROM HESSE     STATUS=OK           372 CALLS     2972 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.168        16.075        .60321E-04   -1.4378    
   2  Prefactor     1.8318        1.8007        .86249E-04   -1.5437    
   3  Prefactor     .35041        18.410        .20597E-02   -1.5590    
   4  norm          .10000E-03    3.3981        .11968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.8924        9.4455        .13456E-03   -1.5111    
   6  Prefactor     .10000E-03    22.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.099        47.525        .71777E-04   -1.4592    
   9  norm          .10001E-03    159.76        .52256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10039E-03    597.61        .19235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.1089        2.2239        .49766E-04   -1.5138    
  12  Prefactor     .10000E-03    95.316        .21441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.8663        .12809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3686        5.9567        .24057E-03   -1.5400    
  15  Prefactor     50.580        66.140        .56357E-04   -1.4284    
  16  Prefactor     .10000E-03    5.4346        .15221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     111.02        70.078        .19074E-03   -1.3597    
  18  norm          .10000E-03    35.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .37184E-01    10.344        .54125E-01   -1.5669    
  20  Prefactor     .10000E-03    72.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.2955        .11819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .52705        .26359        .36288E-03   -1.1118    
  23  Prefactor     1.3541        .22927        .21184E-03   -.81712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69205e-09
Minuit parameter uncertainties:
  1  16.0764
  2  1.80074
  3  5.08074
  4  2.59893e-05
  5  9.44711
  6  0.00021538
  7  6.89878e-05
  8  47.5831
  9  0.00189525
  10  0.0308768
  11  2.22391
  12  0.000731246
  13  9.0359e-05
  14  5.95819
  15  66.2357
  16  0.000102159
  17  70.1299
  18  0.000100045
  19  1.23894
  20  0.000107459
  21  1.63853e-05
  22  0.264212
  23  0.229441
Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  9.036e-05  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:  1.354e+00  2.294e-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:  5.270e-01  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.786 -1.496
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/496735/likelihoodResults_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4477.69022977
delta logL = -0.00122499184454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4477.68900478
delta logL = -9.8498276202e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7085       1.0000          .0000       10.000    
     3 'Normalizat'    .52714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3540       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4477.689     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      258 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.001        .12896E-01** at limit **
   2  Index         2.2687        8.6622        .50000        .19122E-07
   3  Normalizat    .52705        .12637E-01    .36287E-03    .51632E-04
   4  Prefactor     1.3541        .11435E-01    .21184E-03    .96748E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.26872
  Normalizat = 0.527053
  Prefactor  = 1.35409
 **********
 **   18 **HESSE 
 **********

 FCN=   4477.689     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      287 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    235.93        .13658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2687        5.9911        .50000       -.57789    
   3  Normalizat    .52705        .42867E-01    .14515E-04   -1.1118    
   4  Prefactor     1.3541        .38792E-01    .42369E-04   -.81713    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.12647e-11
Minuit parameter uncertainties:
  1  2.74462e-06
  2  892.904
  3  0.0428699
  4  0.0387927
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/496735': 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) = 4477.68900322
delta logL = 1.56119222083e-06

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  2.745e-06  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  2.269e+00  8.929e+02  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:  1.354e+00  3.879e-02  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:  5.271e-01  4.287e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/496735/cmap_HighResolution_628128001_628387201_4FGL_J0115.1-0129_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.91e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-08-13 20:44:47.748820', job_id='496735', GAL2='1.35', fit_tolerance='1e-08', EG2='0.53', EG='0.53', time_epoch_completed='1628912687.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='1.56e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1500' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 20:44:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 496735: <4FGL_J0115.1-0129_daily_bin1500> in cluster <slac> Done

Job <4FGL_J0115.1-0129_daily_bin1500> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 13 20:30:51 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:32:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 20:32:10 2021
Terminated at Fri Aug 13 20:44:48 2021
Results reported at Fri Aug 13 20:44:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1-0129_daily_bin1500 18.7859 -1.4962 628128001 628387201 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.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            837 sec.

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

