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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin1581
RA = 107.732, Dec = 47.553
tmin = 649123201, tmax = 649382401
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='168499', job_status='RUN', time_executed='2021-08-26 21:16:23.740057', time_epoch_executed='1630037783.74' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='1581'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168499

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168499/ft1_4FGL_J0710.9+4733_daily_bin1581.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168499/ft2_4FGL_J0710.9+4733_daily_bin1581.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168499/ft1_4FGL_J0710.9+4733_daily_bin1581.fits outfile=/scratch/kocevski/168499/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin1581.fits ra=107.732 dec=47.553 rad=12.0 tmin=649123201.0 tmax=649382401.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.22
user 2.79
sys 0.39

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/168499/ft2_4FGL_J0710.9+4733_daily_bin1581.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/168499/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin1581.fits evtable="EVENTS" outfile="/scratch/kocevski/168499/ft1_filtered_4FGL_J0710.9+4733_daily_bin1581.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.72
user 0.31
sys 0.38

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168499/ft1_filtered_4FGL_J0710.9+4733_daily_bin1581.fits" evtable="EVENTS" scfile=/scratch/kocevski/168499/ft2_4FGL_J0710.9+4733_daily_bin1581.fits sctable="SC_DATA" outfile=/scratch/kocevski/168499/ltcube_649123201_649382401_4FGL_J0710.9+4733_daily_bin1581.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/168499/ft2_4FGL_J0710.9+4733_daily_bin1581.fits
.....................!
real 13.26
user 12.64
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168499/ft1_filtered_4FGL_J0710.9+4733_daily_bin1581.fits evtable="EVENTS" scfile=/scratch/kocevski/168499/ft2_4FGL_J0710.9+4733_daily_bin1581.fits sctable="SC_DATA" expcube=/scratch/kocevski/168499/ltcube_649123201_649382401_4FGL_J0710.9+4733_daily_bin1581.fits outfile=/scratch/kocevski/168499/expmap_649123201_649382401_4FGL_J0710.9+4733_daily_bin1581.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/168499/ltcube_649123201_649382401_4FGL_J0710.9+4733_daily_bin1581.fits
.....................!
real 190.98
user 185.73
sys 4.75

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/168499/ft1_filtered_4FGL_J0710.9+4733_daily_bin1581.fits scfile=/scratch/kocevski/168499/ft2_4FGL_J0710.9+4733_daily_bin1581.fits outfile=/scratch/kocevski/168499/cmap_649123201_649382401_4FGL_J0710.9+4733_daily_bin1581.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.75
user 0.39
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168499/ft1_filtered_4FGL_J0710.9+4733_daily_bin1581.fits scfile=/scratch/kocevski/168499/ft2_4FGL_J0710.9+4733_daily_bin1581.fits outfile=/scratch/kocevski/168499/cmap_HighResolution_649123201_649382401_4FGL_J0710.9+4733_daily_bin1581.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.76
user 0.37
sys 0.37

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7065       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9839       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.391       1.0000         .10000E-03   10000.    
     4 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .27230E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    69.115       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10315E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10829E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.146       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10541E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11377E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2266.5       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    22 'norm      '    1032.5       1.0000         .10000E-03   10000.    
    23 'norm      '    .10180E-01   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10016E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3056       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3628.202     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     3470 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7063        2.2245        .10583E-06   -.12924E-02
   2  Prefactor     7.9792        1.1318       -.76280E-08    .36917E-03
   3  Prefactor     21.364        5.0035        .57847E-07   -.37256E-02
   4  norm          .10000E-03    3.3317       -.28775E-08** at limit **
   5  norm          .10021E-03    1.5803       -.12439E-06** at limit **
   6  Prefactor     69.111        1.2536        .50755E-08   -.22376E-03
   7  norm          .10000E-03    3.0423        .23965E-07** at limit **
   8  Prefactor     .10000E-03    12.990       -.23332E-06** at limit **
   9  Prefactor     .10000E-03    3.2524       -.12699E-07** at limit **
  10  Prefactor     .10000E-03    12.903        .15956E-06** at limit **
  11  Prefactor     .10000E-03    7.9079       -.48261E-07** at limit **
  12  norm          .10000E-03    5.4797       -.14990E-06** at limit **
  13  Prefactor     .10001E-03    38.040        .56161E-07** at limit **
  14  Prefactor     22.038        22.142        .26335E-06   -.23548E-02
  15  Prefactor     .10000E-03    20.967        .29517E-07** at limit **
  16  norm          .10000E-03    1.5256        .10920E-06** at limit **
  17  Prefactor     .10005E-03    44.328        .62628E-06** at limit **
  18  Prefactor     .10002E-03    86.844        .28789E-06** at limit **
  19  norm          .10000E-03    17.389        .39800E-06** at limit **
  20  Prefactor     2266.5        1.1494        .73918E-09    .16043E-02
  21  Prefactor    10000.0        463.57       -.24178E-05** at limit **
  22  norm          1032.5        4.1225        .71273E-08    .10649E-01
  23  norm          .18133E-02    161.67        .14025E-05** at limit **
  24  Normalizat    .10000E-01    8.2299       -.22905E-05** at limit **
  25  Prefactor     1.3057        .83380E-01    .39145E-06   -.17557E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70634
  Prefactor  = 7.97916
  Prefactor  = 21.3644
  norm       = 0.0001
  norm       = 0.000100209
  Prefactor  = 69.1112
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 22.0382
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100052
  Prefactor  = 0.000100024
  norm       = 0.000100005
  Prefactor  = 2266.52
  Prefactor  = 10000
  norm       = 1032.48
  norm       = 0.00181334
  Normalizat = 0.01
  Prefactor  = 1.30567
 **********
 **   18 **HESSE 
 **********

 FCN=   3628.202     FROM HESSE     STATUS=OK           471 CALLS     3941 TOTAL
                     EDM=   .59E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7063        2.2415        .80470E-02   -1.5447    
   2  Prefactor     7.9792        10.972        .35475E-02   -1.5143    
   3  Prefactor     21.364        37.160        .21650E-02   -1.4783    
   4  norm          .10000E-03    3.3016        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10021E-03    4.1637        .69887E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     69.111        46.475        .12071E-02   -1.4043    
   7  norm          .10000E-03    3.0301        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.373        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.2467        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.057        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.9056        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.4712        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    38.368        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.038        54.313        .21279E-02   -1.4769    
  15  Prefactor     .10000E-03    21.033        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.5236        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10005E-03    44.828        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    87.007        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    17.525        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2266.5        1764.0        .23885E-03   -.57841    
  21  Prefactor    10000.0        656.34        .90712E-02    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1032.5        613.46        .32864E-03   -.91655    
  23  norm          .18133E-02    1413.9        .90739E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .39163        .32094       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.3057        .12926        .32513E-01   -.83139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.9116e-06
