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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin781
RA = 107.732, Dec = 47.553
tmin = 441763201, tmax = 442022401
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='164882', job_status='RUN', time_executed='2021-08-26 21:08:06.017207', time_epoch_executed='1630037286.02' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='781'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164882

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164882/ft1_4FGL_J0710.9+4733_daily_bin781.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164882/ft2_4FGL_J0710.9+4733_daily_bin781.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164882/ft1_4FGL_J0710.9+4733_daily_bin781.fits outfile=/scratch/kocevski/164882/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin781.fits ra=107.732 dec=47.553 rad=12.0 tmin=441763201.0 tmax=442022401.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.53
user 3.24
sys 1.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/164882/ft2_4FGL_J0710.9+4733_daily_bin781.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/164882/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin781.fits evtable="EVENTS" outfile="/scratch/kocevski/164882/ft1_filtered_4FGL_J0710.9+4733_daily_bin781.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.58
user 0.33
sys 1.22

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164882/ft1_filtered_4FGL_J0710.9+4733_daily_bin781.fits" evtable="EVENTS" scfile=/scratch/kocevski/164882/ft2_4FGL_J0710.9+4733_daily_bin781.fits sctable="SC_DATA" outfile=/scratch/kocevski/164882/ltcube_441763201_442022401_4FGL_J0710.9+4733_daily_bin781.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/164882/ft2_4FGL_J0710.9+4733_daily_bin781.fits
.....................!
real 13.06
user 11.47
sys 1.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164882/ft1_filtered_4FGL_J0710.9+4733_daily_bin781.fits evtable="EVENTS" scfile=/scratch/kocevski/164882/ft2_4FGL_J0710.9+4733_daily_bin781.fits sctable="SC_DATA" expcube=/scratch/kocevski/164882/ltcube_441763201_442022401_4FGL_J0710.9+4733_daily_bin781.fits outfile=/scratch/kocevski/164882/expmap_441763201_442022401_4FGL_J0710.9+4733_daily_bin781.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/164882/ltcube_441763201_442022401_4FGL_J0710.9+4733_daily_bin781.fits
.....................!
real 192.32
user 185.93
sys 5.84

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/164882/ft1_filtered_4FGL_J0710.9+4733_daily_bin781.fits scfile=/scratch/kocevski/164882/ft2_4FGL_J0710.9+4733_daily_bin781.fits outfile=/scratch/kocevski/164882/cmap_441763201_442022401_4FGL_J0710.9+4733_daily_bin781.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.88
user 0.36
sys 1.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164882/ft1_filtered_4FGL_J0710.9+4733_daily_bin781.fits scfile=/scratch/kocevski/164882/ft2_4FGL_J0710.9+4733_daily_bin781.fits outfile=/scratch/kocevski/164882/cmap_HighResolution_441763201_442022401_4FGL_J0710.9+4733_daily_bin781.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.66
user 0.39
sys 1.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9594       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    13.744       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4562       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9646       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10501E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.623       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.796       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5592       1.0000         .10000E-03   10000.    
    12 'norm      '    .10173E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6972       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .97772       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.2063       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14136E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10718E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.1941       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    6.6721       1.0000         .10000E-03   10000.    
    23 'norm      '    1.7310       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .69885       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1141       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=   9403.175     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     2481 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9602        2.1958        .27828E-07    .59322E-06
   2  Prefactor     .10000E-03    3.5231       -.71553E-06** at limit **
   3  Prefactor     .10000E-03    9.2562        .18960E-04** at limit **
   4  norm          13.746        4.5541        .14042E-05   -.29442E-02
   5  norm          2.4575        2.8912       -.79111E-07   -.47042E-04
   6  Prefactor     .10000E-03    6.1113       -.25754E-05** at limit **
   7  norm          2.9677        4.0656       -.50900E-05    .78189E-03
   8  Prefactor     .10000E-03    4.4784        .23264E-05** at limit **
   9  Prefactor     13.622        2.0567       -.92380E-06    .69064E-03
  10  Prefactor     12.789        9.6133        .97596E-05    .46036E-02
  11  Prefactor     1.5429        47.822       -.15719E-04    .11831E-03
  12  norm          .10000E-03    2.6359        .24557E-06** at limit **
  13  Prefactor     8.6861        19.321        .27252E-04   -.24251E-02
  14  Prefactor     .98635        3.6813        .37798E-05   -.16452E-02
  15  Prefactor     .10000E-03    10.639        .83503E-05** at limit **
  16  norm          2.2066        1.0118       -.62472E-06   -.59101E-04
  17  Prefactor     .21223        87.485        .14792E-04    .18854E-04
  18  Prefactor     .10000E-03    9.2149       -.18162E-04** at limit **
  19  norm          1.1903        1.2095        .30351E-06    .91430E-04
  20  Prefactor     .10000E-03    2.4051       -.65355E-07** at limit **
  21  Prefactor     .10000E-03    14.890       -.10912E-04** at limit **
  22  norm          6.6733        2.6808        .43169E-05    .58647E-02
  23  norm          1.7306        1.8599       -.11054E-05   -.42753E-03
  24  Normalizat    .69808        .19978       -.45346E-05    .17128E-04
  25  Prefactor     1.1142        .10196        .61957E-06    .30534E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.96022
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 13.7457
  norm       = 2.45749
  Prefactor  = 0.0001
  norm       = 2.96774
  Prefactor  = 0.0001
  Prefactor  = 13.6222
  Prefactor  = 12.789
  Prefactor  = 1.54286
  norm       = 0.0001
  Prefactor  = 8.68612
  Prefactor  = 0.986346
  Prefactor  = 0.0001
  norm       = 2.20658
  Prefactor  = 0.212234
  Prefactor  = 0.000100002
  norm       = 1.19027
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.67333
  norm       = 1.7306
  Normalizat = 0.698079
  Prefactor  = 1.11419
 **********
 **   18 **HESSE 
 **********

 FCN=   9403.175     FROM HESSE     STATUS=OK           485 CALLS     2966 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9602        2.1937        .59013E-02   -1.5364    
   2  Prefactor     .10000E-03    3.5043        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.6679        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.746        4.9560        .27011E-02   -1.4966    
   5  norm          2.4575        2.9052        .65245E-02   -1.5394    
   6  Prefactor     .10000E-03    6.1072        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9677        5.4768        .58958E-02   -1.5363    
   8  Prefactor     .10000E-03    4.4768        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.622        6.6632        .27131E-02   -1.4970    
  10  Prefactor     12.789        17.652        .27994E-02   -1.4993    
  11  Prefactor     1.5429        50.016        .85205E-02   -1.5460    
  12  norm          .10000E-03    2.6249        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.6861        23.769        .33980E-02   -1.5118    
  14  Prefactor     .98635        6.6138        .13087       -1.5509    
  15  Prefactor     .10000E-03    10.645        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.2066        1.0242        .69238E-02   -1.5411    
  17  Prefactor     .21223        5.2117        .10258       -1.5616    
  18  Prefactor     .10000E-03    9.4098        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1903        1.1770        .10408E-01   -1.5490    
  20  Prefactor     .10000E-03    2.4001        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.875        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.6733        4.6908        .38837E-02   -1.5191    
  23  norm          1.7306        1.9882        .79768E-02   -1.5445    
  24  Normalizat    .69808        .18778        .88613E-01   -1.0397    
  25  Prefactor     1.1142        .93142E-01    .37073E-01   -.89014    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09924e-07
