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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin282
RA = 107.732, Dec = 47.553
tmin = 312422401, tmax = 312681601
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='160156', job_status='RUN', time_executed='2021-08-26 20:54:15.067943', time_epoch_executed='1630036455.07' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/160156

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/160156/ft1_4FGL_J0710.9+4733_daily_bin282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/160156/ft2_4FGL_J0710.9+4733_daily_bin282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/160156/ft1_4FGL_J0710.9+4733_daily_bin282.fits outfile=/scratch/kocevski/160156/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin282.fits ra=107.732 dec=47.553 rad=12.0 tmin=312422401.0 tmax=312681601.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.05
user 2.76
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/160156/ft2_4FGL_J0710.9+4733_daily_bin282.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/160156/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin282.fits evtable="EVENTS" outfile="/scratch/kocevski/160156/ft1_filtered_4FGL_J0710.9+4733_daily_bin282.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.41
user 0.27
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/160156/ft1_filtered_4FGL_J0710.9+4733_daily_bin282.fits" evtable="EVENTS" scfile=/scratch/kocevski/160156/ft2_4FGL_J0710.9+4733_daily_bin282.fits sctable="SC_DATA" outfile=/scratch/kocevski/160156/ltcube_312422401_312681601_4FGL_J0710.9+4733_daily_bin282.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/160156/ft2_4FGL_J0710.9+4733_daily_bin282.fits
.....................!
real 9.13
user 8.83
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/160156/ft1_filtered_4FGL_J0710.9+4733_daily_bin282.fits evtable="EVENTS" scfile=/scratch/kocevski/160156/ft2_4FGL_J0710.9+4733_daily_bin282.fits sctable="SC_DATA" expcube=/scratch/kocevski/160156/ltcube_312422401_312681601_4FGL_J0710.9+4733_daily_bin282.fits outfile=/scratch/kocevski/160156/expmap_312422401_312681601_4FGL_J0710.9+4733_daily_bin282.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/160156/ltcube_312422401_312681601_4FGL_J0710.9+4733_daily_bin282.fits
.....................!
real 144.64
user 141.15
sys 3.25

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/160156/ft1_filtered_4FGL_J0710.9+4733_daily_bin282.fits scfile=/scratch/kocevski/160156/ft2_4FGL_J0710.9+4733_daily_bin282.fits outfile=/scratch/kocevski/160156/cmap_312422401_312681601_4FGL_J0710.9+4733_daily_bin282.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.45
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/160156/ft1_filtered_4FGL_J0710.9+4733_daily_bin282.fits scfile=/scratch/kocevski/160156/ft2_4FGL_J0710.9+4733_daily_bin282.fits outfile=/scratch/kocevski/160156/cmap_HighResolution_312422401_312681601_4FGL_J0710.9+4733_daily_bin282.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.45
user 0.31
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2906       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1008       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.6072       1.0000         .10000E-03   10000.    
     5 'norm      '    .11169       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16693E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.612       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.605       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.267       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .45177       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.260       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.4323       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.900       1.0000         .10000E-03   10000.    
    22 'norm      '    6.5831       1.0000         .10000E-03   10000.    
    23 'norm      '    .56125E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .94761       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99076       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=   8233.909     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2996 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2905        2.1447       -.37177E-07   -.24352E-04
   2  Prefactor     2.1007        4.1421        .24722E-06    .40340E-04
   3  Prefactor     .10000E-03    67.867        .12025E-06** at limit **
   4  norm          3.6073        4.2589        .28457E-05    .12995E-02
   5  norm          .11353        1.4690       -.98009E-08   -.86051E-04
   6  Prefactor     .10000E-03    7.7656        .26551E-07** at limit **
   7  norm          .10000E-03    2.5287        .35296E-07** at limit **
   8  Prefactor     .10085E-03    15.964        .65077E-05** at limit **
   9  Prefactor     .10000E-03    2.3274       -.46113E-07** at limit **
  10  Prefactor     16.611        20.230       -.80608E-06    .46582E-05
  11  Prefactor     .10000E-03    14.693       -.24069E-06** at limit **
  12  norm          16.605        10.058        .43729E-07    .21350E-04
  13  Prefactor     .10000E-03    5.8524        .53678E-07** at limit **
  14  Prefactor     13.267        14.702        .11810E-06    .92937E-05
  15  Prefactor     .10000E-03    25.973        .24486E-06** at limit **
  16  norm          .45185        .95649        .12528E-06   -.26465E-04
  17  Prefactor     18.261        18.122        .36136E-07    .16114E-04
  18  Prefactor     .10000E-03    6.3324        .91519E-07** at limit **
  19  norm          1.4317        3.4185        .63962E-06    .23155E-03
  20  Prefactor     .10000E-03    4.3046        .10148E-05** at limit **
  21  Prefactor     23.944        40.569       -.66166E-05    .13721E-04
  22  norm          6.5820        4.4488        .11482E-06    .10853E-03
  23  norm          .10000E-03    .73693       -.81211E-07** at limit **
  24  Normalizat    .94753        .20121       -.13923E-05   -.10254E-03
  25  Prefactor     .99079        .94610E-01    .57497E-06    .74594E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.29052
  Prefactor  = 2.10075
  Prefactor  = 0.0001
  norm       = 3.60732
  norm       = 0.113527
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100853
  Prefactor  = 0.0001
  Prefactor  = 16.6113
  Prefactor  = 0.0001
  norm       = 16.6051
  Prefactor  = 0.0001
  Prefactor  = 13.2673
  Prefactor  = 0.0001
  norm       = 0.451848
  Prefactor  = 18.2613
  Prefactor  = 0.0001
  norm       = 1.43174
  Prefactor  = 0.000100001
  Prefactor  = 23.9436
  norm       = 6.58204
  norm       = 0.000100001
  Normalizat = 0.947528
  Prefactor  = 0.990793
 **********
 **   18 **HESSE 
 **********

 FCN=   8233.909     FROM HESSE     STATUS=OK           437 CALLS     3433 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2905        2.1526        .12451E-03   -1.5405    
   2  Prefactor     2.1007        4.1159        .25198E-03   -1.5418    
   3  Prefactor     .10000E-03    69.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.6073        4.3756        .99488E-03   -1.5328    
   5  norm          .11353        9.3866        .21185E-02   -1.5641    
   6  Prefactor     .10000E-03    7.7705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.5444        .14074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10085E-03    67.936        .55189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.3363        .13508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.611        20.238        .98267E-04   -1.4893    
  11  Prefactor     .10000E-03    14.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.605        10.048        .98287E-04   -1.4893    
  13  Prefactor     .10000E-03    5.8557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.267        14.713        .10997E-03   -1.4979    
  15  Prefactor     .10000E-03    26.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .45185        .95329        .11918E-03   -1.5574    
  17  Prefactor     18.261        17.825        .93727E-04   -1.4853    
  18  Prefactor     .10000E-03    6.3425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.4317        3.3401        .22586E-03   -1.5469    
  20  Prefactor     .10000E-03    4.3596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.944        40.890        .81937E-04   -1.4729    
  22  norm          6.5820        4.3802        .14939E-03   -1.5195    
  23  norm          .10000E-03    9.6055        .14895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .94753        .22734        .34265E-03   -.94810    
  25  Prefactor     .99079        .10908        .17162E-03   -.93037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26311e-08
