/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 199 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 = 7397
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0710.9+4733_daily_bin292
RA = 107.732, Dec = 47.553
tmin = 315014401, tmax = 315273601
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='160171', job_status='RUN', time_executed='2021-08-26 20:54:14.082604', time_epoch_executed='1630036454.08' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='292'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/160171

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/160171/ft1_4FGL_J0710.9+4733_daily_bin292.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/160171/ft1_4FGL_J0710.9+4733_daily_bin292.fits outfile=/scratch/kocevski/160171/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin292.fits ra=107.732 dec=47.553 rad=12.0 tmin=315014401.0 tmax=315273601.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.62
user 3.33
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.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/160171/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin292.fits evtable="EVENTS" outfile="/scratch/kocevski/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.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.58
user 0.33
sys 0.23

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.fits" evtable="EVENTS" scfile=/scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits sctable="SC_DATA" outfile=/scratch/kocevski/160171/ltcube_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.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/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits
.....................!
real 11.86
user 11.38
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.fits evtable="EVENTS" scfile=/scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits sctable="SC_DATA" expcube=/scratch/kocevski/160171/ltcube_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.fits outfile=/scratch/kocevski/160171/expmap_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.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/160171/ltcube_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.fits
.....................!
real 191.11
user 185.72
sys 4.31

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

Setting source of interest to:
4FGL J0710.9+4733 @ 107.732 47.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.fits scfile=/scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits outfile=/scratch/kocevski/160171/cmap_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.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=107.732 yref=47.553 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.61
user 0.38
sys 0.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.fits scfile=/scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits outfile=/scratch/kocevski/160171/cmap_HighResolution_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.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=107.732 yref=47.553 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.61
user 0.40
sys 0.21

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.fits evtable="EVENTS" scfile=/scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/160171/Model_4FGL_J0710.9+4733_daily_bin292.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/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.fits.....................!
real 76.52
user 74.86
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.fits', '/scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits', expMap='/scratch/kocevski/160171/expmap_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.fits', expCube='/scratch/kocevski/160171/ltcube_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/160171/Model_4FGL_J0710.9+4733_daily_bin292.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0710.9+4733'

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.663e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.670e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
263        Scale:  6.204e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/160171/ft1_filtered_4FGL_J0710.9+4733_daily_bin292.fits
Spacecraft file(s): /scratch/kocevski/160171/ft2_4FGL_J0710.9+4733_daily_bin292.fits
Exposure map: /scratch/kocevski/160171/expmap_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.fits
Exposure cube: /scratch/kocevski/160171/ltcube_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/160171/Model_4FGL_J0710.9+4733_daily_bin292.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) = 7134.33036868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9143       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2060       1.0000         .10000E-03   10000.    
     5 'norm      '    .56420       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .25560       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19373       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3787       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.751       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7254       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.443       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.6483       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3608       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2371       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0187       1.0000         .10000E-03   10000.    
    19 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    5.8992       1.0000         .10000E-03   10000.    
    23 'norm      '    3.9767       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .75513       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0814       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7134.328     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     2461 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    2.3367       -.61350E-05** at limit **
   2  Prefactor     .10001E-03    2.2703        .30080E-05** at limit **
   3  Prefactor     6.9052        1.1379       -.14952E-05    .77310E-03
   4  norm          3.2058        3.0566        .42836E-05   -.20420E-03
   5  norm          .56410        6.0788        .22202E-04   -.13921E-03
   6  Prefactor     .10000E-03    23.656        .24596E-04** at limit **
   7  norm          .25895        8.2853       -.64194E-05   -.16457E-03
   8  Prefactor     .10243E-03    459.79       -.10702E-03** at limit **
   9  Prefactor     4.3784        4.6903        .10577E-04   -.24826E-03
  10  Prefactor     14.751        1.3844        .16366E-05    .18795E-02
  11  Prefactor     1.8095        85.670        .14192E-03   -.11034E-02
  12  norm          .10000E-03    2.3194       -.14014E-05** at limit **
  13  Prefactor     18.421        2.9687        .32398E-05    .93211E-02
  14  Prefactor     .10000E-03    8.5665        .10025E-04** at limit **
  15  Prefactor     7.6481        1.0603       -.94603E-06    .72125E-03
  16  norm          2.3608        .97797       -.23225E-06    .18682E-04
  17  Prefactor     3.2341        4.6797        .17089E-04    .56002E-02
  18  Prefactor     4.0197        1.5760        .37483E-05    .11843E-02
  19  norm          .10000E-03    3.0638       -.64307E-05** at limit **
  20  Prefactor     .10003E-03    1.1040        .48928E-05** at limit **
  21  Prefactor     .10000E-03    19.079       -.28795E-05** at limit **
  22  norm          5.8991        1.0952       -.58332E-06   -.13341E-02
  23  norm          3.9767        2.1523        .66263E-07    .11842E-03
  24  Normalizat    .75503        .21788       -.24644E-04   -.75915E-05
  25  Prefactor     1.0815        .11470        .10870E-04   -.44790E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  Prefactor  = 0.000100008
  Prefactor  = 6.90522
  norm       = 3.20584
  norm       = 0.564101
  Prefactor  = 0.000100001
  norm       = 0.258948
  Prefactor  = 0.00010243
  Prefactor  = 4.37841
  Prefactor  = 14.7513
  Prefactor  = 1.80945
  norm       = 0.0001
  Prefactor  = 18.4206
  Prefactor  = 0.0001
  Prefactor  = 7.64812
  norm       = 2.36076
  Prefactor  = 3.2341
  Prefactor  = 4.01973
  norm       = 0.0001
  Prefactor  = 0.000100028
  Prefactor  = 0.000100001
  norm       = 5.8991
  norm       = 3.97668
  Normalizat = 0.755029
  Prefactor  = 1.08146
 **********
 **   18 **HESSE 
 **********

 FCN=   7134.328     FROM HESSE     STATUS=OK           501 CALLS     2962 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    2.6217        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    2.6879        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.9052        56.273        .38144E-02   -1.5182    
   4  norm          3.2058        3.0648        .56569E-02   -1.5350    
   5  norm          .56410        3.0677        .44821E-01   -1.5558    
   6  Prefactor     .10000E-03    23.237        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .25895        2.9645        .44139E-01   -1.5606    
   8  Prefactor     .10243E-03    17.266        .12426       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3784        4.7908        .48119E-02   -1.5289    
  10  Prefactor     14.751        13.692        .26071E-02   -1.4940    
  11  Prefactor     1.8095        136.85        .79928E-02   -1.5439    
  12  norm          .10000E-03    2.3149        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.421        29.255        .23316E-02   -1.4849    
  14  Prefactor     .10000E-03    8.4787        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.6481        23.879        .36251E-02   -1.5155    
  16  norm          2.3608        .99106        .66681E-02   -1.5401    
  17  Prefactor     3.2341        13.638        .56283E-02   -1.5348    
  18  Prefactor     4.0197        12.157        .50291E-02   -1.5307    
  19  norm          .10000E-03    2.9761        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10003E-03    2.6955        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    19.093        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          5.8991        4.7702        .41334E-02   -1.5222    
  23  norm          3.9767        2.2588        .50565E-02   -1.5309    
  24  Normalizat    .75503        .20595        .81276E-01   -1.0176    
  25  Prefactor     1.0815        .10325        .38340E-01   -.90061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75796e-07
