aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 182 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 17384
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0710.9+4733_weekly_bin753
RA = 107.732, Dec = 47.553
tmin = 694396801, tmax = 695001601
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='223646', job_status='RUN', time_executed='2023-01-10 02:29:52.271731', time_epoch_executed='1673346592.27' WHERE source_name='4FGL J0710.9+4733' and cadence='weekly' and bin_id='753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/223646

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/223646/ft1_4FGL_J0710.9+4733_weekly_bin753.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/223646/ft1_4FGL_J0710.9+4733_weekly_bin753.fits outfile=/scratch/kocevski/223646/ft1_filteredMKT_4FGL_J0710.9+4733_weekly_bin753.fits ra=107.732 dec=47.553 rad=12.0 tmin=694396801.0 tmax=695001601.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 5.09
user 4.79
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.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/223646/ft1_filteredMKT_4FGL_J0710.9+4733_weekly_bin753.fits evtable="EVENTS" outfile="/scratch/kocevski/223646/ft1_filtered_4FGL_J0710.9+4733_weekly_bin753.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.52
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 176

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/223646/ft1_filtered_4FGL_J0710.9+4733_weekly_bin753.fits" evtable="EVENTS" scfile=/scratch/kocevski/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.fits sctable="SC_DATA" outfile=/scratch/kocevski/223646/ltcube_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.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/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.fits
.....................!
real 35.51
user 34.83
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/223646/ft1_filtered_4FGL_J0710.9+4733_weekly_bin753.fits evtable="EVENTS" scfile=/scratch/kocevski/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.fits sctable="SC_DATA" expcube=/scratch/kocevski/223646/ltcube_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.fits outfile=/scratch/kocevski/223646/expmap_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.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/223646/ltcube_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.fits
.....................!
real 159.78
user 154.31
sys 4.79

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/223646/ft1_filtered_4FGL_J0710.9+4733_weekly_bin753.fits scfile=/scratch/kocevski/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.fits outfile=/scratch/kocevski/223646/cmap_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.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.53
user 0.34
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/223646/ft1_filtered_4FGL_J0710.9+4733_weekly_bin753.fits scfile=/scratch/kocevski/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.fits outfile=/scratch/kocevski/223646/cmap_HighResolution_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.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.52
user 0.35
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/223646/ft1_filtered_4FGL_J0710.9+4733_weekly_bin753.fits', '/scratch/kocevski/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.fits', expMap='/scratch/kocevski/223646/expmap_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.fits', expCube='/scratch/kocevski/223646/ltcube_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/223646/Model_4FGL_J0710.9+4733_weekly_bin753.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  0.000e+00  1.000e+06 ( 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/223646/ft1_filtered_4FGL_J0710.9+4733_weekly_bin753.fits
Spacecraft file(s): /scratch/kocevski/223646/ft2_4FGL_J0710.9+4733_weekly_bin753.fits
Exposure map: /scratch/kocevski/223646/expmap_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.fits
Exposure cube: /scratch/kocevski/223646/ltcube_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/223646/Model_4FGL_J0710.9+4733_weekly_bin753.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2064.1358156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1990       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.677       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12208E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .70197E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .15477E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .69217E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.7227       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13015       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.7252       1.0000          .0000       .10000E+07
    10 'Prefactor '    28.056       1.0000          .0000       .10000E+07
    11 'norm      '    .17634E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32569E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .33464E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .46290       1.0000          .0000       .10000E+07
    15 'norm      '    1.6857       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10316E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .75257       1.0000          .0000       .10000E+07
    18 'norm      '    .79099E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19550E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .32009       1.0000          .0000       .10000E+07
    21 'norm      '    .11803E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .88263E-08   1.0000          .0000       .10000E+07
    23 'Normalizat'    .26832       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1213       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=   2063.929     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     1586 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1986        5.1738        .35081E-07    .34439E-03
   2  Prefactor     9.8731        9.1420       -.33106E-07    .25206E-01
   3  Prefactor     .97700E-08    15.243       -.70533E-07** at limit **
   4  norm          .91593E-07    25.882        .17446E-06** at limit **
   5  norm          .61062E-09    12.696        .19675E-06** at limit **
   6  norm          .55511E-10    12.759        .13042E-06** at limit **
   7  Prefactor     4.3426        49.819       -.13757E-05    .10129E-02
   8  Prefactor     .23425E-03    2.3353        .29565E-07** at limit **
   9  Prefactor     2.1611        65.404       -.61838E-06    .15349E-01
  10  Prefactor     26.260        28.362       -.14000E-07   -.45761E-01
  11  norm          .11820E-04    44.870        .13964E-07** at limit **
  12  Prefactor     .73341E-05    41.323       -.14500E-06** at limit **
  13  Prefactor     .36424E-03    84.782       -.32760E-06** at limit **
  14  Prefactor     .17899E-04    124.89        .30352E-06** at limit **
  15  norm          1.6972        4.1147       -.98948E-07   -.25952E-03
  16  Prefactor     .29670E-04    133.80        .16674E-06** at limit **
  17  Prefactor     .91333E-04    173.40       -.10410E-05** at limit **
  18  norm          .22538E-07    20.119       -.30466E-06** at limit **
  19  Prefactor     .90179E-05    204.75       -.11375E-05** at limit **
  20  Prefactor     .82528E-03    105.98        .45779E-06** at limit **
  21  norm          .23315E-08    16.694       -.35193E-06** at limit **
  22  norm          .11102E-09    9.8535        .12225E-06** at limit **
  23  Normalizat    .27652        .47043        .19798E-04    .17424E-04
  24  Prefactor     1.1198        .20528       -.24561E-05    .39669E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.19858
  Prefactor  = 9.87307
  Prefactor  = 9.76996e-09
  norm       = 9.15934e-08
  norm       = 6.10623e-10
  norm       = 5.55112e-11
  Prefactor  = 4.34262
  Prefactor  = 0.00023425
  Prefactor  = 2.16112
  Prefactor  = 26.2597
  norm       = 1.18198e-05
  Prefactor  = 7.33408e-06
  Prefactor  = 0.000364243
  Prefactor  = 1.7899e-05
  norm       = 1.69721
  Prefactor  = 2.96701e-05
  Prefactor  = 9.13326e-05
  norm       = 2.25375e-08
  Prefactor  = 9.0179e-06
  Prefactor  = 0.000825283
  norm       = 2.33147e-09
  norm       = 1.11022e-10
  Normalizat = 0.276524
  Prefactor  = 1.11984
 **********
 **   18 **HESSE 
 **********

 FCN=   2063.929     FROM HESSE     STATUS=OK           439 CALLS     2025 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1986        5.1656        .56624E-03   -1.5672    
   2  Prefactor     9.8731        32.635        .30637E-03   -1.5645    
   3  Prefactor     .97700E-08    15.253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .91593E-07    25.760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .61062E-09    12.707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    12.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3426        50.673        .79993E-03   -1.5666    
   8  Prefactor     .23425E-03    38.102        .13181E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1611        764.47        .46266E-03   -1.5679    
  10  Prefactor     26.260        30.243        .18883E-03   -1.5605    
  11  norm          .11820E-04    61.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .73341E-05    51.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .36424E-03    243.16        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .17899E-04    287.23        .82533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.6972        4.3080        .81074E-03   -1.5682    
  16  Prefactor     .29670E-04    202.50        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .91333E-04    703.54        .56540E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .22538E-07    20.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .90179E-05    374.42        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .82528E-03    858.32        .99399E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .23315E-08    16.702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .11102E-09    9.8574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .27652        .64500        .14733       -1.2427    
  24  Prefactor     1.1198        .24734        .36829E-01   -.88835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05302e-06
Minuit parameter uncertainties:
  1  5.1656
  2  32.6358
  3  0.000772015
  4  0.00307222
  5  0.0001759
  6  6.51222e-05
  7  29.6689
  8  0.18895
  9  81.303
  10  30.243
  11  0.0541059
  12  0.0388446
  13  0.595232
  14  0.143409
  15  4.30798
  16  0.15503
  17  0.507036
  18  0.00134832
  19  0.116223
  20  1.68352
  21  0.000394654
  22  7.2417e-05
  23  0.663636
  24  0.247592
Done.

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

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  2.342e-04  1.890e-01  0.000e+00  1.000e+06 ( 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.120e+00  2.476e-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:  2.765e-01  6.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/223646/likelihoodResults_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.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): 102
logL (Free Index) = 2063.92944039
delta logL = -0.000541246605735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2062.79783458
delta logL = 1.13106455844

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17922       1.0000          .0000       .10000E+07
     2 'Index     '    6.7179       1.0000          .0000       10.000    
     3 'Normalizat'    .10007E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1869       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=   2062.798     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      273 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18046        3.7819        .34630E-03** at limit **
   2  Index         6.7120        7.6174        .10738        .40560E-04
   3  Normalizat    .10000E-01    .80391E-01    .32128    ** at limit **
   4  Prefactor     1.1869        .61125E-01    .34949E-01    .80234E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.180455
  Index      = 6.71198
  Normalizat = 0.01
  Prefactor  = 1.18688
 **********
 **   18 **HESSE 
 **********

 FCN=   2062.798     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      306 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18046        7.1195        .15471E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.7120        8.2717        .44939E-02    .34947    
   3  Normalizat    .10000E-01    1.5311        .12841E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1869        .10152        .13801E-03   -.86736    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.79638e-11
Minuit parameter uncertainties:
  1  2.26694
  2  7.79763
  3  4.66915e-06
  4  0.101533
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/223646': 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) = 2062.79782561
delta logL = 1.13107353254

Extracting fit parameters...

4FGL J0710.9+4733
   Spectrum: PowerLaw
261    Prefactor:  1.805e-01  2.267e+00  0.000e+00  1.000e+06 ( 1.000e-12)
262        Index:  6.712e+00  7.798e+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.187e+00  1.015e-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.669e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.61
Ra Dec: 107.732 47.553
Photon Index (Free Index): 6.71 +/- 7.80
Photon Flux (Free Index): 6.70e-07 +/- 5.81e-07
Energy Flux (Free Index): 8.08e-05 +/- 6.54e-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/223646/cmap_HighResolution_694396801_695001601_4FGL_J0710.9+4733_weekly_bin753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.18e-02', comment='SUCCESS', energy_flux2='8.08e-05', dlogl='1.13e+00', photon_flux2='6.70e-07', job_status='DONE', time_completed='2023-01-10 02:36:40.241096', photon_index_error2='7.80', photon_index2='6.71', ts='-0.00', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='6.59e-07', energy_flux_error2='6.54e-05', EG='0.28', time_epoch_completed='1673347000.24', return_code='0', job_id='223646', GAL2='1.19', EG2='0.01', return_code2='102', photon_flux_error2='5.81e-07', ts2='2.61', photon_index='2.67' WHERE bin_id='753' AND source_name='4FGL J0710.9+4733' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:36:40 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 223646: <4FGL_J0710.9+4733_weekly_bin753> in cluster <slac> Done

Job <4FGL_J0710.9+4733_weekly_bin753> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 10 02:25:28 2023
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:26:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:26:41 2023
Terminated at Tue Jan 10 02:36:41 2023
Results reported at Tue Jan 10 02:36:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0710.9+4733_weekly_bin753 107.732 47.553 694396801 695001601 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 :                                   408.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             264.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            673 sec.

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