Minuit parameter uncertainties:
  1  2.15265
  2  4.1165
  3  0.000304116
  4  4.37603
  5  2.06402
  6  6.92785e-06
  7  4.8563e-06
  8  0.0152431
  9  4.71358e-06
  10  20.246
  11  5.50141e-05
  12  10.0489
  13  5.2333e-06
  14  14.7168
  15  3.6163e-05
  16  0.953317
  17  17.8302
  18  3.03985e-05
  19  3.34055
  20  0.000106821
  21  40.9377
  22  4.38041
  23  0.000143239
  24  0.22757
  25  0.1091
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  4.714e-06  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.908e-01  1.091e-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:  9.475e-01  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 107.732 47.553
Photon Flux Upper Limit: 7.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/160156/likelihoodResults_312422401_312681601_4FGL_J0710.9+4733_daily_bin282.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) = 8233.9105958
delta logL = -0.00203883455288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8233.90855697
delta logL = -8.60745785758e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6659       1.0000          .0000       10.000    
     3 'Normalizat'    .94752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99078       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=   8233.909     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      240 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10023E-03    76.535        .13519E-02** at limit **
   2  Index         2.6289        8.2077        .50000        .13045E-04
   3  Normalizat    .94753        .29724E-01    .34265E-03   -.20106E-04
   4  Prefactor     .99079        .15294E-01    .17162E-03   -.11659E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100232
  Index      = 2.62888
  Normalizat = 0.947529
  Prefactor  = 0.990792
 **********
 **   18 **HESSE 
 **********

 FCN=   8233.909     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10023E-03    290.94        .27037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6289        8.4392        .50000       -.49408    
   3  Normalizat    .94753        .67495E-01    .13706E-04   -.94810    
   4  Prefactor     .99079        .34721E-01    .68647E-05   -.93037    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.28852e-08
Minuit parameter uncertainties:
  1  0.0165026
  2  1178.26
  3  0.0675014
  4  0.0347215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/160156': 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) = 8233.90855687
delta logL = 8.92705429578e-08

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.002e-04  1.650e-02  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.629e+00  1.178e+03  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.908e-01  3.472e-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:  9.475e-01  6.750e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 107.732 47.553

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/160156/cmap_HighResolution_312422401_312681601_4FGL_J0710.9+4733_daily_bin282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.27e-03', job_status='DONE', photon_flux_upper_limit='7.98e-08', time_completed='2021-08-26 21:05:33.017913', job_id='160156', GAL2='0.99', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1630037133.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='8.93e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='282' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:05:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 160156: <4FGL_J0710.9+4733_daily_bin282> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin282> 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) <bullet0071>, 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:05:33 2021
Results reported at Thu Aug 26 21:05:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin282 107.732 47.553 312422401 312681601 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 :                                   676.00 sec.
    Max Memory :                                 1110 MB
    Average Memory :                             292.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

