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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1463
RA = 159.356, Dec = -29.5568
tmin = 618537601, tmax = 618796801
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='14847', job_status='RUN', time_executed='2021-09-02 05:33:09.943422', time_epoch_executed='1630585989.94' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14847

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14847/ft1_4FGL_J1037.4-2933_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14847/ft1_4FGL_J1037.4-2933_daily_bin1463.fits outfile=/scratch/kocevski/14847/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1463.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=618537601.0 tmax=618796801.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.81
user 3.57
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.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/14847/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1463.fits evtable="EVENTS" outfile="/scratch/kocevski/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.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.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/14847/ltcube_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.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/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits
.....................!
real 15.04
user 14.67
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/14847/ltcube_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.fits outfile=/scratch/kocevski/14847/expmap_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.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/14847/ltcube_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.fits
.....................!
real 190.41
user 185.50
sys 4.50

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/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.fits scfile=/scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits outfile=/scratch/kocevski/14847/cmap_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.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.61
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.fits scfile=/scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits outfile=/scratch/kocevski/14847/cmap_HighResolution_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/14847/Model_4FGL_J1037.4-2933_daily_bin1463.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/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.fits.....................!
real 106.80
user 105.07
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.fits', '/scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits', expMap='/scratch/kocevski/14847/expmap_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.fits', expCube='/scratch/kocevski/14847/ltcube_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/14847/Model_4FGL_J1037.4-2933_daily_bin1463.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/14847/ft1_filtered_4FGL_J1037.4-2933_daily_bin1463.fits
Spacecraft file(s): /scratch/kocevski/14847/ft2_4FGL_J1037.4-2933_daily_bin1463.fits
Exposure map: /scratch/kocevski/14847/expmap_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.fits
Exposure cube: /scratch/kocevski/14847/ltcube_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/14847/Model_4FGL_J1037.4-2933_daily_bin1463.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) = 11024.5576337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10321E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.4769       1.0000         .10000E-03   10000.    
     3 'norm      '    2.9680       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4006       1.0000         .10000E-03   10000.    
     7 'norm      '    .22718E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.815       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.6858       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5798       1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2602       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1706       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96420       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=   11024.51     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     1882 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.043        .17956E-05** at limit **
   2  norm          4.4770        1.5234        .62521E-07    .60745E-05
   3  norm          2.9676        2.5714        .24456E-06   -.15403E-02
   4  Prefactor     .10000E-03    10.571       -.18385E-05** at limit **
   5  Prefactor     .10000E-03    2.2793        .89860E-07** at limit **
   6  norm          2.3998        2.9339        .13957E-05    .44269E-03
   7  norm          .10000E-03    2.2615        .58075E-08** at limit **
   8  Prefactor     15.815        8.8866       -.11294E-07   -.87551E-05
   9  Prefactor     9.6855        9.6242       -.43653E-07   -.18073E-04
  10  Prefactor     6.5767        8.9709        .28644E-06   -.41217E-03
  11  norm          .10000E-03    1.3299       -.62886E-07** at limit **
  12  Prefactor     .10000E-03    3.2861        .85253E-07** at limit **
  13  Prefactor     .10000E-03    1.2337       -.28633E-07** at limit **
  14  Prefactor     .10003E-03    3.0744       -.60341E-06** at limit **
  15  Prefactor     2.2605        4.0554        .47864E-07   -.31809E-03
  16  Prefactor     .10000E-03    1.5800       -.12110E-07** at limit **
  17  Prefactor     .10000E-03    8.5481        .18051E-07** at limit **
  18  Prefactor     .10000E-03    3.9793       -.37744E-06** at limit **
  19  Prefactor     .10000E-03    16.736        .32752E-05** at limit **
  20  Normalizat    1.1706        .17992       -.11129E-05    .11873E-03
  21  Prefactor     .96419        .86898E-01    .36425E-06    .29591E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.47703
  norm       = 2.96756
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.39979
  norm       = 0.0001
  Prefactor  = 15.8147
  Prefactor  = 9.68551
  Prefactor  = 6.57667
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100033
  Prefactor  = 2.26053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17058
  Prefactor  = 0.964186
 **********
 **   18 **HESSE 
 **********

 FCN=   11024.51     FROM HESSE     STATUS=OK           315 CALLS     2197 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.421        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.4770        1.5254        .72232E-04   -1.5285    
   3  norm          2.9676        4.0230        .11785E-02   -1.5363    
   4  Prefactor     .10000E-03    10.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.2799        .15481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.3998        2.9632        .19603E-03   -1.5398    
   7  norm          .10000E-03    5.1786        .30549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.815        8.8884        .10071E-03   -1.4912    
   9  Prefactor     9.6855        9.6330        .12876E-03   -1.5085    
  10  Prefactor     6.5767        9.6347        .78223E-03   -1.5195    
  11  norm          .10000E-03    1.3700        .23585E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.2917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.2548        .11369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    18.242        .34400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2605        4.1511        .27185E-03   -1.5407    
  16  Prefactor     .10000E-03    1.5837        .12888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.5580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.0492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1706        .21214        .31816E-03   -.87517    
  21  Prefactor     .96419        .10393        .17601E-03   -.93933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57826e-09
