/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 91 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 = 7432
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0710.9+4733_daily_bin42
RA = 107.732, Dec = 47.553
tmin = 250214401, tmax = 250473601
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='158679', job_status='RUN', time_executed='2021-08-26 20:47:19.190199', time_epoch_executed='1630036039.19' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='42'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158679

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158679/ft1_4FGL_J0710.9+4733_daily_bin42.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158679/ft2_4FGL_J0710.9+4733_daily_bin42.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158679/ft1_4FGL_J0710.9+4733_daily_bin42.fits outfile=/scratch/kocevski/158679/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin42.fits ra=107.732 dec=47.553 rad=12.0 tmin=250214401.0 tmax=250473601.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 1.72
user 1.25
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158679/ft1_filtered_4FGL_J0710.9+4733_daily_bin42.fits" evtable="EVENTS" scfile=/scratch/kocevski/158679/ft2_4FGL_J0710.9+4733_daily_bin42.fits sctable="SC_DATA" outfile=/scratch/kocevski/158679/ltcube_250214401_250473601_4FGL_J0710.9+4733_daily_bin42.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/158679/ft2_4FGL_J0710.9+4733_daily_bin42.fits
.....................!
real 13.22
user 12.52
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158679/ft1_filtered_4FGL_J0710.9+4733_daily_bin42.fits evtable="EVENTS" scfile=/scratch/kocevski/158679/ft2_4FGL_J0710.9+4733_daily_bin42.fits sctable="SC_DATA" expcube=/scratch/kocevski/158679/ltcube_250214401_250473601_4FGL_J0710.9+4733_daily_bin42.fits outfile=/scratch/kocevski/158679/expmap_250214401_250473601_4FGL_J0710.9+4733_daily_bin42.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/158679/ltcube_250214401_250473601_4FGL_J0710.9+4733_daily_bin42.fits
.....................!
real 191.61
user 186.08
sys 5.12

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/158679/ft1_filtered_4FGL_J0710.9+4733_daily_bin42.fits scfile=/scratch/kocevski/158679/ft2_4FGL_J0710.9+4733_daily_bin42.fits outfile=/scratch/kocevski/158679/cmap_250214401_250473601_4FGL_J0710.9+4733_daily_bin42.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.82
user 0.36
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158679/ft1_filtered_4FGL_J0710.9+4733_daily_bin42.fits scfile=/scratch/kocevski/158679/ft2_4FGL_J0710.9+4733_daily_bin42.fits outfile=/scratch/kocevski/158679/cmap_HighResolution_250214401_250473601_4FGL_J0710.9+4733_daily_bin42.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.82
user 0.38
sys 0.43

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6722       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.055       1.0000         .10000E-03   10000.    
     4 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2250       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.738       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16737E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    52.648       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0782       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.0451       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.7827       1.0000         .10000E-03   10000.    
    23 'norm      '    1.2676       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0312       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .99961       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=   6212.579     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2837 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6719        3.5081       -.11267E-05   -.82670E-03
   2  Prefactor     .10000E-03    4.1580       -.12057E-05** at limit **
   3  Prefactor     18.994        36.459       -.86319E-04    .13008E-04
   4  norm          .10000E-03    1.6831       -.17561E-07** at limit **
   5  norm          1.2247        3.3945       -.14999E-05   -.10204E-02
   6  Prefactor     .10000E-03    12.121        .55312E-05** at limit **
   7  norm          .10000E-03    2.2904       -.52058E-07** at limit **
   8  Prefactor     .10000E-03    6.5394        .13460E-05** at limit **
   9  Prefactor     .10000E-03    3.9963        .87596E-06** at limit **
  10  Prefactor     30.739        20.083       -.28405E-06    .23229E-04
  11  Prefactor     .10000E-03    8.7451       -.52980E-06** at limit **
  12  norm          .10000E-03    3.0948       -.92076E-07** at limit **
  13  Prefactor     .10000E-03    13.056        .17331E-05** at limit **
  14  Prefactor     .10000E-03    51.660        .10871E-04** at limit **
  15  Prefactor     52.657        36.892        .77162E-05    .38859E-04
  16  norm          1.0790        1.2024       -.40645E-06   -.13189E-02
  17  Prefactor     .10000E-03    13.733       -.19591E-05** at limit **
  18  Prefactor     .10000E-03    8.4329       -.26812E-05** at limit **
  19  norm          .10000E-03    .98789       -.53462E-07** at limit **
  20  Prefactor     7.0463        6.6922       -.26291E-06    .71495E-04
  21  Prefactor     .10000E-03    16.899       -.54556E-05** at limit **
  22  norm          2.7830        3.2184        .74838E-06   -.36827E-05
  23  norm          1.2677        1.3621       -.10288E-06    .10962E-03
  24  Normalizat    1.0309        .21940        .18740E-05    .72081E-04
  25  Prefactor     .99972        .11021        .21082E-05   -.11143E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67193
  Prefactor  = 0.0001
  Prefactor  = 18.9942
  norm       = 0.0001
  norm       = 1.22474
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.739
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 52.6568
  norm       = 1.07901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.04634
  Prefactor  = 0.0001
  norm       = 2.78295
  norm       = 1.26767
  Normalizat = 1.0309
  Prefactor  = 0.999722
 **********
 **   18 **HESSE 
 **********

 FCN=   6212.579     FROM HESSE     STATUS=OK           421 CALLS     3258 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6719        3.5076        .20331E-03   -1.5449    
   2  Prefactor     .10000E-03    4.1770        .15695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.994        36.444        .91753E-04   -1.4836    
   4  norm          .10000E-03    1.6893        .99852E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2247        3.3577        .23301E-03   -1.5487    
   6  Prefactor     .10000E-03    12.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.2999        .11645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.5399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.0297        .15377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.739        20.086        .72268E-04   -1.4599    
  11  Prefactor     .10000E-03    8.7565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.1014        .13541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    52.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     52.657        36.930        .55276E-04   -1.4255    
  16  norm          1.0790        1.1280        .87011E-03   -1.5500    
  17  Prefactor     .10000E-03    13.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.4550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .99091        .76498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.0463        6.6961        .15114E-03   -1.5177    
  21  Prefactor     .10000E-03    16.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7830        3.2119        .14766E-03   -1.5374    
  23  norm          1.2677        1.3671        .92696E-04   -1.5483    
  24  Normalizat    1.0309        .25253        .33638E-03   -.92002    
  25  Prefactor     .99972        .12760        .17228E-03   -.92739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81662e-09
