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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin593
RA = 107.732, Dec = 47.553
tmin = 393033601, tmax = 393292801
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='161986', job_status='RUN', time_executed='2021-08-26 20:57:11.259453', time_epoch_executed='1630036631.26' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/161986

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/161986/ft1_4FGL_J0710.9+4733_daily_bin593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/161986/ft2_4FGL_J0710.9+4733_daily_bin593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/161986/ft1_4FGL_J0710.9+4733_daily_bin593.fits outfile=/scratch/kocevski/161986/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin593.fits ra=107.732 dec=47.553 rad=12.0 tmin=393033601.0 tmax=393292801.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 3.93
user 3.32
sys 0.56

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/161986/ft2_4FGL_J0710.9+4733_daily_bin593.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/161986/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin593.fits evtable="EVENTS" outfile="/scratch/kocevski/161986/ft1_filtered_4FGL_J0710.9+4733_daily_bin593.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.80
user 0.31
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/161986/ft1_filtered_4FGL_J0710.9+4733_daily_bin593.fits" evtable="EVENTS" scfile=/scratch/kocevski/161986/ft2_4FGL_J0710.9+4733_daily_bin593.fits sctable="SC_DATA" outfile=/scratch/kocevski/161986/ltcube_393033601_393292801_4FGL_J0710.9+4733_daily_bin593.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/161986/ft2_4FGL_J0710.9+4733_daily_bin593.fits
.....................!
real 12.58
user 11.83
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/161986/ft1_filtered_4FGL_J0710.9+4733_daily_bin593.fits evtable="EVENTS" scfile=/scratch/kocevski/161986/ft2_4FGL_J0710.9+4733_daily_bin593.fits sctable="SC_DATA" expcube=/scratch/kocevski/161986/ltcube_393033601_393292801_4FGL_J0710.9+4733_daily_bin593.fits outfile=/scratch/kocevski/161986/expmap_393033601_393292801_4FGL_J0710.9+4733_daily_bin593.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/161986/ltcube_393033601_393292801_4FGL_J0710.9+4733_daily_bin593.fits
.....................!
real 192.33
user 187.09
sys 4.87

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/161986/ft1_filtered_4FGL_J0710.9+4733_daily_bin593.fits scfile=/scratch/kocevski/161986/ft2_4FGL_J0710.9+4733_daily_bin593.fits outfile=/scratch/kocevski/161986/cmap_393033601_393292801_4FGL_J0710.9+4733_daily_bin593.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.88
user 0.37
sys 0.50

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/161986/ft1_filtered_4FGL_J0710.9+4733_daily_bin593.fits scfile=/scratch/kocevski/161986/ft2_4FGL_J0710.9+4733_daily_bin593.fits outfile=/scratch/kocevski/161986/cmap_HighResolution_393033601_393292801_4FGL_J0710.9+4733_daily_bin593.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.85
user 0.37
sys 0.46

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    1.5456       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .11086E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.6154       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    18.436       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.235       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-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 '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.895       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.682       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.4464       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .92442       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97216       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=   7683.064     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2465 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .64137       -.72023E-07** at limit **
   2  Prefactor     1.5450        1.4030        .28160E-06   -.20197E-02
   3  Prefactor     .10000E-03    22.681        .13828E-04** at limit **
   4  norm          .10000E-03    2.0314        .22644E-07** at limit **
   5  norm          6.6157        5.0752       -.89403E-07    .55784E-04
   6  Prefactor     .10000E-03    9.8157       -.92803E-05** at limit **
   7  norm          18.435        6.7722        .28611E-06    .13694E-04
   8  Prefactor     .10000E-03    8.6667        .75607E-05** at limit **
   9  Prefactor     .10000E-03    1.6944       -.92109E-07** at limit **
  10  Prefactor     22.233        21.993       -.14603E-05    .26308E-05
  11  Prefactor     .10000E-03    27.367       -.13862E-04** at limit **
  12  norm          .10000E-03    3.5199        .12039E-05** at limit **
  13  Prefactor     .10000E-03    16.651        .59067E-06** at limit **
  14  Prefactor     .10000E-03    5.7168        .21153E-05** at limit **
  15  Prefactor     17.893        28.803       -.22055E-05    .13622E-04
  16  norm          .10000E-03    .24713        .71932E-07** at limit **
  17  Prefactor     .10000E-03    5.5662       -.28189E-05** at limit **
  18  Prefactor     .10000E-03    16.574        .56233E-06** at limit **
  19  norm          .10000E-03    2.6180        .16305E-06** at limit **
  20  Prefactor     .10000E-03    3.4458       -.86264E-06** at limit **
  21  Prefactor     13.678        34.274       -.76464E-05    .63120E-05
  22  norm          .10000E-03    1.0604       -.85950E-07** at limit **
  23  norm          2.4464        1.5215        .53816E-08    .41252E-04
  24  Normalizat    .92434        .18011        .17677E-06    .33488E-04
  25  Prefactor     .97220        .90882E-01    .27338E-06    .25833E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.54497
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.6157
  Prefactor  = 0.0001
  norm       = 18.4352
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.2327
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.8933
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6779
  norm       = 0.0001
  norm       = 2.44638
  Normalizat = 0.924339
  Prefactor  = 0.972197
 **********
 **   18 **HESSE 
 **********

 FCN=   7683.064     FROM HESSE     STATUS=OK           421 CALLS     2886 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .64547        .68545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5450        5.1267        .17139E-02   -1.5459    
   3  Prefactor     .10000E-03    22.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.472        .23882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.6157        5.0702        .15602E-03   -1.5193    
   6  Prefactor     .10000E-03    9.8330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          18.435        6.7316        .93279E-04   -1.4849    
   8  Prefactor     .10000E-03    8.6833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.7003        .11138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.233        21.947        .84945E-04   -1.4765    
  11  Prefactor     .10000E-03    27.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.5819        .16056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.7315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.893        28.859        .94679E-04   -1.4862    
  16  norm          .10000E-03    .25594        .85039E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.5749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.7278        .27668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.4542        .15867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.678        34.326        .10829E-03   -1.4968    
  22  norm          .10000E-03    1.0627        .88138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.4464        1.5234        .83076E-04   -1.5395    
  24  Normalizat    .92434        .20401        .32631E-03   -.95610    
  25  Prefactor     .97220        .10417        .16605E-03   -.93662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68073e-09
