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


Performing analysis on: 4FGL_J0115.1-0129_daily_bin735
RA = 18.7859, Dec = -1.4962
tmin = 429840001, tmax = 430099201
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='493492', job_status='RUN', time_executed='2021-08-13 20:24:43.378260', time_epoch_executed='1628911483.38' WHERE source_name='4FGL J0115.1-0129' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/493492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/493492/ft1_4FGL_J0115.1-0129_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/493492/ft2_4FGL_J0115.1-0129_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/493492/ft1_4FGL_J0115.1-0129_daily_bin735.fits outfile=/scratch/kocevski/493492/ft1_filteredMKT_4FGL_J0115.1-0129_daily_bin735.fits ra=18.7859 dec=-1.4962 rad=12.0 tmin=429840001.0 tmax=430099201.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 11.50
user 5.55
sys 5.70

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/493492/ft1_filtered_4FGL_J0115.1-0129_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/493492/ft2_4FGL_J0115.1-0129_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/493492/ltcube_429840001_430099201_4FGL_J0115.1-0129_daily_bin735.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/493492/ft2_4FGL_J0115.1-0129_daily_bin735.fits
.....................!
real 19.48
user 12.85
sys 6.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/493492/ft1_filtered_4FGL_J0115.1-0129_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/493492/ft2_4FGL_J0115.1-0129_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/493492/ltcube_429840001_430099201_4FGL_J0115.1-0129_daily_bin735.fits outfile=/scratch/kocevski/493492/expmap_429840001_430099201_4FGL_J0115.1-0129_daily_bin735.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/493492/ltcube_429840001_430099201_4FGL_J0115.1-0129_daily_bin735.fits
.....................!
real 197.93
user 185.48
sys 11.14

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/493492/ft1_filtered_4FGL_J0115.1-0129_daily_bin735.fits scfile=/scratch/kocevski/493492/ft2_4FGL_J0115.1-0129_daily_bin735.fits outfile=/scratch/kocevski/493492/cmap_429840001_430099201_4FGL_J0115.1-0129_daily_bin735.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 5.99
user 0.40
sys 5.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/493492/ft1_filtered_4FGL_J0115.1-0129_daily_bin735.fits scfile=/scratch/kocevski/493492/ft2_4FGL_J0115.1-0129_daily_bin735.fits outfile=/scratch/kocevski/493492/cmap_HighResolution_429840001_430099201_4FGL_J0115.1-0129_daily_bin735.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 5.90
user 0.39
sys 5.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/493492/ft1_filtered_4FGL_J0115.1-0129_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/493492/ft2_4FGL_J0115.1-0129_daily_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/493492/Model_4FGL_J0115.1-0129_daily_bin735.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/493492/ft1_filtered_4FGL_J0115.1-0129_daily_bin735.fits.....................!
real 50.95
user 41.60
sys 8.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9176       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4502       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.5560       1.0000         .10000E-03   10000.    
     5 'norm      '    .77175       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.323       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.7048       1.0000         .10000E-03   10000.    
    12 'Prefactor '    54.329       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10804E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.936       1.0000         .10000E-03   10000.    
    17 'Prefactor '    82.438       1.0000         .10000E-03   10000.    
    18 'norm      '    39.036       1.0000         .10000E-03   10000.    
    19 'norm      '    1.9071       1.0000         .10000E-03   10000.    
    20 'Prefactor '    171.42       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .84527       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87809       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=   3533.585     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2538 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9169        7.5563        .59483E-07   -.11834E-04
   2  Prefactor     1.4504        2.7851        .17193E-06    .16923E-03
   3  Prefactor     .10000E-03    2.2554        .51125E-06** at limit **
   4  norm          5.5544        4.6685       -.66372E-06   -.33829E-03
   5  norm          .72411        36.818        .16527E-04   -.13194E-03
   6  Prefactor     .10000E-03    17.805        .45055E-06** at limit **
   7  Prefactor     .10000E-03    15.510       -.29996E-07** at limit **
   8  Prefactor     21.272        44.802       -.70944E-05   -.91290E-04
   9  norm          .10000E-03    7.2834        .22377E-07** at limit **
  10  Prefactor     .10000E-03    30.227       -.12859E-06** at limit **
  11  norm          6.7041        2.2984        .17337E-07   -.51349E-03
  12  Prefactor     54.239        62.785        .21144E-05    .42008E-04
  13  Prefactor     .10000E-03    3.9694        .34940E-06** at limit **
  14  Prefactor     .10000E-03    2.0832        .11657E-06** at limit **
  15  Prefactor     .10000E-03    35.965        .26954E-06** at limit **
  16  Prefactor     19.935        13.538        .37875E-07   -.12015E-03
  17  Prefactor     82.428        71.362        .72039E-06   -.17285E-04
  18  norm          39.023        36.949        .67959E-06    .11439E-04
  19  norm          1.9101        7.4820        .13487E-06    .14167E-03
  20  Prefactor     171.38        130.12        .11603E-05   -.68886E-06
  21  Prefactor     .10000E-03    1.4992        .24329E-07** at limit **
  22  Normalizat    .84555        .23707       -.16517E-06   -.16053E-03
  23  Prefactor     .87784        .18757       -.23960E-05   -.52644E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.91687
  Prefactor  = 1.45037
  Prefactor  = 0.0001
  norm       = 5.55439
  norm       = 0.724115
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.2722
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.7041
  Prefactor  = 54.2387
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9355
  Prefactor  = 82.4283
  norm       = 39.0226
  norm       = 1.91011
  Prefactor  = 171.376
  Prefactor  = 0.0001
  Normalizat = 0.845553
  Prefactor  = 0.877843
 **********
 **   18 **HESSE 
 **********

 FCN=   3533.585     FROM HESSE     STATUS=OK           368 CALLS     2906 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9169        7.5488        .18137E-03   -1.5264    
   2  Prefactor     1.4504        2.7490        .13142E-03   -1.5467    
   3  Prefactor     .10000E-03    2.2783        .87204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.5544        4.6741        .11246E-03   -1.5237    
   5  norm          .72411        39.172        .27554E-02   -1.5538    
   6  Prefactor     .10000E-03    17.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.272        45.481        .86741E-04   -1.4785    
   9  norm          .10000E-03    7.2843        .15669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.7041        2.3006        .50403E-04   -1.5190    
  12  Prefactor     54.239        62.732        .27209E-03   -1.4234    
  13  Prefactor     .10000E-03    3.9591        .11531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.1038        .83797E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    36.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.935        13.542        .89703E-04   -1.4815    
  17  Prefactor     82.428        71.399        .44239E-04   -1.3890    
  18  norm          39.023        36.795        .64152E-04   -1.4458    
  19  norm          1.9101        7.4141        .29778E-03   -1.5432    
  20  Prefactor     171.38        130.30        .15409E-03   -1.3082    
  21  Prefactor     .10000E-03    1.5000        .71083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .84555        .26521        .27317E-03   -.98401    
  23  Prefactor     .87784        .21302        .22679E-03   -.96920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24142e-09