Minuit parameter uncertainties:
  1  2.24162
  2  10.975
  3  37.2
  4  1.29908e-06
  5  0.00186589
  6  46.4991
  7  1.02988e-05
  8  0.000346586
  9  5.65603e-06
  10  0.000212845
  11  3.33932e-05
  12  8.66274e-05
  13  0.00107369
  14  54.4353
  15  2.95918e-05
  16  3.32859e-05
  17  0.00305706
  18  0.00287721
  19  0.00058491
  20  1820.85
  21  0.373993
  22  617.691
  23  3.19135
  24  1.16809e-05
  25  0.129297
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  5.656e-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:  1.306e+00  1.293e-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.000e-02  1.168e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 107.732 47.553
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/168499/likelihoodResults_649123201_649382401_4FGL_J0710.9+4733_daily_bin1581.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) = 3628.20310278
delta logL = -0.0014164425711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3628.20168834
delta logL = -1.99424812308e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11316E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6544       1.0000          .0000       10.000    
     3 'Normalizat'    .10003E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3057       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=   3628.202     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      279 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.510        .10722E-01** at limit **
   2  Index         2.0110        8.9452        .50000        .51796E-06
   3  Normalizat    .10000E-01    .57035E-02    .20777    ** at limit **
   4  Prefactor     1.3057        .11450E-01    .14344E-03   -.30595E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.01098
  Normalizat = 0.01
  Prefactor  = 1.30567
 **********
 **   18 **HESSE 
 **********

 FCN=   3628.202     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      318 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    320.70        .12132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0110        5.9780        .50000       -.64076    
   3  Normalizat    .10000E-01    .48689E-01    .21902       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3057        .35165E-01    .28689E-04   -.83139    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.13219e-09
Minuit parameter uncertainties:
  1  0.000614809
  2  1111.24
  3  3.73606e-06
  4  0.0351656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168499': 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) = 3628.20168271
delta logL = 3.62901573681e-06

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.000e-04  6.148e-04  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.011e+00  1.111e+03  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.306e+00  3.517e-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:  1.000e-02  3.736e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 107.732 47.553

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/168499/cmap_HighResolution_649123201_649382401_4FGL_J0710.9+4733_daily_bin1581.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-08-26 21:26:36.332011', job_id='168499', GAL2='1.31', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630038396.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='3.63e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1581' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:26:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 168499: <4FGL_J0710.9+4733_daily_bin1581> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin1581 107.732 47.553 649123201 649382401 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 :                                   610.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            641 sec.

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

