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


Performing analysis on: 4FGL_J0115.1-0129_daily_bin750
RA = 18.7859, Dec = -1.4962
tmin = 433728001, tmax = 433987201
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='493513', job_status='RUN', time_executed='2021-08-13 20:23:49.875717', time_epoch_executed='1628911429.88' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/493513

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/493513/ft1_4FGL_J0115.1-0129_daily_bin750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/493513/ft2_4FGL_J0115.1-0129_daily_bin750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/493513/ft1_4FGL_J0115.1-0129_daily_bin750.fits outfile=/scratch/kocevski/493513/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin750.fits ra=18.7859 dec=-1.4962 rad=12.0 tmin=433728001.0 tmax=433987201.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.77
user 5.77
sys 0.94

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/493513/ft1_filtered_4FGL_J0115.1-0129_daily_bin750.fits" evtable="EVENTS" scfile=/scratch/kocevski/493513/ft2_4FGL_J0115.1-0129_daily_bin750.fits sctable="SC_DATA" outfile=/scratch/kocevski/493513/ltcube_433728001_433987201_4FGL_J0115.1-0129_daily_bin750.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/493513/ft2_4FGL_J0115.1-0129_daily_bin750.fits
.....................!
real 13.13
user 12.02
sys 1.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/493513/ft1_filtered_4FGL_J0115.1-0129_daily_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/493513/ft2_4FGL_J0115.1-0129_daily_bin750.fits sctable="SC_DATA" expcube=/scratch/kocevski/493513/ltcube_433728001_433987201_4FGL_J0115.1-0129_daily_bin750.fits outfile=/scratch/kocevski/493513/expmap_433728001_433987201_4FGL_J0115.1-0129_daily_bin750.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/493513/ltcube_433728001_433987201_4FGL_J0115.1-0129_daily_bin750.fits
.....................!
real 190.77
user 185.16
sys 5.24

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/493513/ft1_filtered_4FGL_J0115.1-0129_daily_bin750.fits scfile=/scratch/kocevski/493513/ft2_4FGL_J0115.1-0129_daily_bin750.fits outfile=/scratch/kocevski/493513/cmap_433728001_433987201_4FGL_J0115.1-0129_daily_bin750.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.25
user 0.35
sys 0.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/493513/ft1_filtered_4FGL_J0115.1-0129_daily_bin750.fits scfile=/scratch/kocevski/493513/ft2_4FGL_J0115.1-0129_daily_bin750.fits outfile=/scratch/kocevski/493513/cmap_HighResolution_433728001_433987201_4FGL_J0115.1-0129_daily_bin750.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.24
user 0.39
sys 0.84

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1774       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3583       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4300       1.0000         .10000E-03   10000.    
     4 'norm      '    4.5041       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2067       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    34.961       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5569       1.0000         .10000E-03   10000.    
    11 'norm      '    5.5313       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.477       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6877       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4232       1.0000         .10000E-03   10000.    
    15 'Prefactor '    40.444       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5513       1.0000         .10000E-03   10000.    
    17 'Prefactor '    50.638       1.0000         .10000E-03   10000.    
    18 'norm      '    45.566       1.0000         .10000E-03   10000.    
    19 'norm      '    16.296       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .75461       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93053       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=   4793.647     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2524 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1787        10.012        .12436E-05   -.56894E-05
   2  Prefactor     3.3590        2.8014        .83698E-07    .16208E-04
   3  Prefactor     2.4296        3.1543        .71056E-07   -.25955E-04
   4  norm          4.5051        3.1343       -.17061E-06   -.10227E-03
   5  norm          .10000E-03    2.6118       -.72078E-07** at limit **
   6  Prefactor     9.1796        31.523        .49855E-05    .41897E-05
   7  Prefactor     .10000E-03    16.136       -.21782E-06** at limit **
   8  Prefactor     .10000E-03    18.292       -.10713E-06** at limit **
   9  norm          34.959        22.671        .22553E-06    .41110E-05
  10  Prefactor     7.5680        325.46       -.28775E-05   -.18774E-05
  11  norm          5.5316        2.3230        .45852E-07   -.59482E-04
  12  Prefactor     21.475        35.649        .33248E-06   -.13757E-04
  13  Prefactor     2.6904        7.8837        .10171E-05    .73360E-05
  14  Prefactor     2.4247        4.6076        .34367E-05   -.24931E-04
  15  Prefactor     40.459        43.907       -.35215E-05   -.91925E-05
  16  Prefactor     2.5508        5.3449        .66785E-07    .13434E-04
  17  Prefactor     50.646        56.081       -.70594E-06   -.32040E-05
  18  norm          45.573        28.742       -.75260E-06   -.24498E-05
  19  norm          16.296        7.3492        .12011E-06    .64229E-05
  20  Prefactor     .10000E-03    58.285       -.52381E-06** at limit **
  21  Prefactor     .10000E-03    1.0747        .51047E-08** at limit **
  22  Normalizat    .75419        .20501       -.75514E-06    .34911E-04
  23  Prefactor     .93086        .16844       -.53345E-06   -.58093E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.17873
  Prefactor  = 3.35896
  Prefactor  = 2.4296
  norm       = 4.50508
  norm       = 0.0001
  Prefactor  = 9.17958
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.9595
  Prefactor  = 7.56796
  norm       = 5.53159
  Prefactor  = 21.4746
  Prefactor  = 2.6904
  Prefactor  = 2.42467
  Prefactor  = 40.4593
  Prefactor  = 2.55085
  Prefactor  = 50.6463
  norm       = 45.5725
  norm       = 16.2957
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.754186
  Prefactor  = 0.930861
 **********
 **   18 **HESSE 
 **********

 FCN=   4793.647     FROM HESSE     STATUS=OK           380 CALLS     2904 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1787        10.008        .80761E-03   -1.5211    
   2  Prefactor     3.3590        2.8031        .10076E-03   -1.5341    
   3  Prefactor     2.4296        3.1392        .13323E-03   -1.5396    
   4  norm          4.5051        3.1374        .98802E-04   -1.5283    
   5  norm          .10000E-03    2.6284        .10922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.1796        31.622        .13208E-03   -1.5102    
   7  Prefactor     .10000E-03    16.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          34.959        22.686        .67776E-04   -1.4525    
  10  Prefactor     7.5680        322.95        .14589E-03   -1.5158    
  11  norm          5.5316        2.3131        .57318E-04   -1.5238    
  12  Prefactor     21.475        35.360        .86429E-04   -1.4781    
  13  Prefactor     2.6904        7.7892        .24853E-03   -1.5380    
  14  Prefactor     2.4247        4.6241        .93631E-03   -1.5397    
  15  Prefactor     40.459        43.966        .63030E-04   -1.4435    
  16  Prefactor     2.5508        5.3160        .22400E-03   -1.5389    
  17  Prefactor     50.646        56.131        .56357E-04   -1.4283    
  18  norm          45.573        28.792        .59396E-04   -1.4357    
  19  norm          16.296        7.3514        .99216E-04   -1.4900    
  20  Prefactor     .10000E-03    58.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.0760        .70097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .75419        .23903        .27792E-03   -1.0179    
  23  Prefactor     .93086        .19641        .22163E-03   -.95071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00101e-10