Minuit parameter uncertainties:
  1  2.19379
  2  4.36431e-06
  3  0.000408872
  4  4.9562
  5  2.90532
  6  2.17322e-05
  7  5.47769
  8  1.81852e-05
  9  6.66353
  10  17.6596
  11  17.5846
  12  1.10463e-06
  13  23.795
  14  5.10878
  15  3.11068e-05
  16  1.02418
  17  2.10314
  18  0.000298331
  19  1.17706
  20  2.19154e-07
  21  0.000172468
  22  4.69107
  23  1.98826
  24  0.187952
  25  0.0931554
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.362e+01  6.664e+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

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.114e+00  9.316e-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:  6.981e-01  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.90
Ra Dec: 107.732 47.553
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 1.07e-07 +/- 5.22e-08
Energy Flux (Fixed Index): 2.63e-05 +/- 1.29e-05

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): 0
logL (Free Index) = 9401.19740052
delta logL = 1.97766719825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9400.88010394
delta logL = 2.2949637717

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.600       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9450       1.0000          .0000       10.000    
     3 'Normalizat'    .74105       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0970       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=   9400.880     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.614        10.097        .22062E-02    .50466E-03
   2  Index         1.9451        .29696        .15618       -.37083E-04
   3  Normalizat    .74091        .17230        .86246E-01    .39716E-04
   4  Prefactor     1.0971        .91455E-01    .37701E-01   -.84729E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.6135
  Index      = 1.94506
  Normalizat = 0.740913
  Prefactor  = 1.09709
 **********
 **   18 **HESSE 
 **********

 FCN=   9400.880     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.614        9.1558        .44124E-03   -1.4800    
   2  Index         1.9451        .29522        .62838E-02   -.65731    
   3  Normalizat    .74091        .18874        .38199E-03   -1.0230    
   4  Prefactor     1.0971        .10035        .16939E-03   -.89560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41469e-10
Minuit parameter uncertainties:
  1  9.1564
  2  0.295499
  3  0.188901
  4  0.100368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164882': 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) = 9400.88010262
delta logL = 2.29496510059

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  2.061e+01  9.156e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  1.945e+00  2.955e-01  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.097e+00  1.004e-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.409e-01  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.49
Ra Dec: 107.732 47.553
Photon Index (Free Index): 1.95 +/- 0.30
Photon Flux (Free Index): 7.59e-08 +/- 4.05e-08
Energy Flux (Free Index): 6.03e-05 +/- 3.87e-05

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/164882/cmap_HighResolution_441763201_442022401_4FGL_J0710.9+4733_daily_bin781.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.07e-07', energy_flux2='6.03e-05', photon_flux_error='5.22e-08', dlogl='2.29e+00', energy_flux='2.63e-05', photon_flux2='7.59e-08', job_status='DONE', time_completed='2021-08-26 21:21:34.439283', photon_index_error2='0.30', photon_index2='1.95', ts='7.90', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='3.87e-05', EG='0.70', time_epoch_completed='1630038094.44', return_code='0', job_id='164882', GAL2='1.10', EG2='0.74', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='4.05e-08', ts2='12.49', photon_index='2.67' WHERE bin_id='781' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:21:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 164882: <4FGL_J0710.9+4733_daily_bin781> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin781> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 26 21:05:35 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 21:05:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 21:05:37 2021
Terminated at Thu Aug 26 21:21:35 2021
Results reported at Thu Aug 26 21:21:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin781 107.732 47.553 441763201 442022401 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 :                                   824.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            960 sec.

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

