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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin1519
RA = 107.732, Dec = 47.553
tmin = 633052801, tmax = 633312001
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='168407', job_status='RUN', time_executed='2021-08-26 21:16:26.039526', time_epoch_executed='1630037786.04' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='1519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/168407

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/168407/ft1_4FGL_J0710.9+4733_daily_bin1519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/168407/ft2_4FGL_J0710.9+4733_daily_bin1519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/168407/ft1_4FGL_J0710.9+4733_daily_bin1519.fits outfile=/scratch/kocevski/168407/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin1519.fits ra=107.732 dec=47.553 rad=12.0 tmin=633052801.0 tmax=633312001.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.51
user 3.37
sys 1.05

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/168407/ft1_filtered_4FGL_J0710.9+4733_daily_bin1519.fits" evtable="EVENTS" scfile=/scratch/kocevski/168407/ft2_4FGL_J0710.9+4733_daily_bin1519.fits sctable="SC_DATA" outfile=/scratch/kocevski/168407/ltcube_633052801_633312001_4FGL_J0710.9+4733_daily_bin1519.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/168407/ft2_4FGL_J0710.9+4733_daily_bin1519.fits
.....................!
real 13.01
user 11.68
sys 1.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/168407/ft1_filtered_4FGL_J0710.9+4733_daily_bin1519.fits evtable="EVENTS" scfile=/scratch/kocevski/168407/ft2_4FGL_J0710.9+4733_daily_bin1519.fits sctable="SC_DATA" expcube=/scratch/kocevski/168407/ltcube_633052801_633312001_4FGL_J0710.9+4733_daily_bin1519.fits outfile=/scratch/kocevski/168407/expmap_633052801_633312001_4FGL_J0710.9+4733_daily_bin1519.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/168407/ltcube_633052801_633312001_4FGL_J0710.9+4733_daily_bin1519.fits
.....................!
real 193.35
user 186.46
sys 5.72

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/168407/ft1_filtered_4FGL_J0710.9+4733_daily_bin1519.fits scfile=/scratch/kocevski/168407/ft2_4FGL_J0710.9+4733_daily_bin1519.fits outfile=/scratch/kocevski/168407/cmap_633052801_633312001_4FGL_J0710.9+4733_daily_bin1519.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.37
user 0.37
sys 0.98

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/168407/ft1_filtered_4FGL_J0710.9+4733_daily_bin1519.fits scfile=/scratch/kocevski/168407/ft2_4FGL_J0710.9+4733_daily_bin1519.fits outfile=/scratch/kocevski/168407/cmap_HighResolution_633052801_633312001_4FGL_J0710.9+4733_daily_bin1519.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.38
user 0.38
sys 0.98

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7328       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2862       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0220       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1166       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.533       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.551       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.646       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3516       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6184       1.0000         .10000E-03   10000.    
    16 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.4238       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.9050       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.104       1.0000         .10000E-03   10000.    
    22 'norm      '    7.1621       1.0000         .10000E-03   10000.    
    23 'norm      '    3.9139       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4313       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .83520       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=   9485.903     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2919 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7326        2.9402       -.24008E-06   -.23825E-03
   2  Prefactor     3.2860        3.3171        .83033E-06    .27865E-03
   3  Prefactor     7.0224        23.915        .88877E-06   -.27185E-04
   4  norm          .10000E-03    1.5343        .47017E-07** at limit **
   5  norm          .10000E-03    1.3848       -.24427E-08** at limit **
   6  Prefactor     .10000E-03    8.1941        .11816E-06** at limit **
   7  norm          2.1170        3.6157       -.10933E-05   -.68561E-03
   8  Prefactor     15.532        12.591        .22851E-06   -.12427E-05
   9  Prefactor     15.553        7.2406        .11944E-05   -.13327E-03
  10  Prefactor     .10000E-03    42.985        .57480E-05** at limit **
  11  Prefactor     .10000E-03    22.847        .70639E-07** at limit **
  12  norm          .10000E-03    2.9744        .22032E-08** at limit **
  13  Prefactor     17.645        17.307        .31376E-06   -.67394E-04
  14  Prefactor     8.3523        11.595        .11707E-06   -.47014E-04
  15  Prefactor     6.6037        40.957       -.34790E-04   -.66655E-04
  16  norm          .10000E-03    .25911        .22305E-06** at limit **
  17  Prefactor     5.4240        14.056        .46572E-05   -.44799E-04
  18  Prefactor     .10000E-03    3.9544       -.11752E-06** at limit **
  19  norm          .10000E-03    .76906       -.14546E-06** at limit **
  20  Prefactor     8.8994        10.788       -.17830E-04   -.50343E-03
  21  Prefactor     11.163        53.679        .14452E-03    .59651E-04
  22  norm          7.1622        5.6697       -.28522E-06   -.37570E-03
  23  norm          3.9140        2.2670        .57189E-07   -.18603E-03
  24  Normalizat    1.4312        .19653       -.42609E-05    .76626E-04
  25  Prefactor     .83525        .90283E-01    .12369E-05   -.51232E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.73261
  Prefactor  = 3.28604
  Prefactor  = 7.02245
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.11695
  Prefactor  = 15.5323
  Prefactor  = 15.5529
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.6448
  Prefactor  = 8.35231
  Prefactor  = 6.6037
  norm       = 0.0001
  Prefactor  = 5.42395
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.89936
  Prefactor  = 11.1626
  norm       = 7.16219
  norm       = 3.91398
  Normalizat = 1.43122
  Prefactor  = 0.835251
 **********
 **   18 **HESSE 
 **********

 FCN=   9485.903     FROM HESSE     STATUS=OK           433 CALLS     3352 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7326        2.9472        .12638E-03   -1.5273    
   2  Prefactor     3.2860        3.3247        .17378E-03   -1.5345    
   3  Prefactor     7.0224        23.936        .15139E-03   -1.5178    
   4  norm          .10000E-03    1.5429        .11777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.4011        .11189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.2034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1170        3.5808        .22925E-03   -1.5417    
   8  Prefactor     15.532        12.591        .10162E-03   -1.4920    
   9  Prefactor     15.553        7.2314        .10156E-03   -1.4919    
  10  Prefactor     .10000E-03    44.016        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.9870        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.645        17.294        .95343E-04   -1.4868    
  14  Prefactor     8.3523        11.601        .13872E-03   -1.5130    
  15  Prefactor     6.6037        40.743        .15598E-03   -1.5194    
  16  norm          .10000E-03    .47247        .95624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.4240        13.958        .17254E-03   -1.5242    
  18  Prefactor     .10000E-03    3.9561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .77178        .83335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.8994        10.808        .13432E-03   -1.5111    
  21  Prefactor     11.163        53.468        .12023E-03   -1.5040    
  22  norm          7.1622        5.6639        .14989E-03   -1.5173    
  23  norm          3.9140        2.2637        .10341E-03   -1.5312    
  24  Normalizat    1.4312        .22719        .30949E-03   -.79730    
  25  Prefactor     .83525        .10409        .19316E-03   -.98442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99194e-09
