/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 34 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 = 7628
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1037.7-2822_daily_bin1276
RA = 159.427, Dec = -28.3816
tmin = 570067201, tmax = 570326401
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='31452', job_status='RUN', time_executed='2021-09-02 06:29:40.317024', time_epoch_executed='1630589380.32' WHERE source_name='4FGL J1037.7-2822' and cadence='daily' and bin_id='1276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/31452

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/31452/ft1_4FGL_J1037.7-2822_daily_bin1276.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/31452/ft1_4FGL_J1037.7-2822_daily_bin1276.fits outfile=/scratch/kocevski/31452/ft1_filteredMKT_4FGL_J1037.7-2822_daily_bin1276.fits ra=159.427 dec=-28.3816 rad=12.0 tmin=570067201.0 tmax=570326401.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.05
user 3.41
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.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/31452/ft1_filteredMKT_4FGL_J1037.7-2822_daily_bin1276.fits evtable="EVENTS" outfile="/scratch/kocevski/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.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.78
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.fits" evtable="EVENTS" scfile=/scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits sctable="SC_DATA" outfile=/scratch/kocevski/31452/ltcube_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.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/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits
.....................!
real 14.94
user 14.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits sctable="SC_DATA" expcube=/scratch/kocevski/31452/ltcube_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.fits outfile=/scratch/kocevski/31452/expmap_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.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/31452/ltcube_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.fits
.....................!
real 190.95
user 185.85
sys 4.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 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/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.fits scfile=/scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits outfile=/scratch/kocevski/31452/cmap_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.fits scfile=/scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits outfile=/scratch/kocevski/31452/cmap_HighResolution_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/31452/Model_4FGL_J1037.7-2822_daily_bin1276.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/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.fits.....................!
real 55.38
user 53.78
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.fits', '/scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits', expMap='/scratch/kocevski/31452/expmap_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.fits', expCube='/scratch/kocevski/31452/ltcube_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/31452/Model_4FGL_J1037.7-2822_daily_bin1276.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/31452/ft1_filtered_4FGL_J1037.7-2822_daily_bin1276.fits
Spacecraft file(s): /scratch/kocevski/31452/ft2_4FGL_J1037.7-2822_daily_bin1276.fits
Exposure map: /scratch/kocevski/31452/expmap_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.fits
Exposure cube: /scratch/kocevski/31452/ltcube_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/31452/Model_4FGL_J1037.7-2822_daily_bin1276.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) = 5291.82497459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .24620       1.0000         .10000E-03   10000.    
     3 'norm      '    4.0883       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .42043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10369E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.4663       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3960       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.181       1.0000         .10000E-03   10000.    
    11 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5382       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14815E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.5683       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11145E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.643       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0522       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .82741       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1146       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5291.813     FROM MIGRAD    STATUS=CONVERGED    749 CALLS     2694 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5063        .13303E-02** at limit **
   2  norm          .23459        3.9729        .14455E-02    .72147E-03
   3  norm          4.0863        7.6670        .19939E-03   -.20412E-04
   4  Prefactor     .10000E-03    259.83        .75600E-02** at limit **
   5  Prefactor     .10000E-03    7.1986        .18142E-02** at limit **
   6  norm          .10000E-03    21.706        .18142E-02** at limit **
   7  norm          9.4475        11.853        .13025E-03   -.95399E-04
   8  Prefactor     5.3966        9.2065        .17299E-03    .27601E-05
   9  Prefactor     .10000E-03    22.319        .18142E-02** at limit **
  10  Prefactor     33.197        23.311        .69565E-04   -.28721E-03
  11  norm          .10000E-03    2.5404        .11265E-02** at limit **
  12  Prefactor     1.5396        26.778        .17193E-02   -.33360E-04
  13  Prefactor     .10015E-03    8.8168        .39980E-01** at limit **
  14  Prefactor     .10000E-03    4.6647        .15325E-02** at limit **
  15  Prefactor     4.5702        6.8054        .18834E-03   -.56923E-04
  16  Prefactor     .10000E-03    28.498        .36285E-03** at limit **
  17  Prefactor     24.707        58.867        .80693E-04   -.32827E-04
  18  Prefactor     4.0463        16.357        .20030E-03   -.43249E-04
  19  Normalizat    .82683        .31431        .37845E-03   -.15690E-03
  20  Prefactor     1.1148        .16058        .17252E-03   -.24805E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.23459
  norm       = 4.08627
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.44747
  Prefactor  = 5.39661
  Prefactor  = 0.0001
  Prefactor  = 33.1973
  norm       = 0.0001
  Prefactor  = 1.5396
  Prefactor  = 0.000100146
  Prefactor  = 0.0001
  Prefactor  = 4.57019
  Prefactor  = 0.0001
  Prefactor  = 24.7067
  Prefactor  = 4.04634
  Normalizat = 0.826831
  Prefactor  = 1.11481
 **********
 **   18 **HESSE 
 **********

 FCN=   5291.813     FROM HESSE     STATUS=OK           285 CALLS     2979 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.5063        .26607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .23459        3.9437        .57820E-04   -1.5611    
   3  norm          4.0863        7.6665        .79756E-05   -1.5304    
   4  Prefactor     .10000E-03    268.81        .30240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.1988        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    21.718        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.4475        11.847        .52101E-05   -1.5093    
   8  Prefactor     5.3966        9.2057        .69198E-05   -1.5243    
   9  Prefactor     .10000E-03    22.329        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.197        23.268        .13913E-04   -1.4555    
  11  norm          .10000E-03    2.5406        .22531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5396        26.736        .68771E-04   -1.5460    
  13  Prefactor     .10015E-03    6.3554        .49159E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.6650        .30650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.5702        6.8021        .75335E-05   -1.5280    
  16  Prefactor     .10000E-03    28.500        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.707        58.815        .32277E-05   -1.4713    
  18  Prefactor     4.0463        16.338        .80122E-05   -1.5306    
  19  Normalizat    .82683        .31402        .15138E-04   -.99081    
  20  Prefactor     1.1148        .16064        .34504E-04   -.88995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.70726e-10
