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


Performing analysis on: 4FGL_J0710.4+5908_daily_bin1508
RA = 107.623, Dec = 59.1352
tmin = 630201601, tmax = 630460801
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='145197', job_status='RUN', time_executed='2021-08-26 20:03:31.181540', time_epoch_executed='1630033411.18' WHERE source_name='4FGL J0710.4+5908' and cadence='daily' and bin_id='1508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145197

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145197/ft1_4FGL_J0710.4+5908_daily_bin1508.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145197/ft1_4FGL_J0710.4+5908_daily_bin1508.fits outfile=/scratch/kocevski/145197/ft1_filteredMKT_4FGL_J0710.4+5908_daily_bin1508.fits ra=107.623 dec=59.1352 rad=12.0 tmin=630201601.0 tmax=630460801.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.98
user 3.46
sys 0.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.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/145197/ft1_filteredMKT_4FGL_J0710.4+5908_daily_bin1508.fits evtable="EVENTS" outfile="/scratch/kocevski/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.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.77
user 0.34
sys 0.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.fits" evtable="EVENTS" scfile=/scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits sctable="SC_DATA" outfile=/scratch/kocevski/145197/ltcube_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.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/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits
.....................!
real 12.83
user 12.17
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.fits evtable="EVENTS" scfile=/scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits sctable="SC_DATA" expcube=/scratch/kocevski/145197/ltcube_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.fits outfile=/scratch/kocevski/145197/expmap_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.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/145197/ltcube_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.fits
.....................!
real 190.81
user 186.22
sys 4.20

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/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.fits scfile=/scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits outfile=/scratch/kocevski/145197/cmap_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.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 0.82
user 0.38
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.fits scfile=/scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits outfile=/scratch/kocevski/145197/cmap_HighResolution_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.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 0.82
user 0.38
sys 0.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.fits evtable="EVENTS" scfile=/scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145197/Model_4FGL_J0710.4+5908_daily_bin1508.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/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.fits......................!
real 45.24
user 43.58
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.fits', '/scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits', expMap='/scratch/kocevski/145197/expmap_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.fits', expCube='/scratch/kocevski/145197/ltcube_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/145197/Model_4FGL_J0710.4+5908_daily_bin1508.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/145197/ft1_filtered_4FGL_J0710.4+5908_daily_bin1508.fits
Spacecraft file(s): /scratch/kocevski/145197/ft2_4FGL_J0710.4+5908_daily_bin1508.fits
Exposure map: /scratch/kocevski/145197/expmap_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.fits
Exposure cube: /scratch/kocevski/145197/ltcube_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/145197/Model_4FGL_J0710.4+5908_daily_bin1508.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) = 3469.82891509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    212.25       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.830       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    38.098       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.3900       1.0000         .10000E-03   10000.    
     8 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.116       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .54756       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8360       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6225       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    80.257       1.0000         .10000E-03   10000.    
    21 'norm      '    .24689E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.422       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .19022       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1937       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=   3469.815     FROM MIGRAD    STATUS=CONVERGED    649 CALLS     3888 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     212.18        101.36       -.42688E-06   -.31525E-04
   2  Prefactor     24.835        49.295        .37692E-06    .44941E-04
   3  Prefactor     .10000E-03    78.694        .70549E-06** at limit **
   4  Prefactor     38.096        20.894        .13760E-06    .78889E-04
   5  Prefactor     .10000E-03    28.794        .60961E-07** at limit **
   6  Prefactor     .10000E-03    30.376        .65102E-07** at limit **
   7  norm          5.3904        7.0759        .22496E-06    .28489E-04
   8  norm          .10000E-03    6.9481        .47765E-07** at limit **
   9  Prefactor     20.101        26.415        .60770E-07    .21752E-04
  10  Prefactor     .48644        8.4199        .60204E-06   -.93229E-05
  11  Prefactor     .10000E-03    9.3325        .22155E-07** at limit **
  12  Prefactor     .10000E-03    31.036       -.37981E-06** at limit **
  13  Prefactor     3.8023        48.251        .17218E-05   -.54083E-05
  14  Prefactor     .10000E-03    25.611        .15797E-06** at limit **
  15  Prefactor     .10000E-03    85.807       -.18204E-07** at limit **
  16  norm          1.6217        1.4453        .46450E-07   -.56323E-04
  17  Prefactor     .10000E-03    7.6686        .19414E-07** at limit **
  18  Prefactor     .10000E-03    13.170        .30506E-07** at limit **
  19  norm          .10000E-03    3.8485        .10150E-06** at limit **
  20  Prefactor     80.252        58.307        .56159E-06    .13055E-04
  21  norm          .10182E-03    6.6838        .14652E-05** at limit **
  22  norm          .10000E-03    1.7001        .41897E-07** at limit **
  23  Prefactor     .10000E-03    1.5916        .13944E-06** at limit **
  24  Prefactor     .10000E-03    6.7906       -.17219E-07** at limit **
  25  Prefactor     11.418        10.262        .26645E-06   -.16142E-03
  26  Normalizat    .19045        .27728       -.11970E-04   -.11224E-03
  27  Prefactor     1.1936        .16151        .25263E-05   -.45355E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 212.181
  Prefactor  = 24.8349
  Prefactor  = 0.0001
  Prefactor  = 38.0959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.39039
  norm       = 0.0001
  Prefactor  = 20.1006
  Prefactor  = 0.486436
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.80232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.62175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 80.2521
  norm       = 0.000101821
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4177
  Normalizat = 0.190455
  Prefactor  = 1.19358
 **********
 **   18 **HESSE 
 **********

 FCN=   3469.815     FROM HESSE     STATUS=OK           486 CALLS     4374 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     212.18        101.36        .13876E-03   -1.2784    
   2  Prefactor     24.835        49.658        .80390E-04   -1.4711    
   3  Prefactor     .10000E-03    79.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.096        20.962        .64935E-04   -1.4473    
   5  Prefactor     .10000E-03    28.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.3904        7.1044        .17118E-03   -1.5244    
   8  norm          .10000E-03    7.0040        .15112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.101        26.414        .89302E-04   -1.4811    
  10  Prefactor     .48644        57.747        .31522E-02   -1.5568    
  11  Prefactor     .10000E-03    9.3363        .17575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.8023        48.339        .20606E-03   -1.5318    
  14  Prefactor     .10000E-03    25.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    85.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6217        1.4220        .62995E-04   -1.5453    
  17  Prefactor     .10000E-03    7.6790        .15933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.0296        .22549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     80.252        58.312        .44831E-04   -1.3914    
  21  norm          .10182E-03    78.497        .25615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.7108        .74928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    1.6732        .14521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.7933        .14991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     11.418        10.175        .11854E-03   -1.5032    
  26  Normalizat    .19045        .28564        .63414E-03   -1.3012    
  27  Prefactor     1.1936        .16305        .15444E-03   -.86529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34623e-08
