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


Performing analysis on: 4FGL_J0710.4+5908_daily_bin1322
RA = 107.623, Dec = 59.1352
tmin = 581990401, tmax = 582249601
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='144911', job_status='RUN', time_executed='2021-08-26 20:01:56.225729', time_epoch_executed='1630033316.23' WHERE source_name='4FGL J0710.4+5908' and cadence='daily' and bin_id='1322'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/144911

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/144911/ft1_4FGL_J0710.4+5908_daily_bin1322.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/144911/ft1_4FGL_J0710.4+5908_daily_bin1322.fits outfile=/scratch/kocevski/144911/ft1_filteredMKT_4FGL_J0710.4+5908_daily_bin1322.fits ra=107.623 dec=59.1352 rad=12.0 tmin=581990401.0 tmax=582249601.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 7.45
user 2.19
sys 5.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.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/144911/ft1_filteredMKT_4FGL_J0710.4+5908_daily_bin1322.fits evtable="EVENTS" outfile="/scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.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 5.63
user 0.32
sys 5.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.fits" evtable="EVENTS" scfile=/scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits sctable="SC_DATA" outfile=/scratch/kocevski/144911/ltcube_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.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/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits
.....................!
real 18.13
user 12.01
sys 6.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.fits evtable="EVENTS" scfile=/scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits sctable="SC_DATA" expcube=/scratch/kocevski/144911/ltcube_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.fits outfile=/scratch/kocevski/144911/expmap_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.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/144911/ltcube_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.fits
.....................!
real 196.80
user 185.24
sys 10.97

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
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Added 204 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0710.4+5908 @ 107.623 59.1352

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.fits scfile=/scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits outfile=/scratch/kocevski/144911/cmap_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.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.623 yref=59.1352 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 5.45
user 0.37
sys 5.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.fits scfile=/scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits outfile=/scratch/kocevski/144911/cmap_HighResolution_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.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.623 yref=59.1352 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 5.47
user 0.37
sys 5.07

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.fits evtable="EVENTS" scfile=/scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/144911/Model_4FGL_J0710.4+5908_daily_bin1322.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 G150.3+4.5
adding source GAL_V02
Working on...
/scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.fits.....................!
real 79.07
user 70.83
sys 7.79

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.fits', '/scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits', expMap='/scratch/kocevski/144911/expmap_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.fits', expCube='/scratch/kocevski/144911/ltcube_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/144911/Model_4FGL_J0710.4+5908_daily_bin1322.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0710.4+5908'

4FGL J0710.4+5908
   Spectrum: PowerLaw