Minuit parameter uncertainties:
  1  3.92773e-07
  2  5.12815
  3  1.53077e-05
  4  8.65182e-05
  5  5.0705
  6  1.59163e-05
  7  6.73184
  8  1.40978e-05
  9  8.42465e-07
  10  21.9548
  11  1.7791e-05
  12  2.76569e-06
  13  6.88602e-06
  14  5.57862e-07
  15  28.8819
  16  1.45343e-07
  17  9.38508e-06
  18  5.22864e-05
  19  1.46257e-05
  20  2.17107e-05
  21  34.3753
  22  7.48823e-08
  23  1.52338
  24  0.204177
  25  0.10419
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  8.425e-07  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.722e-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:  9.243e-01  2.042e-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: 6.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/161986/likelihoodResults_393033601_393292801_4FGL_J0710.9+4733_daily_bin593.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) = 7683.06711056
delta logL = -0.00279417681395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7683.06431633
delta logL = 5.09644451085e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6620       1.0000          .0000       10.000    
     3 'Normalizat'    .92438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97217       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7683.064     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      249 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.171        .11170E-01** at limit **
   2  Index         2.2545        7.6323        .50000        .51045E-07
   3  Normalizat    .92434        .14223E-01    .32631E-03    .35468E-04
   4  Prefactor     .97220        .74554E-02    .16605E-03    .94686E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25453
  Normalizat = 0.924339
  Prefactor  = 0.972197
 **********
 **   18 **HESSE 
 **********

 FCN=   7683.064     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    177.22        .11581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2545        5.2026        .50000       -.58128    
   3  Normalizat    .92434        .54861E-01    .13052E-04   -.95610    
   4  Prefactor     .97220        .28758E-01    .33210E-04   -.93662    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.00807e-08
Minuit parameter uncertainties:
  1  0.000590308
  2  1032.65
  3  0.054864
  4  0.0287585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/161986': 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) = 7683.06431423
delta logL = 2.15681029658e-06

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  5.903e-04  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.255e+00  1.033e+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.722e-01  2.876e-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:  9.243e-01  5.486e-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/161986/cmap_HighResolution_393033601_393292801_4FGL_J0710.9+4733_daily_bin593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.09e-03', job_status='DONE', photon_flux_upper_limit='6.48e-08', time_completed='2021-08-26 21:10:37.930648', job_id='161986', GAL2='0.97', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1630037437.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.16e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='593' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:10:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 161986: <4FGL_J0710.9+4733_daily_bin593> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin593> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Aug 26 20:55:31 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 20:55:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 20:55:40 2021
Terminated at Thu Aug 26 21:10:40 2021
Results reported at Thu Aug 26 21:10:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin593 107.732 47.553 393033601 393292801 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 :                                   811.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            909 sec.

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

