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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1381
RA = 159.356, Dec = -29.5568
tmin = 597283201, tmax = 597542401
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='14718', job_status='RUN', time_executed='2021-09-02 05:32:57.524887', time_epoch_executed='1630585977.52' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14718

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14718/ft1_4FGL_J1037.4-2933_daily_bin1381.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14718/ft2_4FGL_J1037.4-2933_daily_bin1381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14718/ft1_4FGL_J1037.4-2933_daily_bin1381.fits outfile=/scratch/kocevski/14718/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1381.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=597283201.0 tmax=597542401.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.55
user 3.32
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14718/ft1_filtered_4FGL_J1037.4-2933_daily_bin1381.fits" evtable="EVENTS" scfile=/scratch/kocevski/14718/ft2_4FGL_J1037.4-2933_daily_bin1381.fits sctable="SC_DATA" outfile=/scratch/kocevski/14718/ltcube_597283201_597542401_4FGL_J1037.4-2933_daily_bin1381.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/14718/ft2_4FGL_J1037.4-2933_daily_bin1381.fits
.....................!
real 14.74
user 14.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14718/ft1_filtered_4FGL_J1037.4-2933_daily_bin1381.fits evtable="EVENTS" scfile=/scratch/kocevski/14718/ft2_4FGL_J1037.4-2933_daily_bin1381.fits sctable="SC_DATA" expcube=/scratch/kocevski/14718/ltcube_597283201_597542401_4FGL_J1037.4-2933_daily_bin1381.fits outfile=/scratch/kocevski/14718/expmap_597283201_597542401_4FGL_J1037.4-2933_daily_bin1381.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/14718/ltcube_597283201_597542401_4FGL_J1037.4-2933_daily_bin1381.fits
.....................!
real 190.76
user 186.06
sys 4.34

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/14718/ft1_filtered_4FGL_J1037.4-2933_daily_bin1381.fits scfile=/scratch/kocevski/14718/ft2_4FGL_J1037.4-2933_daily_bin1381.fits outfile=/scratch/kocevski/14718/cmap_597283201_597542401_4FGL_J1037.4-2933_daily_bin1381.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.72
user 0.39
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/14718/ft1_filtered_4FGL_J1037.4-2933_daily_bin1381.fits evtable="EVENTS" scfile=/scratch/kocevski/14718/ft2_4FGL_J1037.4-2933_daily_bin1381.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/14718/Model_4FGL_J1037.4-2933_daily_bin1381.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/14718/ft1_filtered_4FGL_J1037.4-2933_daily_bin1381.fits.....................!
real 83.80
user 80.96
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10157E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.9585       1.0000         .10000E-03   10000.    
     3 'norm      '    8.8141       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .33049E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9570       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13436E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .23836E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11214E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10333E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10623E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.2635       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.5360       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1867       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19975E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16908E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    57.082       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .97158       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0227       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=   8217.395     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2188 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.0561        .12398E-06** at limit **
   2  norm          1.9581        1.3424       -.27027E-07    .12944E-04
   3  norm          8.8800        7.8848        .98796E-07   -.95885E-05
   4  Prefactor     .10000E-03    45.371       -.16446E-05** at limit **
   5  Prefactor     .10000E-03    6.5244        .12515E-06** at limit **
   6  norm          .10000E-03    86.424        .42521E-04** at limit **
   7  norm          2.9434        5.5132       -.10123E-06   -.31298E-04
   8  Prefactor     .10000E-03    4.2358        .46201E-07** at limit **
   9  Prefactor     .10000E-03    5.2060        .77289E-07** at limit **
  10  Prefactor     .10000E-03    6.5915       -.76055E-07** at limit **
  11  norm          .10000E-03    1.0018       -.59480E-07** at limit **
  12  Prefactor     .10000E-03    4.0305       -.24827E-07** at limit **
  13  Prefactor     .10000E-03    1.1457       -.32456E-06** at limit **
  14  Prefactor     3.2660        5.2256       -.11024E-05   -.20434E-05
  15  Prefactor     4.5374        4.6502       -.11481E-06    .16489E-04
  16  Prefactor     4.1545        10.647        .16593E-05    .57353E-04
  17  Prefactor     .10000E-03    50.107        .12859E-05** at limit **
  18  Prefactor     .10000E-03    6.4319       -.72327E-07** at limit **
  19  Prefactor     56.927        61.932       -.12586E-04   -.51562E-06
  20  Normalizat    .97209        .20185        .63814E-06   -.18538E-04
  21  Prefactor     1.0226        .99309E-01   -.78364E-07   -.51507E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.95811
  norm       = 8.88
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.94339
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.26596
  Prefactor  = 4.53744
  Prefactor  = 4.15448
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.9273
  Normalizat = 0.97209
  Prefactor  = 1.02259
 **********
 **   18 **HESSE 
 **********

 FCN=   8217.395     FROM HESSE     STATUS=OK           317 CALLS     2505 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.0632        .17830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9581        1.3365        .83102E-04   -1.5428    
   3  norm          8.8800        7.8629        .13501E-03   -1.5112    
   4  Prefactor     .10000E-03    45.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.5376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    82.500        .35839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9434        5.4170        .23615E-03   -1.5365    
   8  Prefactor     .10000E-03    4.2453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.2326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.6300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0113        .88574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.0372        .17773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.1539        .94705E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2660        5.2271        .11209E-02   -1.5347    
  15  Prefactor     4.5374        4.6471        .18902E-03   -1.5282    
  16  Prefactor     4.1545        10.639        .19696E-03   -1.5300    
  17  Prefactor     .10000E-03    51.453        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.4724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     56.927        61.938        .26549E-03   -1.4198    
  20  Normalizat    .97209        .23487        .34202E-03   -.93971    
  21  Prefactor     1.0226        .11707        .16785E-03   -.91980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.05143e-11
