/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 6 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 = 7519
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0710.9+4733_daily_bin690
RA = 107.732, Dec = 47.553
tmin = 418176001, tmax = 418435201
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='163344', job_status='RUN', time_executed='2021-08-26 21:01:04.535253', time_epoch_executed='1630036864.54' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163344

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163344/ft1_4FGL_J0710.9+4733_daily_bin690.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163344/ft2_4FGL_J0710.9+4733_daily_bin690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163344/ft1_4FGL_J0710.9+4733_daily_bin690.fits outfile=/scratch/kocevski/163344/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin690.fits ra=107.732 dec=47.553 rad=12.0 tmin=418176001.0 tmax=418435201.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 5.81
user 4.69
sys 1.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163344/ft2_4FGL_J0710.9+4733_daily_bin690.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/163344/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin690.fits evtable="EVENTS" outfile="/scratch/kocevski/163344/ft1_filtered_4FGL_J0710.9+4733_daily_bin690.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.36
user 0.34
sys 1.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163344/ft1_filtered_4FGL_J0710.9+4733_daily_bin690.fits" evtable="EVENTS" scfile=/scratch/kocevski/163344/ft2_4FGL_J0710.9+4733_daily_bin690.fits sctable="SC_DATA" outfile=/scratch/kocevski/163344/ltcube_418176001_418435201_4FGL_J0710.9+4733_daily_bin690.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/163344/ft2_4FGL_J0710.9+4733_daily_bin690.fits
.....................!
real 13.30
user 11.94
sys 1.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163344/ft1_filtered_4FGL_J0710.9+4733_daily_bin690.fits evtable="EVENTS" scfile=/scratch/kocevski/163344/ft2_4FGL_J0710.9+4733_daily_bin690.fits sctable="SC_DATA" expcube=/scratch/kocevski/163344/ltcube_418176001_418435201_4FGL_J0710.9+4733_daily_bin690.fits outfile=/scratch/kocevski/163344/expmap_418176001_418435201_4FGL_J0710.9+4733_daily_bin690.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/163344/ltcube_418176001_418435201_4FGL_J0710.9+4733_daily_bin690.fits
.....................!
real 191.71
user 185.67
sys 5.59

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/163344/ft1_filtered_4FGL_J0710.9+4733_daily_bin690.fits scfile=/scratch/kocevski/163344/ft2_4FGL_J0710.9+4733_daily_bin690.fits outfile=/scratch/kocevski/163344/cmap_418176001_418435201_4FGL_J0710.9+4733_daily_bin690.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.35
sys 1.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163344/ft1_filtered_4FGL_J0710.9+4733_daily_bin690.fits scfile=/scratch/kocevski/163344/ft2_4FGL_J0710.9+4733_daily_bin690.fits outfile=/scratch/kocevski/163344/cmap_HighResolution_418176001_418435201_4FGL_J0710.9+4733_daily_bin690.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/163344/ft1_filtered_4FGL_J0710.9+4733_daily_bin690.fits evtable="EVENTS" scfile=/scratch/kocevski/163344/ft2_4FGL_J0710.9+4733_daily_bin690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/163344/Model_4FGL_J0710.9+4733_daily_bin690.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/163344/ft1_filtered_4FGL_J0710.9+4733_daily_bin690.fits.....................!
real 81.41
user 78.79
sys 2.38

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1233       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.830       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10186E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1558       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .93442       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.482       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.713       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11870E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    35.102       1.0000         .10000E-03   10000.    
    22 'norm      '    7.9830       1.0000         .10000E-03   10000.    
    23 'norm      '    1.1140       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .92401       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0531       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=   7188.759     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2821 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1238        3.4603        .91474E-06   -.12431E-03
   2  Prefactor     .10000E-03    2.6948        .57436E-07** at limit **
   3  Prefactor     19.822        38.278       -.15169E-04    .16887E-04
   4  norm          .10000E-03    1.3849       -.12229E-06** at limit **
   5  norm          .10000E-03    1.1837       -.14620E-07** at limit **
   6  Prefactor     .10000E-03    11.249        .31961E-05** at limit **
   7  norm          .10000E-03    3.8928       -.10084E-05** at limit **
   8  Prefactor     .10000E-03    6.4898        .99436E-06** at limit **
   9  Prefactor     6.1532        6.6732       -.60758E-06    .43758E-03
  10  Prefactor     .10000E-03    7.0900       -.35290E-06** at limit **
  11  Prefactor     .10000E-03    6.0816       -.38140E-06** at limit **
  12  norm          .90767        8.4858       -.22077E-05   -.22239E-03
  13  Prefactor     30.481        22.022       -.17552E-05    .36610E-04
  14  Prefactor     11.712        14.879       -.16620E-05    .93121E-05
  15  Prefactor     .10000E-03    21.932       -.22889E-05** at limit **
  16  norm          .10000E-03    .21068       -.74418E-08** at limit **
  17  Prefactor     .10000E-03    10.484       -.19015E-05** at limit **
  18  Prefactor     .10000E-03    21.157        .25181E-05** at limit **
  19  norm          .10000E-03    1.4647        .10603E-06** at limit **
  20  Prefactor     .10000E-03    4.1605        .57330E-06** at limit **
  21  Prefactor     35.073        47.974       -.44030E-04    .25199E-04
  22  norm          7.9840        6.2662       -.39939E-06   -.15967E-04
  23  norm          1.1133        2.0778       -.47284E-06   -.92658E-03
  24  Normalizat    .92413        .21221        .11163E-04   -.71796E-05
  25  Prefactor     1.0530        .10232       -.18442E-05    .96755E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.12382
  Prefactor  = 0.0001
  Prefactor  = 19.8225
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.15315
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.907674
  Prefactor  = 30.4812
  Prefactor  = 11.7123
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 35.0729
  norm       = 7.98401
  norm       = 1.11331
  Normalizat = 0.924127
  Prefactor  = 1.05304
 **********
 **   18 **HESSE 
 **********

 FCN=   7188.759     FROM HESSE     STATUS=OK           425 CALLS     3246 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1238        3.4635        .10587E-03   -1.5174    
   2  Prefactor     .10000E-03    2.6993        .13592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.822        38.356        .89943E-04   -1.4817    
   4  norm          .10000E-03    1.3935        .97416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.1890        .90074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.510        .31237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.4960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.1532        6.3741        .16181E-03   -1.5212    
  10  Prefactor     .10000E-03    7.1001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.0849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .90767        25.152        .44378E-02   -1.5517    
  13  Prefactor     30.481        22.041        .72570E-04   -1.4603    
  14  Prefactor     11.712        14.888        .11705E-03   -1.5023    
  15  Prefactor     .10000E-03    22.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .21070        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.4908        .10018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.1776        .16892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     35.073        47.951        .67639E-04   -1.4523    
  22  norm          7.9840        6.1895        .14191E-03   -1.5143    
  23  norm          1.1133        2.0003        .15291E-03   -1.5497    
  24  Normalizat    .92413        .23513        .35043E-03   -.95617    
  25  Prefactor     1.0530        .11458        .17034E-03   -.90982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57568e-09
