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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin983
RA = 107.732, Dec = 47.553
tmin = 494121601, tmax = 494380801
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='165239', job_status='RUN', time_executed='2021-08-26 21:06:32.435652', time_epoch_executed='1630037192.44' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/165239

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/165239/ft1_4FGL_J0710.9+4733_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/165239/ft2_4FGL_J0710.9+4733_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/165239/ft1_4FGL_J0710.9+4733_daily_bin983.fits outfile=/scratch/kocevski/165239/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin983.fits ra=107.732 dec=47.553 rad=12.0 tmin=494121601.0 tmax=494380801.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.64
user 3.49
sys 1.10

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/165239/ft1_filtered_4FGL_J0710.9+4733_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/165239/ft2_4FGL_J0710.9+4733_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/165239/ltcube_494121601_494380801_4FGL_J0710.9+4733_daily_bin983.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/165239/ft2_4FGL_J0710.9+4733_daily_bin983.fits
.....................!
real 12.94
user 11.61
sys 1.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/165239/ft1_filtered_4FGL_J0710.9+4733_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/165239/ft2_4FGL_J0710.9+4733_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/165239/ltcube_494121601_494380801_4FGL_J0710.9+4733_daily_bin983.fits outfile=/scratch/kocevski/165239/expmap_494121601_494380801_4FGL_J0710.9+4733_daily_bin983.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/165239/ltcube_494121601_494380801_4FGL_J0710.9+4733_daily_bin983.fits
.....................!
real 193.94
user 187.66
sys 5.88

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/165239/ft1_filtered_4FGL_J0710.9+4733_daily_bin983.fits scfile=/scratch/kocevski/165239/ft2_4FGL_J0710.9+4733_daily_bin983.fits outfile=/scratch/kocevski/165239/cmap_494121601_494380801_4FGL_J0710.9+4733_daily_bin983.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 1.40
user 0.37
sys 1.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/165239/ft1_filtered_4FGL_J0710.9+4733_daily_bin983.fits scfile=/scratch/kocevski/165239/ft2_4FGL_J0710.9+4733_daily_bin983.fits outfile=/scratch/kocevski/165239/cmap_HighResolution_494121601_494380801_4FGL_J0710.9+4733_daily_bin983.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 1.40
user 0.38
sys 0.99

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4405       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2190       1.0000         .10000E-03   10000.    
     4 'norm      '    1.8658       1.0000         .10000E-03   10000.    
     5 'norm      '    2.7006       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1683       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.812       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .60210E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1792       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    8.3937       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.7462       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0462       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95662       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=   7806.480     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2918 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.6467       -.12684E-06** at limit **
   2  Prefactor     5.4405        6.3571       -.60577E-07   -.28444E-03
   3  Prefactor     8.2210        32.571        .34591E-05    .64959E-05
   4  norm          1.8657        1.7368        .23823E-07   -.14434E-02
   5  norm          2.7005        3.1075        .81185E-07   -.80589E-03
   6  Prefactor     .10000E-03    19.875        .11174E-05** at limit **
   7  norm          2.1682        2.7788       -.14249E-06   -.16905E-04
   8  Prefactor     .10000E-03    5.6052       -.28978E-05** at limit **
   9  Prefactor     .10000E-03    4.5596       -.76704E-06** at limit **
  10  Prefactor     .10000E-03    12.078        .37079E-05** at limit **
  11  Prefactor     .10000E-03    16.563       -.83089E-05** at limit **
  12  norm          .10000E-03    3.4027        .57524E-07** at limit **
  13  Prefactor     13.809        18.181       -.80854E-06    .26218E-04
  14  Prefactor     .10000E-03    5.3445        .32590E-05** at limit **
  15  Prefactor     .10000E-03    21.181        .70099E-05** at limit **
  16  norm          .60275E-01    .39452       -.78511E-09   -.72589E-04
  17  Prefactor     6.1793        11.498       -.89756E-07   -.29048E-04
  18  Prefactor     .10000E-03    9.9714       -.66974E-06** at limit **
  19  norm          8.3938        3.3766       -.14592E-06   -.23764E-04
  20  Prefactor     .10000E-03    2.9882        .43360E-07** at limit **
  21  Prefactor     .10000E-03    43.752       -.15782E-05** at limit **
  22  norm          .10000E-03    .88759       -.28544E-07** at limit **
  23  norm          2.7462        1.6248        .15877E-07   -.73019E-05
  24  Normalizat    1.0461        .18002       -.85635E-07    .30551E-05
  25  Prefactor     .95665        .93200E-01    .44389E-07   -.81680E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.4405
  Prefactor  = 8.221
  norm       = 1.86571
  norm       = 2.7005
  Prefactor  = 0.0001
  norm       = 2.16816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.8091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0602753
  Prefactor  = 6.17932
  Prefactor  = 0.0001
  norm       = 8.39377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.74622
  Normalizat = 1.04608
  Prefactor  = 0.956645
 **********
 **   18 **HESSE 
 **********

 FCN=   7806.480     FROM HESSE     STATUS=OK           427 CALLS     3345 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7011        .22131E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4405        6.4724        .86137E-03   -1.5241    
   3  Prefactor     8.2210        32.616        .13984E-03   -1.5134    
   4  norm          1.8657        3.7869        .11847E-02   -1.5435    
   5  norm          2.7005        3.3303        .86580E-03   -1.5379    
   6  Prefactor     .10000E-03    20.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1682        2.7707        .16197E-03   -1.5413    
   8  Prefactor     .10000E-03    5.6081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.6756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.4270        .15914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.809        18.131        .10778E-03   -1.4965    
  14  Prefactor     .10000E-03    5.3621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    21.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .60275E-01    .82869        .10630E-02   -1.5659    
  17  Prefactor     6.1793        11.499        .16150E-03   -1.5211    
  18  Prefactor     .10000E-03    10.005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.3938        3.3744        .96342E-04   -1.5128    
  20  Prefactor     .10000E-03    3.0015        .14915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    44.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .88894        .81283E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7462        1.6218        .84272E-04   -1.5377    
  24  Normalizat    1.0461        .20397        .31300E-03   -.91502    
  25  Prefactor     .95665        .10675        .17318E-03   -.94189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81731e-08