Minuit parameter uncertainties:
  1  7.69497e-07
  2  1.92344
  3  7.66837
  4  0.00149465
  5  2.10197e-06
  6  7.09212e-06
  7  11.8498
  8  9.20807
  9  9.19851e-05
  10  23.2745
  11  8.43101e-06
  12  12.8379
  13  0.00192748
  14  3.99258e-06
  15  6.80321
  16  0.000134268
  17  58.9532
  18  16.2689
  19  0.314709
  20  0.16071
Done.

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

Extracting fit parameters...

4FGL J1037.7-2822
   Spectrum: LogParabola
292         norm:  1.000e-04  8.431e-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:  1.115e+00  1.607e-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:  8.268e-01  3.147e-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: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/31452/likelihoodResults_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.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) = 5291.81481824
delta logL = -0.00187170982099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5291.81294699
delta logL = -4.6187233238e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10434E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3808       1.0000          .0000       5.0000    
     3 'Normalizat'    .82687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1148       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5291.813     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      238 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    119.96        .11512E-01** at limit **
   2  alpha         1.8791        3.1519        .16484        .37752E-06
   3  Normalizat    .82683        .40674E-01    .37845E-03    .34243E-03
   4  Prefactor     1.1148        .21376E-01    .17252E-03    .91165E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.87908
  Normalizat = 0.826832
  Prefactor  = 1.11481
 **********
 **   18 **HESSE 
 **********

 FCN=   5291.813     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4006        .12969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8791        2.6227        .65937E-02   -.25100    
   3  Normalizat    .82683        .30212        .15138E-04   -.99081    
   4  Prefactor     1.1148        .15900        .34504E-04   -.88995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23318e-09
Minuit parameter uncertainties:
  1  6.62753e-05
  2  167.622
  3  0.302734
  4  0.159064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/31452': 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) = 5291.81294166
delta logL = 4.86357839691e-06

Extracting fit parameters...

4FGL J1037.7-2822
   Spectrum: LogParabola
292         norm:  1.000e-04  6.628e-05  1.000e-04  1.000e+04 ( 1.000e-12)
293        alpha:  1.879e+00  1.676e+02  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:  1.115e+00  1.591e-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:  8.268e-01  3.027e-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/31452/cmap_HighResolution_570067201_570326401_4FGL_J1037.7-2822_daily_bin1276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-05', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-02 06:39:47.603668', job_id='31452', GAL2='1.11', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1630589987.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1276' AND source_name='4FGL J1037.7-2822' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 06:39:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 31452: <4FGL_J1037.7-2822_daily_bin1276> in cluster <slac> Done

Job <4FGL_J1037.7-2822_daily_bin1276> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  2 06:26:55 2021
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 06:28:37 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:28:37 2021
Terminated at Thu Sep  2 06:39:48 2021
Results reported at Thu Sep  2 06:39:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1037.7-2822_daily_bin1276 159.427 -28.3816 570067201 570326401 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 :                                   599.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            773 sec.

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

