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


Performing analysis on: 4FGL_J0115.1-0129_daily_bin1624
RA = 18.7859, Dec = -1.4962
tmin = 660268801, tmax = 660528001
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='138121', job_status='RUN', time_executed='2021-12-07 12:04:18.518055', time_epoch_executed='1638907458.52' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='1624'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/138121

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/138121/ft1_4FGL_J0115.1-0129_daily_bin1624.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/138121/ft2_4FGL_J0115.1-0129_daily_bin1624.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/138121/ft1_4FGL_J0115.1-0129_daily_bin1624.fits outfile=/scratch/kocevski/138121/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin1624.fits ra=18.7859 dec=-1.4962 rad=12.0 tmin=660268801.0 tmax=660528001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.88
user 3.61
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/138121/ft1_filtered_4FGL_J0115.1-0129_daily_bin1624.fits" evtable="EVENTS" scfile=/scratch/kocevski/138121/ft2_4FGL_J0115.1-0129_daily_bin1624.fits sctable="SC_DATA" outfile=/scratch/kocevski/138121/ltcube_660268801_660528001_4FGL_J0115.1-0129_daily_bin1624.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/138121/ft2_4FGL_J0115.1-0129_daily_bin1624.fits
.....................!
real 13.75
user 13.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/138121/ft1_filtered_4FGL_J0115.1-0129_daily_bin1624.fits evtable="EVENTS" scfile=/scratch/kocevski/138121/ft2_4FGL_J0115.1-0129_daily_bin1624.fits sctable="SC_DATA" expcube=/scratch/kocevski/138121/ltcube_660268801_660528001_4FGL_J0115.1-0129_daily_bin1624.fits outfile=/scratch/kocevski/138121/expmap_660268801_660528001_4FGL_J0115.1-0129_daily_bin1624.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/138121/ltcube_660268801_660528001_4FGL_J0115.1-0129_daily_bin1624.fits
.....................!
real 192.53
user 186.66
sys 5.28

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/138121/ft1_filtered_4FGL_J0115.1-0129_daily_bin1624.fits scfile=/scratch/kocevski/138121/ft2_4FGL_J0115.1-0129_daily_bin1624.fits outfile=/scratch/kocevski/138121/cmap_660268801_660528001_4FGL_J0115.1-0129_daily_bin1624.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.57
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/138121/ft1_filtered_4FGL_J0115.1-0129_daily_bin1624.fits scfile=/scratch/kocevski/138121/ft2_4FGL_J0115.1-0129_daily_bin1624.fits outfile=/scratch/kocevski/138121/cmap_HighResolution_660268801_660528001_4FGL_J0115.1-0129_daily_bin1624.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=18.7859 yref=-1.4962 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/138121/ft1_filtered_4FGL_J0115.1-0129_daily_bin1624.fits evtable="EVENTS" scfile=/scratch/kocevski/138121/ft2_4FGL_J0115.1-0129_daily_bin1624.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/138121/Model_4FGL_J0115.1-0129_daily_bin1624.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/138121/ft1_filtered_4FGL_J0115.1-0129_daily_bin1624.fits.....................!
real 60.32
user 58.85
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3178       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3201       1.0000         .10000E-03   10000.    
     4 'norm      '    .33935E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.144       1.0000         .10000E-03   10000.    
     6 'Prefactor '    85.725       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.082       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.6996       1.0000         .10000E-03   10000.    
    10 'Prefactor '    80.874       1.0000         .10000E-03   10000.    
    11 'norm      '    20.287       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0265       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .67595       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4996       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    27.179       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.1490       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .48867       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3625       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=   5603.489     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2550 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2154       -.22423E-07** at limit **
   2  Prefactor     1.3178        1.3313       -.70358E-08    .34812E-04
   3  Prefactor     2.3213        4.6534        .26828E-06   -.75586E-04
   4  norm          .10015E-03    3.3501       -.19612E-05** at limit **
   5  norm          10.145        7.1430       -.34277E-06    .32817E-03
   6  Prefactor     85.730        54.633        .42212E-08    .25763E-03
   7  Prefactor     15.091        47.583        .99277E-06    .20453E-03
   8  Prefactor     .10000E-03    15.366       -.16640E-06** at limit **
   9  norm          3.7001        9.9297        .65846E-05   -.17680E-03
  10  Prefactor     80.827        96.853       -.76111E-05   -.21101E-03
  11  norm          20.288        3.4081        .22280E-06   -.78935E-04
  12  Prefactor     .10000E-03    23.816       -.20355E-05** at limit **
  13  Prefactor     3.0266        6.7184        .39991E-06   -.38523E-04
  14  Prefactor     .66601        4.5798        .87132E-06   -.16978E-03
  15  Prefactor     .10001E-03    51.633       -.54332E-05** at limit **
  16  Prefactor     .10000E-03    26.236        .22623E-05** at limit **
  17  Prefactor     6.4879        54.673       -.40634E-05   -.74452E-04
  18  norm          .10000E-03    11.234        .54569E-06** at limit **
  19  norm          27.178        10.032        .49034E-07   -.38058E-04
  20  Prefactor     .10001E-03    41.682        .53779E-05** at limit **
  21  Prefactor     7.1496        5.4211        .13583E-07   -.11800E-03
  22  Normalizat    .48860        .22879       -.62495E-06    .56782E-04
  23  Prefactor     1.3625        .19321       -.52237E-06    .17757E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.31781
  Prefactor  = 2.32126
  norm       = 0.000100152
  norm       = 10.1451
  Prefactor  = 85.7305
  Prefactor  = 15.0907
  Prefactor  = 0.0001
  norm       = 3.70013
  Prefactor  = 80.8266
  norm       = 20.2879
  Prefactor  = 0.000100001
  Prefactor  = 3.02663
  Prefactor  = 0.666008
  Prefactor  = 0.000100009
  Prefactor  = 0.000100001
  Prefactor  = 6.48794
  norm       = 0.0001
  norm       = 27.1785
  Prefactor  = 0.000100008
  Prefactor  = 7.14963
  Normalizat = 0.488599
  Prefactor  = 1.36249
 **********
 **   18 **HESSE 
 **********

 FCN=   5603.489     FROM HESSE     STATUS=OK           370 CALLS     2920 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2247        .15009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.3178        1.3475        .84438E-04   -1.5478    
   3  Prefactor     2.3213        4.6419        .21050E-03   -1.5403    
   4  norm          .10015E-03    13.555        .23840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.145        7.0768        .12581E-03   -1.5071    
   6  Prefactor     85.730        54.217        .43389E-04   -1.3853    
   7  Prefactor     15.091        46.791        .10313E-03   -1.4931    
   8  Prefactor     .10000E-03    15.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.7001        10.339        .10498E-02   -1.5323    
  10  Prefactor     80.827        100.06        .22331E-03   -1.3907    
  11  norm          20.288        3.4198        .49649E-04   -1.4807    
  12  Prefactor     .10000E-03    23.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.0266        6.6930        .23326E-03   -1.5360    
  14  Prefactor     .66601        9.1481        .29427E-02   -1.5545    
  15  Prefactor     .10001E-03    52.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.115        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.4879        55.590        .15742E-03   -1.5198    
  18  norm          .10000E-03    11.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          27.178        10.026        .76844E-04   -1.4665    
  20  Prefactor     .10001E-03    42.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.1496        5.4194        .14660E-03   -1.5173    
  22  Normalizat    .48860        .24948        .40310E-03   -1.1295    
  23  Prefactor     1.3625        .21630        .22241E-03   -.81468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86034e-08
