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


Performing analysis on: 4FGL_J1037.7-2822_daily_bin1107
RA = 159.427, Dec = -28.3816
tmin = 526262401, tmax = 526521601
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='31275', job_status='RUN', time_executed='2021-09-02 06:28:41.427252', time_epoch_executed='1630589321.43' WHERE source_name='4FGL J1037.7-2822' and cadence='daily' and bin_id='1107'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/31275

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/31275/ft1_4FGL_J1037.7-2822_daily_bin1107.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/31275/ft1_4FGL_J1037.7-2822_daily_bin1107.fits outfile=/scratch/kocevski/31275/ft1_filteredMKT_4FGL_J1037.7-2822_daily_bin1107.fits ra=159.427 dec=-28.3816 rad=12.0 tmin=526262401.0 tmax=526521601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.88
user 3.83
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.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/31275/ft1_filteredMKT_4FGL_J1037.7-2822_daily_bin1107.fits evtable="EVENTS" outfile="/scratch/kocevski/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.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 1.57
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.fits" evtable="EVENTS" scfile=/scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits sctable="SC_DATA" outfile=/scratch/kocevski/31275/ltcube_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.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/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits
.....................!
real 17.09
user 15.81
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits sctable="SC_DATA" expcube=/scratch/kocevski/31275/ltcube_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.fits outfile=/scratch/kocevski/31275/expmap_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.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/31275/ltcube_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.fits
.....................!
real 192.31
user 186.83
sys 4.07

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J1037.7-2822 @ 159.427 -28.3816

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.fits scfile=/scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits outfile=/scratch/kocevski/31275/cmap_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.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.427 yref=-28.3816 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.fits scfile=/scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits outfile=/scratch/kocevski/31275/cmap_HighResolution_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.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.427 yref=-28.3816 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/31275/Model_4FGL_J1037.7-2822_daily_bin1107.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/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.fits.....................!
real 58.99
user 57.57
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.fits', '/scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits', expMap='/scratch/kocevski/31275/expmap_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.fits', expCube='/scratch/kocevski/31275/ltcube_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/31275/Model_4FGL_J1037.7-2822_daily_bin1107.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1037.7-2822'

4FGL J1037.7-2822
   Spectrum: LogParabola
292         norm:  3.073e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
293        alpha:  2.404e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
294         beta:  9.457e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
295           Eb:  8.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/31275/ft1_filtered_4FGL_J1037.7-2822_daily_bin1107.fits
Spacecraft file(s): /scratch/kocevski/31275/ft2_4FGL_J1037.7-2822_daily_bin1107.fits
Exposure map: /scratch/kocevski/31275/expmap_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.fits
Exposure cube: /scratch/kocevski/31275/ltcube_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/31275/Model_4FGL_J1037.7-2822_daily_bin1107.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) = 5147.81985785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.8656       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10492E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7820       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9690       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19260E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6001       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.127       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.5087       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .68962       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5147.770     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     1742 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.1209       -.25729E-05** at limit **
   2  norm          .10000E-03    .53751        .25738E-07** at limit **
   3  norm          8.8664        10.742       -.20474E-07    .18606E-04
   4  Prefactor     .10000E-03    46.586       -.53062E-05** at limit **
   5  Prefactor     .10000E-03    4.5416        .97085E-06** at limit **
   6  norm          .10000E-03    7.3276       -.41233E-05** at limit **
   7  norm          .10000E-03    3.5222       -.60600E-07** at limit **
   8  Prefactor     5.7818        8.0419       -.32374E-07   -.25205E-04
   9  Prefactor     .10000E-03    10.126        .80771E-05** at limit **
  10  Prefactor     .10000E-03    6.0251        .34078E-05** at limit **
  11  norm          .10000E-03    1.6354       -.82903E-07** at limit **
  12  Prefactor     .10000E-03    14.799       -.89835E-05** at limit **
  13  Prefactor     1.9679        1.8203        .69043E-06   -.37046E-02
  14  Prefactor     .10009E-03    6.7816        .20464E-05** at limit **
  15  Prefactor     .10000E-03    4.9324       -.25005E-05** at limit **
  16  Prefactor     4.5997        7.5822       -.28263E-07   -.56580E-04
  17  Prefactor     20.124        27.753       -.30434E-05   -.43988E-04
  18  Prefactor     .10000E-03    6.4117        .10286E-05** at limit **
  19  Normalizat    1.5085        .23690       -.18195E-06   -.92839E-04
  20  Prefactor     .68972        .11724        .12566E-06   -.76776E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 8.86635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.78176
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.96789
  Prefactor  = 0.000100093
  Prefactor  = 0.0001
  Prefactor  = 4.5997
  Prefactor  = 20.1235
  Prefactor  = 0.0001
  Normalizat = 1.50847
  Prefactor  = 0.689718
 **********
 **   18 **HESSE 
 **********

 FCN=   5147.770     FROM HESSE     STATUS=OK           285 CALLS     2027 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.1487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .54571        .51345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.8664        10.744        .13462E-03   -1.5112    
   4  Prefactor     .10000E-03    47.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5437        .14935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    7.4016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.5358        .13149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.7818        8.0395        .16703E-03   -1.5227    
   9  Prefactor     .10000E-03    10.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0390        .17211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.6467        .89589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.9679        4.1924        .10232E-02   -1.5427    
  14  Prefactor     .10009E-03    23.182        .35280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0262        .15540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5997        7.5811        .18767E-03   -1.5279    
  17  Prefactor     20.124        27.785        .89277E-04   -1.4810    
  18  Prefactor     .10000E-03    6.4417        .17748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.5085        .28078        .27086E-03   -.77541    
  20  Prefactor     .68972        .13954        .18877E-03   -1.0393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57181e-08
