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


Performing analysis on: 4FGL_J0115.1-0129_daily_bin730
RA = 18.7859, Dec = -1.4962
tmin = 428544001, tmax = 428803201
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='493485', job_status='RUN', time_executed='2021-08-13 20:24:30.929791', time_epoch_executed='1628911470.93' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/493485

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/493485/ft1_4FGL_J0115.1-0129_daily_bin730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/493485/ft2_4FGL_J0115.1-0129_daily_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/493485/ft1_4FGL_J0115.1-0129_daily_bin730.fits outfile=/scratch/kocevski/493485/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin730.fits ra=18.7859 dec=-1.4962 rad=12.0 tmin=428544001.0 tmax=428803201.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 6.20
user 5.90
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/493485/ft1_filtered_4FGL_J0115.1-0129_daily_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/493485/ft2_4FGL_J0115.1-0129_daily_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/493485/ltcube_428544001_428803201_4FGL_J0115.1-0129_daily_bin730.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/493485/ft2_4FGL_J0115.1-0129_daily_bin730.fits
.....................!
real 13.16
user 12.80
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/493485/ft1_filtered_4FGL_J0115.1-0129_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/493485/ft2_4FGL_J0115.1-0129_daily_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/493485/ltcube_428544001_428803201_4FGL_J0115.1-0129_daily_bin730.fits outfile=/scratch/kocevski/493485/expmap_428544001_428803201_4FGL_J0115.1-0129_daily_bin730.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/493485/ltcube_428544001_428803201_4FGL_J0115.1-0129_daily_bin730.fits
.....................!
real 190.48
user 186.07
sys 3.82

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/493485/ft1_filtered_4FGL_J0115.1-0129_daily_bin730.fits scfile=/scratch/kocevski/493485/ft2_4FGL_J0115.1-0129_daily_bin730.fits outfile=/scratch/kocevski/493485/cmap_428544001_428803201_4FGL_J0115.1-0129_daily_bin730.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/493485/ft1_filtered_4FGL_J0115.1-0129_daily_bin730.fits scfile=/scratch/kocevski/493485/ft2_4FGL_J0115.1-0129_daily_bin730.fits outfile=/scratch/kocevski/493485/cmap_HighResolution_428544001_428803201_4FGL_J0115.1-0129_daily_bin730.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/493485/ft1_filtered_4FGL_J0115.1-0129_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/493485/ft2_4FGL_J0115.1-0129_daily_bin730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/493485/Model_4FGL_J0115.1-0129_daily_bin730.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/493485/ft1_filtered_4FGL_J0115.1-0129_daily_bin730.fits.....................!
real 53.67
user 52.43
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6735       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2600       1.0000         .10000E-03   10000.    
     4 'norm      '    4.0977       1.0000         .10000E-03   10000.    
     5 'norm      '    6.1780       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .73837E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    26.737       1.0000         .10000E-03   10000.    
    10 'Prefactor '    111.65       1.0000         .10000E-03   10000.    
    11 'norm      '    11.009       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.950       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.173       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.2041       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10190E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12325       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2115       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .75427       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=   4616.982     FROM MIGRAD    STATUS=CONVERGED    933 CALLS     3279 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6696        .14327E-02** at limit **
   2  Prefactor     5.6741        3.4396        .94554E-04    .26933E-04
   3  Prefactor     9.2601        4.6860        .99299E-04    .75792E-04
   4  norm          4.0960        3.6304        .11760E-03    .77438E-04
   5  norm          6.1774        6.3663        .16151E-03    .71444E-04
   6  Prefactor     .10000E-03    40.314        .11763    ** at limit **
   7  Prefactor     .10000E-03    14.938        .18142E-02** at limit **
   8  Prefactor     .10000E-03    16.055        .18142E-02** at limit **
   9  norm          26.710        26.530        .77475E-04   -.83641E-05
  10  Prefactor     111.69        93.142        .19034E-03    .34044E-05
  11  norm          11.009        2.7745        .52839E-04    .12191E-03
  12  Prefactor     31.961        44.789        .70888E-04    .20528E-04
  13  Prefactor     .10000E-03    2.6376        .10762E-02** at limit **
  14  Prefactor     .10000E-03    2.3253        .10040E-02** at limit **
  15  Prefactor     28.159        45.591        .75479E-04    .24702E-04
  16  Prefactor     7.2047        6.9916        .14945E-03    .21300E-05
  17  Prefactor     .10000E-03    37.009        .18142E-02** at limit **
  18  norm          .10000E-03    9.3665        .18142E-02** at limit **
  19  norm          .10000E-03    8.9948        .26594E-02** at limit **
  20  Prefactor     .10000E-03    35.140        .18142E-02** at limit **
  21  Prefactor     .12228        16.766        .21098E-02    .43250E-03
  22  Normalizat    1.2112        .25326        .25225E-03    .13791E-03
  23  Prefactor     .75439        .20989        .26682E-03    .16170E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.67411
  Prefactor  = 9.26011
  norm       = 4.09601
  norm       = 6.17742
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 26.7101
  Prefactor  = 111.685
  norm       = 11.0086
  Prefactor  = 31.9614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.1592
  Prefactor  = 7.20474
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.122285
  Normalizat = 1.21124
  Prefactor  = 0.754388
 **********
 **   18 **HESSE 
 **********

 FCN=   4616.982     FROM HESSE     STATUS=OK           358 CALLS     3637 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6698        .28655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6741        3.4394        .37822E-05   -1.5232    
   3  Prefactor     9.2601        4.6858        .39720E-05   -1.5099    
   4  norm          4.0960        3.6303        .47038E-05   -1.5303    
   5  norm          6.1774        6.3661        .64606E-05   -1.5211    
   6  Prefactor     .10000E-03    39.295        .11976       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.938        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.056        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          26.710        26.534        .30990E-05   -1.4674    
  10  Prefactor     111.69        93.152        .76137E-05   -1.3590    
  11  norm          11.009        2.7744        .10568E-04   -1.5044    
  12  Prefactor     31.961        44.800        .28355E-05   -1.4577    
  13  Prefactor     .10000E-03    2.6377        .21525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.3257        .20081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.159        45.589        .30192E-05   -1.4646    
  16  Prefactor     7.2047        6.9914        .59778E-05   -1.5171    
  17  Prefactor     .10000E-03    37.011        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.3669        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.0431        .53187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    35.141        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .12228        16.968        .84394E-04   -1.5638    
  22  Normalizat    1.2112        .25341        .50449E-04   -.86256    
  23  Prefactor     .75439        .21002        .10673E-04   -1.0143    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09147e-09