Minuit parameter uncertainties:
  1  1.38402e-06
  2  1.34751
  3  4.64261
  4  0.00287247
  5  7.07737
  6  54.2483
  7  46.9047
  8  6.53837e-06
  9  10.3444
  10  100.264
  11  3.4198
  12  0.00033637
  13  6.69465
  14  4.93722
  15  0.00136007
  16  0.000289247
  17  38.0298
  18  5.81709e-05
  19  10.0262
  20  0.00117141
  21  5.41973
  22  0.250054
  23  0.216448
Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  3.027e+00  6.695e+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:  1.362e+00  2.164e-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:  4.886e-01  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/138121/likelihoodResults_660268801_660528001_4FGL_J0115.1-0129_daily_bin1624.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5603.401503
delta logL = 0.0870384481441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5603.39720119
delta logL = 0.091340257457

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5603.397     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      265 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2503        22.568         .0000        .35673E-02
   2  Index         2.0820        2.0801         .0000       -.28867E-04
   3  Normalizat    .49858        .21943         .0000        .40623E-04
   4  Prefactor     1.3544        .19683         .0000        .31821E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.25027
  Index      = 2.08202
  Normalizat = 0.498581
  Prefactor  = 1.35443
 **********
 **   18 **HESSE 
 **********

 FCN=   5603.397     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2503        7.7334        .97746E-03   -1.5296    
   2  Index         2.0820        1.2037        .15371E-01   -.62315    
   3  Normalizat    .49858        .23828        .39927E-03   -1.1248    
   4  Prefactor     1.3544        .21230        .22294E-03   -.81703    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66125e-11
Minuit parameter uncertainties:
  1  7.73521
  2  1.22212
  3  0.238766
  4  0.212435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/138121': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5603.39719332
delta logL = 0.0913481335911

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.354e+00  2.124e-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:  4.986e-01  2.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.27
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/138121/cmap_HighResolution_660268801_660528001_4FGL_J0115.1-0129_daily_bin1624.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.40e-07', time_completed='2021-12-07 12:14:52.700003', job_id='138121', GAL2='1.35', fit_tolerance='1e-08', EG2='0.50', EG='0.49', time_epoch_completed='1638908092.7', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='9.13e-02', ts2='0.45', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1624' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:14:52 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 138121: <4FGL_J0115.1-0129_daily_bin1624> in cluster <slac> Done

Job <4FGL_J0115.1-0129_daily_bin1624> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 12:00:20 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 12:01:11 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 12:01:11 2021
Terminated at Tue Dec  7 12:14:53 2021
Results reported at Tue Dec  7 12:14:53 2021

Your job looked like:

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

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

