/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 84 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 = 7597
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1118
RA = 159.356, Dec = -29.5568
tmin = 529113601, tmax = 529372801
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='12263', job_status='RUN', time_executed='2021-09-02 05:27:58.263256', time_epoch_executed='1630585678.26' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12263

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12263/ft1_4FGL_J1037.4-2933_daily_bin1118.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12263/ft1_4FGL_J1037.4-2933_daily_bin1118.fits outfile=/scratch/kocevski/12263/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1118.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=529113601.0 tmax=529372801.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.26
user 3.08
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.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/12263/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1118.fits evtable="EVENTS" outfile="/scratch/kocevski/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.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.45
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.fits" evtable="EVENTS" scfile=/scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits sctable="SC_DATA" outfile=/scratch/kocevski/12263/ltcube_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.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/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits
.....................!
real 13.33
user 12.97
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits sctable="SC_DATA" expcube=/scratch/kocevski/12263/ltcube_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.fits outfile=/scratch/kocevski/12263/expmap_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.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/12263/ltcube_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.fits
.....................!
real 156.59
user 152.02
sys 4.03

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 J1037.4-2933 @ 159.356 -29.5568

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.fits scfile=/scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits outfile=/scratch/kocevski/12263/cmap_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.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=159.356 yref=-29.5568 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.47
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.fits scfile=/scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits outfile=/scratch/kocevski/12263/cmap_HighResolution_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.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=159.356 yref=-29.5568 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.48
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/12263/Model_4FGL_J1037.4-2933_daily_bin1118.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/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.fits.....................!
real 58.32
user 56.88
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.fits', '/scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits', expMap='/scratch/kocevski/12263/expmap_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.fits', expCube='/scratch/kocevski/12263/ltcube_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/12263/Model_4FGL_J1037.4-2933_daily_bin1118.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1037.4-2933'

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  4.842e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/12263/ft1_filtered_4FGL_J1037.4-2933_daily_bin1118.fits
Spacecraft file(s): /scratch/kocevski/12263/ft2_4FGL_J1037.4-2933_daily_bin1118.fits
Exposure map: /scratch/kocevski/12263/expmap_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.fits
Exposure cube: /scratch/kocevski/12263/ltcube_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/12263/Model_4FGL_J1037.4-2933_daily_bin1118.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) = 6206.5786541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    1.7715       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10969E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.170       1.0000         .10000E-03   10000.    
     6 'norm      '    7.7661       1.0000         .10000E-03   10000.    
     7 'norm      '    .10926E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.6359       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.604       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .16832E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    251.81       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1876       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83862       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6206.574     FROM MIGRAD    STATUS=CONVERGED    441 CALLS     2243 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.1076       -.38890E-05** at limit **
   2  norm          1.7714        1.5551       -.12148E-06   -.49799E-03
   3  norm          .10000E-03    2.5638        .74227E-07** at limit **
   4  Prefactor     .10000E-03    55.977       -.59407E-05** at limit **
   5  Prefactor     14.161        15.169        .63984E-06    .15458E-03
   6  norm          7.7628        11.422       -.87283E-06    .49668E-03
   7  norm          .10040E-03    6.1105       -.33542E-05** at limit **
   8  Prefactor     .10000E-03    6.2901        .19054E-05** at limit **
   9  Prefactor     9.6305        20.255       -.78078E-05   -.78328E-04
  10  Prefactor     .10000E-03    26.760        .20463E-04** at limit **
  11  norm          .10000E-03    1.8752        .43912E-08** at limit **
  12  Prefactor     20.613        21.478        .55746E-05    .20832E-03
  13  Prefactor     .10000E-03    1.9219        .39137E-08** at limit **
  14  Prefactor     .10000E-03    7.6421        .14518E-05** at limit **
  15  Prefactor     .10001E-03    4.3432       -.18442E-05** at limit **
  16  Prefactor     .10000E-03    4.4838        .41073E-06** at limit **
  17  Prefactor     .10000E-03    10.397        .46287E-05** at limit **
  18  Prefactor     .10000E-03    4.6495       -.70584E-06** at limit **
  19  Prefactor     251.81        122.34       -.32355E-05   -.23704E-04
  20  Normalizat    1.1876        .23505        .11513E-05    .43469E-03
  21  Prefactor     .83866        .10847        .15725E-06    .75755E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.77141
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1606
  norm       = 7.76279
  norm       = 0.000100397
  Prefactor  = 0.0001
  Prefactor  = 9.63046
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 20.6132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 251.808
  Normalizat = 1.18758
  Prefactor  = 0.838657
 **********
 **   18 **HESSE 
 **********

 FCN=   6206.574     FROM HESSE     STATUS=OK           309 CALLS     2552 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.1434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7714        1.5437        .88071E-04   -1.5442    
   3  norm          .10000E-03    2.5656        .12319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    56.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.161        15.158        .10640E-03   -1.4955    
   6  norm          7.7628        10.901        .14389E-03   -1.5151    
   7  norm          .10040E-03    24.176        .33789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.3108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6305        20.385        .12910E-03   -1.5087    
  10  Prefactor     .10000E-03    26.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.8964        .10526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.613        21.514        .88238E-04   -1.4800    
  13  Prefactor     .10000E-03    1.9367        .10661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.7295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    10.813        .31093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5002        .16290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.6561        .16592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     251.81        122.38        .12765E-03   -1.2521    
  20  Normalizat    1.1876        .27703        .31674E-03   -.86988    
  21  Prefactor     .83866        .12945        .17704E-03   -.98319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76134e-08
