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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1451
RA = 159.356, Dec = -29.5568
tmin = 615427201, tmax = 615686401
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='14828', job_status='RUN', time_executed='2021-09-02 05:34:31.119507', time_epoch_executed='1630586071.12' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1451'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14828

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14828/ft1_4FGL_J1037.4-2933_daily_bin1451.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14828/ft2_4FGL_J1037.4-2933_daily_bin1451.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14828/ft1_4FGL_J1037.4-2933_daily_bin1451.fits outfile=/scratch/kocevski/14828/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1451.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=615427201.0 tmax=615686401.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.54
user 3.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14828/ft1_filtered_4FGL_J1037.4-2933_daily_bin1451.fits" evtable="EVENTS" scfile=/scratch/kocevski/14828/ft2_4FGL_J1037.4-2933_daily_bin1451.fits sctable="SC_DATA" outfile=/scratch/kocevski/14828/ltcube_615427201_615686401_4FGL_J1037.4-2933_daily_bin1451.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/14828/ft2_4FGL_J1037.4-2933_daily_bin1451.fits
.....................!
real 13.32
user 12.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14828/ft1_filtered_4FGL_J1037.4-2933_daily_bin1451.fits evtable="EVENTS" scfile=/scratch/kocevski/14828/ft2_4FGL_J1037.4-2933_daily_bin1451.fits sctable="SC_DATA" expcube=/scratch/kocevski/14828/ltcube_615427201_615686401_4FGL_J1037.4-2933_daily_bin1451.fits outfile=/scratch/kocevski/14828/expmap_615427201_615686401_4FGL_J1037.4-2933_daily_bin1451.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/14828/ltcube_615427201_615686401_4FGL_J1037.4-2933_daily_bin1451.fits
.....................!
real 191.87
user 187.50
sys 3.92

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/14828/ft1_filtered_4FGL_J1037.4-2933_daily_bin1451.fits scfile=/scratch/kocevski/14828/ft2_4FGL_J1037.4-2933_daily_bin1451.fits outfile=/scratch/kocevski/14828/cmap_615427201_615686401_4FGL_J1037.4-2933_daily_bin1451.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.55
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/14828/ft1_filtered_4FGL_J1037.4-2933_daily_bin1451.fits evtable="EVENTS" scfile=/scratch/kocevski/14828/ft2_4FGL_J1037.4-2933_daily_bin1451.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/14828/Model_4FGL_J1037.4-2933_daily_bin1451.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/14828/ft1_filtered_4FGL_J1037.4-2933_daily_bin1451.fits.....................!
real 80.54
user 79.24
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.553       1.0000         .10000E-03   10000.    
     3 'norm      '    8.4032       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.8378       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.129       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.816       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2512       1.0000         .10000E-03   10000.    
    11 'norm      '    .10447E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.8934       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5173       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0519       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10482E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0305       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0107       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=   8135.471     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     1874 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.2716        .82212E-07** at limit **
   2  norm          10.553        2.1950        .32774E-07   -.20332E-03
   3  norm          8.4041        9.6640        .15601E-06   -.49723E-04
   4  Prefactor     .10000E-03    16.890        .16148E-06** at limit **
   5  Prefactor     .10000E-03    3.3946       -.85064E-08** at limit **
   6  norm          .10000E-03    10.875       -.20554E-06** at limit **
   7  norm          7.8368        9.4542        .41357E-06   -.82347E-04
   8  Prefactor     19.127        15.179        .16429E-06   -.22326E-04
   9  Prefactor     10.820        14.274       -.41378E-06   -.33771E-03
  10  Prefactor     2.2571        22.350       -.34012E-05   -.41477E-03
  11  norm          .10000E-03    2.5485        .13909E-05** at limit **
  12  Prefactor     8.8937        12.036       -.11413E-06   -.14364E-03
  13  Prefactor     .10000E-03    1.7947        .13931E-06** at limit **
  14  Prefactor     4.5191        9.8552        .49808E-06   -.11152E-03
  15  Prefactor     3.0520        5.6835        .35688E-05   -.75652E-03
  16  Prefactor     .10000E-03    3.2969       -.88309E-07** at limit **
  17  Prefactor     .10000E-03    30.199        .65933E-06** at limit **
  18  Prefactor     .10000E-03    3.3989        .24198E-07** at limit **
  19  Prefactor     .10000E-03    22.807       -.11303E-05** at limit **
  20  Normalizat    1.0304        .22992       -.17730E-05   -.37190E-03
  21  Prefactor     1.0108        .10516        .40178E-07   -.69078E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10.5531
  norm       = 8.40409
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.83675
  Prefactor  = 19.1272
  Prefactor  = 10.8201
  Prefactor  = 2.25709
  norm       = 0.000100002
  Prefactor  = 8.89371
  Prefactor  = 0.0001
  Prefactor  = 4.51908
  Prefactor  = 3.05201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.03037
  Prefactor  = 1.01077
 **********
 **   18 **HESSE 
 **********

 FCN=   8135.471     FROM HESSE     STATUS=OK           317 CALLS     2191 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2724        .15931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.553        2.1991        .58488E-04   -1.5058    
   3  norm          8.4041        9.6612        .13829E-03   -1.5128    
   4  Prefactor     .10000E-03    17.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.3961        .16230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    11.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.8368        9.4303        .14323E-03   -1.5148    
   8  Prefactor     19.127        15.204        .91576E-04   -1.4833    
   9  Prefactor     10.820        14.221        .12182E-03   -1.5050    
  10  Prefactor     2.2571        21.381        .27385E-03   -1.5407    
  11  norm          .10000E-03    4.5446        .26173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.8937        12.018        .13440E-03   -1.5111    
  13  Prefactor     .10000E-03    1.8077        .11784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5191        9.8613        .18942E-03   -1.5283    
  15  Prefactor     3.0520        5.5966        .11612E-02   -1.5359    
  16  Prefactor     .10000E-03    3.3071        .15987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    30.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.4015        .16240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    22.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0304        .27126        .35541E-03   -.92020    
  21  Prefactor     1.0108        .12504        .17651E-03   -.92371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55266e-09