Minuit parameter uncertainties:
  1  3.50805
  2  1.20258e-05
  3  36.4868
  4  1.37973e-06
  5  3.35821
  6  2.145e-05
  7  4.64476e-06
  8  7.79095e-06
  9  2.37141e-05
  10  20.0902
  11  2.54413e-05
  12  1.06205e-05
  13  6.57432e-06
  14  0.000552296
  15  36.9464
  16  1.12807
  17  0.00014719
  18  2.12393e-05
  19  5.06849e-06
  20  6.69684
  21  1.85209e-05
  22  3.2121
  23  1.36717
  24  0.252824
  25  0.127644
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  2.371e-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.997e-01  1.276e-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.031e+00  2.528e-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.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158679/likelihoodResults_250214401_250473601_4FGL_J0710.9+4733_daily_bin42.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) = 6212.58039929
delta logL = -0.00118266056325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6212.57921798
delta logL = -1.34285255626e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10581E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6854       1.0000          .0000       10.000    
     3 'Normalizat'    1.0306       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99987       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=   6212.579     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4541        .90712E-02** at limit **
   2  Index         2.7013        6.3454        .50000       -.36363E-04
   3  Normalizat    1.0309        .21192        .76007E-01    .61079E-04
   4  Prefactor     .99972        .10768        .46265E-01    .59804E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.7013
  Normalizat = 1.0309
  Prefactor  = 0.999723
 **********
 **   18 **HESSE 
 **********

 FCN=   6212.579     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5945        .15527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7013        6.3438        .50000       -.47770    
   3  Normalizat    1.0309        .24307        .33638E-03   -.92002    
   4  Prefactor     .99972        .12378        .17228E-03   -.92739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57081e-09
Minuit parameter uncertainties:
  1  5.161e-05
  2  5.18293
  3  0.243329
  4  0.123815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158679': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6212.57921638
delta logL = 2.51725396083e-07

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  5.161e-05  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.701e+00  5.183e+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:  9.997e-01  1.238e-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.031e+00  2.433e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/158679/cmap_HighResolution_250214401_250473601_4FGL_J0710.9+4733_daily_bin42.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.30e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-08-26 20:59:28.018483', job_id='158679', GAL2='1.00', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1630036768.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.52e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='42' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 20:59:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 158679: <4FGL_J0710.9+4733_daily_bin42> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin42> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 20:45:32 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 20:45: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 20:45:34 2021
Terminated at Thu Aug 26 20:59:28 2021
Results reported at Thu Aug 26 20:59:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin42 107.732 47.553 250214401 250473601 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 :                                   733.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            836 sec.

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

