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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin859
RA = 107.732, Dec = 47.553
tmin = 461980801, tmax = 462240001
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='165022', job_status='RUN', time_executed='2021-08-26 21:07:11.777297', time_epoch_executed='1630037231.78' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='859'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/165022

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/165022/ft1_4FGL_J0710.9+4733_daily_bin859.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/165022/ft2_4FGL_J0710.9+4733_daily_bin859.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/165022/ft1_4FGL_J0710.9+4733_daily_bin859.fits outfile=/scratch/kocevski/165022/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin859.fits ra=107.732 dec=47.553 rad=12.0 tmin=461980801.0 tmax=462240001.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 4.09
user 3.35
sys 0.72

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/165022/ft2_4FGL_J0710.9+4733_daily_bin859.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/165022/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin859.fits evtable="EVENTS" outfile="/scratch/kocevski/165022/ft1_filtered_4FGL_J0710.9+4733_daily_bin859.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.01
user 0.36
sys 0.63

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/165022/ft1_filtered_4FGL_J0710.9+4733_daily_bin859.fits" evtable="EVENTS" scfile=/scratch/kocevski/165022/ft2_4FGL_J0710.9+4733_daily_bin859.fits sctable="SC_DATA" outfile=/scratch/kocevski/165022/ltcube_461980801_462240001_4FGL_J0710.9+4733_daily_bin859.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/165022/ft2_4FGL_J0710.9+4733_daily_bin859.fits
.....................!
real 12.51
user 11.57
sys 0.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/165022/ft1_filtered_4FGL_J0710.9+4733_daily_bin859.fits evtable="EVENTS" scfile=/scratch/kocevski/165022/ft2_4FGL_J0710.9+4733_daily_bin859.fits sctable="SC_DATA" expcube=/scratch/kocevski/165022/ltcube_461980801_462240001_4FGL_J0710.9+4733_daily_bin859.fits outfile=/scratch/kocevski/165022/expmap_461980801_462240001_4FGL_J0710.9+4733_daily_bin859.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/165022/ltcube_461980801_462240001_4FGL_J0710.9+4733_daily_bin859.fits
.....................!
real 192.85
user 187.94
sys 4.50

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/165022/ft1_filtered_4FGL_J0710.9+4733_daily_bin859.fits scfile=/scratch/kocevski/165022/ft2_4FGL_J0710.9+4733_daily_bin859.fits outfile=/scratch/kocevski/165022/cmap_461980801_462240001_4FGL_J0710.9+4733_daily_bin859.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.08
user 0.39
sys 0.65

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/165022/ft1_filtered_4FGL_J0710.9+4733_daily_bin859.fits scfile=/scratch/kocevski/165022/ft2_4FGL_J0710.9+4733_daily_bin859.fits outfile=/scratch/kocevski/165022/cmap_HighResolution_461980801_462240001_4FGL_J0710.9+4733_daily_bin859.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.06
user 0.39
sys 0.64

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    8.6981       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9653       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2896       1.0000         .10000E-03   10000.    
     5 'norm      '    3.0831       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.5272       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .40142E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.426       1.0000         .10000E-03   10000.    
    12 'norm      '    5.3025       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.013       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1040       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7609       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.0607       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.9233       1.0000         .10000E-03   10000.    
    23 'norm      '    .83973       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1856       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93729       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=   7998.337     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2509 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .54651        .19572E-08** at limit **
   2  Prefactor     8.6976        9.2174        .20443E-05   -.29398E-03
   3  Prefactor     3.9380        72.756       -.13509E-04   -.18503E-03
   4  norm          1.2881        4.0623        .13381E-05   -.14428E-03
   5  norm          3.0824        3.5138        .18629E-06    .22196E-03
   6  Prefactor     .10000E-03    10.699       -.76517E-06** at limit **
   7  norm          3.5264        4.6239        .42788E-07    .97326E-04
   8  Prefactor     .10000E-03    6.8196        .41404E-06** at limit **
   9  Prefactor     .10000E-03    3.0224       -.79653E-06** at limit **
  10  Prefactor     .10000E-03    6.3585       -.48288E-06** at limit **
  11  Prefactor     10.435        24.304        .29218E-05    .16442E-03
  12  norm          5.2999        7.7090        .40772E-05   -.37660E-03
  13  Prefactor     .10000E-03    22.785        .37619E-06** at limit **
  14  Prefactor     .10000E-03    11.541       -.74704E-07** at limit **
  15  Prefactor     19.012        18.917       -.16387E-06   -.28735E-04
  16  norm          1.1041        .85119        .61803E-07   -.20762E-03
  17  Prefactor     3.7616        8.6208       -.22009E-07   -.80004E-04
  18  Prefactor     .10000E-03    6.9243        .45176E-06** at limit **
  19  norm          1.0596        2.1876        .74553E-06    .61939E-03
  20  Prefactor     .10000E-03    3.7891        .11061E-06** at limit **
  21  Prefactor     .10000E-03    12.710        .92007E-06** at limit **
  22  norm          2.9212        4.1067       -.10386E-06   -.25708E-03
  23  norm          .84120        1.8785        .52951E-06   -.15246E-04
  24  Normalizat    1.1855        .18653       -.59753E-06    .21619E-04
  25  Prefactor     .93731        .93666E-01   -.68135E-06    .12640E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.69755
  Prefactor  = 3.93801
  norm       = 1.2881
  norm       = 3.08242
  Prefactor  = 0.0001
  norm       = 3.52643
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 10.4353
  norm       = 5.29994
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.0122
  norm       = 1.10408
  Prefactor  = 3.76161
  Prefactor  = 0.0001
  norm       = 1.05962
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.92115
  norm       = 0.841198
  Normalizat = 1.18555
  Prefactor  = 0.937305
 **********
 **   18 **HESSE 
 **********

 FCN=   7998.337     FROM HESSE     STATUS=OK           433 CALLS     2942 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .54843        .64563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.6976        9.2557        .67956E-03   -1.5118    
   3  Prefactor     3.9380        81.553        .20256E-03   -1.5311    
   4  norm          1.2881        4.0343        .30210E-03   -1.5481    
   5  norm          3.0824        3.4983        .17174E-03   -1.5357    
   6  Prefactor     .10000E-03    10.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.5264        4.4872        .20303E-03   -1.5332    
   8  Prefactor     .10000E-03    6.8201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.721        .28475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.3805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.435        24.444        .12409E-03   -1.5062    
  12  norm          5.2999        7.7879        .87270E-03   -1.5247    
  13  Prefactor     .10000E-03    23.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.012        18.915        .91854E-04   -1.4836    
  16  norm          1.1041        .82865        .69470E-04   -1.5498    
  17  Prefactor     3.7616        8.4928        .20818E-03   -1.5320    
  18  Prefactor     .10000E-03    6.9396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0596        1.8085        .18318E-02   -1.5502    
  20  Prefactor     .10000E-03    3.8092        .16999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9212        3.9618        .19107E-03   -1.5366    
  23  norm          .84120        1.7188        .16218E-02   -1.5525    
  24  Normalizat    1.1855        .20714        .30903E-03   -.87051    
  25  Prefactor     .93731        .10560        .17881E-03   -.94849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29164e-08
