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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1767
RA = 159.356, Dec = -29.5568
tmin = 697334401, tmax = 697593601
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='72922', job_status='RUN', time_executed='2023-02-09 01:03:03.913824', time_epoch_executed='1675933383.91' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72922

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72922/ft1_4FGL_J1037.4-2933_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72922/ft2_4FGL_J1037.4-2933_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72922/ft1_4FGL_J1037.4-2933_daily_bin1767.fits outfile=/scratch/kocevski/72922/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1767.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=697334401.0 tmax=697593601.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 2.98
user 2.73
sys 0.21

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

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

Number of photons that the gtmktime cut: 876

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/72922/ft1_filtered_4FGL_J1037.4-2933_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/72922/ft2_4FGL_J1037.4-2933_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/72922/ltcube_697334401_697593601_4FGL_J1037.4-2933_daily_bin1767.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/72922/ft2_4FGL_J1037.4-2933_daily_bin1767.fits
.....................!
real 12.19
user 11.19
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72922/ft1_filtered_4FGL_J1037.4-2933_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/72922/ft2_4FGL_J1037.4-2933_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/72922/ltcube_697334401_697593601_4FGL_J1037.4-2933_daily_bin1767.fits outfile=/scratch/kocevski/72922/expmap_697334401_697593601_4FGL_J1037.4-2933_daily_bin1767.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/72922/ltcube_697334401_697593601_4FGL_J1037.4-2933_daily_bin1767.fits
.....................!
real 156.32
user 151.17
sys 4.71

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/72922/ft1_filtered_4FGL_J1037.4-2933_daily_bin1767.fits scfile=/scratch/kocevski/72922/ft2_4FGL_J1037.4-2933_daily_bin1767.fits outfile=/scratch/kocevski/72922/cmap_697334401_697593601_4FGL_J1037.4-2933_daily_bin1767.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.49
user 0.32
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/72922/ft1_filtered_4FGL_J1037.4-2933_daily_bin1767.fits scfile=/scratch/kocevski/72922/ft2_4FGL_J1037.4-2933_daily_bin1767.fits outfile=/scratch/kocevski/72922/cmap_HighResolution_697334401_697593601_4FGL_J1037.4-2933_daily_bin1767.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.50
user 0.35
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/72922/ft1_filtered_4FGL_J1037.4-2933_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/72922/ft2_4FGL_J1037.4-2933_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/72922/Model_4FGL_J1037.4-2933_daily_bin1767.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/72922/ft1_filtered_4FGL_J1037.4-2933_daily_bin1767.fits.....................!
real 76.36
user 74.98
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93897E-01   1.0000          .0000       .10000E+07
     2 'norm      '    1.7647       1.0000          .0000       .10000E+07
     3 'norm      '    .92512E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36597E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15616E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .47054E-05   1.0000          .0000       .10000E+07
     7 'norm      '    3.8992       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10080E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.7497       1.0000          .0000       .10000E+07
    10 'norm      '    4.0673       1.0000          .0000       .10000E+07
    11 'Prefactor '    .68960E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .99055E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .56607E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .13565E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14684E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .70220E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18970E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2290       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93803       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=   9239.635     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1168 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16531E-05    12.234       -.23862E-06** at limit **
   2  norm          1.7657        1.1630        .40523E-07   -.13980E-02
   3  norm          .26013E-05    77.944        .12558E-05** at limit **
   4  Prefactor     .37484E-05    40.241        .13936E-05** at limit **
   5  Prefactor     .17764E-08    3.2623        .26721E-06** at limit **
   6  norm          .19429E-08    4.9854        .15965E-06** at limit **
   7  norm          3.8882        5.9923        .16576E-08   -.70873E-03
   8  Prefactor     .17208E-08    2.9337        .92489E-07** at limit **
   9  Prefactor     2.7660        8.0239        .29939E-06   -.58808E-03
  10  norm          4.0682        2.5325       -.11638E-07   -.81430E-03
  11  Prefactor     .13525E-05    31.867        .15156E-06** at limit **
  12  Prefactor     .72403E-06    13.334        .38626E-06** at limit **
  13  Prefactor     .14988E-08    5.5558       -.31628E-06** at limit **
  14  Prefactor     .22204E-08    3.1640       -.39558E-07** at limit **
  15  Prefactor     .15292E-05    10.396       -.42765E-06** at limit **
  16  Prefactor     .29599E-06    19.341       -.13728E-06** at limit **
  17  Prefactor     .23046E-05    9.1461       -.35337E-06** at limit **
  18  Normalizat    1.2291        .22475        .25407E-05    .25650E-04
  19  Prefactor     .93807        .11102       -.29826E-05    .77154E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.65307e-06
  norm       = 1.76571
  norm       = 2.60125e-06
  Prefactor  = 3.74845e-06
  Prefactor  = 1.77636e-09
  norm       = 1.94289e-09
  norm       = 3.88816
  Prefactor  = 1.72085e-09
  Prefactor  = 2.76601
  norm       = 4.06823
  Prefactor  = 1.35247e-06
  Prefactor  = 7.24032e-07
  Prefactor  = 1.4988e-09
  Prefactor  = 2.22045e-09
  Prefactor  = 1.52917e-06
  Prefactor  = 2.95985e-07
  Prefactor  = 2.3046e-06
  Normalizat = 1.22911
  Prefactor  = 0.938066
 **********
 **   18 **HESSE 
 **********

 FCN=   9239.635     FROM HESSE     STATUS=OK           314 CALLS     1482 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16531E-05    7.6430        .92951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7657        1.1668        .78826E-03   -1.5681    
   3  norm          .26013E-05    7.2996        .66830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .37484E-05    47.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17764E-08    3.2681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .19429E-08    4.9728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8882        6.0031        .51071E-03   -1.5669    
   8  Prefactor     .17208E-08    2.9387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7660        8.0980        .61365E-03   -1.5675    
  10  norm          4.0682        2.5467        .49970E-03   -1.5668    
  11  Prefactor     .13525E-05    34.764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .72403E-06    1.8960        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .14988E-08    5.5479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-08    3.1639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15292E-05    13.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29599E-06    19.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .23046E-05    13.974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2291        .18751        .69968E-01   -.85708    
  19  Prefactor     .93807        .92443E-01    .45488E-01   -.94823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94448e-07
