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


Performing analysis on: 4FGL_J1037.4-2933_daily_bin1383
RA = 159.356, Dec = -29.5568
tmin = 597801601, tmax = 598060801
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='14721', job_status='RUN', time_executed='2021-09-02 05:34:29.078990', time_epoch_executed='1630586069.08' WHERE source_name='4FGL J1037.4-2933' and cadence='daily' and bin_id='1383'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/14721

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/14721/ft1_4FGL_J1037.4-2933_daily_bin1383.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/14721/ft2_4FGL_J1037.4-2933_daily_bin1383.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/14721/ft1_4FGL_J1037.4-2933_daily_bin1383.fits outfile=/scratch/kocevski/14721/ft1_filteredMKT_4FGL_J1037.4-2933_daily_bin1383.fits ra=159.356 dec=-29.5568 rad=12.0 tmin=597801601.0 tmax=598060801.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.66
user 3.36
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/14721/ft1_filtered_4FGL_J1037.4-2933_daily_bin1383.fits" evtable="EVENTS" scfile=/scratch/kocevski/14721/ft2_4FGL_J1037.4-2933_daily_bin1383.fits sctable="SC_DATA" outfile=/scratch/kocevski/14721/ltcube_597801601_598060801_4FGL_J1037.4-2933_daily_bin1383.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/14721/ft2_4FGL_J1037.4-2933_daily_bin1383.fits
.....................!
real 14.97
user 14.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/14721/ft1_filtered_4FGL_J1037.4-2933_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/14721/ft2_4FGL_J1037.4-2933_daily_bin1383.fits sctable="SC_DATA" expcube=/scratch/kocevski/14721/ltcube_597801601_598060801_4FGL_J1037.4-2933_daily_bin1383.fits outfile=/scratch/kocevski/14721/expmap_597801601_598060801_4FGL_J1037.4-2933_daily_bin1383.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/14721/ltcube_597801601_598060801_4FGL_J1037.4-2933_daily_bin1383.fits
.....................!
real 192.80
user 186.77
sys 4.70

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/14721/ft1_filtered_4FGL_J1037.4-2933_daily_bin1383.fits scfile=/scratch/kocevski/14721/ft2_4FGL_J1037.4-2933_daily_bin1383.fits outfile=/scratch/kocevski/14721/cmap_597801601_598060801_4FGL_J1037.4-2933_daily_bin1383.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.57
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/14721/ft1_filtered_4FGL_J1037.4-2933_daily_bin1383.fits evtable="EVENTS" scfile=/scratch/kocevski/14721/ft2_4FGL_J1037.4-2933_daily_bin1383.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/14721/Model_4FGL_J1037.4-2933_daily_bin1383.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/14721/ft1_filtered_4FGL_J1037.4-2933_daily_bin1383.fits.....................!
real 73.47
user 71.59
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3333       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0633       1.0000         .10000E-03   10000.    
     3 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10264E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.087       1.0000         .10000E-03   10000.    
     6 'norm      '    8.3564       1.0000         .10000E-03   10000.    
     7 'norm      '    .42532E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10900E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.6400       1.0000         .10000E-03   10000.    
    11 'norm      '    .10759E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.7051       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6157       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7221       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .32011E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.0138       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11309E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .37422E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .67510       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2185       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=   7062.217     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     1985 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3354        17.704        .91140E-07   -.37624E-04
   2  norm          2.0633        1.5540        .18515E-07   -.15756E-04
   3  norm          .10000E-03    7.9116        .77238E-07** at limit **
   4  Prefactor     .10000E-03    13.629       -.10868E-06** at limit **
   5  Prefactor     15.087        13.954        .76261E-06    .94957E-03
   6  norm          8.3673        13.297        .27848E-05    .93117E-03
   7  norm          .10028E-03    7.1090       -.25833E-05** at limit **
   8  Prefactor     16.146        16.429       -.18678E-06   -.13474E-03
   9  Prefactor     .10000E-03    24.399       -.65343E-06** at limit **
  10  Prefactor     1.5979        88.033       -.45208E-05    .34115E-04
  11  norm          .10000E-03    3.4465       -.59521E-06** at limit **
  12  Prefactor     5.7050        13.752       -.56386E-06   -.14178E-03
  13  Prefactor     4.6291        6.1700        .17688E-05   -.15612E-02
  14  Prefactor     1.7116        23.104       -.11443E-05    .21398E-04
  15  Prefactor     .10000E-03    5.0819        .11715E-06** at limit **
  16  Prefactor     6.0160        6.9921        .41233E-07   -.41505E-07
  17  Prefactor     .10001E-03    139.02        .17620E-05** at limit **
  18  Prefactor     .10028E-03    12.925       -.33848E-06** at limit **
  19  Prefactor     .10000E-03    40.722        .14331E-07** at limit **
  20  Normalizat    .67511        .26825       -.31480E-06    .31584E-03
  21  Prefactor     1.2185        .12307        .27141E-07    .76259E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.33536
  norm       = 2.06329
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0867
  norm       = 8.36725
  norm       = 0.000100282
  Prefactor  = 16.1461
  Prefactor  = 0.0001
  Prefactor  = 1.59793
  norm       = 0.0001
  Prefactor  = 5.70502
  Prefactor  = 4.6291
  Prefactor  = 1.71162
  Prefactor  = 0.0001
  Prefactor  = 6.01604
  Prefactor  = 0.000100006
  Prefactor  = 0.000100275
  Prefactor  = 0.0001
  Normalizat = 0.675111
  Prefactor  = 1.21855
 **********
 **   18 **HESSE 
 **********

 FCN=   7062.217     FROM HESSE     STATUS=OK           333 CALLS     2318 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3354        17.731        .26846E-03   -1.5402    
   2  norm          2.0633        1.5424        .86944E-04   -1.5421    
   3  norm          .10000E-03    7.9849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.087        14.229        .10312E-03   -1.4931    
   6  norm          8.3673        13.646        .13868E-03   -1.5129    
   7  norm          .10028E-03    113.20        .36141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.146        16.445        .99669E-04   -1.4904    
   9  Prefactor     .10000E-03    24.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5979        91.965        .32996E-03   -1.5455    
  11  norm          .10000E-03    3.5108        .30335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.7050        13.731        .16817E-03   -1.5230    
  13  Prefactor     4.6291        7.1574        .93672E-03   -1.5278    
  14  Prefactor     1.7116        22.900        .32009E-03   -1.5446    
  15  Prefactor     .10000E-03    34.738        .35362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.0160        6.9852        .16373E-03   -1.5217    
  17  Prefactor     .10001E-03    142.31        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10028E-03    18.139        .83761E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    40.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .67511        .28552        .42829E-03   -1.0488    
  21  Prefactor     1.2185        .13650        .16525E-03   -.85762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53191e-09
