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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin754
RA = 107.732, Dec = 47.553
tmin = 434764801, tmax = 435024001
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='163437', job_status='RUN', time_executed='2021-08-26 21:01:06.643870', time_epoch_executed='1630036866.64' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163437

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163437/ft1_4FGL_J0710.9+4733_daily_bin754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163437/ft2_4FGL_J0710.9+4733_daily_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163437/ft1_4FGL_J0710.9+4733_daily_bin754.fits outfile=/scratch/kocevski/163437/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin754.fits ra=107.732 dec=47.553 rad=12.0 tmin=434764801.0 tmax=435024001.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.73
user 4.15
sys 0.56

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163437/ft2_4FGL_J0710.9+4733_daily_bin754.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/163437/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin754.fits evtable="EVENTS" outfile="/scratch/kocevski/163437/ft1_filtered_4FGL_J0710.9+4733_daily_bin754.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.78
user 0.26
sys 0.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163437/ft1_filtered_4FGL_J0710.9+4733_daily_bin754.fits" evtable="EVENTS" scfile=/scratch/kocevski/163437/ft2_4FGL_J0710.9+4733_daily_bin754.fits sctable="SC_DATA" outfile=/scratch/kocevski/163437/ltcube_434764801_435024001_4FGL_J0710.9+4733_daily_bin754.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/163437/ft2_4FGL_J0710.9+4733_daily_bin754.fits
.....................!
real 10.54
user 9.87
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163437/ft1_filtered_4FGL_J0710.9+4733_daily_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/163437/ft2_4FGL_J0710.9+4733_daily_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/163437/ltcube_434764801_435024001_4FGL_J0710.9+4733_daily_bin754.fits outfile=/scratch/kocevski/163437/expmap_434764801_435024001_4FGL_J0710.9+4733_daily_bin754.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/163437/ltcube_434764801_435024001_4FGL_J0710.9+4733_daily_bin754.fits
.....................!
real 143.84
user 138.87
sys 4.67

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/163437/ft1_filtered_4FGL_J0710.9+4733_daily_bin754.fits scfile=/scratch/kocevski/163437/ft2_4FGL_J0710.9+4733_daily_bin754.fits outfile=/scratch/kocevski/163437/cmap_434764801_435024001_4FGL_J0710.9+4733_daily_bin754.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=107.732 yref=47.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.74
user 0.27
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163437/ft1_filtered_4FGL_J0710.9+4733_daily_bin754.fits scfile=/scratch/kocevski/163437/ft2_4FGL_J0710.9+4733_daily_bin754.fits outfile=/scratch/kocevski/163437/cmap_HighResolution_434764801_435024001_4FGL_J0710.9+4733_daily_bin754.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=107.732 yref=47.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.75
user 0.30
sys 0.44

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5194       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7085       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.627       1.0000         .10000E-03   10000.    
     4 'norm      '    2.5935       1.0000         .10000E-03   10000.    
     5 'norm      '    3.0495       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10949E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.3456       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1380       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    65.307       1.0000         .10000E-03   10000.    
    16 'norm      '    .90589       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10414E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.3122       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.7618       1.0000         .10000E-03   10000.    
    22 'norm      '    1.0120       1.0000         .10000E-03   10000.    
    23 'norm      '    1.4589       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87205       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1142       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=   7154.152     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2876 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5190        2.4690       -.75623E-08   -.51625E-04
   2  Prefactor     1.7079        4.4877        .54902E-07   -.47981E-04
   3  Prefactor     14.628        24.590        .21547E-06    .14189E-04
   4  norm          2.5936        3.3020        .21495E-07   -.12899E-03
   5  norm          3.0488        4.4907        .32032E-05   -.55460E-03
   6  Prefactor     .10000E-03    23.966        .15206E-06** at limit **
   7  norm          .10000E-03    5.9684       -.50420E-05** at limit **
   8  Prefactor     .10000E-03    7.7714        .30408E-07** at limit **
   9  Prefactor     9.3476        7.1099        .17916E-06    .17447E-03
  10  Prefactor     .10000E-03    16.224       -.52005E-07** at limit **
  11  Prefactor     7.1389        25.370        .20607E-06   -.41681E-04
  12  norm          .10000E-03    3.3993       -.15427E-07** at limit **
  13  Prefactor     .10000E-03    27.962       -.16749E-06** at limit **
  14  Prefactor     .10000E-03    6.2891       -.79768E-07** at limit **
  15  Prefactor     65.309        41.536        .68135E-06    .13097E-03
  16  norm          .90681        1.1523       -.24930E-07   -.80123E-03
  17  Prefactor     .10000E-03    8.9854       -.18545E-06** at limit **
  18  Prefactor     .10000E-03    7.8899        .35110E-06** at limit **
  19  norm          5.3135        3.3721        .12963E-06   -.21556E-03
  20  Prefactor     .10000E-03    3.7591        .78523E-06** at limit **
  21  Prefactor     7.7755        63.098        .21170E-05    .85753E-04
  22  norm          1.0122        3.7543        .49030E-06   -.53822E-04
  23  norm          1.4591        1.6006       -.35634E-08   -.19024E-04
  24  Normalizat    .87161        .22613       -.38103E-05    .20380E-04
  25  Prefactor     1.1144        .10631        .10242E-05    .49098E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.51896
  Prefactor  = 1.70785
  Prefactor  = 14.628
  norm       = 2.59361
  norm       = 3.04876
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 9.34757
  Prefactor  = 0.0001
  Prefactor  = 7.13892
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 65.309
  norm       = 0.906809
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.3135
  Prefactor  = 0.000100001
  Prefactor  = 7.77552
  norm       = 1.01219
  norm       = 1.45912
  Normalizat = 0.871614
  Prefactor  = 1.11438
 **********
 **   18 **HESSE 
 **********

 FCN=   7154.152     FROM HESSE     STATUS=OK           429 CALLS     3305 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5190        2.4702        .12713E-03   -1.5391    
   2  Prefactor     1.7079        4.4496        .28169E-03   -1.5447    
   3  Prefactor     14.628        24.590        .10473E-03   -1.4943    
   4  norm          2.5936        3.2875        .16772E-03   -1.5386    
   5  norm          3.0488        5.0337        .11462E-02   -1.5359    
   6  Prefactor     .10000E-03    24.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    12.163        .30397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.7725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.3476        6.9800        .65547E-03   -1.5096    
  10  Prefactor     .10000E-03    16.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.1389        25.400        .15014E-03   -1.5174    
  12  norm          .10000E-03    3.4163        .15227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.3160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     65.309        41.675        .49661E-04   -1.4090    
  16  norm          .90681        1.0494        .96467E-03   -1.5518    
  17  Prefactor     .10000E-03    9.0213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.9181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.3135        3.3817        .11952E-03   -1.5247    
  20  Prefactor     .10000E-03    3.8222        .16126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.7755        64.185        .14393E-03   -1.5150    
  22  norm          1.0122        3.6971        .29791E-03   -1.5507    
  23  norm          1.4591        1.5834        .10631E-03   -1.5466    
  24  Normalizat    .87161        .24885        .36439E-03   -.97465    
  25  Prefactor     1.1144        .11977        .17030E-03   -.89008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41952e-09