Minuit parameter uncertainties:
  1  10.0103
  2  2.8032
  3  3.13942
  4  3.13753
  5  4.3535e-06
  6  31.68
  7  6.17653e-05
  8  1.26218e-05
  9  22.692
  10  99.453
  11  2.31312
  12  35.3948
  13  7.79213
  14  4.62475
  15  44.001
  16  5.31698
  17  56.1895
  18  28.801
  19  7.35177
  20  3.2099e-05
  21  2.53346e-07
  22  0.239359
  23  0.196563
Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  2.690e+00  7.792e+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:  9.309e-01  1.966e-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.542e-01  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/493513/likelihoodResults_433728001_433987201_4FGL_J0115.1-0129_daily_bin750.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) = 4793.63174226
delta logL = 0.0155087884832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4793.4219151
delta logL = 0.225335944653

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80185E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    7.1676       1.0000          .0000       10.000    
     3 'Normalizat'    .72369       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95420       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.

 FCN=   4793.422     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      269 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76992E-02    .20195        .19431E-02    .16208E-01
   2  Index         7.1921        7.4005        .22520        .10368E-03
   3  Normalizat    .72373        .34462E-01    .63992E-01    .31552E-04
   4  Prefactor     .95447        .30455E-01    .45692E-01    .60389E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00769924
  Index      = 7.19206
  Normalizat = 0.723727
  Prefactor  = 0.954475
 **********
 **   18 **HESSE 
 **********

 FCN=   4793.422     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      304 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76992E-02    .82295        .89556E-04   -1.5691    
   2  Index         7.1921        7.9268        .99923E-02    .45383    
   3  Normalizat    .72373        .14861        .28311E-03   -1.0296    
   4  Prefactor     .95447        .12960        .21921E-03   -.94263    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84144e-09
Minuit parameter uncertainties:
  1  0.158164
  2  12.4648
  3  0.148688
  4  0.129645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/493513': 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) = 4793.42190319
delta logL = 0.225347858511

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  7.699e-03  1.582e-01  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  7.192e+00  1.246e+01  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:  9.545e-01  1.296e-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.237e-01  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/493513/cmap_HighResolution_433728001_433987201_4FGL_J0115.1-0129_daily_bin750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-08-13 20:33:55.636048', job_id='493513', GAL2='0.95', fit_tolerance='1e-08', EG2='0.72', EG='0.75', time_epoch_completed='1628912035.64', return_code2='102', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.25e-01', ts2='0.63', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='750' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 20:33:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 493513: <4FGL_J0115.1-0129_daily_bin750> in cluster <slac> Done

Job <4FGL_J0115.1-0129_daily_bin750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 13 20:20:27 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:20:39 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:39 2021
Terminated at Fri Aug 13 20:33:56 2021
Results reported at Fri Aug 13 20:33:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1-0129_daily_bin750 18.7859 -1.4962 433728001 433987201 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 :                                   614.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             285.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            809 sec.

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

