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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1755
RA = 159.356, Dec = -29.5568
tmin = 694224001, tmax = 694483201
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='820528', job_status='RUN', time_executed='2023-01-04 00:51:24.283780', time_epoch_executed='1672822284.28' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820528

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820528/ft1_4FGL_J1037.4-2933_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820528/ft2_4FGL_J1037.4-2933_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820528/ft1_4FGL_J1037.4-2933_daily_bin1755.fits outfile=/scratch/kocevski/820528/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1755.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=694224001.0 tmax=694483201.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.06
user 2.79
sys 0.21

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

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

Number of photons that the gtmktime cut: 745

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820528/ft1_filtered_4FGL_J1037.4-2933_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/820528/ft2_4FGL_J1037.4-2933_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/820528/ltcube_694224001_694483201_4FGL_J1037.4-2933_daily_bin1755.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/820528/ft2_4FGL_J1037.4-2933_daily_bin1755.fits
.....................!
real 16.14
user 15.60
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820528/ft1_filtered_4FGL_J1037.4-2933_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820528/ft2_4FGL_J1037.4-2933_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/820528/ltcube_694224001_694483201_4FGL_J1037.4-2933_daily_bin1755.fits outfile=/scratch/kocevski/820528/expmap_694224001_694483201_4FGL_J1037.4-2933_daily_bin1755.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/820528/ltcube_694224001_694483201_4FGL_J1037.4-2933_daily_bin1755.fits
.....................!
real 192.02
user 185.75
sys 5.55

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/820528/ft1_filtered_4FGL_J1037.4-2933_daily_bin1755.fits scfile=/scratch/kocevski/820528/ft2_4FGL_J1037.4-2933_daily_bin1755.fits outfile=/scratch/kocevski/820528/cmap_694224001_694483201_4FGL_J1037.4-2933_daily_bin1755.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820528/ft1_filtered_4FGL_J1037.4-2933_daily_bin1755.fits scfile=/scratch/kocevski/820528/ft2_4FGL_J1037.4-2933_daily_bin1755.fits outfile=/scratch/kocevski/820528/cmap_HighResolution_694224001_694483201_4FGL_J1037.4-2933_daily_bin1755.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/820528/ft1_filtered_4FGL_J1037.4-2933_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820528/ft2_4FGL_J1037.4-2933_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820528/Model_4FGL_J1037.4-2933_daily_bin1755.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/820528/ft1_filtered_4FGL_J1037.4-2933_daily_bin1755.fits.....................!
real 80.48
user 78.98
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50995E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .27700E-07   1.0000          .0000       .10000E+07
     3 'norm      '    .36634E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .43064       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30178E-02   1.0000          .0000       .10000E+07
     6 'norm      '     .0000       1.0000          .0000       .10000E+07
     7 'norm      '    5.0436       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.786       1.0000          .0000       .10000E+07
     9 'Prefactor '    32.648       1.0000          .0000       .10000E+07
    10 'norm      '    .40965       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.695       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.3021       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40362E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20885E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    4.2320       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1382       1.0000          .0000       .10000E+07
    17 'Prefactor '    .94665E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .96848       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0985       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=   8205.343     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1152 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.3873        .75992E-07** at limit **
   2  norm           .0000        .51688        .39522E-08** at limit **
   3  norm           .0000        3.1899        .22412E-07** at limit **
   4  Prefactor     .39024E-07    653.25        .13906E-05** at limit **
   5  Prefactor     .16653E-09    8.7223        .11327E-06** at limit **
   6  norm           .0000        4.1886        .63543E-07** at limit **
   7  norm          5.1322        7.6787       -.51571E-07    .12258E-02
   8  Prefactor     21.769        14.361       -.37652E-07   -.37925E-01
   9  Prefactor     31.605        23.341        .11713E-06    .48035E-03
  10  norm          .51853        8.7257       -.23772E-06    .69480E-03
  11  Prefactor     14.678        2.8912        .12588E-07   -.16569E-01
  12  Prefactor     5.3410        4.7351       -.32719E-07    .47319E-03
  13  Prefactor      .0000        2.7470       -.40521E-07** at limit **
  14  Prefactor     .27756E-09    6.4251       -.11467E-06** at limit **
  15  Prefactor     4.1047        7.3547       -.13482E-07    .50913E-03
  16  Prefactor     1.2862        11.464       -.83975E-07    .15756E-01
  17  Prefactor     .61062E-09    48.120        .48849E-06** at limit **
  18  Normalizat    .96891        .26568        .41175E-05    .16739E-04
  19  Prefactor     1.0987        .12608       -.58995E-06    .29426E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 3.90243e-08
  Prefactor  = 1.66533e-10
  norm       = 0
  norm       = 5.13224
  Prefactor  = 21.7692
  Prefactor  = 31.6051
  norm       = 0.518535
  Prefactor  = 14.6778
  Prefactor  = 5.34096
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 4.10473
  Prefactor  = 1.28623
  Prefactor  = 6.10623e-10
  Normalizat = 0.968913
  Prefactor  = 1.09869
 **********
 **   18 **HESSE 
 **********

 FCN=   8205.343     FROM HESSE     STATUS=OK           312 CALLS     1464 TOTAL
                     EDM=   .95E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.4002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .51830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        3.1932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .39024E-07    22.463        .11870E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    8.7116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.1322        7.7092        .44750E-03   -1.5663    
   8  Prefactor     21.769        16.390        .21430E-03   -1.5615    
   9  Prefactor     31.605        24.639        .17504E-03   -1.5596    
  10  norm          .51853        9.8969        .88377E-03   -1.5694    
  11  Prefactor     14.678        14.945        .26102E-03   -1.5631    
  12  Prefactor     5.3410        4.7843        .43625E-03   -1.5662    
  13  Prefactor      .0000        2.7513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27756E-09    6.4081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1047        7.3719        .48958E-03   -1.5667    
  16  Prefactor     1.2862        50.139        .10906E-02   -1.5685    
  17  Prefactor     .61062E-09    48.325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .96891        .23892        .85626E-01   -.94079    
  19  Prefactor     1.0987        .10843        .37644E-01   -.89508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.51575e-08
