aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 88 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1769
RA = 159.356, Dec = -29.5568
tmin = 697852801, tmax = 698112001
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='432146', job_status='RUN', time_executed='2023-02-15 00:37:14.358744', time_epoch_executed='1676450234.36' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432146

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432146/ft1_4FGL_J1037.4-2933_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432146/ft2_4FGL_J1037.4-2933_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432146/ft1_4FGL_J1037.4-2933_daily_bin1769.fits outfile=/scratch/kocevski/432146/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1769.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.36
user 4.13
sys 0.22

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

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

Number of photons that the gtmktime cut: 662

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432146/ft1_filtered_4FGL_J1037.4-2933_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/432146/ft2_4FGL_J1037.4-2933_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/432146/ltcube_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.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/432146/ft2_4FGL_J1037.4-2933_daily_bin1769.fits
.....................!
real 11.70
user 11.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432146/ft1_filtered_4FGL_J1037.4-2933_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/432146/ft2_4FGL_J1037.4-2933_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/432146/ltcube_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.fits outfile=/scratch/kocevski/432146/expmap_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.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/432146/ltcube_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.fits
.....................!
real 189.40
user 184.19
sys 4.90

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/432146/ft1_filtered_4FGL_J1037.4-2933_daily_bin1769.fits scfile=/scratch/kocevski/432146/ft2_4FGL_J1037.4-2933_daily_bin1769.fits outfile=/scratch/kocevski/432146/cmap_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432146/ft1_filtered_4FGL_J1037.4-2933_daily_bin1769.fits scfile=/scratch/kocevski/432146/ft2_4FGL_J1037.4-2933_daily_bin1769.fits outfile=/scratch/kocevski/432146/cmap_HighResolution_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/432146/ft1_filtered_4FGL_J1037.4-2933_daily_bin1769.fits', '/scratch/kocevski/432146/ft2_4FGL_J1037.4-2933_daily_bin1769.fits', expMap='/scratch/kocevski/432146/expmap_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.fits', expCube='/scratch/kocevski/432146/ltcube_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/432146/Model_4FGL_J1037.4-2933_daily_bin1769.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  0.000e+00  1.000e+06 ( 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/432146/ft1_filtered_4FGL_J1037.4-2933_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/432146/ft2_4FGL_J1037.4-2933_daily_bin1769.fits
Exposure map: /scratch/kocevski/432146/expmap_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.fits
Exposure cube: /scratch/kocevski/432146/ltcube_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/432146/Model_4FGL_J1037.4-2933_daily_bin1769.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) = 7267.92198176

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33647E-03   1.0000          .0000       .10000E+07
     2 'norm      '    1.3929       1.0000          .0000       .10000E+07
     3 'norm      '    19.495       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14722E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11763E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .15742E-04   1.0000          .0000       .10000E+07
     7 'norm      '    4.8461       1.0000          .0000       .10000E+07
     8 'Prefactor '    .42616E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.543       1.0000          .0000       .10000E+07
    10 'norm      '    2.1167       1.0000          .0000       .10000E+07
    11 'Prefactor '    .20783E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.0354       1.0000          .0000       .10000E+07
    13 'Prefactor '    .32360E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .25840E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    15.472       1.0000          .0000       .10000E+07
    16 'Prefactor '    22.154       1.0000          .0000       .10000E+07
    17 'Prefactor '    39.343       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1134       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95944       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7267.921     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1412 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65503E-08    5.2007        .66651E-07** at limit **
   2  norm          1.3933        1.4728        .25462E-07    .23505E-02
   3  norm          19.508        1.2186       -.13586E-08   -.38969E-03
   4  Prefactor     .28366E-07    6.5953        .34348E-06** at limit **
   5  Prefactor     .11102E-09    1.6440       -.99905E-07** at limit **
   6  norm          .44409E-09    2.0146       -.89108E-07** at limit **
   7  norm          5.0506        7.5458        .85466E-07    .96144E-04
   8  Prefactor     .92704E-08    3.7011       -.24003E-06** at limit **
   9  Prefactor     17.462        1.4298       -.25043E-09   -.42040E-01
  10  norm          2.1386        4.0032        .66308E-08    .14079E-02
  11  Prefactor     .67502E-07    43.997       -.43432E-06** at limit **
  12  Prefactor     4.0087        6.0288        .26779E-07    .19088E-02
  13  Prefactor     .16653E-09    20.980        .16921E-06** at limit **
  14  Prefactor     .46629E-07    8.2345        .28244E-06** at limit **
  15  Prefactor     15.446        1.9444       -.13389E-07    .19314E-01
  16  Prefactor     22.143        1.6325        .38952E-09   -.53538E-01
  17  Prefactor     39.462        2.6806        .14606E-07   -.27266    
  18  Normalizat    1.1137        .28018        .15841E-05   -.64139E-04
  19  Prefactor     .95912        .13350       -.16155E-05   -.25108E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.55032e-09
  norm       = 1.39331
  norm       = 19.5085
  Prefactor  = 2.83662e-08
  Prefactor  = 1.11022e-10
  norm       = 4.44089e-10
  norm       = 5.05059
  Prefactor  = 9.27036e-09
  Prefactor  = 17.462
  norm       = 2.13863
  Prefactor  = 6.75016e-08
  Prefactor  = 4.00872
  Prefactor  = 1.66533e-10
  Prefactor  = 4.66294e-08
  Prefactor  = 15.4465
  Prefactor  = 22.1425
  Prefactor  = 39.4622
  Normalizat = 1.11374
  Prefactor  = 0.959122
 **********
 **   18 **HESSE 
 **********

 FCN=   7267.921     FROM HESSE     STATUS=OK           312 CALLS     1724 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65503E-08    5.2373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3933        1.4961        .92006E-03   -1.5684    
   3  norm          19.508        10.723        .22656E-03   -1.5620    
   4  Prefactor     .28366E-07    6.6188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    3.6304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .44409E-09    3.6567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.0506        7.6306        .45672E-03   -1.5663    
   8  Prefactor     .92704E-08    3.7860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.462        22.992        .23885E-03   -1.5624    
  10  norm          2.1386        4.6830        .70868E-03   -1.5679    
  11  Prefactor     .67502E-07    43.904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.0087        6.8951        .50173E-03   -1.5668    
  13  Prefactor     .16653E-09    6.5705        .11178E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .46629E-07    8.2159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.446        9.4323        .25436E-03   -1.5629    
  16  Prefactor     22.143        16.549        .21252E-03   -1.5614    
  17  Prefactor     39.462        63.474        .15944E-03   -1.5582    
  18  Normalizat    1.1137        .23622        .78444E-01   -.89312    
  19  Prefactor     .95912        .11168        .45758E-01   -.94105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.71162e-06