Minuit parameter uncertainties:
  1  7.55024
  2  2.74922
  3  5.97495e-07
  4  4.67437
  5  10.6584
  6  0.000135475
  7  4.11324e-06
  8  45.5547
  9  1.86918e-05
  10  7.65353e-06
  11  2.3006
  12  62.8088
  13  0.000105923
  14  1.79176e-05
  15  2.6925e-05
  16  13.5443
  17  71.4735
  18  36.8167
  19  7.41769
  20  130.518
  21  7.11259e-06
  22  0.265623
  23  0.213226
Done.

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

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  1.059e-04  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:  8.778e-01  2.132e-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:  8.456e-01  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/493492/likelihoodResults_429840001_430099201_4FGL_J0115.1-0129_daily_bin735.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) = 3533.58640746
delta logL = -0.0011979705364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3533.5852095
delta logL = -1.18070602184e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7186       1.0000          .0000       10.000    
     3 'Normalizat'    .84558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87783       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=   3533.585     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      198 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    777.10        .90712E-02** at limit **
   2  Index         2.7160        5.9724        .50000        .60771E-05
   3  Normalizat    .84555        .12989        .44202E-01    .11170E-05
   4  Prefactor     .87785        .10869        .44722E-01    .34208E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.71597
  Normalizat = 0.845548
  Prefactor  = 0.877849
 **********
 **   18 **HESSE 
 **********

 FCN=   3533.585     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3005        .11537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7160        6.3544        .50000       -.47440    
   3  Normalizat    .84555        .24608        .27316E-03   -.98401    
   4  Prefactor     .87785        .20922        .22679E-03   -.96919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37837e-11
Minuit parameter uncertainties:
  1  5.7458e-06
  2  4.63803
  3  0.246404
  4  0.209413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/493492': 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) = 3533.58520948
delta logL = 7.84302756074e-09

Extracting fit parameters...

4FGL J0115.1-0129
   Spectrum: PowerLaw
272    Prefactor:  1.000e-04  5.746e-06  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  2.716e+00  4.638e+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:  8.778e-01  2.094e-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:  8.455e-01  2.464e-01  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/493492/cmap_HighResolution_429840001_430099201_4FGL_J0115.1-0129_daily_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.27e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-08-13 20:34:46.466374', job_id='493492', GAL2='0.88', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1628912086.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='7.84e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='735' AND source_name='4FGL J0115.1-0129' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 20:34:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 493492: <4FGL_J0115.1-0129_daily_bin735> in cluster <slac> Done

Job <4FGL_J0115.1-0129_daily_bin735> 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) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:20:34 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:34 2021
Terminated at Fri Aug 13 20:34:48 2021
Results reported at Fri Aug 13 20:34:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1-0129_daily_bin735 18.7859 -1.4962 429840001 430099201 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 :                                   681.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            863 sec.

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