Minuit parameter uncertainties:
  1  4.82912e-05
  2  1.52544
  3  4.02332
  4  6.13566e-05
  5  1.08757e-06
  6  2.96336
  7  3.86822e-05
  8  8.88911
  9  9.63456
  10  9.63697
  11  5.97916e-07
  12  3.18904e-06
  13  2.29973e-06
  14  0.00154294
  15  4.1516
  16  3.8745e-07
  17  2.20695e-06
  18  5.09808e-06
  19  0.000145388
  20  0.212296
  21  0.10395
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  6.577e+00  9.637e+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

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  9.642e-01  1.040e-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.171e+00  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.67
Ra Dec: 159.356 -29.557
Photon Flux Upper Limit: 8.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/14847/likelihoodResults_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.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) = 11024.353128
delta logL = 0.159861066901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11024.3351092
delta logL = 0.177879860692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.7010       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8284       1.0000          .0000       10.000    
     3 'Normalizat'    1.1820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96079       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=   11024.34     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      257 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7088        334.25        .33972E-02    .27561E-04
   2  Index         1.8292        5.8815        .38850       -.24423E-04
   3  Normalizat    1.1822        .56204E-01    .71588E-01    .76008E-04
   4  Prefactor     .96075        .23963E-01    .45775E-01    .59245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70884
  Index      = 1.8292
  Normalizat = 1.18221
  Prefactor  = 0.960754
 **********
 **   18 **HESSE 
 **********

 FCN=   11024.34     FROM HESSE     STATUS=OK            31 CALLS      288 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7088        12.103        .13589E-03   -1.5118    
   2  Index         1.8292        .89939        .11681E-01   -.68692    
   3  Normalizat    1.1822        .20211        .31678E-03   -.87154    
   4  Prefactor     .96075        .10299        .17627E-03   -.94049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21928e-10
Minuit parameter uncertainties:
  1  12.1068
  2  0.907705
  3  0.202242
  4  0.10301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14847': 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) = 11024.3351074
delta logL = 0.177881609976

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  8.709e+00  1.211e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  1.829e+00  9.077e-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:  9.608e-01  1.030e-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.182e+00  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 159.356 -29.557
Photon Index (Free Index): 1.83 +/- 0.91
Photon Flux (Free Index): 9.42e-09 +/- 1.86e-08
Energy Flux (Free Index): 1.03e-05 +/- 1.90e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/14847/cmap_HighResolution_618537601_618796801_4FGL_J1037.4-2933_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', comment='SUCCESS', energy_flux2='1.03e-05', dlogl='1.78e-01', photon_flux2='9.42e-09', job_status='DONE', time_completed='2021-09-02 05:47:54.141587', photon_index_error2='0.91', photon_index2='1.83', ts='0.67', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='8.25e-08', energy_flux_error2='1.90e-05', EG='1.17', time_epoch_completed='1630586874.14', return_code='0', job_id='14847', GAL2='0.96', EG2='1.18', return_code2='0', photon_flux_error2='1.86e-08', ts2='1.03', photon_index='2.41' WHERE bin_id='1463' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 05:47:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 14847: <4FGL_J1037.4-2933_daily_bin1463> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1463> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  2 05:31:39 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 05:31:41 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:31:41 2021
Terminated at Thu Sep  2 05:47:55 2021
Results reported at Thu Sep  2 05:47:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1463 159.356 -29.5568 618537601 618796801 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 :                                   857.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            976 sec.

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