Minuit parameter uncertainties:
  1  12.875
  2  1.54243
  3  4.46268e-07
  4  3.32126e-05
  5  14.2323
  6  13.6513
  7  0.0113297
  8  16.45
  9  0.000138551
  10  24.2833
  11  5.76584e-05
  12  13.739
  13  7.15867
  14  12.5268
  15  0.00021478
  16  6.98618
  17  0.0018344
  18  0.00447023
  19  7.36884e-06
  20  0.286146
  21  0.136539
Done.

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

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  1.598e+00  2.428e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.219e+00  1.365e-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:  6.751e-01  2.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/14721/likelihoodResults_597801601_598060801_4FGL_J1037.4-2933_daily_bin1383.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) = 7062.09823456
delta logL = 0.118959926437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7062.088184
delta logL = 0.129010489853

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2445       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3344       1.0000          .0000       10.000    
     3 'Normalizat'    .64010       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2274       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=   7062.088     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      221 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2552        99.207        .68578E-02    .88910E-03
   2  Index         3.3342        2.8490        .21438        .71620E-04
   3  Normalizat    .63996        .42663E-01    .99058E-01    .32766E-04
   4  Prefactor     1.2274        .21524E-01    .34012E-01   -.17487E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.25523
  Index      = 3.33421
  Normalizat = 0.639961
  Prefactor  = 1.22743
 **********
 **   18 **HESSE 
 **********

 FCN=   7062.088     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2552        29.432        .23698E-03   -1.5408    
   2  Index         3.3342        2.9928        .77039E-02   -.33965    
   3  Normalizat    .63996        .27594        .43901E-03   -1.0631    
   4  Prefactor     1.2274        .13679        .16469E-03   -.85491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08049e-08
Minuit parameter uncertainties:
  1  16.3037
  2  3.24245
  3  0.276536
  4  0.136831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/14721': 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) = 7062.08818156
delta logL = 0.129012932258

Extracting fit parameters...

4FGL J1037.4-2933
   Spectrum: PowerLaw
285    Prefactor:  2.255e+00  1.630e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  3.334e+00  3.242e+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:  1.227e+00  1.368e-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:  6.400e-01  2.765e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/14721/cmap_HighResolution_597801601_598060801_4FGL_J1037.4-2933_daily_bin1383.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-02 05:46:10.759819', job_id='14721', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.68', time_epoch_completed='1630586770.76', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.29e-01', ts2='0.28', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1383' AND source_name='4FGL J1037.4-2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 05:46:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 14721: <4FGL_J1037.4-2933_daily_bin1383> in cluster <slac> Done

Job <4FGL_J1037.4-2933_daily_bin1383> 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) <bullet0076>, 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:46:11 2021
Results reported at Thu Sep  2 05:46:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.4-2933_daily_bin1383 159.356 -29.5568 597801601 598060801 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 :                                   655.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