266    Prefactor:  2.350e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  4.959e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/144911/ft1_filtered_4FGL_J0710.4+5908_daily_bin1322.fits
Spacecraft file(s): /scratch/kocevski/144911/ft2_4FGL_J0710.4+5908_daily_bin1322.fits
Exposure map: /scratch/kocevski/144911/expmap_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.fits
Exposure cube: /scratch/kocevski/144911/ltcube_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/144911/Model_4FGL_J0710.4+5908_daily_bin1322.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) = 6257.81781713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.023       1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.517       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10637E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.424       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .86598       1.0000         .10000E-03   10000.    
     7 'norm      '    7.8286       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.405       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.867       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.597       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    70.330       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10565E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .22804       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.5404       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.610       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.1989       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .87827       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1469       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6257.804     FROM MIGRAD    STATUS=CONVERGED    662 CALLS     3322 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.762        104.89       -.34615E-05   -.44260E-04
   2  Prefactor     31.505        42.640        .23039E-06   -.17138E-04
   3  Prefactor     .10000E-03    50.529        .90604E-06** at limit **
   4  Prefactor     .10000E-03    11.756        .60618E-07** at limit **
   5  Prefactor     38.442        63.387       -.91727E-06   -.88112E-04
   6  Prefactor     .62063        67.084        .73723E-05   -.19505E-03
   7  norm          7.8278        8.0115        .20971E-05    .14524E-03
   8  norm          .10000E-03    10.628       -.50045E-06** at limit **
   9  Prefactor     18.406        17.422       -.15736E-06   -.71789E-04
  10  Prefactor     21.864        16.331        .10391E-06   -.80256E-05
  11  Prefactor     16.583        36.546       -.64623E-06   -.25859E-04
  12  Prefactor     .10000E-03    13.811        .25128E-06** at limit **
  13  Prefactor     .10000E-03    12.141        .15929E-06** at limit **
  14  Prefactor     70.420        52.432        .23985E-06   -.47027E-04
  15  Prefactor     .10000E-03    55.821        .11358E-06** at limit **
  16  norm          .22817        .71110        .73336E-06    .39360E-03
  17  Prefactor     .10000E-03    6.6246       -.56509E-07** at limit **
  18  Prefactor     .10000E-03    7.6531        .90439E-07** at limit **
  19  norm          .10000E-03    .57156        .70252E-07** at limit **
  20  Prefactor     .10000E-03    14.766        .22796E-06** at limit **
  21  norm          .10000E-03    1.9874        .62304E-07** at limit **
  22  norm          4.5403        2.0341        .18577E-07   -.84572E-04
  23  Prefactor     .10000E-03    .52622        .33067E-06** at limit **
  24  Prefactor     10.610        9.6938        .12362E-06   -.41236E-04
  25  Prefactor     7.1985        7.4123        .51961E-06   -.48535E-04
  26  Normalizat    .87811        .25118       -.76992E-05   -.31214E-03
  27  Prefactor     1.1471        .14304        .24534E-05   -.76399E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.762
  Prefactor  = 31.505
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.4424
  Prefactor  = 0.620632
  norm       = 7.82775
  norm       = 0.0001
  Prefactor  = 18.4065
  Prefactor  = 21.8643
  Prefactor  = 16.5834
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.4202
  Prefactor  = 0.0001
  norm       = 0.228168
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.54025
  Prefactor  = 0.0001
  Prefactor  = 10.6096
  Prefactor  = 7.19854
  Normalizat = 0.878109
  Prefactor  = 1.14707
 **********
 **   18 **HESSE 
 **********

 FCN=   6257.804     FROM HESSE     STATUS=OK           494 CALLS     3816 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.762        105.61        .37184E-03   -1.4635    
   2  Prefactor     31.505        42.670        .71372E-04   -1.4585    
   3  Prefactor     .10000E-03    50.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.442        63.500        .64660E-04   -1.4467    
   6  Prefactor     .62063        64.623        .16273       -1.5550    
   7  norm          7.8278        8.1081        .71656E-03   -1.5148    
   8  norm          .10000E-03    10.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.406        17.423        .93357E-04   -1.4850    
  10  Prefactor     21.864        16.277        .85655E-04   -1.4772    
  11  Prefactor     16.583        36.431        .98312E-04   -1.4893    
  12  Prefactor     .10000E-03    13.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     70.420        52.361        .47867E-04   -1.4028    
  15  Prefactor     .10000E-03    55.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .22817        .71231        .11410E-03   -1.5612    
  17  Prefactor     .10000E-03    6.6358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.6575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .57412        .58418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.0061        .10882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.5403        2.0336        .73386E-04   -1.5282    
  23  Prefactor     .10000E-03    .75785        .11164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.610        9.6853        .12300E-03   -1.5056    
  25  Prefactor     7.1985        7.4054        .14950E-03   -1.5171    
  26  Normalizat    .87811        .26426        .36816E-03   -.97234    
  27  Prefactor     1.1471        .15232        .19287E-03   -.87976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91368e-10
Minuit parameter uncertainties:
  1  106.303
  2  42.7113
  3  5.80373e-05
  4  3.67207e-06
  5  63.6124
  6  12.6791
  7  8.1092
  8  4.23125e-05
  9  17.4282
  10  16.2802
  11  36.4796
  12  1.65005e-05
  13  2.12334e-05
  14  52.3955
  15  1.14678e-05
  16  0.712332
  17  5.25826e-06
  18  6.43649e-06
  19  1.79809e-06
  20  1.61778e-05
  21  3.29566e-06
  22  2.03367
  23  5.45632e-06
  24  9.68671
  25  7.40635
  26  0.264646
  27  0.152382