Minuit parameter uncertainties:
  1  6.64865e-06
  2  3.67033e-07
  3  6.02048e-06
  4  0.00187288
  5  7.70728e-05
  6  8.17573e-06
  7  7.70921
  8  16.3904
  9  24.639
  10  4.53074
  11  14.945
  12  4.78433
  13  2.68015e-06
  14  8.36915e-05
  15  7.37196
  16  16.0612
  17  0.000349014
  18  0.239182
  19  0.108452
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  3.161e+01  2.464e+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:  1.099e+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.689e-01  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.97
Ra Dec: 159.356 -29.557
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 8.48e-08 +/- 6.61e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 2.13e-05

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) = 8205.31117663
delta logL = 0.0320177848807

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8205.30278012
delta logL = 0.040414300187

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.508       1.0000          .0000       .10000E+07
     2 'Index     '    2.2629       1.0000          .0000       10.000    
     3 'Normalizat'    .98344       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0949       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=   8205.303     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      259 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.510        28.129        .68101E-05   -.59083E-02
   2  Index         2.2629        .61772        .34678E-01   -.11406E-03
   3  Normalizat    .98344        .26700        .37670E-03   -.42674E-03
   4  Prefactor     1.0949        .12601        .17256E-03   -.10424E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.5102
  Index      = 2.26288
  Normalizat = 0.983437
  Prefactor  = 1.09489
 **********
 **   18 **HESSE 
 **********

 FCN=   8205.303     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.510        24.439        .13620E-05   -1.5590    
   2  Index         2.2629        .53926        .10294E-02   -.57928    
   3  Normalizat    .98344        .26569        .15068E-04   -.93587    
   4  Prefactor     1.0949        .12572        .34511E-04   -.89630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65655e-09
Minuit parameter uncertainties:
  1  24.4389
  2  0.540759
  3  0.266047
  4  0.12575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820528': 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) = 8205.30278008
delta logL = 0.0404143337018

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  3.451e+01  2.444e+01  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.263e+00  5.408e-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.095e+00  1.257e-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.834e-01  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.06
Ra Dec: 159.356 -29.557
Photon Index (Free Index): 2.26 +/- 0.54
Photon Flux (Free Index): 7.15e-08 +/- 6.95e-08
Energy Flux (Free Index): 2.87e-05 +/- 2.04e-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/820528/cmap_HighResolution_694224001_694483201_4FGL_J1037.4-2933_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.48e-08', energy_flux2='2.87e-05', photon_flux_error='6.61e-08', dlogl='4.04e-02', energy_flux='2.73e-05', photon_flux2='7.15e-08', job_status='DONE', time_completed='2023-01-04 01:00:38.414348', photon_index_error2='0.54', photon_index2='2.26', ts='4.97', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.04e-05', EG='0.97', time_epoch_completed='1672822838.41', return_code='0', job_id='820528', GAL2='1.09', EG2='0.98', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='6.95e-08', ts2='5.06', photon_index='2.41' WHERE bin_id='1755' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:00:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 820528: <4FGL_J1037.4-2933_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 00:50:18 2023
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:50:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:50:51 2023
Terminated at Wed Jan  4 01:00:39 2023
Results reported at Wed Jan  4 01:00:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1755 159.356 -29.5568 694224001 694483201 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 :                                   556.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             377.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   587 sec.
    Turnaround time :                            621 sec.

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

