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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin841
RA = 107.732, Dec = 47.553
tmin = 457315201, tmax = 457574401
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='164993', job_status='RUN', time_executed='2021-08-26 21:06:04.511526', time_epoch_executed='1630037164.51' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='841'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164993

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164993/ft1_4FGL_J0710.9+4733_daily_bin841.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164993/ft2_4FGL_J0710.9+4733_daily_bin841.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164993/ft1_4FGL_J0710.9+4733_daily_bin841.fits outfile=/scratch/kocevski/164993/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin841.fits ra=107.732 dec=47.553 rad=12.0 tmin=457315201.0 tmax=457574401.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.05
user 3.49
sys 0.53

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164993/ft1_filtered_4FGL_J0710.9+4733_daily_bin841.fits" evtable="EVENTS" scfile=/scratch/kocevski/164993/ft2_4FGL_J0710.9+4733_daily_bin841.fits sctable="SC_DATA" outfile=/scratch/kocevski/164993/ltcube_457315201_457574401_4FGL_J0710.9+4733_daily_bin841.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/164993/ft2_4FGL_J0710.9+4733_daily_bin841.fits
.....................!
real 9.08
user 8.45
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164993/ft1_filtered_4FGL_J0710.9+4733_daily_bin841.fits evtable="EVENTS" scfile=/scratch/kocevski/164993/ft2_4FGL_J0710.9+4733_daily_bin841.fits sctable="SC_DATA" expcube=/scratch/kocevski/164993/ltcube_457315201_457574401_4FGL_J0710.9+4733_daily_bin841.fits outfile=/scratch/kocevski/164993/expmap_457315201_457574401_4FGL_J0710.9+4733_daily_bin841.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/164993/ltcube_457315201_457574401_4FGL_J0710.9+4733_daily_bin841.fits
.....................!
real 142.24
user 137.59
sys 4.37

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/164993/ft1_filtered_4FGL_J0710.9+4733_daily_bin841.fits scfile=/scratch/kocevski/164993/ft2_4FGL_J0710.9+4733_daily_bin841.fits outfile=/scratch/kocevski/164993/cmap_457315201_457574401_4FGL_J0710.9+4733_daily_bin841.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.76
user 0.31
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164993/ft1_filtered_4FGL_J0710.9+4733_daily_bin841.fits scfile=/scratch/kocevski/164993/ft2_4FGL_J0710.9+4733_daily_bin841.fits outfile=/scratch/kocevski/164993/cmap_HighResolution_457315201_457574401_4FGL_J0710.9+4733_daily_bin841.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.79
user 0.29
sys 0.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5259       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9541       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.767       1.0000         .10000E-03   10000.    
     4 'norm      '    .24927E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.671       1.0000         .10000E-03   10000.    
     7 'norm      '    .10067E-03   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 '    47.065       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .56895       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .25494E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.102       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.4727       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97817       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0272       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=   8530.870     FROM MIGRAD    STATUS=CONVERGED    616 CALLS     3437 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5261        2.4272        .64255E-02    .28718E-03
   2  Prefactor     6.9544        8.5414        .38033E-02   -.17134E-03
   3  Prefactor     20.760        30.822        .21973E-02   -.23426E-03
   4  norm          .51753E-02    1.9229        .69704E-01    .34700E-03
   5  norm          .10000E-03    1.6677        .90712E-02** at limit **
   6  Prefactor     10.676        25.032        .30663E-02    .89927E-03
   7  norm          .10000E-03    2.3468        .47639E-01** at limit **
   8  Prefactor     .10000E-03    7.6128        .90712E-02** at limit **
   9  Prefactor     .10000E-03    2.4031        .90712E-02** at limit **
  10  Prefactor     47.073        19.038        .14612E-02    .22922E-02
  11  Prefactor     .10000E-03    17.542        .90712E-02** at limit **
  12  norm          .56722        3.8220        .57700E-01    .48400E-03
  13  Prefactor     .10946E-03    16.128        .12693    ** at limit **
  14  Prefactor     .10000E-03    7.4592        .90712E-02** at limit **
  15  Prefactor     .10000E-03    12.280        .90712E-02** at limit **
  16  norm          .10000E-03    .53313        .20563E-01** at limit **
  17  Prefactor     10.098        11.256        .31518E-02    .85018E-04
  18  Prefactor     .10000E-03    20.061        .90712E-02** at limit **
  19  norm          .10000E-03    .97233        .90712E-02** at limit **
  20  Prefactor     .10000E-03    4.8984        .90712E-02** at limit **
  21  Prefactor     .10001E-03    54.218        .90712E-02** at limit **
  22  norm          .10000E-03    2.3073        .90712E-02** at limit **
  23  norm          3.4724        1.6558        .54250E-02    .15378E-03
  24  Normalizat    .97823        .18033        .73679E-01   -.43272E-03
  25  Prefactor     1.0271        .94194E-01    .41490E-01   -.10414E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.52607
  Prefactor  = 6.95438
  Prefactor  = 20.7601
  norm       = 0.00517529
  norm       = 0.0001
  Prefactor  = 10.6762
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 47.0729
  Prefactor  = 0.0001
  norm       = 0.567217
  Prefactor  = 0.000109459
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.0981
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  norm       = 0.0001
  norm       = 3.47242
  Normalizat = 0.978233
  Prefactor  = 1.02714
 **********
 **   18 **HESSE 
 **********

 FCN=   8530.870     FROM HESSE     STATUS=OK           433 CALLS     3870 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5261        2.4237        .13636E-03   -1.5390    
   2  Prefactor     6.9544        8.5538        .15213E-03   -1.5180    
   3  Prefactor     20.760        30.830        .87892E-04   -1.4796    
   4  norm          .51753E-02    3.5276        .43093E-01   -1.5694    
   5  norm          .10000E-03    1.6899        .11640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.676        24.999        .12265E-03   -1.5054    
   7  norm          .10000E-03    5.4777        .27130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.6236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.4401        .13969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.073        18.956        .58447E-04   -1.4335    
  11  Prefactor     .10000E-03    17.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .56722        9.3349        .34744E-02   -1.5557    
  13  Prefactor     .10946E-03    189.11        .70063E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.5061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.3007        .12882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.098        11.267        .12607E-03   -1.5072    
  18  Prefactor     .10000E-03    20.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .97713        .88874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.9562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    54.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.3584        .13687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.4724        1.6541        .79772E-04   -1.5335    
  24  Normalizat    .97823        .19888        .32602E-03   -.93763    
  25  Prefactor     1.0271        .10690        .17191E-03   -.91830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61327e-08
