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


Performing analysis on: 4FGL_J1013.7+3444_weekly_bin754
RA = 153.449, Dec = 34.7384
tmin = 695001601, tmax = 695606401
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='950989', job_status='RUN', time_executed='2023-01-17 00:56:15.741542', time_epoch_executed='1673945775.74' WHERE source_name='4FGL J1013.7+3444' and cadence='weekly' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950989

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950989/ft1_4FGL_J1013.7+3444_weekly_bin754.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950989/ft1_4FGL_J1013.7+3444_weekly_bin754.fits outfile=/scratch/kocevski/950989/ft1_filteredMKT_4FGL_J1013.7+3444_weekly_bin754.fits ra=153.449 dec=34.7384 rad=12.0 tmin=695001601.0 tmax=695606401.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.65
user 5.31
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_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/950989/ft1_filteredMKT_4FGL_J1013.7+3444_weekly_bin754.fits evtable="EVENTS" outfile="/scratch/kocevski/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_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.56
user 0.40
sys 0.15

Number of photons that the gtmktime cut: 530

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_bin754.fits" evtable="EVENTS" scfile=/scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits sctable="SC_DATA" outfile=/scratch/kocevski/950989/ltcube_695001601_695606401_4FGL_J1013.7+3444_weekly_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/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits
.....................!
real 36.20
user 35.37
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/950989/ltcube_695001601_695606401_4FGL_J1013.7+3444_weekly_bin754.fits outfile=/scratch/kocevski/950989/expmap_695001601_695606401_4FGL_J1013.7+3444_weekly_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/950989/ltcube_695001601_695606401_4FGL_J1013.7+3444_weekly_bin754.fits
.....................!
real 195.53
user 187.98
sys 5.26

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 192 point sources and 0 extended sources

