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


Performing analysis on: 4FGL_J0115.1-0129_daily_bin950
RA = 18.7859, Dec = -1.4962
tmin = 485568001, tmax = 485827201
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='494938', job_status='RUN', time_executed='2021-08-13 20:27:50.412442', time_epoch_executed='1628911670.41' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='950'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/494938

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/494938/ft1_4FGL_J0115.1-0129_daily_bin950.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/494938/ft2_4FGL_J0115.1-0129_daily_bin950.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/494938/ft1_4FGL_J0115.1-0129_daily_bin950.fits outfile=/scratch/kocevski/494938/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin950.fits ra=18.7859 dec=-1.4962 rad=12.0 tmin=485568001.0 tmax=485827201.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 4.61
user 3.71
sys 0.88

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/494938/ft1_filtered_4FGL_J0115.1-0129_daily_bin950.fits" evtable="EVENTS" scfile=/scratch/kocevski/494938/ft2_4FGL_J0115.1-0129_daily_bin950.fits sctable="SC_DATA" outfile=/scratch/kocevski/494938/ltcube_485568001_485827201_4FGL_J0115.1-0129_daily_bin950.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/494938/ft2_4FGL_J0115.1-0129_daily_bin950.fits
.....................!
real 12.71
user 11.62
sys 1.05

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/494938/ft1_filtered_4FGL_J0115.1-0129_daily_bin950.fits evtable="EVENTS" scfile=/scratch/kocevski/494938/ft2_4FGL_J0115.1-0129_daily_bin950.fits sctable="SC_DATA" expcube=/scratch/kocevski/494938/ltcube_485568001_485827201_4FGL_J0115.1-0129_daily_bin950.fits outfile=/scratch/kocevski/494938/expmap_485568001_485827201_4FGL_J0115.1-0129_daily_bin950.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/494938/ltcube_485568001_485827201_4FGL_J0115.1-0129_daily_bin950.fits
.....................!
real 191.35
user 185.14
sys 5.74

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/494938/ft1_filtered_4FGL_J0115.1-0129_daily_bin950.fits scfile=/scratch/kocevski/494938/ft2_4FGL_J0115.1-0129_daily_bin950.fits outfile=/scratch/kocevski/494938/cmap_485568001_485827201_4FGL_J0115.1-0129_daily_bin950.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 1.19
user 0.37
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/494938/ft1_filtered_4FGL_J0115.1-0129_daily_bin950.fits scfile=/scratch/kocevski/494938/ft2_4FGL_J0115.1-0129_daily_bin950.fits outfile=/scratch/kocevski/494938/cmap_HighResolution_485568001_485827201_4FGL_J0115.1-0129_daily_bin950.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 1.20
user 0.40
sys 0.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/494938/ft1_filtered_4FGL_J0115.1-0129_daily_bin950.fits evtable="EVENTS" scfile=/scratch/kocevski/494938/ft2_4FGL_J0115.1-0129_daily_bin950.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/494938/Model_4FGL_J0115.1-0129_daily_bin950.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/494938/ft1_filtered_4FGL_J0115.1-0129_daily_bin950.fits.....................!
real 65.71
user 63.32
sys 2.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10637E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2665       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5244       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    28.636       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.295       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2612       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.715       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.9273       1.0000         .10000E-03   10000.    
    20 'Prefactor '    81.610       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .73287       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2801       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=   5890.412     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2494 TOTAL
                     EDM=   .54E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2193       -.57885E-08** at limit **
   2  Prefactor     .10000E-03    1.2959        .16756E-06** at limit **
   3  Prefactor     .10000E-03    1.7654       -.22432E-07** at limit **
   4  norm          .10000E-03    1.5350        .17220E-07** at limit **
   5  norm          4.2672        5.8956        .30232E-06    .15923E-05
   6  Prefactor     .10000E-03    20.925        .43439E-07** at limit **
   7  Prefactor     8.5263        29.402       -.93492E-07   -.92253E-06
   8  Prefactor     .10000E-03    32.544       -.24303E-06** at limit **
   9  norm          .10000E-03    7.7976        .42489E-07** at limit **
  10  Prefactor     .10000E-03    65.735        .28386E-05** at limit **
  11  norm          28.636        3.3809       -.45188E-07   -.10527E-03
  12  Prefactor     19.284        29.330        .84534E-06   -.90938E-06
  13  Prefactor     .10000E-03    3.7632       -.56180E-08** at limit **
  14  Prefactor     2.2611        3.9522        .15009E-05   -.10746E-04
  15  Prefactor     .10000E-03    29.569        .10164E-05** at limit **
  16  Prefactor     11.713        9.6026       -.77400E-07    .36398E-05
  17  Prefactor     .10000E-03    14.355       -.75278E-07** at limit **
  18  norm          .10000E-03    49.041       -.24722E-05** at limit **
  19  norm          2.9250        5.8395       -.65842E-06   -.38068E-05
  20  Prefactor     81.527        101.08        .73822E-05    .19959E-05
  21  Prefactor     .10000E-03    2.5391       -.10986E-07** at limit **
  22  Normalizat    .73308        .20762       -.55560E-07    .10262E-05
  23  Prefactor     1.2799        .18061       -.49801E-06    .13365E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.26721
  Prefactor  = 0.0001
  Prefactor  = 8.52633
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 28.6356
  Prefactor  = 19.2839
  Prefactor  = 0.0001
  Prefactor  = 2.26105
  Prefactor  = 0.0001
  Prefactor  = 11.7132
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.92497
  Prefactor  = 81.5274
  Prefactor  = 0.0001
  Normalizat = 0.733085
  Prefactor  = 1.2799
 **********
 **   18 **HESSE 
 **********

 FCN=   5890.412     FROM HESSE     STATUS=OK           366 CALLS     2860 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2208        .11166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1892        .16912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.7951        .99477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5429        .92832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2672        5.8821        .19506E-03   -1.5295    
   6  Prefactor     .10000E-03    20.966        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.5263        29.411        .13730E-03   -1.5124    
   8  Prefactor     .10000E-03    32.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.8060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    65.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          28.636        3.3821        .46098E-04   -1.4637    
  12  Prefactor     19.284        29.324        .91182E-04   -1.4829    
  13  Prefactor     .10000E-03    3.7915        .14534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2611        3.9605        .97833E-03   -1.5407    
  15  Prefactor     .10000E-03    29.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.713        9.5997        .11704E-03   -1.5023    
  17  Prefactor     .10000E-03    14.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    49.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.9250        5.8210        .23742E-03   -1.5366    
  20  Prefactor     81.527        101.39        .22230E-03   -1.3900    
  21  Prefactor     .10000E-03    2.5857        .11942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .73308        .24130        .33794E-03   -1.0260    
  23  Prefactor     1.2799        .21090        .23278E-03   -.83907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56057e-10