Minuit parameter uncertainties:
  1  5.01196e-06
  2  3.43956
  3  4.68598
  4  3.63054
  5  6.36676
  6  0.000651441
  7  1.11839e-05
  8  3.03369e-05
  9  26.546
  10  93.2746
  11  2.77445
  12  44.8473
  13  4.1025e-06
  14  1.01823e-05
  15  45.6458
  16  6.9922
  17  8.80266e-06
  18  1.45935e-05
  19  0.000250765
  20  3.98628e-05
  21  2.88055
  22  0.253669
  23  0.210239
Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  4.103e-06  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:  7.544e-01  2.102e-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.211e+00  2.537e-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: 8.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/493485/likelihoodResults_428544001_428803201_4FGL_J0115.1-0129_daily_bin730.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) = 4616.98400958
delta logL = -0.00177759544022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4616.98223186
delta logL = 1.23214704217e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7077       1.0000          .0000       10.000    
     3 'Normalizat'    1.2113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75438       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=   4616.982     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      249 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.463        .10846E-01** at limit **
   2  Index         2.1751        5.7521        .50000       -.86379E-07
   3  Normalizat    1.2112        .17092E-01    .25225E-03    .11176E-03
   4  Prefactor     .75439        .14698E-01    .26682E-03    .12710E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17506
  Normalizat = 1.21124
  Prefactor  = 0.754388
 **********
 **   18 **HESSE 
 **********

 FCN=   4616.982     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    250.21        .11739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1751        8.8741        .50000       -.60042    
   3  Normalizat    1.2112        .54735E-01    .50449E-04   -.86256    
   4  Prefactor     .75439        .47068E-01    .10673E-04   -1.0143    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.6847e-10
Minuit parameter uncertainties:
  1  5.24449e-05
  2  1002.69
  3  0.0547372
  4  0.0470705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/493485': 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) = 4616.98222898
delta logL = 3.00778810924e-06

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  5.244e-05  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  2.175e+00  1.003e+03  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:  7.544e-01  4.707e-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:  1.211e+00  5.474e-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/493485/cmap_HighResolution_428544001_428803201_4FGL_J0115.1-0129_daily_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.81e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2021-08-13 20:35:05.423972', job_id='493485', GAL2='0.75', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1628912105.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='3.01e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='730' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 20:35:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 493485: <4FGL_J0115.1-0129_daily_bin730> in cluster <slac> Done

Job <4FGL_J0115.1-0129_daily_bin730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 13 20:20:25 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:20:32 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:20:32 2021
Terminated at Fri Aug 13 20:35:06 2021
Results reported at Fri Aug 13 20:35:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1-0129_daily_bin730 18.7859 -1.4962 428544001 428803201 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 :                                   632.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            881 sec.

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