Minuit parameter uncertainties:
  1  3.79304e-07
  2  6.47325
  3  32.6864
  4  3.78739
  5  3.33053
  6  4.71469e-06
  7  2.77084
  8  9.68509e-07
  9  4.22601e-06
  10  1.8113e-07
  11  1.68014e-05
  12  5.20179e-07
  13  18.138
  14  9.70135e-07
  15  5.86053e-06
  16  0.446625
  17  11.5035
  18  2.63644e-06
  19  3.37448
  20  7.58812e-07
  21  1.46542e-05
  22  6.25428e-08
  23  1.62178
  24  0.204126
  25  0.106774
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  4.226e-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.566e-01  1.068e-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.046e+00  2.041e-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.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/165239/likelihoodResults_494121601_494380801_4FGL_J0710.9+4733_daily_bin983.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) = 7806.48148672
delta logL = -0.00102071343099

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7806.48046572
delta logL = 2.77341314359e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7024       1.0000          .0000       10.000    
     3 'Normalizat'    1.0462       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95659       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=   7806.480     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      283 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    13.157        .36285E-03** at limit **
   2  Index         2.7490        6.1251        .50000       -.92755E-04
   3  Normalizat    1.0461        .19650        .31300E-03    .19759E-04
   4  Prefactor     .95665        .10522        .17318E-03    .30473E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100049
  Index      = 2.74898
  Normalizat = 1.04608
  Prefactor  = 0.956645
 **********
 **   18 **HESSE 
 **********

 FCN=   7806.480     FROM HESSE     STATUS=OK            29 CALLS      312 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    5.6061        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7490        6.3645        .50000       -.46699    
   3  Normalizat    1.0461        .19661        .12520E-04   -.91502    
   4  Prefactor     .95665        .10528        .34636E-04   -.94189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50679e-08
Minuit parameter uncertainties:
  1  0.00105075
  2  4.52902
  3  0.196746
  4  0.105303
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/165239': 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) = 7806.48046447
delta logL = 1.53115615831e-06

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  1.051e-03  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.749e+00  4.529e+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.566e-01  1.053e-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.046e+00  1.967e-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/165239/cmap_HighResolution_494121601_494380801_4FGL_J0710.9+4733_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.62e-03', job_status='DONE', photon_flux_upper_limit='8.42e-08', time_completed='2021-08-26 21:21:17.650066', job_id='165239', GAL2='0.96', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630038077.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.53e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='983' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:21:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 165239: <4FGL_J0710.9+4733_daily_bin983> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin983 107.732 47.553 494121601 494380801 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 :                                   894.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            913 sec.

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