Setting source of interest to:
4FGL J1013.7+3444 @ 153.449 34.7384

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_bin754.fits scfile=/scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits outfile=/scratch/kocevski/950989/cmap_695001601_695606401_4FGL_J1013.7+3444_weekly_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=153.449 yref=34.7384 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.59
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_bin754.fits scfile=/scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits outfile=/scratch/kocevski/950989/cmap_HighResolution_695001601_695606401_4FGL_J1013.7+3444_weekly_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=153.449 yref=34.7384 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.62
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950989/Model_4FGL_J1013.7+3444_weekly_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/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_bin754.fits.....................!
real 54.24
user 52.28
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_bin754.fits', '/scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits', expMap='/scratch/kocevski/950989/expmap_695001601_695606401_4FGL_J1013.7+3444_weekly_bin754.fits', expCube='/scratch/kocevski/950989/ltcube_695001601_695606401_4FGL_J1013.7+3444_weekly_bin754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/950989/Model_4FGL_J1013.7+3444_weekly_bin754.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1013.7+3444'

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  1.162e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  2.591e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  6.948e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/950989/ft1_filtered_4FGL_J1013.7+3444_weekly_bin754.fits
Spacecraft file(s): /scratch/kocevski/950989/ft2_4FGL_J1013.7+3444_weekly_bin754.fits
Exposure map: /scratch/kocevski/950989/expmap_695001601_695606401_4FGL_J1013.7+3444_weekly_bin754.fits
Exposure cube: /scratch/kocevski/950989/ltcube_695001601_695606401_4FGL_J1013.7+3444_weekly_bin754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/950989/Model_4FGL_J1013.7+3444_weekly_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) = 6061.62804294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41798E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3186       1.0000          .0000       .10000E+07
     3 'norm      '    .48783E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    32.227       1.0000          .0000       .10000E+07
     5 'Prefactor '    .35160E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22258E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.7949       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.7101       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3925       1.0000          .0000       .10000E+07
    10 'norm      '    2.4025       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.7012       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9342       1.0000          .0000       .10000E+07
    13 'norm      '    .12851E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    59.234       1.0000          .0000       .10000E+07
    15 'Prefactor '    17.558       1.0000          .0000       .10000E+07
    16 'Prefactor '    .51632E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.4833       1.0000          .0000       .10000E+07
    18 'Prefactor '    166.39       1.0000          .0000       .10000E+07
    19 'Prefactor '    .93008E-03   1.0000          .0000       .10000E+07
    20 'norm      '    3.3309       1.0000          .0000       .10000E+07
    21 'Prefactor '    .10856E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .46818E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .67749       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2898       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=   6061.608     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2038 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25979E-07    23.483       -.18244E-05** at limit **
   2  Prefactor     3.3276        5.9731       -.88082E-06    .35609E-03
   3  norm           .0000        8.0960        .17096E-05** at limit **
   4  Prefactor     33.191        35.713        .48854E-06    .15637    
   5  Prefactor     .10547E-07    10.489       -.81669E-06** at limit **
   6  Prefactor      .0000        31.888        .33911E-05** at limit **
   7  Prefactor     9.7721        10.611        .41613E-07   -.71355E-03
   8  Prefactor     5.7002        16.247        .16334E-06    .22666E-02
   9  Prefactor     1.3907        2.1441        .46781E-06    .13439E-03
  10  norm          2.4350        8.3629       -.11229E-05    .42503E-03
  11  Prefactor     5.7494        6.5994       -.14375E-06    .61849E-04
  12  Prefactor     2.8992        5.8065        .13047E-05   -.22683E-03
  13  norm          .18874E-08    14.366       -.14980E-06** at limit **
  14  Prefactor     57.948        46.219       -.12448E-05    .12090    
  15  Prefactor     17.686        33.206        .11476E-05    .64357E-01
  16  Prefactor      .0000        4.9987       -.12895E-05** at limit **
  17  Prefactor     5.4318        29.107        .24266E-05    .21441E-01
  18  Prefactor     165.28        121.57       -.79578E-06    .70463E-01
  19  Prefactor      .0000        4.8916       -.10180E-05** at limit **
  20  norm          3.3309        .39738       -.82037E-07   -.20465E-02
  21  Prefactor      .0000        6.3822        .10347E-05** at limit **
  22  Prefactor      .0000        6.1023        .57135E-06** at limit **
  23  Normalizat    .67820        .21706        .13141E-04   -.24322E-05
  24  Prefactor     1.2893        .25180       -.21338E-04   -.62703E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.59792e-08
  Prefactor  = 3.32763
  norm       = 0
  Prefactor  = 33.1914
  Prefactor  = 1.05471e-08
  Prefactor  = 0
  Prefactor  = 9.77208
  Prefactor  = 5.70016
  Prefactor  = 1.39072
  norm       = 2.43497
  Prefactor  = 5.74944
  Prefactor  = 2.8992
  norm       = 1.88738e-09
  Prefactor  = 57.9484
  Prefactor  = 17.6864
  Prefactor  = 0
  Prefactor  = 5.43184
  Prefactor  = 165.281
  Prefactor  = 0
  norm       = 3.33092
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.678204
  Prefactor  = 1.28928
 **********
 **   18 **HESSE 
 **********

 FCN=   6061.608     FROM HESSE     STATUS=OK           447 CALLS     2485 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25979E-07    25.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3276        5.9976        .55543E-03   -1.5671    
   3  norm           .0000        8.0980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.191        57.773        .17618E-03   -1.5593    
   5  Prefactor     .10547E-07    22.268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        31.707        .16892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.7721        10.645        .31994E-03   -1.5645    
   8  Prefactor     5.7002        16.365        .42011E-03   -1.5660    
   9  Prefactor     1.3907        2.1806        .92027E-03   -1.5684    
  10  norm          2.4350        8.3634        .66032E-03   -1.5677    
  11  Prefactor     5.7494        6.7186        .42044E-03   -1.5660    
  12  Prefactor     2.8992        5.9406        .59272E-03   -1.5674    
  13  norm          .18874E-08    23.624        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     57.948        50.894        .12994E-03   -1.5556    
  15  Prefactor     17.686        34.895        .23875E-03   -1.5624    
  16  Prefactor      .0000        4.9510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.4318        29.950        .42886E-03   -1.5661    
  18  Prefactor     165.28        132.45        .77530E-04   -1.5451    
  19  Prefactor      .0000        4.8855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.3309        .39711        .36981E-03   -1.5671    
  21  Prefactor      .0000        6.3751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        6.0991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .67820        .18461        .68285E-01   -1.0476    
  24  Prefactor     1.2893        .21143        .61037E-01   -.83626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29288e-06
