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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin41
RA = 107.732, Dec = 47.553
tmin = 249955201, tmax = 250214401
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='158677', job_status='RUN', time_executed='2021-08-26 20:47:23.553803', time_epoch_executed='1630036043.55' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='41'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158677

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158677/ft1_4FGL_J0710.9+4733_daily_bin41.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158677/ft2_4FGL_J0710.9+4733_daily_bin41.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158677/ft1_4FGL_J0710.9+4733_daily_bin41.fits outfile=/scratch/kocevski/158677/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin41.fits ra=107.732 dec=47.553 rad=12.0 tmin=249955201.0 tmax=250214401.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.86
user 1.24
sys 2.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158677/ft2_4FGL_J0710.9+4733_daily_bin41.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/158677/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin41.fits evtable="EVENTS" outfile="/scratch/kocevski/158677/ft1_filtered_4FGL_J0710.9+4733_daily_bin41.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 2.89
user 0.32
sys 2.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158677/ft1_filtered_4FGL_J0710.9+4733_daily_bin41.fits" evtable="EVENTS" scfile=/scratch/kocevski/158677/ft2_4FGL_J0710.9+4733_daily_bin41.fits sctable="SC_DATA" outfile=/scratch/kocevski/158677/ltcube_249955201_250214401_4FGL_J0710.9+4733_daily_bin41.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/158677/ft2_4FGL_J0710.9+4733_daily_bin41.fits
.....................!
real 15.44
user 12.40
sys 2.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158677/ft1_filtered_4FGL_J0710.9+4733_daily_bin41.fits evtable="EVENTS" scfile=/scratch/kocevski/158677/ft2_4FGL_J0710.9+4733_daily_bin41.fits sctable="SC_DATA" expcube=/scratch/kocevski/158677/ltcube_249955201_250214401_4FGL_J0710.9+4733_daily_bin41.fits outfile=/scratch/kocevski/158677/expmap_249955201_250214401_4FGL_J0710.9+4733_daily_bin41.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/158677/ltcube_249955201_250214401_4FGL_J0710.9+4733_daily_bin41.fits
.....................!
real 193.66
user 185.05
sys 7.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/158677/ft1_filtered_4FGL_J0710.9+4733_daily_bin41.fits scfile=/scratch/kocevski/158677/ft2_4FGL_J0710.9+4733_daily_bin41.fits outfile=/scratch/kocevski/158677/cmap_249955201_250214401_4FGL_J0710.9+4733_daily_bin41.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 2.84
user 0.36
sys 2.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158677/ft1_filtered_4FGL_J0710.9+4733_daily_bin41.fits scfile=/scratch/kocevski/158677/ft2_4FGL_J0710.9+4733_daily_bin41.fits outfile=/scratch/kocevski/158677/cmap_HighResolution_249955201_250214401_4FGL_J0710.9+4733_daily_bin41.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 2.87
user 0.38
sys 2.46

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10244E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    75.630       1.0000         .10000E-03   10000.    
     4 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.1976       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.5000       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0273       1.0000         .10000E-03   10000.    
    12 'norm      '    9.1086       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7370       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.677       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.867       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.377       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .96371       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .78922       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0902       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=   6877.731     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2926 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3694        .10330E-06** at limit **
   2  Prefactor     .10000E-03    14.990        .28174E-05** at limit **
   3  Prefactor     75.619        42.368       -.13868E-05   -.34105E-03
   4  norm          .10000E-03    2.9528       -.10315E-05** at limit **
   5  norm          .10000E-03    3.0791       -.23557E-06** at limit **
   6  Prefactor     .10000E-03    7.5131        .83952E-06** at limit **
   7  norm          5.1974        5.6961        .45925E-05   -.11607E-02
   8  Prefactor     .10000E-03    8.0657       -.12933E-06** at limit **
   9  Prefactor     .10000E-03    2.6646       -.39813E-06** at limit **
  10  Prefactor     5.4989        13.872       -.18264E-05   -.27204E-04
  11  Prefactor     9.0291        17.540        .70147E-06    .48796E-04
  12  norm          9.1084        7.8293        .10483E-05   -.35165E-03
  13  Prefactor     3.7361        36.525        .94388E-06   -.20037E-04
  14  Prefactor     .10000E-03    8.6875       -.57497E-06** at limit **
  15  Prefactor     .10000E-03    18.126       -.21165E-05** at limit **
  16  norm          .10000E-03    .51892       -.64135E-07** at limit **
  17  Prefactor     10.679        13.162        .21898E-06    .34042E-04
  18  Prefactor     12.872        22.636        .11394E-05    .24659E-03
  19  norm          .10000E-03    1.5519        .19160E-06** at limit **
  20  Prefactor     .10000E-03    8.2344        .14655E-05** at limit **
  21  Prefactor     17.415        50.566        .12681E-04    .39229E-03
  22  norm          .10000E-03    2.6414       -.17627E-06** at limit **
  23  norm          .96359        2.0441        .62629E-06    .22807E-03
  24  Normalizat    .78906        .22158       -.58338E-05    .11025E-03
  25  Prefactor     1.0903        .10645        .14489E-05   -.22534E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 75.6194
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.19738
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.49893
  Prefactor  = 9.02907
  norm       = 9.10842
  Prefactor  = 3.73613
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 10.6785
  Prefactor  = 12.8718
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 17.4145
  norm       = 0.0001
  norm       = 0.963586
  Normalizat = 0.789062
  Prefactor  = 1.0903
 **********
 **   18 **HESSE 
 **********

 FCN=   6877.731     FROM HESSE     STATUS=OK           427 CALLS     3353 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8782        .18834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.646        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     75.619        42.627        .46171E-04   -1.3967    
   4  norm          .10000E-03    9.5106        .27418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.1914        .28403E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.5405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.1974        5.8742        .88162E-03   -1.5252    
   8  Prefactor     .10000E-03    8.0699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.6888        .13232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.4989        13.848        .17132E-03   -1.5239    
  11  Prefactor     9.0291        17.517        .13340E-03   -1.5107    
  12  norm          9.1084        7.8326        .66399E-03   -1.5104    
  13  Prefactor     3.7361        36.156        .20887E-03   -1.5321    
  14  Prefactor     .10000E-03    8.7337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .85921        .11496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.679        13.157        .12262E-03   -1.5054    
  18  Prefactor     12.872        22.587        .11167E-03   -1.4990    
  19  norm          .10000E-03    1.5646        .10078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.2914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     17.415        52.927        .96080E-04   -1.4873    
  22  norm          .10000E-03    2.6570        .13151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .96359        1.8297        .16732E-02   -1.5512    
  24  Normalizat    .78906        .24209        .36954E-03   -1.0048    
  25  Prefactor     1.0903        .11782        .16397E-03   -.89777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35524e-09