Minuit parameter uncertainties:
  1  101.441
  2  49.7407
  3  7.0434e-05
  4  20.9662
  5  2.86047e-05
  6  6.57283e-06
  7  7.10548
  8  7.53809e-06
  9  26.4293
  10  10.6094
  11  4.4993e-06
  12  0.000120391
  13  27.1414
  14  3.18826e-05
  15  7.30476e-05
  16  1.42202
  17  2.60001e-06
  18  1.86749e-07
  19  1.83284e-05
  20  58.3537
  21  0.0239454
  22  6.13188e-06
  23  2.11207e-06
  24  1.18336e-06
  25  10.1768
  26  0.287878
  27  0.163114
Done.

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

Extracting fit parameters...

4FGL J0710.4+5908
   Spectrum: PowerLaw
266    Prefactor:  2.010e+01  2.643e+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.194e+00  1.631e-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:  1.905e-01  2.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 107.623 59.135
Photon Index (Fixed Index): 1.69 +/- 0.00
Photon Flux (Fixed Index): 2.11e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 3.57e-05 +/- 4.70e-05

TS (Fixed Index): 1.01
Ra Dec: 107.623 59.135
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145197/likelihoodResults_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.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): 0
logL (Free Index) = 3469.81065596
delta logL = 0.00436033319784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3469.80830739
delta logL = 0.00670889762614

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.377       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6054       1.0000          .0000       10.000    
     3 'Normalizat'    .19221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1932       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=   3469.808     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      274 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.378        35.862        .84675E-04    .31082E-04
   2  Index         1.6054        .73727        .78706E-02    .36864E-04
   3  Normalizat    .19231        .26421        .63121E-03   -.69342E-06
   4  Prefactor     1.1932        .15640        .15446E-03   -.15935E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3777
  Index      = 1.60536
  Normalizat = 0.192309
  Prefactor  = 1.19318
 **********
 **   18 **HESSE 
 **********

 FCN=   3469.808     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.378        34.505        .33870E-05   -1.4762    
   2  Index         1.6054        .70980        .31482E-03   -.74630    
   3  Normalizat    .19231        .26381        .25249E-04   -1.2998    
   4  Prefactor     1.1932        .15620        .61783E-05   -.86541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18567e-11
Minuit parameter uncertainties:
  1  34.5357
  2  0.714298
  3  0.265552
  4  0.156263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145197': 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) = 3469.80830732
delta logL = 0.0067089686745

Extracting fit parameters...

4FGL J0710.4+5908
   Spectrum: PowerLaw
266    Prefactor:  2.238e+01  3.454e+01  1.000e-04  1.000e+04 ( 1.000e-14)
267        Index:  1.605e+00  7.143e-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.193e+00  1.563e-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:  1.923e-01  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.02
Ra Dec: 107.623 59.135
Photon Index (Free Index): 1.61 +/- 0.71
Photon Flux (Free Index): 1.92e-08 +/- 3.04e-08
Energy Flux (Free Index): 4.26e-05 +/- 8.46e-05

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/145197/cmap_HighResolution_630201601_630460801_4FGL_J0710.4+5908_daily_bin1508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', comment='SUCCESS', photon_flux='2.11e-08', energy_flux2='4.26e-05', photon_flux_error='2.78e-08', dlogl='6.71e-03', energy_flux='3.57e-05', photon_flux2='1.92e-08', job_status='DONE', time_completed='2021-08-26 20:14:20.406120', photon_index_error2='0.71', photon_index2='1.61', ts='1.01', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='8.46e-05', EG='0.19', time_epoch_completed='1630034060.41', return_code='0', job_id='145197', GAL2='1.19', EG2='0.19', return_code2='0', energy_flux_error='4.70e-05', photon_flux_error2='3.04e-08', ts2='1.02', photon_index='1.69' WHERE bin_id='1508' AND source_name='4FGL J0710.4+5908' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 20:14:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 145197: <4FGL_J0710.4+5908_daily_bin1508> in cluster <slac> Done

Job <4FGL_J0710.4+5908_daily_bin1508> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 20:00:49 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 20:00:53 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:53 2021
Terminated at Thu Aug 26 20:14:21 2021
Results reported at Thu Aug 26 20:14:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.4+5908_daily_bin1508 107.623 59.1352 630201601 630460801 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 :                                   651.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            812 sec.

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