Minuit parameter uncertainties:
  1  0.00037005
  2  1.49608
  3  10.723
  4  0.000866338
  5  4.07476e-05
  6  7.95852e-05
  7  7.63059
  8  0.000375152
  9  22.9916
  10  4.68299
  11  0.00344284
  12  6.89508
  13  7.10439e-05
  14  0.00123788
  15  9.4323
  16  16.5492
  17  63.4746
  18  0.236448
  19  0.11171
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  1.746e+01  2.299e+01  0.000e+00  1.000e+06 ( 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.591e-01  1.117e-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.114e+00  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 159.356 -29.557
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.69e-08 +/- 6.16e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.98e-05

TS (Fixed Index): 1.19
Ra Dec: 159.356 -29.557
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/432146/likelihoodResults_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.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) = 7267.91245122
delta logL = 0.00824017429204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7267.907506
delta logL = 0.0131853943685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.386       1.0000          .0000       .10000E+07
     2 'Index     '    2.5301       1.0000          .0000       10.000    
     3 'Normalizat'    1.1089       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96072       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=   7267.908     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      210 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.386        536.71        .25507E-03    .28295E-02
   2  Index         2.5302        6.2447        .14175        .11517E-03
   3  Normalizat    1.1089        .96108E-01    .78591E-01    .51373E-05
   4  Prefactor     .96072        .41968E-01    .45774E-01    .76164E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3865
  Index      = 2.53018
  Normalizat = 1.10887
  Prefactor  = 0.960719
 **********
 **   18 **HESSE 
 **********

 FCN=   7267.908     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.386        23.267        .10203E-04   -1.5630    
   2  Index         2.5302        .79929        .84158E-02   -.51664    
   3  Normalizat    1.1089        .27547        .34788E-03   -.89468    
   4  Prefactor     .96072        .13317        .17988E-03   -.94051    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28776e-09
Minuit parameter uncertainties:
  1  23.2675
  2  0.803859
  3  0.275829
  4  0.133217
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432146': 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) = 7267.907506
delta logL = 0.0131853966086

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  1.539e+01  2.327e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.530e+00  8.039e-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.607e-01  1.332e-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.109e+00  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.23
Ra Dec: 159.356 -29.557
Photon Index (Free Index): 2.53 +/- 0.80
Photon Flux (Free Index): 5.08e-08 +/- 5.56e-08
Energy Flux (Free Index): 1.43e-05 +/- 1.64e-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/432146/cmap_HighResolution_697852801_698112001_4FGL_J1037.4-2933_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', comment='SUCCESS', photon_flux='4.69e-08', energy_flux2='1.43e-05', photon_flux_error='6.16e-08', dlogl='1.32e-02', energy_flux='1.51e-05', photon_flux2='5.08e-08', job_status='DONE', time_completed='2023-02-15 00:46:43.677955', photon_index_error2='0.80', photon_index2='2.53', ts='1.19', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='1.64e-05', EG='1.11', time_epoch_completed='1676450803.68', return_code='0', job_id='432146', GAL2='0.96', EG2='1.11', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='5.56e-08', ts2='1.23', photon_index='2.41' WHERE bin_id='1769' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:46:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 432146: <4FGL_J1037.4-2933_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:35:23 2023
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:35:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:35:24 2023
Terminated at Wed Feb 15 00:46:44 2023
Results reported at Wed Feb 15 00:46:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1769 159.356 -29.5568 697852801 698112001 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 :                                   571.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            681 sec.

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