Minuit parameter uncertainties:
  1  0.00161567
  2  5.99759
  3  2.85612e-05
  4  57.7743
  5  0.000969756
  6  2.84724e-05
  7  10.6448
  8  16.3656
  9  2.18062
  10  8.3634
  11  6.71862
  12  5.94066
  13  0.000422203
  14  50.8941
  15  34.8957
  16  1.01686e-06
  17  25.5098
  18  132.455
  19  2.21961e-06
  20  0.397113
  21  1.23708e-05
  22  1.0277e-05
  23  0.184783
  24  0.211571
Done.

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

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  5.749e+00  6.719e+00  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  2.591e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
280        Scale:  6.948e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.289e+00  2.116e-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:  6.782e-01  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.45
Ra Dec: 153.449 34.738
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 5.49e-08 +/- 6.41e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.70e-05

TS (Fixed Index): 1.45
Ra Dec: 153.449 34.738
Photon Flux Upper Limit: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950989/likelihoodResults_695001601_695606401_4FGL_J1013.7+3444_weekly_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) = 6059.18034432
delta logL = 2.42790335954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6059.13765969
delta logL = 2.47058798609

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82030E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.0332       1.0000          .0000       10.000    
     3 'Normalizat'    .50800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4408       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=   6059.138     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      287 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80534E-01    .50016        .21523E-03** at limit **
   2  Index         6.0437        2.5072        .87058E-01    .16473E-03
   3  Normalizat    .50779        .61391E-01    .77978E-01    .45524E-04
   4  Prefactor     1.4412        .73604E-01    .58285E-01    .15266E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0805338
  Index      = 6.04369
  Normalizat = 0.507795
  Prefactor  = 1.44117
 **********
 **   18 **HESSE 
 **********

 FCN=   6059.138     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      320 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80534E-01    .79687        .95854E-06   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.0437        3.2442        .36474E-02    .21028    
   3  Normalizat    .50779        .19578        .34536E-03   -1.1206    
   4  Prefactor     1.4412        .22728        .25770E-03   -.79201    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.98253e-10
Minuit parameter uncertainties:
  1  0.506655
  2  3.54722
  3  0.19605
  4  0.227438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950989': 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) = 6059.13765111
delta logL = 2.47059656693

Extracting fit parameters...

4FGL J1013.7+3444
   Spectrum: PowerLaw
278    Prefactor:  8.053e-02  5.067e-01  0.000e+00  1.000e+06 ( 1.000e-12)
279        Index:  6.044e+00  3.547e+00  0.000e+00  1.000e+01 (-1.000e+00)
280        Scale:  6.948e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
599    Prefactor:  1.441e+00  2.274e-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:  5.078e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.40
Ra Dec: 153.449 34.738
Photon Index (Free Index): 6.04 +/- 3.55
Photon Flux (Free Index): 1.98e-07 +/- 9.23e-08
Energy Flux (Free Index): 2.45e-05 +/- 1.31e-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/950989/cmap_HighResolution_695001601_695606401_4FGL_J1013.7+3444_weekly_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-02', comment='SUCCESS', photon_flux='5.49e-08', energy_flux2='2.45e-05', photon_flux_error='6.41e-08', dlogl='2.47e+00', energy_flux='1.45e-05', photon_flux2='1.98e-07', job_status='DONE', time_completed='2023-01-17 01:07:41.005023', photon_index_error2='3.55', photon_index2='6.04', ts='1.45', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='1.63e-07', energy_flux_error2='1.31e-05', EG='0.68', time_epoch_completed='1673946461.01', return_code='0', job_id='950989', GAL2='1.44', EG2='0.51', return_code2='102', energy_flux_error='1.70e-05', photon_flux_error2='9.23e-08', ts2='7.40', photon_index='2.59' WHERE bin_id='754' AND source_name='4FGL J1013.7+3444' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 17 01:07:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 950989: <4FGL_J1013.7+3444_weekly_bin754> in cluster <slac> Done

Job <4FGL_J1013.7+3444_weekly_bin754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jan 17 00:55:22 2023
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 17 00:55:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 17 00:55:30 2023
Terminated at Tue Jan 17 01:07:42 2023
Results reported at Tue Jan 17 01:07:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1013.7+3444_weekly_bin754 153.449 34.7384 695001601 695606401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1013.7+3444 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   679.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             306.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            740 sec.

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

