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


Performing analysis on: 4FGL_J0710.9+4733_daily_bin974
RA = 107.732, Dec = 47.553
tmin = 491788801, tmax = 492048001
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='165226', job_status='RUN', time_executed='2021-08-26 21:10:44.930911', time_epoch_executed='1630037444.93' WHERE source_name='4FGL J0710.9+4733' and cadence='daily' and bin_id='974'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/165226

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/165226/ft1_4FGL_J0710.9+4733_daily_bin974.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/165226/ft2_4FGL_J0710.9+4733_daily_bin974.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/165226/ft1_4FGL_J0710.9+4733_daily_bin974.fits outfile=/scratch/kocevski/165226/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin974.fits ra=107.732 dec=47.553 rad=12.0 tmin=491788801.0 tmax=492048001.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 9.79
user 4.00
sys 5.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/165226/ft2_4FGL_J0710.9+4733_daily_bin974.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/165226/ft1_filteredMKT_4FGL_J0710.9+4733_daily_bin974.fits evtable="EVENTS" outfile="/scratch/kocevski/165226/ft1_filtered_4FGL_J0710.9+4733_daily_bin974.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 6.55
user 0.34
sys 5.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/165226/ft1_filtered_4FGL_J0710.9+4733_daily_bin974.fits" evtable="EVENTS" scfile=/scratch/kocevski/165226/ft2_4FGL_J0710.9+4733_daily_bin974.fits sctable="SC_DATA" outfile=/scratch/kocevski/165226/ltcube_491788801_492048001_4FGL_J0710.9+4733_daily_bin974.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/165226/ft2_4FGL_J0710.9+4733_daily_bin974.fits
.....................!
real 18.44
user 11.67
sys 6.20

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/165226/ft1_filtered_4FGL_J0710.9+4733_daily_bin974.fits evtable="EVENTS" scfile=/scratch/kocevski/165226/ft2_4FGL_J0710.9+4733_daily_bin974.fits sctable="SC_DATA" expcube=/scratch/kocevski/165226/ltcube_491788801_492048001_4FGL_J0710.9+4733_daily_bin974.fits outfile=/scratch/kocevski/165226/expmap_491788801_492048001_4FGL_J0710.9+4733_daily_bin974.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/165226/ltcube_491788801_492048001_4FGL_J0710.9+4733_daily_bin974.fits
.....................!
real 197.34
user 185.14
sys 10.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/165226/ft1_filtered_4FGL_J0710.9+4733_daily_bin974.fits scfile=/scratch/kocevski/165226/ft2_4FGL_J0710.9+4733_daily_bin974.fits outfile=/scratch/kocevski/165226/cmap_491788801_492048001_4FGL_J0710.9+4733_daily_bin974.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 5.64
user 0.37
sys 5.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/165226/ft1_filtered_4FGL_J0710.9+4733_daily_bin974.fits scfile=/scratch/kocevski/165226/ft2_4FGL_J0710.9+4733_daily_bin974.fits outfile=/scratch/kocevski/165226/cmap_HighResolution_491788801_492048001_4FGL_J0710.9+4733_daily_bin974.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 5.68
user 0.39
sys 5.24

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10505E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .27182E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.429       1.0000         .10000E-03   10000.    
     4 'norm      '    3.8815       1.0000         .10000E-03   10000.    
     5 'norm      '    6.1803       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13503E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .70230E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .25570E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.133       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13162E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    50.893       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .30698       1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.578       1.0000         .10000E-03   10000.    
    15 'Prefactor '    162.34       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7884       1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.803       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .44347E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    14.290       1.0000         .10000E-03   10000.    
    20 'Prefactor '    51.361       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11165E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    14.000       1.0000         .10000E-03   10000.    
    23 'norm      '    .10849E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10014E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0071       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1745.321     FROM MIGRAD    STATUS=CONVERGED    232 CALLS     2197 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7664        .16254E-06** at limit **
   2  Prefactor     .10000E-03    6.0466       -.76977E-06** at limit **
   3  Prefactor     51.216        36.396        .30610E-05    .59286E-02
   4  norm          4.0532        33.118        .40404E-05    .35874E-03
   5  norm          6.1176        6.7971       -.95009E-07    .14166E-04
   6  Prefactor     .10000E-03    19.326        .14154E-06** at limit **
   7  norm          .10000E-03    15.713       -.39192E-06** at limit **
   8  Prefactor     .10000E-03    40.716       -.64801E-05** at limit **
   9  Prefactor     15.064        24.699       -.52048E-05   -.31204E-02
  10  Prefactor     .10065E-03    61.593        .42737E-05** at limit **
  11  Prefactor     .10057E-03    57.399        .34274E-05** at limit **
  12  norm          50.565        30.699        .70905E-06    .93344E-02
  13  Prefactor     4.4206        588.46        .47180E-05   -.24714E-04
  14  Prefactor     35.656        39.560        .74849E-06    .81014E-03
  15  Prefactor     164.42        146.15        .76896E-05   -.40183E-02
  16  norm          1.7179        3.6919       -.27967E-06   -.12024E-04
  17  Prefactor     57.468        46.158       -.23161E-05    .98056E-02
  18  Prefactor     .10000E-03    44.356       -.73191E-05** at limit **
  19  norm          14.361        11.542       -.19285E-05   -.63723E-03
  20  Prefactor     51.552        24.007       -.38995E-06    .21465E-01
  21  Prefactor     .10226E-03    58.999       -.94128E-05** at limit **
  22  norm          14.041        16.093        .24417E-06    .15614E-02
  23  norm          .10000E-03    3.1713        .12172E-06** at limit **
  24  Normalizat    .10000E-01    .93890        .46211E-04** at limit **
  25  Prefactor     1.0045        .12651       -.15490E-05   -.46275E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.2161
  norm       = 4.05323
  norm       = 6.11763
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0638
  Prefactor  = 0.000100649
  Prefactor  = 0.000100568
  norm       = 50.5653
  Prefactor  = 4.42057
  Prefactor  = 35.6557
  Prefactor  = 164.422
  norm       = 1.7179
  Prefactor  = 57.4681
  Prefactor  = 0.0001
  norm       = 14.3607
  Prefactor  = 51.5524
  Prefactor  = 0.000102261
  norm       = 14.0414
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.0045
 **********
 **   18 **HESSE 
 **********

 FCN=   1745.321     FROM HESSE     STATUS=OK           469 CALLS     2666 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7652        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.0482        .10715E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     51.216        114.56        .14118E-02   -1.4275    
   4  norm          4.0532        33.763        .51202E-02   -1.5305    
   5  norm          6.1176        6.7948        .40371E-02   -1.5213    
   6  Prefactor     .10000E-03    19.332        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.666        .10489E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    40.696        .99976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.064        25.839        .25739E-02   -1.4932    
  10  Prefactor     .10065E-03    61.646        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10057E-03    57.556        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          50.565        32.899        .14054E-02   -1.4285    
  13  Prefactor     4.4206        636.48        .10456E-01   -1.5287    
  14  Prefactor     35.656        40.688        .17288E-02   -1.4513    
  15  Prefactor     164.42        157.42        .79129E-03   -1.3136    
  16  norm          1.7179        3.8675        .78204E-02   -1.5446    
  17  Prefactor     57.468        57.150        .13192E-02   -1.4190    
  18  Prefactor     .10000E-03    44.052        .96816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          14.361        11.767        .26488E-02   -1.4950    
  20  Prefactor     51.552        32.413        .13990E-02   -1.4271    
  21  Prefactor     .10226E-03    59.957        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          14.041        16.122        .26762E-02   -1.4958    
  23  norm          .10000E-03    3.1701        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .38448        .32094       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.0045        .15166        .43784E-01   -.92580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18982e-06