Minuit parameter uncertainties:
  1  9.45184e-08
  2  9.25722
  3  35.8973
  4  4.03517
  5  3.49856
  6  0.000110258
  7  4.4876
  8  2.17889e-05
  9  0.00018959
  10  4.82316e-05
  11  24.4673
  12  7.7894
  13  5.71153e-05
  14  2.46353e-05
  15  18.9214
  16  0.828662
  17  8.49555
  18  4.03987e-05
  19  1.8086
  20  2.96955e-06
  21  0.000125225
  22  3.96213
  23  1.7189
  24  0.207284
  25  0.105619
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  1.896e-04  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.373e-01  1.056e-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.186e+00  2.073e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/165022/likelihoodResults_461980801_462240001_4FGL_J0710.9+4733_daily_bin859.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) = 7998.3377621
delta logL = -0.000443720396106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7998.33731844
delta logL = -6.11862560618e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6906       1.0000          .0000       10.000    
     3 'Normalizat'    1.1856       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93729       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=   7998.337     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      231 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9537        .58022E-01** at limit **
   2  Index         2.7126        6.0614        .50000       -.19963E-04
   3  Normalizat    1.1855        .80912E-02    .69843E-01    .37613E-05
   4  Prefactor     .93731        .42401E-02    .45479E-01   -.46620E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.71258
  Normalizat = 1.18555
  Prefactor  = 0.937305
 **********
 **   18 **HESSE 
 **********

 FCN=   7998.337     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      266 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1032.5        .32979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7126        8.0824        .50000       -.47516    
   3  Normalizat    1.1855        .57052E-01    .30903E-03   -.87051    
   4  Prefactor     .93731        .29826E-01    .17881E-03   -.94849    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.92583e-08
Minuit parameter uncertainties:
  1  4.06944e-05
  2  43.7366
  3  0.0570547
  4  0.0298262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/165022': 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) = 7998.3373182
delta logL = 1.78277332452e-07

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  4.069e-05  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.713e+00  4.374e+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.373e-01  2.983e-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.186e+00  5.705e-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/165022/cmap_HighResolution_461980801_462240001_4FGL_J0710.9+4733_daily_bin859.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-08-26 21:21:02.409752', job_id='165022', GAL2='0.94', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630038062.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='859' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:21:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 165022: <4FGL_J0710.9+4733_daily_bin859> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin859> 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) <bullet0194>, 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:21:02 2021
Results reported at Thu Aug 26 21:21:02 2021

Your job looked like:

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

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

