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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin308
RA = 107.732, Dec = 47.553
tmin = 319161601, tmax = 319420801
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='160193', job_status='RUN', time_executed='2021-08-26 20:50:46.973390', time_epoch_executed='1630036246.97' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='308'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/160193

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/160193/ft1_4FGL_J0710.9+4733_daily_bin308.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/160193/ft2_4FGL_J0710.9+4733_daily_bin308.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/160193/ft1_4FGL_J0710.9+4733_daily_bin308.fits outfile=/scratch/kocevski/160193/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin308.fits ra=107.732 dec=47.553 rad=12.0 tmin=319161601.0 tmax=319420801.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.45
user 4.22
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/160193/ft1_filtered_4FGL_J0710.9+4733_daily_bin308.fits" evtable="EVENTS" scfile=/scratch/kocevski/160193/ft2_4FGL_J0710.9+4733_daily_bin308.fits sctable="SC_DATA" outfile=/scratch/kocevski/160193/ltcube_319161601_319420801_4FGL_J0710.9+4733_daily_bin308.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/160193/ft2_4FGL_J0710.9+4733_daily_bin308.fits
.....................!
real 11.62
user 11.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/160193/ft1_filtered_4FGL_J0710.9+4733_daily_bin308.fits evtable="EVENTS" scfile=/scratch/kocevski/160193/ft2_4FGL_J0710.9+4733_daily_bin308.fits sctable="SC_DATA" expcube=/scratch/kocevski/160193/ltcube_319161601_319420801_4FGL_J0710.9+4733_daily_bin308.fits outfile=/scratch/kocevski/160193/expmap_319161601_319420801_4FGL_J0710.9+4733_daily_bin308.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/160193/ltcube_319161601_319420801_4FGL_J0710.9+4733_daily_bin308.fits
.....................!
real 190.75
user 185.88
sys 4.41

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/160193/ft1_filtered_4FGL_J0710.9+4733_daily_bin308.fits scfile=/scratch/kocevski/160193/ft2_4FGL_J0710.9+4733_daily_bin308.fits outfile=/scratch/kocevski/160193/cmap_319161601_319420801_4FGL_J0710.9+4733_daily_bin308.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/160193/ft1_filtered_4FGL_J0710.9+4733_daily_bin308.fits scfile=/scratch/kocevski/160193/ft2_4FGL_J0710.9+4733_daily_bin308.fits outfile=/scratch/kocevski/160193/cmap_HighResolution_319161601_319420801_4FGL_J0710.9+4733_daily_bin308.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.55
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6367       1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.924       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8392       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.2466       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.358       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.408       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.506       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.9605       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.6997       1.0000         .10000E-03   10000.    
    23 'norm      '    8.1224       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0533       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=   6995.826     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2846 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5728        .90712E-02** at limit **
   2  Prefactor     6.6357        11.911        .38942E-02    .12876E-03
   3  Prefactor     50.924        42.018        .14050E-02   -.50048E-03
   4  norm          .10000E-03    1.5107        .90712E-02** at limit **
   5  norm          1.8393        2.7567        .76902E-02    .31168E-03
   6  Prefactor     .10000E-03    20.694        .90712E-02** at limit **
   7  norm          .10000E-03    3.1922        .90712E-02** at limit **
   8  Prefactor     .10001E-03    6.4442        .90712E-02** at limit **
   9  Prefactor     .10000E-03    3.6226        .90712E-02** at limit **
  10  Prefactor     .10000E-03    8.5445        .90712E-02** at limit **
  11  Prefactor     9.2466        16.888        .32949E-02    .98283E-04
  12  norm          .10001E-03    6.3120        .90712E-02** at limit **
  13  Prefactor     16.359        32.959        .24757E-02   -.18799E-03
  14  Prefactor     12.408        16.978        .28429E-02    .14305E-03
  15  Prefactor     .10002E-03    26.650        .90712E-02** at limit **
  16  norm          13.506        2.2043        .27247E-02    .25865E-03
  17  Prefactor     5.9633        13.410        .41118E-02   -.21702E-03
  18  Prefactor     .10002E-03    5.7023        .90712E-02** at limit **
  19  norm          .10000E-03    1.8192        .90712E-02** at limit **
  20  Prefactor     .10000E-03    4.3470        .90712E-02** at limit **
  21  Prefactor     .10001E-03    25.200        .90712E-02** at limit **
  22  norm          4.6997        4.4542        .46406E-02   -.64557E-03
  23  norm          8.1224        3.3814        .35169E-02   -.26873E-02
  24  Normalizat    1.0095        .21948        .81715E-01    .58367E-04
  25  Prefactor     1.0533        .11042        .39722E-01    .60978E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 6.63566
  Prefactor  = 50.9244
  norm       = 0.0001
  norm       = 1.83926
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 9.24656
  norm       = 0.000100007
  Prefactor  = 16.3587
  Prefactor  = 12.4085
  Prefactor  = 0.00010002
  norm       = 13.5065
  Prefactor  = 5.96327
  Prefactor  = 0.000100022
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100012
  norm       = 4.69971
  norm       = 8.12242
  Normalizat = 1.00952
  Prefactor  = 1.0533
 **********
 **   18 **HESSE 
 **********

 FCN=   6995.826     FROM HESSE     STATUS=OK           415 CALLS     3261 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6798        .26178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.6357        11.956        .15577E-03   -1.5193    
   3  Prefactor     50.924        42.035        .56199E-04   -1.4280    
   4  norm          .10000E-03    1.5192        .10039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8393        2.7343        .16485E-03   -1.5437    
   6  Prefactor     .10000E-03    20.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.2357        .14589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    6.4448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.6697        .15538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.5701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.2466        16.869        .13180E-03   -1.5100    
  12  norm          .10001E-03    6.4494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.359        32.954        .99026E-04   -1.4899    
  14  Prefactor     12.408        16.998        .11372E-03   -1.5003    
  15  Prefactor     .10002E-03    26.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.506        2.2063        .47525E-04   -1.4973    
  17  Prefactor     5.9633        13.395        .16447E-03   -1.5220    
  18  Prefactor     .10002E-03    5.7055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.8354        .10995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.3578        .17030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    25.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.6997        4.4549        .16409E-03   -1.5274    
  23  norm          8.1224        3.3830        .94350E-04   -1.5138    
  24  Normalizat    1.0095        .24506        .36170E-03   -.92712    
  25  Prefactor     1.0533        .12395        .18177E-03   -.90973    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09999e-08