Minuit parameter uncertainties:
  1  1.39688e-06
  2  9.2485e-06
  3  115.054
  4  23.4141
  5  6.79561
  6  2.1558e-06
  7  1.15822e-05
  8  0.000181456
  9  25.858
  10  0.0126597
  11  0.0114455
  12  32.9104
  13  107.269
  14  40.7194
  15  157.825
  16  3.86808
  17  57.2048
  18  0.000214461
  19  11.7692
  20  32.4245
  21  0.0233083
  22  16.1269
  23  7.13127e-07
  24  4.73365e-06
  25  0.151727
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.506e+01  2.586e+01  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.004e+00  1.517e-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.000e-02  4.734e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/165226/likelihoodResults_491788801_492048001_4FGL_J0710.9+4733_daily_bin974.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) = 1744.55829569
delta logL = 0.762316024497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1744.5433093
delta logL = 0.777302413244

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5277       1.0000         .10000E-03   10000.    
     2 'Index     '    4.9331       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99427       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=   1744.543     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5307        36.869        .86353E-02    .87115E-04
   2  Index         4.9322        7.2867        .10072        .35362E-04
   3  Normalizat    .10000E-01    .85356E-01    .23190    ** at limit **
   4  Prefactor     .99440        .68523E-01    .34331E-01   -.35518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.53068
  Index      = 4.93221
  Normalizat = 0.01
  Prefactor  = 0.994396
 **********
 **   18 **HESSE 
 **********

 FCN=   1744.543     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      311 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5307        66.789        .43139E-04   -1.5461    
   2  Index         4.9322        7.4356        .41731E-02   -.13559E-01
   3  Normalizat    .10000E-01    .43231        .12203E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .99440        .11296        .15173E-03   -.92917    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.11592e-08
Minuit parameter uncertainties:
  1  20.2455
  2  8.56739
  3  1.1048e-07
  4  0.112992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/165226': 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) = 1744.54330737
delta logL = 0.777304348209

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.531e+00  2.025e+01  1.000e-04  1.000e+04 ( 1.000e-12)
262        Index:  4.932e+00  8.567e+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:  9.944e-01  1.130e-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.000e-02  1.105e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.09
Ra Dec: 107.732 47.553
Photon Index (Free Index): 4.93 +/- 8.57
Photon Flux (Free Index): 3.18e-07 +/- 2.81e-07
Energy Flux (Free Index): 4.26e-05 +/- 4.14e-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/165226/cmap_HighResolution_491788801_492048001_4FGL_J0710.9+4733_daily_bin974.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-02', comment='SUCCESS', energy_flux2='4.26e-05', dlogl='7.77e-01', photon_flux2='3.18e-07', job_status='DONE', time_completed='2021-08-26 21:19:06.141325', photon_index_error2='8.57', photon_index2='4.93', ts='0.52', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='5.52e-07', energy_flux_error2='4.14e-05', EG='0.01', time_epoch_completed='1630037946.14', return_code='0', job_id='165226', GAL2='0.99', EG2='0.01', return_code2='102', photon_flux_error2='2.81e-07', ts2='2.09', photon_index='2.67' WHERE bin_id='974' AND source_name='4FGL J0710.9+4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 21:19:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 165226: <4FGL_J0710.9+4733_daily_bin974> in cluster <slac> Done

Job <4FGL_J0710.9+4733_daily_bin974> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 26 21:06:03 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 21:06:08 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:06:08 2021
Terminated at Thu Aug 26 21:19:07 2021
Results reported at Thu Aug 26 21:19:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_daily_bin974 107.732 47.553 491788801 492048001 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 :                                   575.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             214.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            784 sec.

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

