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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin675
RA = 107.732, Dec = 47.553
tmin = 414288001, tmax = 414547201
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='163322', job_status='RUN', time_executed='2021-08-26 21:02:56.171492', time_epoch_executed='1630036976.17' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163322

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163322/ft1_4FGL_J0710.9+4733_daily_bin675.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163322/ft2_4FGL_J0710.9+4733_daily_bin675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163322/ft1_4FGL_J0710.9+4733_daily_bin675.fits outfile=/scratch/kocevski/163322/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin675.fits ra=107.732 dec=47.553 rad=12.0 tmin=414288001.0 tmax=414547201.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 6.40
user 3.84
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163322/ft2_4FGL_J0710.9+4733_daily_bin675.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/163322/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin675.fits evtable="EVENTS" outfile="/scratch/kocevski/163322/ft1_filtered_4FGL_J0710.9+4733_daily_bin675.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.72
user 0.26
sys 0.44

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163322/ft1_filtered_4FGL_J0710.9+4733_daily_bin675.fits" evtable="EVENTS" scfile=/scratch/kocevski/163322/ft2_4FGL_J0710.9+4733_daily_bin675.fits sctable="SC_DATA" outfile=/scratch/kocevski/163322/ltcube_414288001_414547201_4FGL_J0710.9+4733_daily_bin675.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/163322/ft2_4FGL_J0710.9+4733_daily_bin675.fits
.....................!
real 10.12
user 9.48
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163322/ft1_filtered_4FGL_J0710.9+4733_daily_bin675.fits evtable="EVENTS" scfile=/scratch/kocevski/163322/ft2_4FGL_J0710.9+4733_daily_bin675.fits sctable="SC_DATA" expcube=/scratch/kocevski/163322/ltcube_414288001_414547201_4FGL_J0710.9+4733_daily_bin675.fits outfile=/scratch/kocevski/163322/expmap_414288001_414547201_4FGL_J0710.9+4733_daily_bin675.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/163322/ltcube_414288001_414547201_4FGL_J0710.9+4733_daily_bin675.fits
.....................!
real 142.43
user 137.79
sys 4.27

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/163322/ft1_filtered_4FGL_J0710.9+4733_daily_bin675.fits scfile=/scratch/kocevski/163322/ft2_4FGL_J0710.9+4733_daily_bin675.fits outfile=/scratch/kocevski/163322/cmap_414288001_414547201_4FGL_J0710.9+4733_daily_bin675.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.73
user 0.28
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163322/ft1_filtered_4FGL_J0710.9+4733_daily_bin675.fits scfile=/scratch/kocevski/163322/ft2_4FGL_J0710.9+4733_daily_bin675.fits outfile=/scratch/kocevski/163322/cmap_HighResolution_414288001_414547201_4FGL_J0710.9+4733_daily_bin675.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.77
user 0.30
sys 0.46

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8605       1.0000         .10000E-03   10000.    
     5 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.411       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4028       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7739       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.750       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1666       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .43952       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    39.995       1.0000         .10000E-03   10000.    
    22 'norm      '    2.2560       1.0000         .10000E-03   10000.    
    23 'norm      '    1.4626       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1522       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97022       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=   8935.710     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     3716 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0290       -.98352E-10** at limit **
   2  Prefactor     .10000E-03    3.7918       -.12154E-06** at limit **
   3  Prefactor     .10000E-03    8.4277        .15050E-05** at limit **
   4  norm          1.8599        4.3176       -.10145E-05   -.10856E-02
   5  norm          .10000E-03    4.2263        .12190E-06** at limit **
   6  Prefactor     29.414        21.277        .14774E-05   -.10353E-03
   7  norm          1.4025        3.4077       -.51916E-06   -.85242E-03
   8  Prefactor     .10000E-03    13.980        .81268E-06** at limit **
   9  Prefactor     .10000E-03    8.6389       -.60286E-06** at limit **
  10  Prefactor     1.7689        31.891       -.24981E-05   -.89898E-04
  11  Prefactor     .10000E-03    6.7384       -.74575E-06** at limit **
  12  norm          .10000E-03    6.6439       -.64705E-06** at limit **
  13  Prefactor     19.745        25.565       -.57725E-05    .21593E-03
  14  Prefactor     9.1676        10.374       -.16964E-06   -.43938E-05
  15  Prefactor     .10000E-03    30.802       -.38373E-07** at limit **
  16  norm          .44001        .83886       -.67704E-07   -.18719E-02
  17  Prefactor     .10000E-03    7.9742        .26089E-05** at limit **
  18  Prefactor     .10000E-03    9.4120       -.27949E-05** at limit **
  19  norm          .10000E-03    1.4511       -.48503E-07** at limit **
  20  Prefactor     .10000E-03    2.8467       -.58756E-07** at limit **
  21  Prefactor     39.997        40.003        .28095E-05   -.76499E-04
  22  norm          2.2558        3.0811       -.50404E-06   -.53025E-03
  23  norm          1.4628        1.4557       -.20244E-07   -.51985E-03
  24  Normalizat    1.1520        .18607        .10293E-05    .28625E-04
  25  Prefactor     .97034        .90390E-01    .16952E-08    .15318E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.85985
  norm       = 0.0001
  Prefactor  = 29.4138
  norm       = 1.40246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.76892
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.745
  Prefactor  = 9.16757
  Prefactor  = 0.0001
  norm       = 0.440005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.997
  norm       = 2.25584
  norm       = 1.46276
  Normalizat = 1.15201
  Prefactor  = 0.970336
 **********
 **   18 **HESSE 
 **********

 FCN=   8935.710     FROM HESSE     STATUS=OK           417 CALLS     4133 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0473        .93611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.8156        .17975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.3998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8599        4.5076        .29347E-03   -1.5435    
   5  norm          .10000E-03    4.3785        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.414        21.133        .73876E-04   -1.4623    
   7  norm          1.4025        3.3666        .25679E-03   -1.5471    
   8  Prefactor     .10000E-03    14.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.9380        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7689        31.348        .31436E-03   -1.5442    
  11  Prefactor     .10000E-03    6.7281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    6.7525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.745        24.309        .90124E-04   -1.4819    
  14  Prefactor     9.1676        10.382        .13238E-03   -1.5102    
  15  Prefactor     .10000E-03    31.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .44001        .84246        .11128E-03   -1.5575    
  17  Prefactor     .10000E-03    7.9034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.3496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.4937        .22230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8520        .15568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     39.997        39.765        .63382E-04   -1.4442    
  22  norm          2.2558        3.0819        .18540E-03   -1.5408    
  23  norm          1.4628        1.4345        .10806E-03   -1.5466    
  24  Normalizat    1.1520        .21431        .31812E-03   -.88099    
  25  Prefactor     .97034        .10413        .17681E-03   -.93725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.7868e-09