Minuit parameter uncertainties:
  1  0.00710901
  2  1.16683
  3  0.00871508
  4  0.0265704
  5  0.000151542
  6  0.000196592
  7  6.00307
  8  0.00014181
  9  8.098
  10  2.54675
  11  0.0137138
  12  0.00234328
  13  0.000182287
  14  0.000168479
  15  0.00910081
  16  0.00485926
  17  0.0113496
  18  0.187617
  19  0.0924588
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  9.381e-01  9.246e-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.229e+00  1.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/72922/likelihoodResults_697334401_697593601_4FGL_J1037.4-2933_daily_bin1767.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) = 9239.62106331
delta logL = 0.0140587371188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9239.6171188
delta logL = 0.0180032435146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5806       1.0000          .0000       .10000E+07
     2 'Index     '    2.1013       1.0000          .0000       10.000    
     3 'Normalizat'    1.2318       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93716       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9239.617     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      265 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5782        9.7351        .21352E-04    .24716E-02
   2  Index         2.1017        1.5069        .87591E-02    .10029E-03
   3  Normalizat    1.2318        .22152        .30929E-03   -.87793E-03
   4  Prefactor     .93715        .11084        .17388E-03   -.16162E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57815
  Index      = 2.10168
  Normalizat = 1.23179
  Prefactor  = 0.93715
 **********
 **   18 **HESSE 
 **********

 FCN=   9239.617     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5782        9.6543        .85409E-06   -1.5670    
   2  Index         2.1017        1.4951        .35036E-03   -.61832    
   3  Normalizat    1.2318        .22168        .61859E-04   -.85626    
   4  Prefactor     .93715        .11092        .34776E-04   -.94855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50832e-09
Minuit parameter uncertainties:
  1  9.65439
  2  1.5309
  3  0.221848
  4  0.110951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72922': 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) = 9239.61711875
delta logL = 0.018003290641

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  3.578e+00  9.654e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.102e+00  1.531e+00  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.372e-01  1.110e-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.232e+00  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/72922/cmap_HighResolution_697334401_697593601_4FGL_J1037.4-2933_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.59e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2023-02-09 01:12:01.086531', job_id='72922', GAL2='0.94', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1675933921.09', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.80e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1767' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 01:12:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 72922: <4FGL_J1037.4-2933_daily_bin1767> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1767> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Feb  9 00:55:28 2023
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:01:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:01:53 2023
Terminated at Thu Feb  9 01:12:01 2023
Results reported at Thu Feb  9 01:12:01 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1767 159.356 -29.5568 697334401 697593601 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 :                                   537.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            993 sec.

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

