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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin1454
RA = 107.732, Dec = 47.553
tmin = 616204801, tmax = 616464001
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='168306', job_status='RUN', time_executed='2021-08-26 21:16:04.930661', time_epoch_executed='1630037764.93' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='1454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168306

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168306/ft1_4FGL_J0710.9+4733_daily_bin1454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168306/ft2_4FGL_J0710.9+4733_daily_bin1454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168306/ft1_4FGL_J0710.9+4733_daily_bin1454.fits outfile=/scratch/kocevski/168306/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin1454.fits ra=107.732 dec=47.553 rad=12.0 tmin=616204801.0 tmax=616464001.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.01
user 3.74
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168306/ft1_filtered_4FGL_J0710.9+4733_daily_bin1454.fits" evtable="EVENTS" scfile=/scratch/kocevski/168306/ft2_4FGL_J0710.9+4733_daily_bin1454.fits sctable="SC_DATA" outfile=/scratch/kocevski/168306/ltcube_616204801_616464001_4FGL_J0710.9+4733_daily_bin1454.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/168306/ft2_4FGL_J0710.9+4733_daily_bin1454.fits
.....................!
real 12.15
user 11.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168306/ft1_filtered_4FGL_J0710.9+4733_daily_bin1454.fits evtable="EVENTS" scfile=/scratch/kocevski/168306/ft2_4FGL_J0710.9+4733_daily_bin1454.fits sctable="SC_DATA" expcube=/scratch/kocevski/168306/ltcube_616204801_616464001_4FGL_J0710.9+4733_daily_bin1454.fits outfile=/scratch/kocevski/168306/expmap_616204801_616464001_4FGL_J0710.9+4733_daily_bin1454.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/168306/ltcube_616204801_616464001_4FGL_J0710.9+4733_daily_bin1454.fits
.....................!
real 191.01
user 185.47
sys 5.09

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/168306/ft1_filtered_4FGL_J0710.9+4733_daily_bin1454.fits scfile=/scratch/kocevski/168306/ft2_4FGL_J0710.9+4733_daily_bin1454.fits outfile=/scratch/kocevski/168306/cmap_616204801_616464001_4FGL_J0710.9+4733_daily_bin1454.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168306/ft1_filtered_4FGL_J0710.9+4733_daily_bin1454.fits scfile=/scratch/kocevski/168306/ft2_4FGL_J0710.9+4733_daily_bin1454.fits outfile=/scratch/kocevski/168306/cmap_HighResolution_616204801_616464001_4FGL_J0710.9+4733_daily_bin1454.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.56
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43272       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.0708       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.6480       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11180E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.2940       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.4328       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.492       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.054       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.694       1.0000         .10000E-03   10000.    
    16 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.0435       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    15.228       1.0000         .10000E-03   10000.    
    23 'norm      '    1.2897       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1977       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94273       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=   6755.281     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2873 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43303        2.0156        .15110E-05   -.12188E-03
   2  Prefactor     5.0710        5.9463        .99516E-06   -.10452E-03
   3  Prefactor     .10000E-03    10.208        .13272E-06** at limit **
   4  norm          .10000E-03    1.2100        .13334E-07** at limit **
   5  norm          6.6476        4.8948        .64786E-07    .73376E-05
   6  Prefactor     .10000E-03    15.565        .33954E-06** at limit **
   7  norm          .10000E-03    2.7303       -.59430E-06** at limit **
   8  Prefactor     9.2952        16.176        .17999E-06    .19324E-04
   9  Prefactor     .10000E-03    2.7180        .12586E-07** at limit **
  10  Prefactor     9.4318        10.448       -.30978E-07    .30637E-04
  11  Prefactor     13.486        23.984       -.27562E-06   -.11932E-03
  12  norm          .10000E-03    3.2144        .23316E-07** at limit **
  13  Prefactor     35.044        30.361       -.58867E-06   -.24222E-03
  14  Prefactor     .10000E-03    4.5725        .21926E-07** at limit **
  15  Prefactor     15.688        30.160       -.79775E-06   -.87178E-04
  16  norm          .10000E-03    .29518       -.63970E-07** at limit **
  17  Prefactor     .10000E-03    12.179       -.66335E-06** at limit **
  18  Prefactor     .10000E-03    7.4107       -.29547E-07** at limit **
  19  norm          1.0441        2.3219        .66346E-06    .44435E-03
  20  Prefactor     .10000E-03    7.6237        .31869E-06** at limit **
  21  Prefactor     .10000E-03    28.483        .22308E-07** at limit **
  22  norm          15.228        6.1898       -.91493E-08   -.58455E-06
  23  norm          1.2897        1.4209       -.24883E-07   -.72011E-05
  24  Normalizat    1.1979        .21894        .94542E-06   -.60494E-04
  25  Prefactor     .94262        .10627       -.86801E-06    .77448E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.433031
  Prefactor  = 5.071
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.64761
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 9.29524
  Prefactor  = 0.0001
  Prefactor  = 9.43176
  Prefactor  = 13.486
  norm       = 0.0001
  Prefactor  = 35.0438
  Prefactor  = 0.0001
  Prefactor  = 15.6882
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.04409
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.2279
  norm       = 1.28971
  Normalizat = 1.19792
  Prefactor  = 0.942618
 **********
 **   18 **HESSE 
 **********

 FCN=   6755.281     FROM HESSE     STATUS=OK           427 CALLS     3300 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43303        1.9705        .22159E-03   -1.5576    
   2  Prefactor     5.0710        5.9089        .89279E-03   -1.5258    
   3  Prefactor     .10000E-03    10.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.2128        .88285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.6476        4.8929        .14971E-03   -1.5192    
   6  Prefactor     .10000E-03    15.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.2807        .25625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.2952        16.167        .13146E-03   -1.5098    
   9  Prefactor     .10000E-03    2.7361        .13227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.4318        10.437        .13048E-03   -1.5094    
  11  Prefactor     13.486        23.996        .10905E-03   -1.4973    
  12  norm          .10000E-03    3.2275        .14391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.044        30.621        .67686E-04   -1.4523    
  14  Prefactor     .10000E-03    4.5732        .17165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.688        30.335        .10110E-03   -1.4916    
  16  norm          .10000E-03    .30440        .87040E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.4191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0441        2.0737        .19249E-02   -1.5504    
  20  Prefactor     .10000E-03    7.6951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    28.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          15.228        6.1837        .10264E-03   -1.4927    
  23  norm          1.2897        1.4209        .99391E-04   -1.5481    
  24  Normalizat    1.1979        .24599        .32421E-03   -.86667    
  25  Prefactor     .94262        .11915        .17874E-03   -.94667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.73309e-10