Minuit parameter uncertainties:
  1  5.326e-05
  2  1.5437
  3  2.08079e-06
  4  0.000140122
  5  15.1626
  6  10.904
  7  0.00620041
  8  1.89658e-05
  9  20.3997
  10  0.000492729
  11  2.20626e-06
  12  21.5218
  13  2.44898e-06
  14  1.14268e-05
  15  0.000573733
  16  4.57784e-06
  17  7.85805e-05
  18  9.23315e-06
  19  122.503
  20  0.277377
  21  0.129495
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  4.927e-04  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  8.387e-01  1.295e-01  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.188e+00  2.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 159.356 -29.557
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/12263/likelihoodResults_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.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) = 6206.57385538
delta logL = -0.00017654482599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6206.57367866
delta logL = 1.75160494109e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6206.574     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      221 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10012E-03    5.4939        .90712E-01** at limit **
   2  Index         2.5770        3.0156        .50000       -.29070E-04
   3  Normalizat    1.1876        .45075E-02    .71580E-01    .41727E-04
   4  Prefactor     .83866        .21691E-02    .44218E-01    .25537E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100118
  Index      = 2.577
  Normalizat = 1.18758
  Prefactor  = 0.838657
 **********
 **   18 **HESSE 
 **********

 FCN=   6206.574     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      256 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10012E-03    8031.4        .47503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5770        5.9593        .50000       -.50591    
   3  Normalizat    1.1876        .94024E-01    .31674E-03   -.86988    
   4  Prefactor     .83866        .44529E-01    .17704E-03   -.98319    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.12696e-07
Minuit parameter uncertainties:
  1  0.0613917
  2  53.1906
  3  0.0940371
  4  0.044531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12263': 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) = 6206.57367788
delta logL = 9.57508746069e-07

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  1.001e-04  6.139e-02  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.577e+00  5.319e+01  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  8.387e-01  4.453e-02  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.188e+00  9.404e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 159.356 -29.557

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/12263/cmap_HighResolution_529113601_529372801_4FGL_J1037.4-2933_daily_bin1118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-02 05:37:00.923601', job_id='12263', GAL2='0.84', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630586220.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='9.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1118' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 05:37:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 12263: <4FGL_J1037.4-2933_daily_bin1118> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1118> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  2 05:21:26 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 05:26:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 05:26:15 2021
Terminated at Thu Sep  2 05:37:01 2021
Results reported at Thu Sep  2 05:37:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1118 159.356 -29.5568 529113601 529372801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1037.4-2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   532.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            935 sec.

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