Minuit parameter uncertainties:
  1  5.85287e-06
  2  2.19917
  3  9.66296
  4  0.000174597
  5  1.7788e-06
  6  2.88889e-05
  7  9.43206
  8  15.2072
  9  14.2253
  10  13.8999
  11  0.000191448
  12  12.0217
  13  1.38277e-05
  14  9.86487
  15  5.59754
  16  1.25364e-05
  17  0.000197908
  18  3.62444e-06
  19  0.000220019
  20  0.271622
  21  0.125075
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  2.257e+00  1.390e+01  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:  1.011e+00  1.251e-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.030e+00  2.716e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/14828/likelihoodResults_615427201_615686401_4FGL_J1037.4-2933_daily_bin1451.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) = 8135.33582585
delta logL = 0.134684290192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8135.30046609
delta logL = 0.170044047421

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .99913       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7168       1.0000          .0000       10.000    
     3 'Normalizat'    .99138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0220       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=   8135.300     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      235 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99134        23.316        .13163E-01    .15966E-02
   2  Index         3.7204        2.2265        .20877        .94249E-04
   3  Normalizat    .99134        .33315E-01    .81692E-01    .58354E-04
   4  Prefactor     1.0220        .16471E-01    .41943E-01    .70096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.991339
  Index      = 3.72041
  Normalizat = 0.99134
  Prefactor  = 1.02202
 **********
 **   18 **HESSE 
 **********

 FCN=   8135.300     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      266 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99134        135.27        .14495E-03   -1.5509    
   2  Index         3.7204        5.5598        .71817E-02   -.25880    
   3  Normalizat    .99134        .22642        .36161E-03   -.93321    
   4  Prefactor     1.0220        .10848        .17563E-03   -.91999    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.33156e-09
Minuit parameter uncertainties:
  1  23.2126
  2  11.515
  3  0.226644
  4  0.108504
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14828': 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) = 8135.30046464
delta logL = 0.170045496028

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  9.913e-01  2.321e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  3.720e+00  1.151e+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:  1.022e+00  1.085e-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:  9.913e-01  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/14828/cmap_HighResolution_615427201_615686401_4FGL_J1037.4-2933_daily_bin1451.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', job_status='DONE', photon_flux_upper_limit='9.97e-08', time_completed='2021-09-02 05:46:49.519036', job_id='14828', GAL2='1.02', fit_tolerance='1e-08', EG2='0.99', EG='1.03', time_epoch_completed='1630586809.52', return_code2='102', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.70e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1451' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 05:46:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 14828: <4FGL_J1037.4-2933_daily_bin1451> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1451 159.356 -29.5568 615427201 615686401 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 :                                   695.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            913 sec.

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