Minuit parameter uncertainties:
  1  0.000249672
  2  0.000295444
  3  39.4752
  4  3.06494
  5  2.63093
  6  0.000330961
  7  1.75208
  8  0.012959
  9  4.79125
  10  13.6944
  11  31.5463
  12  1.08153e-06
  13  29.2782
  14  4.94153e-05
  15  23.9089
  16  0.991067
  17  13.2875
  18  12.1642
  19  7.52894e-06
  20  0.000548886
  21  0.00024567
  22  4.77046
  23  2.25884
  24  0.206166
  25  0.103269
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  4.378e+00  4.791e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.670e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
263        Scale:  6.204e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.081e+00  1.033e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  7.550e-01  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.26
Ra Dec: 107.732 47.553
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 3.43e-08 +/- 3.75e-08
Energy Flux (Fixed Index): 8.46e-06 +/- 9.26e-06

TS (Fixed Index): 1.26
Ra Dec: 107.732 47.553
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/160171/likelihoodResults_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.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) = 7134.0908623
delta logL = 0.236987881077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7134.07119804
delta logL = 0.256652136611

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9176       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1017       1.0000          .0000       10.000    
     3 'Normalizat'    .76927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0762       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+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=   7134.071     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      263 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9170        5.8306        .16508E-03   -.30302E-05
   2  Index         2.1017        .69782        .11234E-01   -.64065E-04
   3  Normalizat    .76927        .20805        .35673E-03    .14022E-05
   4  Prefactor     1.0762        .11373        .16671E-03    .13639E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.91696
  Index      = 2.10174
  Normalizat = 0.769271
  Prefactor  = 1.07623
 **********
 **   18 **HESSE 
 **********

 FCN=   7134.071     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9170        5.8325        .66031E-05   -1.5221    
   2  Index         2.1017        .69815        .22467E-02   -.61830    
   3  Normalizat    .76927        .20815        .14269E-04   -1.0122    
   4  Prefactor     1.0762        .11379        .66684E-05   -.90230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90256e-14
Minuit parameter uncertainties:
  1  5.83302
  2  0.701607
  3  0.20837
  4  0.113819
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/160171': 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) = 7134.07119803
delta logL = 0.256652143478

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  5.917e+00  5.833e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.102e+00  7.016e-01  0.000e+00  1.000e+01 (-1.000e+00)
263        Scale:  6.204e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.076e+00  1.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
600        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
601        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
598   Normalization:  7.693e-01  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.77
Ra Dec: 107.732 47.553
Photon Index (Free Index): 2.10 +/- 0.70
Photon Flux (Free Index): 2.49e-08 +/- 2.97e-08
Energy Flux (Free Index): 1.36e-05 +/- 1.76e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/160171/cmap_HighResolution_315014401_315273601_4FGL_J0710.9+4733_daily_bin292.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.48e-03', comment='SUCCESS', photon_flux='3.43e-08', energy_flux2='1.36e-05', photon_flux_error='3.75e-08', dlogl='2.57e-01', energy_flux='8.46e-06', photon_flux2='2.49e-08', job_status='DONE', time_completed='2021-08-26 21:07:07.456979', photon_index_error2='0.70', photon_index2='2.10', ts='1.26', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='1.76e-05', EG='0.76', time_epoch_completed='1630037227.46', return_code='0', job_id='160171', GAL2='1.08', EG2='0.77', return_code2='0', energy_flux_error='9.26e-06', photon_flux_error2='2.97e-08', ts2='1.77', photon_index='2.67' WHERE bin_id='292' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:07:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 160171: <4FGL_J0710.9+4733_daily_bin292> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin292> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Aug 26 20:50:32 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 20:50:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 20:50:34 2021
Terminated at Thu Aug 26 21:07:07 2021
Results reported at Thu Aug 26 21:07:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin292 107.732 47.553 315014401 315273601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0710.9+4733 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   771.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             255.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            995 sec.

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

