/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 4 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 = 7476
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0710.9+4733_daily_bin98
RA = 107.732, Dec = 47.553
tmin = 264729601, tmax = 264988801
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='158761', job_status='RUN', time_executed='2021-08-26 20:45:59.006563', time_epoch_executed='1630035959.01' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='98'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158761

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158761/ft1_4FGL_J0710.9+4733_daily_bin98.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158761/ft2_4FGL_J0710.9+4733_daily_bin98.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158761/ft1_4FGL_J0710.9+4733_daily_bin98.fits outfile=/scratch/kocevski/158761/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin98.fits ra=107.732 dec=47.553 rad=12.0 tmin=264729601.0 tmax=264988801.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 1.67
user 1.27
sys 0.37

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158761/ft2_4FGL_J0710.9+4733_daily_bin98.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/158761/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin98.fits evtable="EVENTS" outfile="/scratch/kocevski/158761/ft1_filtered_4FGL_J0710.9+4733_daily_bin98.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.72
user 0.32
sys 0.37

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158761/ft1_filtered_4FGL_J0710.9+4733_daily_bin98.fits" evtable="EVENTS" scfile=/scratch/kocevski/158761/ft2_4FGL_J0710.9+4733_daily_bin98.fits sctable="SC_DATA" outfile=/scratch/kocevski/158761/ltcube_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.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/158761/ft2_4FGL_J0710.9+4733_daily_bin98.fits
.....................!
real 13.15
user 12.52
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158761/ft1_filtered_4FGL_J0710.9+4733_daily_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/158761/ft2_4FGL_J0710.9+4733_daily_bin98.fits sctable="SC_DATA" expcube=/scratch/kocevski/158761/ltcube_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.fits outfile=/scratch/kocevski/158761/expmap_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.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/158761/ltcube_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.fits
.....................!
real 191.92
user 186.26
sys 5.03

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/158761/ft1_filtered_4FGL_J0710.9+4733_daily_bin98.fits scfile=/scratch/kocevski/158761/ft2_4FGL_J0710.9+4733_daily_bin98.fits outfile=/scratch/kocevski/158761/cmap_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.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.74
user 0.36
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158761/ft1_filtered_4FGL_J0710.9+4733_daily_bin98.fits scfile=/scratch/kocevski/158761/ft2_4FGL_J0710.9+4733_daily_bin98.fits outfile=/scratch/kocevski/158761/cmap_HighResolution_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.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.75
user 0.38
sys 0.36

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158761/ft1_filtered_4FGL_J0710.9+4733_daily_bin98.fits', '/scratch/kocevski/158761/ft2_4FGL_J0710.9+4733_daily_bin98.fits', expMap='/scratch/kocevski/158761/expmap_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.fits', expCube='/scratch/kocevski/158761/ltcube_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158761/Model_4FGL_J0710.9+4733_daily_bin98.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/158761/ft1_filtered_4FGL_J0710.9+4733_daily_bin98.fits
Spacecraft file(s): /scratch/kocevski/158761/ft2_4FGL_J0710.9+4733_daily_bin98.fits
Exposure map: /scratch/kocevski/158761/expmap_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.fits
Exposure cube: /scratch/kocevski/158761/ltcube_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158761/Model_4FGL_J0710.9+4733_daily_bin98.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) = 8348.00873777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6478       1.0000         .10000E-03   10000.    
     3 'Prefactor '    39.694       1.0000         .10000E-03   10000.    
     4 'norm      '    6.1807       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7903       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5982       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12453E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1265       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.439       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.711       1.0000         .10000E-03   10000.    
    12 'norm      '    .79168E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3860       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .66213       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .49941       1.0000         .10000E-03   10000.    
    19 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.0755       1.0000         .10000E-03   10000.    
    21 'Prefactor '    51.416       1.0000         .10000E-03   10000.    
    22 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .16238       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2192       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94353       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.

 FCN=   8347.964     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     3080 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .91063        .19187E-07** at limit **
   2  Prefactor     1.6474        10.973        .12690E-04    .26808E-03
   3  Prefactor     39.699        37.528       -.57273E-06    .93000E-05
   4  norm          6.1809        4.5049        .27496E-06   -.13986E-04
   5  norm          3.7907        3.3537        .36387E-07    .21607E-04
   6  Prefactor     3.5993        36.317        .38619E-06    .35832E-05
   7  norm          .10000E-03    2.0246       -.30607E-07** at limit **
   8  Prefactor     .10000E-03    21.984        .33215E-06** at limit **
   9  Prefactor     1.1314        7.4526        .11210E-05    .51945E-04
  10  Prefactor     19.438        15.277       -.54900E-08    .87632E-05
  11  Prefactor     24.725        30.904       -.25354E-05   -.19875E-04
  12  norm          .10000E-03    5.2654        .36041E-07** at limit **
  13  Prefactor     2.3588        73.507        .68495E-05    .17003E-04
  14  Prefactor     .10000E-03    4.8298       -.72770E-08** at limit **
  15  Prefactor     .10000E-03    30.238        .92565E-06** at limit **
  16  norm          .66218        .64772       -.66658E-07   -.28856E-03
  17  Prefactor     .10000E-03    9.5342       -.40501E-06** at limit **
  18  Prefactor     .60752        12.338       -.61929E-05    .78729E-03
  19  norm          .10000E-03    1.2199       -.28998E-06** at limit **
  20  Prefactor     5.0722        11.257       -.50567E-05    .14542E-03
  21  Prefactor     51.300        54.862        .13511E-04    .14640E-03
  22  norm          .10000E-03    3.3821       -.66581E-07** at limit **
  23  norm          .16023        .84912       -.81890E-07    .29096E-04
  24  Normalizat    1.2189        .19936        .24427E-05    .40632E-03
  25  Prefactor     .94361        .97680E-01   -.22436E-05    .47059E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.64737
  Prefactor  = 39.6986
  norm       = 6.18085
  norm       = 3.7907
  Prefactor  = 3.5993
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.13137
  Prefactor  = 19.4383
  Prefactor  = 24.7249
  norm       = 0.0001
  Prefactor  = 2.3588
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.662179
  Prefactor  = 0.0001
  Prefactor  = 0.607525
  norm       = 0.0001
  Prefactor  = 5.07222
  Prefactor  = 51.2997
  norm       = 0.0001
  norm       = 0.160233
  Normalizat = 1.21894
  Prefactor  = 0.943608
 **********
 **   18 **HESSE 
 **********

 FCN=   8347.964     FROM HESSE     STATUS=OK           435 CALLS     3515 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .91573        .85131E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6474        11.168        .16449E-02   -1.5451    
   3  Prefactor     39.699        37.574        .63621E-04   -1.4447    
   4  norm          6.1809        4.4991        .15909E-03   -1.5211    
   5  norm          3.7907        3.3430        .15036E-03   -1.5319    
   6  Prefactor     3.5993        36.219        .21302E-03   -1.5329    
   7  norm          .10000E-03    2.0304        .12682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.1314        7.0643        .44111E-03   -1.5495    
  10  Prefactor     19.438        15.232        .90842E-04   -1.4826    
  11  Prefactor     24.725        30.613        .80583E-04   -1.4713    
  12  norm          .10000E-03    28.857        .39021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3588        71.995        .26517E-03   -1.5401    
  14  Prefactor     .10000E-03    4.8365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    30.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .66218        .63271        .69432E-04   -1.5545    
  17  Prefactor     .10000E-03    9.6191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .60752        81.550        .55046E-02   -1.5552    
  19  norm          .10000E-03    1.2458        .98544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.0722        11.248        .17847E-03   -1.5257    
  21  Prefactor     51.300        55.077        .27965E-03   -1.4274    
  22  norm          .10000E-03    3.5027        .32684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .16023        3.4929        .16180E-02   -1.5628    
  24  Normalizat    1.2189        .22430        .31517E-03   -.86020    
  25  Prefactor     .94361        .10962        .18310E-03   -.94634    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23911e-08
