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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin118
RA = 107.732, Dec = 47.553
tmin = 269913601, tmax = 270172801
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='158791', job_status='RUN', time_executed='2021-08-26 20:48:13.111921', time_epoch_executed='1630036093.11' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158791

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158791/ft1_4FGL_J0710.9+4733_daily_bin118.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158791/ft2_4FGL_J0710.9+4733_daily_bin118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158791/ft1_4FGL_J0710.9+4733_daily_bin118.fits outfile=/scratch/kocevski/158791/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin118.fits ra=107.732 dec=47.553 rad=12.0 tmin=269913601.0 tmax=270172801.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 2.53
user 1.46
sys 1.06

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158791/ft1_filtered_4FGL_J0710.9+4733_daily_bin118.fits" evtable="EVENTS" scfile=/scratch/kocevski/158791/ft2_4FGL_J0710.9+4733_daily_bin118.fits sctable="SC_DATA" outfile=/scratch/kocevski/158791/ltcube_269913601_270172801_4FGL_J0710.9+4733_daily_bin118.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/158791/ft2_4FGL_J0710.9+4733_daily_bin118.fits
.....................!
real 12.89
user 11.55
sys 1.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158791/ft1_filtered_4FGL_J0710.9+4733_daily_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/158791/ft2_4FGL_J0710.9+4733_daily_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/158791/ltcube_269913601_270172801_4FGL_J0710.9+4733_daily_bin118.fits outfile=/scratch/kocevski/158791/expmap_269913601_270172801_4FGL_J0710.9+4733_daily_bin118.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/158791/ltcube_269913601_270172801_4FGL_J0710.9+4733_daily_bin118.fits
.....................!
real 191.96
user 185.56
sys 5.84

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/158791/ft1_filtered_4FGL_J0710.9+4733_daily_bin118.fits scfile=/scratch/kocevski/158791/ft2_4FGL_J0710.9+4733_daily_bin118.fits outfile=/scratch/kocevski/158791/cmap_269913601_270172801_4FGL_J0710.9+4733_daily_bin118.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 1.41
user 0.37
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158791/ft1_filtered_4FGL_J0710.9+4733_daily_bin118.fits scfile=/scratch/kocevski/158791/ft2_4FGL_J0710.9+4733_daily_bin118.fits outfile=/scratch/kocevski/158791/cmap_HighResolution_269913601_270172801_4FGL_J0710.9+4733_daily_bin118.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 1.40
user 0.37
sys 1.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35007       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11179E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2808       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5378       1.0000         .10000E-03   10000.    
     7 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.5684       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.882       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.920       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .26810       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0539       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5716       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6603       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15906E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0017       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1105       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=   9651.184     FROM MIGRAD    STATUS=CONVERGED    616 CALLS     2533 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34919        2.5072        .10115E-05    .10818E-03
   2  Prefactor     .10000E-03    12.532        .67626E-06** at limit **
   3  Prefactor     .10000E-03    16.165       -.37369E-07** at limit **
   4  norm          .10000E-03    2.4725        .97942E-07** at limit **
   5  norm          4.2803        3.3914        .36314E-06    .78405E-03
   6  Prefactor     1.5319        64.956        .92582E-06    .44502E-04
   7  norm          .10000E-03    2.1461        .96746E-07** at limit **
   8  Prefactor     8.5733        8.8390        .92929E-08   -.19284E-05
   9  Prefactor     15.881        6.3026       -.18376E-06   -.42704E-03
  10  Prefactor     .10000E-03    13.267        .46316E-06** at limit **
  11  Prefactor     .10000E-03    4.4832        .30525E-07** at limit **
  12  norm          .10000E-03    3.0538        .12394E-06** at limit **
  13  Prefactor     .10000E-03    7.5370        .55710E-07** at limit **
  14  Prefactor     11.894        12.983        .93525E-06    .14340E-04
  15  Prefactor     .28016E-01    18.458       -.28977E-05    .25427E-04
  16  norm          1.0542        .70136       -.15014E-07   -.15419E-03
  17  Prefactor     1.5922        11.850        .12220E-04   -.28438E-04
  18  Prefactor     .10000E-03    6.2192        .24777E-07** at limit **
  19  norm          .10000E-03    .65109        .33702E-07** at limit **
  20  Prefactor     3.6592        7.1140        .21381E-05    .66980E-04
  21  Prefactor     .10000E-03    43.936       -.14088E-06** at limit **
  22  norm          .10000E-03    2.0016        .67554E-07** at limit **
  23  norm          .10000E-03    .48841        .25092E-07** at limit **
  24  Normalizat    1.0019        .18413       -.55462E-06    .44004E-03
  25  Prefactor     1.1105        .95292E-01   -.23734E-06    .52379E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.349189
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.2803
  Prefactor  = 1.53187
  norm       = 0.0001
  Prefactor  = 8.57333
  Prefactor  = 15.8814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8937
  Prefactor  = 0.028016
  norm       = 1.0542
  Prefactor  = 1.59222
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.65921
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.00191
  Prefactor  = 1.11053
 **********
 **   18 **HESSE 
 **********

 FCN=   9651.184     FROM HESSE     STATUS=OK           431 CALLS     2964 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34919        2.5782        .29800E-03   -1.5590    
   2  Prefactor     .10000E-03    12.860        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.5162        .15079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2803        3.3895        .15482E-03   -1.5294    
   6  Prefactor     1.5319        65.259        .34392E-03   -1.5460    
   7  norm          .10000E-03    2.1677        .14045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.5733        8.8414        .13694E-03   -1.5122    
   9  Prefactor     15.881        6.3195        .10050E-03   -1.4911    
  10  Prefactor     .10000E-03    13.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.4856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.0747        .16763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.5530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.894        12.989        .11603E-03   -1.5018    
  15  Prefactor     .28016E-01    21.192        .11934       -1.5675    
  16  norm          1.0542        .69745        .64694E-04   -1.5503    
  17  Prefactor     1.5922        12.058        .16953E-02   -1.5456    
  18  Prefactor     .10000E-03    6.2318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .65391        .77416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.6592        7.1017        .10557E-02   -1.5325    
  21  Prefactor     .10000E-03    44.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.0370        .13570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .49440        .67039E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0019        .20812        .34532E-03   -.92966    
  25  Prefactor     1.1105        .10748        .17492E-03   -.89131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40989e-09