Minuit parameter uncertainties:
  1  7.74651e-10
  2  1.33657
  3  7.86377
  4  7.4957e-05
  5  1.6752e-06
  6  4.17115e-05
  7  5.41792
  8  6.86709e-08
  9  1.94136e-06
  10  1.12517e-05
  11  1.86821e-06
  12  1.00087e-06
  13  3.83756e-06
  14  5.22781
  15  4.64745
  16  10.6443
  17  6.17281e-05
  18  1.69893e-06
  19  62.0086
  20  0.235117
  21  0.117098
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.125e-05  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.023e+00  1.171e-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.721e-01  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/14718/likelihoodResults_597283201_597542401_4FGL_J1037.4-2933_daily_bin1381.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) = 8217.39609317
delta logL = -0.000718820452676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8217.39537434
delta logL = 3.52883944288e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4077       1.0000          .0000       10.000    
     3 'Normalizat'    .97208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0226       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=   8217.395     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      244 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10020E-03    72.445        .18142E-02** at limit **
   2  Index         2.3836        5.8795        .50000        .71031E-05
   3  Normalizat    .97209        .16929E-01    .34202E-03   -.19279E-05
   4  Prefactor     1.0226        .85565E-02    .16785E-03   -.32511E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100198
  Index      = 2.38355
  Normalizat = 0.972091
  Prefactor  = 1.02259
 **********
 **   18 **HESSE 
 **********

 FCN=   8217.395     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10020E-03    330.05        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3836        5.5046        .50000       -.55071    
   3  Normalizat    .97209        .38002E-01    .13681E-04   -.93971    
   4  Prefactor     1.0226        .19205E-01    .67140E-05   -.91980    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.65725e-09
Minuit parameter uncertainties:
  1  0.016244
  2  750.705
  3  0.0380027
  4  0.0192056
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14718': 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) = 8217.39537431
delta logL = 3.91628418583e-08

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  1.002e-04  1.624e-02  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.384e+00  7.507e+02  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.023e+00  1.921e-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:  9.721e-01  3.800e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/14718/cmap_HighResolution_597283201_597542401_4FGL_J1037.4-2933_daily_bin1381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.75e-03', job_status='DONE', photon_flux_upper_limit='6.14e-08', time_completed='2021-09-02 05:45:33.444800', job_id='14718', GAL2='1.02', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1630586733.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.92e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1381' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 05:45:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 14718: <4FGL_J1037.4-2933_daily_bin1381> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1381> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  2 05:31:28 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 05:31:30 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:30 2021
Terminated at Thu Sep  2 05:45:36 2021
Results reported at Thu Sep  2 05:45:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1381 159.356 -29.5568 597283201 597542401 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 :                                   735.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            848 sec.

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

