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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin858
RA = 107.732, Dec = 47.553
tmin = 461721601, tmax = 461980801
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='165020', job_status='RUN', time_executed='2021-08-26 21:06:21.180988', time_epoch_executed='1630037181.18' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='858'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/165020

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/165020/ft1_4FGL_J0710.9+4733_daily_bin858.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/165020/ft2_4FGL_J0710.9+4733_daily_bin858.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/165020/ft1_4FGL_J0710.9+4733_daily_bin858.fits outfile=/scratch/kocevski/165020/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin858.fits ra=107.732 dec=47.553 rad=12.0 tmin=461721601.0 tmax=461980801.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.18
user 3.84
sys 1.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/165020/ft1_filtered_4FGL_J0710.9+4733_daily_bin858.fits" evtable="EVENTS" scfile=/scratch/kocevski/165020/ft2_4FGL_J0710.9+4733_daily_bin858.fits sctable="SC_DATA" outfile=/scratch/kocevski/165020/ltcube_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.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/165020/ft2_4FGL_J0710.9+4733_daily_bin858.fits
.....................!
real 13.20
user 11.61
sys 1.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/165020/ft1_filtered_4FGL_J0710.9+4733_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/165020/ft2_4FGL_J0710.9+4733_daily_bin858.fits sctable="SC_DATA" expcube=/scratch/kocevski/165020/ltcube_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.fits outfile=/scratch/kocevski/165020/expmap_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.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/165020/ltcube_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.fits
.....................!
real 191.38
user 185.42
sys 5.57

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/165020/ft1_filtered_4FGL_J0710.9+4733_daily_bin858.fits scfile=/scratch/kocevski/165020/ft2_4FGL_J0710.9+4733_daily_bin858.fits outfile=/scratch/kocevski/165020/cmap_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.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.62
user 0.36
sys 1.22

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/165020/ft1_filtered_4FGL_J0710.9+4733_daily_bin858.fits scfile=/scratch/kocevski/165020/ft2_4FGL_J0710.9+4733_daily_bin858.fits outfile=/scratch/kocevski/165020/cmap_HighResolution_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.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.60
user 0.37
sys 1.21

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/165020/ft1_filtered_4FGL_J0710.9+4733_daily_bin858.fits', '/scratch/kocevski/165020/ft2_4FGL_J0710.9+4733_daily_bin858.fits', expMap='/scratch/kocevski/165020/expmap_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.fits', expCube='/scratch/kocevski/165020/ltcube_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/165020/Model_4FGL_J0710.9+4733_daily_bin858.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/165020/ft1_filtered_4FGL_J0710.9+4733_daily_bin858.fits
Spacecraft file(s): /scratch/kocevski/165020/ft2_4FGL_J0710.9+4733_daily_bin858.fits
Exposure map: /scratch/kocevski/165020/expmap_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.fits
Exposure cube: /scratch/kocevski/165020/ltcube_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/165020/Model_4FGL_J0710.9+4733_daily_bin858.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7818.38301774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1673       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6342       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   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 '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.5597       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.633       1.0000         .10000E-03   10000.    
    16 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9643       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2280       1.0000         .10000E-03   10000.    
    19 'norm      '    5.4747       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .52828E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    .33420       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2859       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92727       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=   7818.330     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2514 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1674        1.8362        .12574E-06   -.10601E-03
   2  Prefactor     2.6349        8.6995        .63657E-06   -.68365E-04
   3  Prefactor     .10000E-03    42.768        .55540E-06** at limit **
   4  norm          .10000E-03    1.4126        .42095E-08** at limit **
   5  norm          .10000E-03    1.3400        .14018E-07** at limit **
   6  Prefactor     .10000E-03    17.554        .50096E-08** at limit **
   7  norm          2.5596        2.9923        .42977E-07   -.16434E-04
   8  Prefactor     .10000E-03    4.3866       -.17321E-06** at limit **
   9  Prefactor     .10000E-03    3.7896       -.28310E-07** at limit **
  10  Prefactor     .10000E-03    5.3101       -.51198E-07** at limit **
  11  Prefactor     .10000E-03    4.9353        .23097E-06** at limit **
  12  norm          .10000E-03    2.8871       -.13463E-07** at limit **
  13  Prefactor     .10000E-03    6.1676       -.41778E-06** at limit **
  14  Prefactor     .10000E-03    5.2960        .43853E-07** at limit **
  15  Prefactor     13.612        43.326       -.28636E-05   -.33561E-04
  16  norm          .10000E-03    .36943       -.89909E-07** at limit **
  17  Prefactor     6.9937        19.208        .86918E-06    .64234E-04
  18  Prefactor     4.2264        15.787        .30581E-06   -.18110E-04
  19  norm          5.4731        3.6514       -.95083E-07   -.52088E-04
  20  Prefactor     .10000E-03    6.6375        .33553E-06** at limit **
  21  Prefactor     .10000E-03    32.514        .80431E-07** at limit **
  22  norm          .10004E-03    4.8015       -.13352E-05** at limit **
  23  norm          .33583        1.3915        .15563E-05    .11268E-03
  24  Normalizat    1.2860        .19451        .38202E-06    .63320E-04
  25  Prefactor     .92723        .96372E-01   -.20027E-06    .15047E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1674
  Prefactor  = 2.63486
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.55963
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6119
  norm       = 0.0001
  Prefactor  = 6.99373
  Prefactor  = 4.2264
  norm       = 5.47305
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100036
  norm       = 0.335827
  Normalizat = 1.28597
  Prefactor  = 0.927227
 **********
 **   18 **HESSE 
 **********

 FCN=   7818.330     FROM HESSE     STATUS=OK           431 CALLS     2945 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1674        1.7934        .14522E-03   -1.5492    
   2  Prefactor     2.6349        8.6925        .25124E-03   -1.5383    
   3  Prefactor     .10000E-03    43.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.4198        .10261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.3542        .99934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    17.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5596        2.9845        .16066E-03   -1.5388    
   8  Prefactor     .10000E-03    4.3899        .18093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.8542        .16798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.9428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.8935        .14671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.3051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.612        44.390        .10848E-03   -1.4970    
  16  norm          .10000E-03    .51760        .10333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9937        19.393        .15202E-03   -1.5179    
  18  Prefactor     4.2264        15.783        .19597E-03   -1.5297    
  19  norm          5.4731        3.6510        .12506E-03   -1.5240    
  20  Prefactor     .10000E-03    6.6891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    32.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10004E-03    5.0334        .52317E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .33583        1.6241        .20937E-03   -1.5592    
  24  Normalizat    1.2860        .22283        .30334E-03   -.83986    
  25  Prefactor     .92723        .11086        .17780E-03   -.95196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92629e-10