Minuit parameter uncertainties:
  1  1.89751
  2  0.000308702
  3  3.83966e-05
  4  1.16306e-05
  5  3.38961
  6  20.0195
  7  1.11351e-05
  8  8.84275
  9  6.31976
  10  2.85727e-05
  11  4.6553e-06
  12  1.65146e-05
  13  1.13055e-05
  14  12.992
  15  1.53884
  16  0.697457
  17  8.76533
  18  3.09369e-06
  19  1.53735e-06
  20  7.10332
  21  6.28624e-05
  22  7.11125e-06
  23  1.32365e-06
  24  0.208292
  25  0.107505
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.588e+01  6.320e+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.111e+00  1.075e-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.002e+00  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.50
Ra Dec: 107.732 47.553
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 1.25e-07 +/- 4.95e-08
Energy Flux (Fixed Index): 3.07e-05 +/- 1.22e-05

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) = 9650.16239744
delta logL = 1.02184142217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9650.16203846
delta logL = 1.02220039383

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.720       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1685       1.0000          .0000       10.000    
     3 'Normalizat'    1.0404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0980       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=   9650.162     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      238 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.752        23.789        .21998E-02    .29375E-04
   2  Index         2.1700        .82347        .16881        .22858E-04
   3  Normalizat    1.0401        .18288        .76751E-01    .70844E-05
   4  Prefactor     1.0981        .95371E-01    .37663E-01   -.38672E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.752
  Index      = 2.16998
  Normalizat = 1.04009
  Prefactor  = 1.09806
 **********
 **   18 **HESSE 
 **********

 FCN=   9650.162     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.752        8.4432        .87993E-04   -1.4797    
   2  Index         2.1700        .32832        .66118E-02   -.60165    
   3  Normalizat    1.0401        .19974        .33969E-03   -.91699    
   4  Prefactor     1.0981        .10530        .17573E-03   -.89529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64722e-11
Minuit parameter uncertainties:
  1  8.44364
  2  0.328667
  3  0.199887
  4  0.105317
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158791': 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) = 9650.16201946
delta logL = 1.02221939514

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  2.075e+01  8.444e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.170e+00  3.287e-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.098e+00  1.053e-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.040e+00  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.50
Ra Dec: 107.732 47.553
Photon Index (Free Index): 2.17 +/- 0.33
Photon Flux (Free Index): 9.31e-08 +/- 4.56e-08
Energy Flux (Free Index): 4.43e-05 +/- 2.40e-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/158791/cmap_HighResolution_269913601_270172801_4FGL_J0710.9+4733_daily_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-07', energy_flux2='4.43e-05', photon_flux_error='4.95e-08', dlogl='1.02e+00', energy_flux='3.07e-05', photon_flux2='9.31e-08', job_status='DONE', time_completed='2021-08-26 21:02:02.149469', photon_index_error2='0.33', photon_index2='2.17', ts='12.50', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.00', time_epoch_completed='1630036922.15', return_code='0', job_id='158791', GAL2='1.10', EG2='1.04', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='4.56e-08', ts2='14.50', photon_index='2.67' WHERE bin_id='118' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:02:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 158791: <4FGL_J0710.9+4733_daily_bin118> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin118 107.732 47.553 269913601 270172801 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 :                                   841.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            981 sec.

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