Minuit parameter uncertainties:
  1  2.47032
  2  4.45051
  3  24.6067
  4  3.28774
  5  5.03441
  6  0.000341495
  7  0.000250688
  8  1.24541e-05
  9  6.98059
  10  8.30278e-05
  11  25.4388
  12  2.73572e-06
  13  0.000389469
  14  2.70673e-05
  15  41.6932
  16  1.04947
  17  1.22059e-05
  18  8.64145e-05
  19  3.38177
  20  0.000115614
  21  44.7449
  22  3.69797
  23  1.58346
  24  0.249175
  25  0.1198
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  9.348e+00  6.981e+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  1.198e-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:  8.716e-01  2.492e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.71
Ra Dec: 107.732 47.553
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 7.33e-08 +/- 5.47e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.35e-05

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

Saving results to:
/scratch/kocevski/163437/likelihoodResults_434764801_435024001_4FGL_J0710.9+4733_daily_bin754.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) = 7152.4785992
delta logL = 1.67314162042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7152.40320732
delta logL = 1.74853350161

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25309       1.0000         .10000E-03   10000.    
     2 'Index     '    5.6179       1.0000          .0000       10.000    
     3 'Normalizat'    .74756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1596       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=   7152.403     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      268 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25285        1.5966        .43775E-02    .83988E-03
   2  Index         5.6187        2.6449        .10721        .13962E-03
   3  Normalizat    .74740        .70440E-01    .88098E-01    .46799E-04
   4  Prefactor     1.1597        .36592E-01    .35664E-01   -.29451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.252851
  Index      = 5.61867
  Normalizat = 0.747399
  Prefactor  = 1.15969
 **********
 **   18 **HESSE 
 **********

 FCN=   7152.403     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      301 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25285        2.8502        .19644E-04   -1.5607    
   2  Index         5.6187        3.6596        .43671E-02    .12405    
   3  Normalizat    .74740        .21574        .39021E-03   -1.0205    
   4  Prefactor     1.1597        .11033        .16733E-03   -.87581    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.87529e-07
Minuit parameter uncertainties:
  1  1.69762
  2  4.11555
  3  0.215991
  4  0.110347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163437': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7152.40320682
delta logL = 1.74853399664

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  2.529e-01  1.698e+00  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  5.619e+00  4.116e+00  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.160e+00  1.103e-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.474e-01  2.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.83
Ra Dec: 107.732 47.553
Photon Index (Free Index): 5.62 +/- 4.12
Photon Flux (Free Index): 1.57e-07 +/- 7.66e-08
Energy Flux (Free Index): 2.00e-05 +/- 1.16e-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/163437/cmap_HighResolution_434764801_435024001_4FGL_J0710.9+4733_daily_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='7.33e-08', energy_flux2='2.00e-05', photon_flux_error='5.47e-08', dlogl='1.75e+00', energy_flux='1.81e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2021-08-26 21:11:26.555737', photon_index_error2='4.12', photon_index2='5.62', ts='2.71', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.83e-07', energy_flux_error2='1.16e-05', EG='0.87', time_epoch_completed='1630037486.56', return_code='0', job_id='163437', GAL2='1.16', EG2='0.75', return_code2='102', energy_flux_error='1.35e-05', photon_flux_error2='7.66e-08', ts2='6.83', photon_index='2.67' WHERE bin_id='754' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:11:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0026>
Subject: Job 163437: <4FGL_J0710.9+4733_daily_bin754> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin754> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug 26 21:00:41 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 21:00:50 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:00:50 2021
Terminated at Thu Aug 26 21:11:27 2021
Results reported at Thu Aug 26 21:11:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin754 107.732 47.553 434764801 435024001 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 :                                   621.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            646 sec.

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