Minuit parameter uncertainties:
  1  1.84734
  2  5.90961
  3  3.77679e-05
  4  6.54055e-07
  5  4.89319
  6  0.000111794
  7  0.000292185
  8  16.1744
  9  1.66577e-06
  10  10.4393
  11  24.0128
  12  7.67361e-07
  13  30.6346
  14  1.46018e-06
  15  30.3647
  16  4.58078e-07
  17  0.000145444
  18  1.67186e-05
  19  2.0738
  20  5.74294e-05
  21  3.46676e-05
  22  6.18391
  23  1.42095
  24  0.246232
  25  0.119183
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  1.666e-06  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.426e-01  1.192e-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.198e+00  2.462e-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.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/168306/likelihoodResults_616204801_616464001_4FGL_J0710.9+4733_daily_bin1454.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) = 6755.28320043
delta logL = -0.00173996081867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6755.28146043
delta logL = 3.95593815483e-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.6629       1.0000          .0000       10.000    
     3 'Normalizat'    1.1979       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94262       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=   6755.281     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      252 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.347        .13258E-01** at limit **
   2  Index         2.2370        6.3602        .50000        .30579E-06
   3  Normalizat    1.1979        .16585E-01    .32421E-03    .13427E-03
   4  Prefactor     .94262        .82717E-02    .17874E-03    .28803E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23704
  Normalizat = 1.19792
  Prefactor  = 0.942618
 **********
 **   18 **HESSE 
 **********

 FCN=   6755.281     FROM HESSE     STATUS=OK            29 CALLS      281 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.962        .13742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2370        7.2022        .50000       -.58547    
   3  Normalizat    1.1979        .23321        .12968E-04   -.86667    
   4  Prefactor     .94262        .11638        .35748E-04   -.94667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84382e-09
Minuit parameter uncertainties:
  1  0.00012695
  2  300.066
  3  0.233411
  4  0.116412
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168306': 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) = 6755.28145914
delta logL = 1.32736840897e-06

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  1.269e-04  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.237e+00  3.001e+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:  9.426e-01  1.164e-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.198e+00  2.334e-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/168306/cmap_HighResolution_616204801_616464001_4FGL_J0710.9+4733_daily_bin1454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.81e-03', job_status='DONE', photon_flux_upper_limit='8.66e-08', time_completed='2021-08-26 21:29:09.859180', job_id='168306', GAL2='0.94', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630038549.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.33e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1454' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:29:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0256>
Subject: Job 168306: <4FGL_J0710.9+4733_daily_bin1454> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin1454> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 21:15:40 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 21:15:46 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:15:46 2021
Terminated at Thu Aug 26 21:29:10 2021
Results reported at Thu Aug 26 21:29:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin1454 107.732 47.553 616204801 616464001 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 :                                   781.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             335.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            810 sec.

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