Minuit parameter uncertainties:
  1  2.42374
  2  8.55531
  3  30.8532
  4  0.267626
  5  2.47841e-06
  6  25.0236
  7  2.32428e-05
  8  0.000214571
  9  1.84558e-05
  10  18.9583
  11  5.08868e-05
  12  4.60258
  13  0.0848562
  14  0.000224864
  15  0.000117098
  16  1.48463e-06
  17  11.2694
  18  0.000230153
  19  1.64226e-06
  20  2.67935e-05
  21  0.00150275
  22  1.02684e-05
  23  1.65414
  24  0.199028
  25  0.106925
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  1.846e-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:  1.027e+00  1.069e-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.782e-01  1.990e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/164993/likelihoodResults_457315201_457574401_4FGL_J0710.9+4733_daily_bin841.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) = 8530.87202607
delta logL = -0.00195290867669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8530.87007243
delta logL = 7.25274730939e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6404       1.0000          .0000       10.000    
     3 'Normalizat'    .97822       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0271       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=   8530.870     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      262 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.956        .14474E-01** at limit **
   2  Index         2.1039        6.5900        .50000       -.85902E-07
   3  Normalizat    .97823        .90932E-02    .32602E-03   -.12512E-03
   4  Prefactor     1.0271        .49330E-02    .17191E-03   -.29004E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.10388
  Normalizat = 0.978234
  Prefactor  = 1.02714
 **********
 **   18 **HESSE 
 **********

 FCN=   8530.870     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      291 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    505.64        .34153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1039        6.0064        .50000       -.61778    
   3  Normalizat    .97823        .69210E-01    .13041E-04   -.93763    
   4  Prefactor     1.0271        .37547E-01    .34381E-04   -.91830    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.63834e-10
Minuit parameter uncertainties:
  1  2.85569e-05
  2  931.496
  3  0.0692161
  4  0.037548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164993': 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) = 8530.87006607
delta logL = 7.08848165232e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.027e+00  3.755e-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.782e-01  6.922e-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/164993/cmap_HighResolution_457315201_457574401_4FGL_J0710.9+4733_daily_bin841.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-03', job_status='DONE', photon_flux_upper_limit='6.51e-08', time_completed='2021-08-26 21:18:33.096310', job_id='164993', GAL2='1.03', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1630037913.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='841' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:18:33 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin841 107.732 47.553 457315201 457574401 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 :                                   750.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            768 sec.

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