Minuit parameter uncertainties:
  1  1.79352
  2  8.69669
  3  1.86144e-05
  4  1.12936e-07
  5  6.62873e-07
  6  9.12091e-06
  7  2.98469
  8  6.1452e-06
  9  6.30341e-06
  10  6.12108e-06
  11  8.39041e-06
  12  5.08945e-07
  13  1.60527e-05
  14  7.19302e-07
  15  44.4975
  16  6.48527e-06
  17  19.4106
  18  15.7988
  19  3.65112
  20  6.37293e-06
  21  1.20424e-05
  22  0.000855816
  23  1.47687
  24  0.222995
  25  0.110882
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  6.303e-06  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.272e-01  1.109e-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.286e+00  2.230e-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: 8.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/165020/likelihoodResults_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.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) = 7818.33149828
delta logL = -0.00123682013054

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7818.33026167
delta logL = -2.09285644814e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6706       1.0000          .0000       10.000    
     3 'Normalizat'    1.2859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92729       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=   7818.330     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.790        .90712E-02** at limit **
   2  Index         2.6710        5.4887        .50000       -.10650E-05
   3  Normalizat    1.2860        .92704E-02    .68563E-01    .67424E-04
   4  Prefactor     .92723        .47266E-02    .45352E-01    .72220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.67098
  Normalizat = 1.28597
  Prefactor  = 0.927227
 **********
 **   18 **HESSE 
 **********

 FCN=   7818.330     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      235 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    452.12        .16798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6710        5.1003        .50000       -.48454    
   3  Normalizat    1.2860        .68102E-01    .30334E-03   -.83986    
   4  Prefactor     .92723        .34556E-01    .17780E-03   -.95196    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.2372e-07
Minuit parameter uncertainties:
  1  6.91522e-05
  2  2400.17
  3  0.068107
  4  0.0345565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/165020': 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) = 7818.33026146
delta logL = 1.82808435056e-10

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  6.915e-05  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.671e+00  2.400e+03  0.000e+00  1.000e+01 (-1.000e+00)
263        Scale:  6.204e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  9.272e-01  3.456e-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.286e+00  6.811e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 107.732 47.553

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/165020/cmap_HighResolution_461721601_461980801_4FGL_J0710.9+4733_daily_bin858.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', job_status='DONE', photon_flux_upper_limit='8.49e-08', time_completed='2021-08-26 21:20:07.874554', job_id='165020', GAL2='0.93', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1630038007.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.83e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='858' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:20:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0016>
Subject: Job 165020: <4FGL_J0710.9+4733_daily_bin858> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin858> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 26 21:05:48 2021
Job was executed on host(s) <bullet0016>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 21:05:49 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:05:49 2021
Terminated at Thu Aug 26 21:20:08 2021
Results reported at Thu Aug 26 21:20:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin858 107.732 47.553 461721601 461980801 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 :                                   842.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            860 sec.

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