Minuit parameter uncertainties:
  1  2.2664e-07
  2  8.58054
  3  37.5965
  4  4.4993
  5  3.34319
  6  22.853
  7  3.77496e-06
  8  0.000162302
  9  5.65487
  10  15.2349
  11  30.6321
  12  6.25526e-05
  13  26.0971
  14  4.297e-07
  15  7.85459e-05
  16  0.632712
  17  4.56287e-05
  18  14.0959
  19  1.07189e-05
  20  11.2526
  21  55.1316
  22  1.39685e-06
  23  1.49588
  24  0.224477
  25  0.109644
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.131e+00  5.655e+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:  9.436e-01  1.096e-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:  1.219e+00  2.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/158761/likelihoodResults_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.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) = 8347.32263123
delta logL = 0.640973798198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8347.31657575
delta logL = 0.647029276715

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .71467E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.8376       1.0000          .0000       10.000    
     3 'Normalizat'    1.1547       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96304       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.

 FCN=   8347.317     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      318 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71203E-01    .78152        .49535E-02    .40065E-02
   2  Index         5.8397        2.6163        .20441        .10658E-03
   3  Normalizat    1.1548        .37653E-01    .72879E-01   -.12747E-05
   4  Prefactor     .96304        .19634E-01    .45803E-01   -.18382E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0712027
  Index      = 5.83965
  Normalizat = 1.15485
  Prefactor  = 0.963044
 **********
 **   18 **HESSE 
 **********

 FCN=   8347.317     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      353 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71203E-01    3.0967        .22768E-03   -1.5655    
   2  Index         5.8397        7.9031        .72055E-02    .16873    
   3  Normalizat    1.1548        .15895        .32251E-03   -.88010    
   4  Prefactor     .96304        .81345E-01    .18144E-03   -.93972    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9431e-08
Minuit parameter uncertainties:
  1  0.93852
  2  8.00279
  3  0.159013
  4  0.0813549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158761': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8347.31657503
delta logL = 0.647030004828

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  7.120e-02  9.385e-01  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  5.840e+00  8.003e+00  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:  9.630e-01  8.135e-02  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:  1.155e+00  1.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.43
Ra Dec: 107.732 47.553
Photon Index (Free Index): 5.84 +/- 8.00
Photon Flux (Free Index): 6.32e-08 +/- 5.68e-08
Energy Flux (Free Index): 7.94e-06 +/- 8.57e-06

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/158761/cmap_HighResolution_264729601_264988801_4FGL_J0710.9+4733_daily_bin98.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.61e-03', comment='SUCCESS', energy_flux2='7.94e-06', dlogl='6.47e-01', photon_flux2='6.32e-08', job_status='DONE', time_completed='2021-08-26 21:01:18.726909', photon_index_error2='8.00', photon_index2='5.84', ts='0.04', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='8.57e-06', EG='1.22', time_epoch_completed='1630036878.73', return_code='0', job_id='158761', GAL2='0.96', EG2='1.15', return_code2='102', photon_flux_error2='5.68e-08', ts2='1.43', photon_index='2.67' WHERE bin_id='98' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:01:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 158761: <4FGL_J0710.9+4733_daily_bin98> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin98> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 20:45:40 2021
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 20:45:41 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:45:41 2021
Terminated at Thu Aug 26 21:01:19 2021
Results reported at Thu Aug 26 21:01:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin98 107.732 47.553 264729601 264988801 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 :                                   921.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            939 sec.

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