Minuit parameter uncertainties:
  1  3.13037e-05
  2  4.17051e-09
  3  10.7468
  4  0.00012784
  5  9.64843e-06
  6  4.08234e-05
  7  7.57532e-07
  8  8.04103
  9  0.000112033
  10  3.27768e-05
  11  2.79387e-06
  12  0.000149703
  13  4.19302
  14  0.00294562
  15  1.27595e-05
  16  7.58267
  17  27.8033
  18  2.37969e-05
  19  0.281072
  20  0.139609
Done.

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

Extracting fit parameters...

4FGL J1037.7-2822
   Spectrum: LogParabola
292         norm:  1.000e-04  2.794e-06  1.000e-04  1.000e+04 ( 1.000e-12)
293        alpha:  2.404e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
294         beta:  9.457e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
295           Eb:  8.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  6.897e-01  1.396e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.508e+00  2.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 159.427 -28.382
Photon Flux Upper Limit: 8.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/31275/likelihoodResults_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.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) = 5147.77251525
delta logL = -0.00286967379452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5147.76964562
delta logL = -3.82078724215e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4074       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5085       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68974       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5147.770     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7300        .90712E-02** at limit **
   2  alpha         2.4109        3.5483        .41187       -.10975E-04
   3  Normalizat    1.5085        .23387        .61245E-01   -.81343E-05
   4  Prefactor     .68972        .11585        .42264E-01    .56082E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.41094
  Normalizat = 1.50847
  Prefactor  = 0.689718
 **********
 **   18 **HESSE 
 **********

 FCN=   5147.770     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6512        .89627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4109        3.5315        .50000       -.35633E-01
   3  Normalizat    1.5085        .27788        .27086E-03   -.77541    
   4  Prefactor     .68972        .13771        .18877E-03   -1.0393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21758e-10
Minuit parameter uncertainties:
  1  3.98318e-06
  2  2.50137
  3  0.278158
  4  0.137781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/31275': 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) = 5147.76964555
delta logL = 3.0612682167e-08

Extracting fit parameters...

4FGL J1037.7-2822
   Spectrum: LogParabola
292         norm:  1.000e-04  3.983e-06  1.000e-04  1.000e+04 ( 1.000e-12)
293        alpha:  2.411e+00  2.501e+00  0.000e+00  5.000e+00 ( 1.000e+00)
294         beta:  9.457e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
295           Eb:  8.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  6.897e-01  1.378e-01  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.508e+00  2.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 159.427 -28.382

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/31275/cmap_HighResolution_526262401_526521601_4FGL_J1037.7-2822_daily_bin1107.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-05', job_status='DONE', photon_flux_upper_limit='8.04e-08', time_completed='2021-09-02 06:37:54.902544', job_id='31275', GAL2='0.69', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1630589874.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='3.06e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1107' AND source_name='4FGL J1037.7-2822' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 06:37:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 31275: <4FGL_J1037.7-2822_daily_bin1107> in cluster <slac> Done

Job <4FGL_J1037.7-2822_daily_bin1107> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  2 06:26:30 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 06:27:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 06:27:04 2021
Terminated at Thu Sep  2 06:37:55 2021
Results reported at Thu Sep  2 06:37:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.7-2822_daily_bin1107 159.427 -28.3816 526262401 526521601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1037.7-2822 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   546.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            685 sec.

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

