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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin114
RA = 107.732, Dec = 47.553
tmin = 268876801, tmax = 269136001
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='158785', job_status='RUN', time_executed='2021-08-26 20:47:51.994700', time_epoch_executed='1630036071.99' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='114'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158785

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158785/ft1_4FGL_J0710.9+4733_daily_bin114.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158785/ft2_4FGL_J0710.9+4733_daily_bin114.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158785/ft1_4FGL_J0710.9+4733_daily_bin114.fits outfile=/scratch/kocevski/158785/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin114.fits ra=107.732 dec=47.553 rad=12.0 tmin=268876801.0 tmax=269136001.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.27
user 1.47
sys 0.78

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158785/ft1_filtered_4FGL_J0710.9+4733_daily_bin114.fits" evtable="EVENTS" scfile=/scratch/kocevski/158785/ft2_4FGL_J0710.9+4733_daily_bin114.fits sctable="SC_DATA" outfile=/scratch/kocevski/158785/ltcube_268876801_269136001_4FGL_J0710.9+4733_daily_bin114.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/158785/ft2_4FGL_J0710.9+4733_daily_bin114.fits
.....................!
real 13.10
user 12.04
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158785/ft1_filtered_4FGL_J0710.9+4733_daily_bin114.fits evtable="EVENTS" scfile=/scratch/kocevski/158785/ft2_4FGL_J0710.9+4733_daily_bin114.fits sctable="SC_DATA" expcube=/scratch/kocevski/158785/ltcube_268876801_269136001_4FGL_J0710.9+4733_daily_bin114.fits outfile=/scratch/kocevski/158785/expmap_268876801_269136001_4FGL_J0710.9+4733_daily_bin114.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/158785/ltcube_268876801_269136001_4FGL_J0710.9+4733_daily_bin114.fits
.....................!
real 192.65
user 187.12
sys 5.15

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/158785/ft1_filtered_4FGL_J0710.9+4733_daily_bin114.fits scfile=/scratch/kocevski/158785/ft2_4FGL_J0710.9+4733_daily_bin114.fits outfile=/scratch/kocevski/158785/cmap_268876801_269136001_4FGL_J0710.9+4733_daily_bin114.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.13
user 0.37
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158785/ft1_filtered_4FGL_J0710.9+4733_daily_bin114.fits scfile=/scratch/kocevski/158785/ft2_4FGL_J0710.9+4733_daily_bin114.fits outfile=/scratch/kocevski/158785/cmap_HighResolution_268876801_269136001_4FGL_J0710.9+4733_daily_bin114.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.14
user 0.38
sys 0.74

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8889       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.453       1.0000         .10000E-03   10000.    
     4 'norm      '    5.1230       1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.922       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.944       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.255       1.0000         .10000E-03   10000.    
    12 'norm      '    .39026E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14127E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .63784       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.133       1.0000         .10000E-03   10000.    
    22 'norm      '    2.6135       1.0000         .10000E-03   10000.    
    23 'norm      '    1.3842       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1334       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97125       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=   7337.207     FROM MIGRAD    STATUS=CONVERGED    587 CALLS     2891 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8885        3.3173       -.11518E-06   -.28296E-03
   2  Prefactor     .10000E-03    3.5480        .23223E-07** at limit **
   3  Prefactor     26.451        44.768       -.31855E-05   -.11320E-04
   4  norm          5.1226        4.0978       -.33136E-06   -.10023E-03
   5  norm          .10000E-03    1.1365        .64794E-07** at limit **
   6  Prefactor     .10000E-03    5.7019       -.60884E-07** at limit **
   7  norm          .10000E-03    1.9982       -.39698E-07** at limit **
   8  Prefactor     .10000E-03    14.575       -.20520E-06** at limit **
   9  Prefactor     18.930        8.9033        .12650E-05    .50634E-03
  10  Prefactor     10.942        15.627        .15067E-06   -.26819E-04
  11  Prefactor     26.243        34.225       -.65666E-05   -.16862E-03
  12  norm          .10071E-03    6.0073       -.15918E-05** at limit **
  13  Prefactor     .10000E-03    63.173        .40617E-04** at limit **
  14  Prefactor     .10000E-03    5.2386        .20355E-07** at limit **
  15  Prefactor     .10000E-03    36.414        .25179E-04** at limit **
  16  norm          .63805        1.0246       -.28435E-06   -.21736E-02
  17  Prefactor     .10000E-03    7.6104        .93581E-07** at limit **
  18  Prefactor     .10000E-03    42.142       -.46147E-04** at limit **
  19  norm          .10000E-03    1.3977        .34923E-07** at limit **
  20  Prefactor     .10000E-03    3.4833       -.20215E-07** at limit **
  21  Prefactor     17.134        45.935       -.85471E-06    .11679E-03
  22  norm          2.6134        2.7899       -.17297E-07    .14813E-04
  23  norm          1.3842        1.1187        .15431E-07    .20091E-03
  24  Normalizat    1.1333        .20889        .11319E-05    .24231E-03
  25  Prefactor     .97130        .99901E-01   -.91562E-07    .36017E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.8885
  Prefactor  = 0.0001
  Prefactor  = 26.4509
  norm       = 5.12259
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.93
  Prefactor  = 10.9418
  Prefactor  = 26.2427
  norm       = 0.000100707
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.638053
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.1337
  norm       = 2.61342
  norm       = 1.38416
  Normalizat = 1.13334
  Prefactor  = 0.971303
 **********
 **   18 **HESSE 
 **********

 FCN=   7337.207     FROM HESSE     STATUS=OK           429 CALLS     3320 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8885        3.3262        .13834E-03   -1.5314    
   2  Prefactor     .10000E-03    3.5644        .15755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.451        44.825        .77888E-04   -1.4679    
   4  norm          5.1226        4.0965        .15033E-03   -1.5255    
   5  norm          .10000E-03    1.1423        .89162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.7036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.0079        .11817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.930        8.9256        .92076E-04   -1.4838    
  10  Prefactor     10.942        15.619        .12110E-03   -1.5046    
  11  Prefactor     26.243        34.415        .78181E-04   -1.4683    
  12  norm          .10071E-03    9.9434        .63624E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    63.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    36.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .63805        1.0017        .10365E-03   -1.5548    
  17  Prefactor     .10000E-03    7.6469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    42.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.4182        .98853E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.4866        .15605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.134        46.367        .96762E-04   -1.4880    
  22  norm          2.6134        2.7892        .14368E-03   -1.5385    
  23  norm          1.3842        1.1224        .79361E-04   -1.5473    
  24  Normalizat    1.1333        .23680        .32687E-03   -.88689    
  25  Prefactor     .97130        .11355        .18006E-03   -.93692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45074e-09