Done.

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

Extracting fit parameters...

4FGL J0710.4+5908
   Spectrum: PowerLaw
266    Prefactor:  1.841e+01  1.743e+01  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.689e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
268        Scale:  4.959e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
660    Prefactor:  1.147e+00  1.524e-01  0.000e+00  1.000e+01 ( 1.000e+00)
661        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
662        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  8.781e-01  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.85
Ra Dec: 107.623 59.135
Photon Index (Fixed Index): 1.69 +/- 0.00
Photon Flux (Fixed Index): 1.93e-08 +/- 1.83e-08
Energy Flux (Fixed Index): 3.27e-05 +/- 3.10e-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) = 6257.48426652
delta logL = 0.31945840984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6257.48061993
delta logL = 0.323104995979

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.136       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1375       1.0000          .0000       10.000    
     3 'Normalizat'    .88460       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1486       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6630E+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=   6257.481     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      267 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.152        21.069        .89258E-04   -.98074E-05
   2  Index         1.1379        .69642        .11332E-01    .22001E-05
   3  Normalizat    .88445        .24882        .36694E-03   -.73398E-04
   4  Prefactor     1.1487        .14814        .19275E-03    .13157E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.1518
  Index      = 1.13791
  Normalizat = 0.884449
  Prefactor  = 1.14869
 **********
 **   18 **HESSE 
 **********

 FCN=   6257.481     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.152        21.263        .35703E-05   -1.4810    
   2  Index         1.1379        .70279        .45328E-03   -.88264    
   3  Normalizat    .88445        .24895        .14677E-04   -.97009    
   4  Prefactor     1.1487        .14822        .38549E-04   -.87925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.467e-10
Minuit parameter uncertainties:
  1  21.2707
  2  0.708657
  3  0.249278
  4  0.148275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/144911': 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) = 6257.48061936
delta logL = 0.323105562166

Extracting fit parameters...

4FGL J0710.4+5908
   Spectrum: PowerLaw
266    Prefactor:  2.015e+01  2.127e+01  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.138e+00  7.087e-01  0.000e+00  1.000e+01 (-1.000e+00)
268        Scale:  4.959e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
660    Prefactor:  1.149e+00  1.483e-01  0.000e+00  1.000e+01 ( 1.000e+00)
661        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
662        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  8.844e-01  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.49
Ra Dec: 107.623 59.135
Photon Index (Free Index): 1.14 +/- 0.71
Photon Flux (Free Index): 7.63e-09 +/- 1.11e-08
Energy Flux (Free Index): 7.64e-05 +/- 1.06e-04

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/144911/cmap_HighResolution_581990401_582249601_4FGL_J0710.4+5908_daily_bin1322.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='7.64e-05', photon_flux_error='1.83e-08', dlogl='3.23e-01', energy_flux='3.27e-05', photon_flux2='7.63e-09', job_status='DONE', time_completed='2021-08-26 20:15:37.783878', photon_index_error2='0.71', photon_index2='1.14', ts='7.85', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.06e-04', EG='0.88', time_epoch_completed='1630034137.78', return_code='0', job_id='144911', GAL2='1.15', EG2='0.88', return_code2='0', energy_flux_error='3.10e-05', photon_flux_error2='1.11e-08', ts2='8.49', photon_index='1.69' WHERE bin_id='1322' AND source_name='4FGL J0710.4+5908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 20:15:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 144911: <4FGL_J0710.4+5908_daily_bin1322> in cluster <slac> Done

Job <4FGL_J0710.4+5908_daily_bin1322> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 20:00:26 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 20:00:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 20:00:28 2021
Terminated at Thu Aug 26 20:15:38 2021
Results reported at Thu Aug 26 20:15:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.4+5908_daily_bin1322 107.623 59.1352 581990401 582249601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0710.4+5908 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   892.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             308.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