Minuit parameter uncertainties:
  1  1.30849e-05
  2  0.000487949
  3  42.6442
  4  0.000157818
  5  3.39919e-06
  6  0.000121192
  7  5.87484
  8  1.99218e-05
  9  2.07648e-05
  10  13.8562
  11  17.5264
  12  7.83344
  13  23.2632
  14  6.04602e-05
  15  0.00042243
  16  1.86603e-05
  17  13.1602
  18  22.6023
  19  4.90474e-06
  20  0.000236197
  21  53.0699
  22  8.78153e-06
  23  1.82978
  24  0.242425
  25  0.11785
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  2.076e-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.090e+00  1.179e-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:  7.891e-01  2.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 107.732 47.553
Photon Flux Upper Limit: 8.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158677/likelihoodResults_249955201_250214401_4FGL_J0710.9+4733_daily_bin41.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) = 6877.73277322
delta logL = -0.00177000244548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6877.73100338
delta logL = -1.62352080224e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6711       1.0000          .0000       10.000    
     3 'Normalizat'    .78902       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0903       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=   6877.731     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7859        .90712E-02** at limit **
   2  Index         2.6720        6.3308        .50000       -.33055E-05
   3  Normalizat    .78906        .20055        .83456E-01    .22605E-05
   4  Prefactor     1.0903        .10367        .37966E-01   -.49289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.67201
  Normalizat = 0.789058
  Prefactor  = 1.0903
 **********
 **   18 **HESSE 
 **********

 FCN=   6877.731     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0809        .13232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6720        6.3093        .50000       -.48431    
   3  Normalizat    .78906        .22270        .36955E-03   -1.0048    
   4  Prefactor     1.0903        .11545        .16397E-03   -.89777    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5379e-11
Minuit parameter uncertainties:
  1  3.47514e-06
  2  5.45442
  3  0.222954
  4  0.115477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158677': 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) = 6877.73100321
delta logL = 1.44154910231e-09

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  3.475e-06  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.672e+00  5.454e+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:  1.090e+00  1.155e-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:  7.891e-01  2.230e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/158677/cmap_HighResolution_249955201_250214401_4FGL_J0710.9+4733_daily_bin41.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.63e-03', job_status='DONE', photon_flux_upper_limit='8.44e-08', time_completed='2021-08-26 21:00:51.497605', job_id='158677', GAL2='1.09', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1630036851.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.44e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='41' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:00:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 158677: <4FGL_J0710.9+4733_daily_bin41> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin41> 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) <bullet0274>, 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 21:00:52 2021
Results reported at Thu Aug 26 21:00:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin41 107.732 47.553 249955201 250214401 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 :                                   839.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             328.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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