Minuit parameter uncertainties:
  1  8.83755e-07
  2  1.41241e-06
  3  4.61468e-05
  4  4.50847
  5  1.92401e-05
  6  21.1384
  7  3.36703
  8  1.92308e-05
  9  5.20644e-05
  10  14.902
  11  4.19437e-05
  12  1.46423e-05
  13  24.3209
  14  10.3845
  15  1.31988e-05
  16  0.842487
  17  9.12615e-05
  18  7.31921e-05
  19  5.08494e-06
  20  1.11182e-05
  21  39.7914
  22  3.08209
  23  1.43451
  24  0.214477
  25  0.104151
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  5.206e-05  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.703e-01  1.042e-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.152e+00  2.145e-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.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163322/likelihoodResults_414288001_414547201_4FGL_J0710.9+4733_daily_bin675.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) = 8935.71019636
delta logL = -0.000534303400855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8935.70966212
delta logL = -6.79483491695e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13500E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7600       1.0000          .0000       10.000    
     3 'Normalizat'    1.1523       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97023       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=   8934.303     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      286 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62887E-01    .49069        .33699E-02    .27158E-02
   2  Index         6.1724        2.5150        .16385        .14036E-03
   3  Normalizat    1.0293        .45166E-01    .75513E-01    .55550E-04
   4  Prefactor     1.0077        .23361E-01    .45894E-01   -.36950E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0628869
  Index      = 6.17244
  Normalizat = 1.02931
  Prefactor  = 1.00768
 **********
 **   18 **HESSE 
 **********

 FCN=   8934.303     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      319 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62887E-01    1.3365        .15336E-03   -1.5658    
   2  Index         6.1724        7.5320        .59528E-02    .23669    
   3  Normalizat    1.0293        .16714        .33424E-03   -.92055    
   4  Prefactor     1.0077        .83958E-01    .17387E-03   -.92474    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.9158e-07
Minuit parameter uncertainties:
  1  0.579381
  2  5.48585
  3  0.167229
  4  0.0839691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163322': 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) = 8934.30270263
delta logL = 1.40695942022

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  6.289e-02  5.794e-01  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  6.172e+00  5.486e+00  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.008e+00  8.397e-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.029e+00  1.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.12
Ra Dec: 107.732 47.553
Photon Index (Free Index): 6.17 +/- 5.49
Photon Flux (Free Index): 9.60e-08 +/- 6.49e-08
Energy Flux (Free Index): 1.19e-05 +/- 9.51e-06

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/163322/cmap_HighResolution_414288001_414547201_4FGL_J0710.9+4733_daily_bin675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.82e-03', comment='SUCCESS', energy_flux2='1.19e-05', dlogl='1.41e+00', photon_flux2='9.60e-08', job_status='DONE', time_completed='2021-08-26 21:15:59.328202', photon_index_error2='5.49', photon_index2='6.17', ts='-0.00', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='9.95e-08', energy_flux_error2='9.51e-06', EG='1.15', time_epoch_completed='1630037759.33', return_code='0', job_id='163322', GAL2='1.01', EG2='1.03', return_code2='102', photon_flux_error2='6.49e-08', ts2='3.12', photon_index='2.67' WHERE bin_id='675' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:15:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0026>
Subject: Job 163322: <4FGL_J0710.9+4733_daily_bin675> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin675> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug 26 21:00:32 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 21:00:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 21:00:34 2021
Terminated at Thu Aug 26 21:15:59 2021
Results reported at Thu Aug 26 21:15:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin675 107.732 47.553 414288001 414547201 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 :                                   784.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