Minuit parameter uncertainties:
  1  3.4636
  2  8.29304e-06
  3  38.4038
  4  3.71536e-06
  5  3.44802e-06
  6  2.20228e-05
  7  0.000228733
  8  3.34567e-06
  9  6.37477
  10  1.15429e-05
  11  1.50399e-06
  12  9.56004
  13  22.0471
  14  14.8932
  15  4.73441e-05
  16  1.39075e-07
  17  1.38876e-05
  18  0.0002763
  19  1.29662e-05
  20  0.000133547
  21  48.0038
  22  6.19003
  23  2.00044
  24  0.235389
  25  0.114605
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  6.153e+00  6.375e+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.053e+00  1.146e-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.241e-01  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.40
Ra Dec: 107.732 47.553
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 4.82e-08 +/- 4.99e-08
Energy Flux (Fixed Index): 1.19e-05 +/- 1.23e-05

TS (Fixed Index): 1.40
Ra Dec: 107.732 47.553
Photon Flux Upper Limit: 1.54e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163344/likelihoodResults_418176001_418435201_4FGL_J0710.9+4733_daily_bin690.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7188.75705836
delta logL = 0.00192270627304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7188.75601958
delta logL = 0.00296148684265

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4779       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6052       1.0000          .0000       10.000    
     3 'Normalizat'    .92598       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0523       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=   7188.756     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      203 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4758        186.60        .39421E-02    .24507E-03
   2  Index         2.6061        6.2414        .23182        .58003E-04
   3  Normalizat    .92605        .75894E-01    .79092E-01    .20053E-04
   4  Prefactor     1.0523        .38216E-01    .39776E-01    .82816E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.47575
  Index      = 2.60605
  Normalizat = 0.926046
  Prefactor  = 1.0523
 **********
 **   18 **HESSE 
 **********

 FCN=   7188.756     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4758        7.9486        .15769E-03   -1.5199    
   2  Index         2.6061        .85286        .97382E-02   -.49928    
   3  Normalizat    .92605        .21843        .35009E-03   -.95551    
   4  Prefactor     1.0523        .11202        .17039E-03   -.91006    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55822e-12
Minuit parameter uncertainties:
  1  7.94989
  2  0.858316
  3  0.218641
  4  0.112044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163344': 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) = 7188.75601891
delta logL = 0.00296216361039

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  6.476e+00  7.950e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.606e+00  8.583e-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.052e+00  1.120e-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.260e-01  2.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 107.732 47.553
Photon Index (Free Index): 2.61 +/- 0.86
Photon Flux (Free Index): 4.70e-08 +/- 4.96e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.36e-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/163344/cmap_HighResolution_418176001_418435201_4FGL_J0710.9+4733_daily_bin690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', comment='SUCCESS', photon_flux='4.82e-08', energy_flux2='1.22e-05', photon_flux_error='4.99e-08', dlogl='2.96e-03', energy_flux='1.19e-05', photon_flux2='4.70e-08', job_status='DONE', time_completed='2021-08-26 21:14:49.904015', photon_index_error2='0.86', photon_index2='2.61', ts='1.40', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.54e-07', energy_flux_error2='1.36e-05', EG='0.92', time_epoch_completed='1630037689.9', return_code='0', job_id='163344', GAL2='1.05', EG2='0.93', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='4.96e-08', ts2='1.40', photon_index='2.67' WHERE bin_id='690' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:14:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 163344: <4FGL_J0710.9+4733_daily_bin690> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin690 107.732 47.553 418176001 418435201 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 :                                   837.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            856 sec.

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