Minuit parameter uncertainties:
  1  1.9112e-07
  2  1.82188e-06
  3  7.75937e-07
  4  2.7336e-07
  5  5.88292
  6  1.80678e-06
  7  29.4606
  8  1.16478e-05
  9  1.39798e-06
  10  1.95847e-05
  11  3.38216
  12  29.3464
  13  1.3885e-06
  14  3.961
  15  3.91597e-06
  16  9.60101
  17  9.75949e-07
  18  3.3303e-05
  19  5.8221
  20  101.606
  21  2.15659e-07
  22  0.241649
  23  0.211045
Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  1.388e-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:  1.280e+00  2.110e-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:  7.331e-01  2.416e-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: 9.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/494938/likelihoodResults_485568001_485827201_4FGL_J0115.1-0129_daily_bin950.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) = 5890.41370096
delta logL = -0.00125154030684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5890.41244938
delta logL = 3.22315827361e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7110       1.0000          .0000       10.000    
     3 'Normalizat'    .73309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2799       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=   5890.412     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      246 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10098E-03    92.638        .14597E-02** at limit **
   2  Index         2.6439        5.6167        .50000        .18876E-04
   3  Normalizat    .73308        .26028E-01    .33793E-03   -.60556E-05
   4  Prefactor     1.2799        .23183E-01    .23278E-03   -.20415E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100985
  Index      = 2.64388
  Normalizat = 0.733085
  Prefactor  = 1.2799
 **********
 **   18 **HESSE 
 **********

 FCN=   5890.412     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10098E-03    356.76        .29193E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6439        7.6001        .50000       -.49068    
   3  Normalizat    .73308        .56493E-01    .13517E-04   -1.0260    
   4  Prefactor     1.2799        .50320E-01    .46555E-04   -.83907    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.53396e-08
Minuit parameter uncertainties:
  1  0.0377119
  2  1095.02
  3  0.0564975
  4  0.0503216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/494938': 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) = 5890.41244916
delta logL = 2.55022314377e-07

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.010e-04  3.771e-02  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  2.644e+00  1.095e+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:  1.280e+00  5.032e-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:  7.331e-01  5.650e-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/494938/cmap_HighResolution_485568001_485827201_4FGL_J0115.1-0129_daily_bin950.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-03', job_status='DONE', photon_flux_upper_limit='9.41e-08', time_completed='2021-08-13 20:38:53.705856', job_id='494938', GAL2='1.28', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1628912333.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='2.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='950' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 20:38:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 494938: <4FGL_J0115.1-0129_daily_bin950> in cluster <slac> Done

Job <4FGL_J0115.1-0129_daily_bin950> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 20:25:22 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:25:41 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:25:41 2021
Terminated at Fri Aug 13 20:38:54 2021
Results reported at Fri Aug 13 20:38:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1-0129_daily_bin950 18.7859 -1.4962 485568001 485827201 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 :                                   670.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            812 sec.

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