Minuit parameter uncertainties:
  1  2.94728
  2  3.32486
  3  23.9687
  4  7.73732e-06
  5  1.87689e-06
  6  5.20022e-06
  7  3.58111
  8  12.5929
  9  7.23178
  10  0.000816429
  11  7.58067e-05
  12  6.65636e-07
  13  17.2986
  14  11.6039
  15  32.8387
  16  1.28531e-05
  17  13.9659
  18  1.46402e-05
  19  9.73804e-06
  20  10.8104
  21  48.9318
  22  5.6643
  23  2.26376
  24  0.227347
  25  0.104118
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.555e+01  7.232e+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:  8.353e-01  1.041e-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.431e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.71
Ra Dec: 107.732 47.553
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 1.22e-07 +/- 5.66e-08
Energy Flux (Fixed Index): 3.01e-05 +/- 1.40e-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) = 9485.80368552
delta logL = 0.0996362646947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9485.80331913
delta logL = 0.100002661211

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.754       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4815       1.0000          .0000       10.000    
     3 'Normalizat'    1.4453       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83019       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9485.803     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      306 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.746        9.2177        .47527E-03   -.60758E-05
   2  Index         2.4809        .41575        .66532E-02    .16766E-04
   3  Normalizat    1.4454        .20882        .30822E-03   -.28770E-05
   4  Prefactor     .83019        .10155        .19366E-03   -.81014E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7461
  Index      = 2.48093
  Normalizat = 1.44539
  Prefactor  = 0.830194
 **********
 **   18 **HESSE 
 **********

 FCN=   9485.803     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.746        9.0259        .19011E-04   -1.4865    
   2  Index         2.4809        .40682        .26613E-03   -.52801    
   3  Normalizat    1.4454        .20890        .12329E-04   -.79325    
   4  Prefactor     .83019        .10157        .77462E-05   -.98625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21182e-13
Minuit parameter uncertainties:
  1  9.02656
  2  0.407427
  3  0.209023
  4  0.101594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/168407': 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) = 9485.80331689
delta logL = 0.100004900965

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.775e+01  9.027e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  2.481e+00  4.074e-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:  8.302e-01  1.016e-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.445e+00  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.87
Ra Dec: 107.732 47.553
Photon Index (Free Index): 2.48 +/- 0.41
Photon Flux (Free Index): 1.11e-07 +/- 5.77e-08
Energy Flux (Free Index): 3.29e-05 +/- 1.67e-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/168407/cmap_HighResolution_633052801_633312001_4FGL_J0710.9+4733_daily_bin1519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.22e-07', energy_flux2='3.29e-05', photon_flux_error='5.66e-08', dlogl='1.00e-01', energy_flux='3.01e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2021-08-26 21:31:05.886228', photon_index_error2='0.41', photon_index2='2.48', ts='7.71', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='1.43', time_epoch_completed='1630038665.89', return_code='0', job_id='168407', GAL2='0.83', EG2='1.45', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='5.77e-08', ts2='7.87', photon_index='2.67' WHERE bin_id='1519' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:31:05 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin1519 107.732 47.553 633052801 633312001 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 :                                   889.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             385.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            917 sec.

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