Minuit parameter uncertainties:
  1  3.85554e-06
  2  11.9602
  3  42.059
  4  2.1839e-06
  5  2.73453
  6  0.000351238
  7  2.89748e-05
  8  0.000404839
  9  0.000102133
  10  0.000332016
  11  16.8776
  12  0.000417119
  13  32.9908
  14  17.0047
  15  0.00147771
  16  2.20628
  17  13.4014
  18  0.000709849
  19  7.37736e-06
  20  0.000210912
  21  0.00110485
  22  4.45523
  23  3.38311
  24  0.245334
  25  0.123982
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  1.021e-04  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.053e+00  1.240e-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.010e+00  2.453e-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: 9.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/160193/likelihoodResults_319161601_319420801_4FGL_J0710.9+4733_daily_bin308.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) = 6995.82686129
delta logL = -0.0012995687739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6995.82556216
delta logL = -4.38482857135e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6687       1.0000          .0000       10.000    
     3 'Normalizat'    1.0094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0534       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=   6995.826     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      237 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    147.96        .15540E-02** at limit **
   2  Index         2.6529        7.4256        .50000        .27544E-05
   3  Normalizat    1.0095        .39376E-01    .36170E-03    .65911E-04
   4  Prefactor     1.0533        .20305E-01    .18177E-03    .87637E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100033
  Index      = 2.65293
  Normalizat = 1.00952
  Prefactor  = 1.0533
 **********
 **   18 **HESSE 
 **********

 FCN=   6995.826     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      266 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    559.18        .31080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6529        7.8607        .50000       -.48863    
   3  Normalizat    1.0095        .95558E-01    .14468E-04   -.92712    
   4  Prefactor     1.0533        .49214E-01    .36354E-04   -.90973    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.12605e-09
Minuit parameter uncertainties:
  1  0.00867413
  2  1873.54
  3  0.0955742
  4  0.0492165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/160193': 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) = 6995.82556171
delta logL = 8.07904143585e-09

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  8.674e-03  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.653e+00  1.874e+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:  1.053e+00  4.922e-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.010e+00  9.557e-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/160193/cmap_HighResolution_319161601_319420801_4FGL_J0710.9+4733_daily_bin308.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-03', job_status='DONE', photon_flux_upper_limit='9.06e-08', time_completed='2021-08-26 21:04:07.712147', job_id='160193', GAL2='1.05', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1630037047.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='8.08e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='308' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:04:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 160193: <4FGL_J0710.9+4733_daily_bin308> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin308> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Aug 26 20:50:34 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 20:50:35 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:35 2021
Terminated at Thu Aug 26 21:04:08 2021
Results reported at Thu Aug 26 21:04:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin308 107.732 47.553 319161601 319420801 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 :                                   798.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            814 sec.

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