Minuit parameter uncertainties:
  1  3.32633
  2  1.93074e-06
  3  44.8818
  4  4.09673
  5  2.22927e-06
  6  1.90175e-06
  7  8.37846e-06
  8  4.50632e-05
  9  8.92627
  10  15.6246
  11  34.4413
  12  0.00530441
  13  0.000221981
  14  1.60692e-06
  15  0.000171969
  16  1.00177
  17  6.85004e-06
  18  0.000454458
  19  3.43904e-07
  20  6.75295e-06
  21  46.4646
  22  2.78933
  23  1.1224
  24  0.237024
  25  0.113574
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.893e+01  8.926e+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.713e-01  1.136e-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.133e+00  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.52
Ra Dec: 107.732 47.553
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 6.99e-08
Energy Flux (Fixed Index): 3.66e-05 +/- 1.73e-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) = 7337.2046156
delta logL = 0.00278909315603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7337.20189369
delta logL = 0.00551100804478

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.149       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7245       1.0000          .0000       10.000    
     3 'Normalizat'    1.1287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97292       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=   7337.202     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      209 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.143        130.71        .23504E-02    .14035E-03
   2  Index         2.7250        3.3984        .15359        .14182E-03
   3  Normalizat    1.1288        .11631        .73986E-01    .30247E-04
   4  Prefactor     .97289        .50022E-01    .45928E-01    .16326E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1428
  Index      = 2.72499
  Normalizat = 1.12878
  Prefactor  = 0.972894
 **********
 **   18 **HESSE 
 **********

 FCN=   7337.202     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.143        11.884        .94015E-04   -1.4856    
   2  Index         2.7250        .55590        .57980E-02   -.47237    
   3  Normalizat    1.1288        .22154        .32743E-03   -.88833    
   4  Prefactor     .97289        .11150        .17994E-03   -.93639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00378e-11
Minuit parameter uncertainties:
  1  11.8851
  2  0.557358
  3  0.221724
  4  0.111525
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158785': 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) = 7337.20189285
delta logL = 0.00551184661254

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.814e+01  1.189e+01  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.725e+00  5.574e-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:  9.729e-01  1.115e-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.129e+00  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.53
Ra Dec: 107.732 47.553
Photon Index (Free Index): 2.72 +/- 0.56
Photon Flux (Free Index): 1.52e-07 +/- 7.61e-08
Energy Flux (Free Index): 3.59e-05 +/- 1.77e-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/158785/cmap_HighResolution_268876801_269136001_4FGL_J0710.9+4733_daily_bin114.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='3.59e-05', photon_flux_error='6.99e-08', dlogl='5.51e-03', energy_flux='3.66e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-08-26 20:59:56.231153', photon_index_error2='0.56', photon_index2='2.72', ts='7.52', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.77e-05', EG='1.13', time_epoch_completed='1630036796.23', return_code='0', job_id='158785', GAL2='0.97', EG2='1.13', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='7.61e-08', ts2='7.53', photon_index='2.67' WHERE bin_id='114' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 20:59:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 158785: <4FGL_J0710.9+4733_daily_bin114> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin114 107.732 47.553 268876801 269136001 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 :                                   733.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

