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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1751
RA = 171.491, Dec = 20.0912
tmin = 693187201, tmax = 693446401
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='76376', job_status='RUN', time_executed='2022-12-23 00:37:04.111261', time_epoch_executed='1671784624.11' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/76376

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/76376/ft1_4FGL_J1125.9+2005_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/76376/ft1_4FGL_J1125.9+2005_daily_bin1751.fits outfile=/scratch/kocevski/76376/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1751.fits ra=171.491 dec=20.0912 rad=12.0 tmin=693187201.0 tmax=693446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.61
user 3.38
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.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/76376/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/76376/ltcube_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.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/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits
.....................!
real 12.06
user 11.70
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/76376/ltcube_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.fits outfile=/scratch/kocevski/76376/expmap_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.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/76376/ltcube_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.fits
.....................!
real 190.85
user 185.27
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 J1125.9+2005 @ 171.491 20.0912

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.fits scfile=/scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits outfile=/scratch/kocevski/76376/cmap_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.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=171.491 yref=20.0912 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.fits scfile=/scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits outfile=/scratch/kocevski/76376/cmap_HighResolution_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.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=171.491 yref=20.0912 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/76376/Model_4FGL_J1125.9+2005_daily_bin1751.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/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.fits.....................!
real 58.05
user 56.70
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.fits', '/scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits', expMap='/scratch/kocevski/76376/expmap_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.fits', expCube='/scratch/kocevski/76376/ltcube_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/76376/Model_4FGL_J1125.9+2005_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1125.9+2005'

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.572e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/76376/ft1_filtered_4FGL_J1125.9+2005_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/76376/ft2_4FGL_J1125.9+2005_daily_bin1751.fits
Exposure map: /scratch/kocevski/76376/expmap_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.fits
Exposure cube: /scratch/kocevski/76376/ltcube_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/76376/Model_4FGL_J1125.9+2005_daily_bin1751.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) = 6503.02392231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7006       1.0000          .0000       .10000E+07
     2 'Prefactor '    .30576E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.943       1.0000          .0000       .10000E+07
     4 'Prefactor '    18.797       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.7553       1.0000          .0000       .10000E+07
     6 'Prefactor '    .62026E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50206E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .31747E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2589       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12809E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.5517       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11640E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .36653E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    16.663       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54061E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8284       1.0000          .0000       .10000E+07
    17 'Prefactor '    .14266E-07   1.0000          .0000       .10000E+07
    18 'norm      '    24.449       1.0000          .0000       .10000E+07
    19 'Prefactor '    8.6461       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10476E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    22 'Normalizat'    .76938       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1845       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6503.006     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1406 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6923        1.8669       -.14280E-07    .35982E-02
   2  Prefactor      .0000        .68500        .97939E-07** at limit **
   3  Prefactor     10.943        5.3628        .40042E-07    .29785E-01
   4  Prefactor     18.807        2.1794       -.86960E-08   -.14147E-01
   5  Prefactor     6.7424        4.2290       -.40018E-07   -.27153E-01
   6  Prefactor     .11252E-06    7.7561       -.42809E-06** at limit **
   7  Prefactor     .12867E-06    2.0104       -.96935E-07** at limit **
   8  norm           .0000        .75335        .65160E-07** at limit **
   9  Prefactor     3.2564        2.9976       -.54117E-07   -.10285E-02
  10  Prefactor     .55511E-10    2.4138       -.12832E-06** at limit **
  11  norm          5.5345        1.4945       -.44634E-08    .54893E-02
  12  Prefactor     .28599E-06    3.4865       -.72615E-07** at limit **
  13  Prefactor     .13034E-06    2.0200       -.97988E-07** at limit **
  14  Prefactor     16.782        1.2174        .10025E-07   -.10347E-02
  15  Prefactor     .32208E-06    5.6522       -.22016E-06** at limit **
  16  Prefactor     2.8343        1.1113       -.48995E-08    .16088E-02
  17  Prefactor      .0000        .52406        .11634E-06** at limit **
  18  norm          24.452        3.5274        .22932E-08    .89955E-03
  19  Prefactor     8.4056        2.1641       -.37058E-07    .10087E-01
  20  Prefactor      .0000        1.4741       -.64771E-07** at limit **
  21  Prefactor      .0000        .70215        .87004E-07** at limit **
  22  Normalizat    .76920        .19218       -.50968E-05    .14123E-04
  23  Prefactor     1.1847        .20287        .58182E-05    .81927E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.69234
  Prefactor  = 0
  Prefactor  = 10.9432
  Prefactor  = 18.8066
  Prefactor  = 6.74235
  Prefactor  = 1.12521e-07
  Prefactor  = 1.28675e-07
  norm       = 0
  Prefactor  = 3.25638
  Prefactor  = 5.55112e-11
  norm       = 5.53452
  Prefactor  = 2.85993e-07
  Prefactor  = 1.3034e-07
  Prefactor  = 16.7817
  Prefactor  = 3.22076e-07
  Prefactor  = 2.83432
  Prefactor  = 0
  norm       = 24.4517
  Prefactor  = 8.4056
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.769197
  Prefactor  = 1.18475
 **********
 **   18 **HESSE 
 **********

 FCN=   6503.006     FROM HESSE     STATUS=OK           416 CALLS     1822 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6923        9.8936        .36113E-03   -1.5652    
   2  Prefactor      .0000        .68444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.943        7.4343        .30261E-03   -1.5642    
   4  Prefactor     18.807        11.107        .23074E-03   -1.5621    
   5  Prefactor     6.7424        7.9744        .38581E-03   -1.5656    
   6  Prefactor     .11252E-06    8.6207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12867E-06    5.5296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .74019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2564        3.0173        .56074E-03   -1.5672    
  10  Prefactor     .55511E-10    2.4105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.5345        11.805        .42616E-03   -1.5661    
  12  Prefactor     .28599E-06    5.2353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13034E-06    5.5085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.782        13.803        .24509E-03   -1.5626    
  15  Prefactor     .32208E-06    7.5986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8343        8.4178        .60445E-03   -1.5674    
  17  Prefactor      .0000        .52242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          24.452        3.5448        .20229E-03   -1.5609    
  19  Prefactor     8.4056        14.054        .34066E-03   -1.5650    
  20  Prefactor      .0000        1.4717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .70140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .76920        .17391        .63882E-01   -1.0122    
  23  Prefactor     1.1847        .17441        .56334E-01   -.86802    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7303e-07
Minuit parameter uncertainties:
  1  9.8936
  2  4.49365e-06
  3  7.43429
  4  11.1074
  5  7.97444
  6  0.00197001
  7  0.00168703
  8  1.99229e-06
  9  3.01733
  10  1.81403e-05
  11  11.8046
  12  0.0024473
  13  0.00169481
  14  13.8029
  15  0.00312866
  16  8.41788
  17  3.82458e-06
  18  3.54481
  19  14.054
  20  2.46262e-07
  21  1.94914e-06
  22  0.174033
  23  0.174491
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.860e-07  2.447e-03  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.185e+00  1.745e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  7.692e-01  1.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 5.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/76376/likelihoodResults_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.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) = 6503.01357104
delta logL = -0.00738218077095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6503.00619064
delta logL = -1.78001573659e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26056E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.4476       1.0000          .0000       10.000    
     3 'Normalizat'    .76924       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1849       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6502.280     FROM MIGRAD    STATUS=FAILED       337 CALLS      523 TOTAL
                     EDM=   .13E+01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18013E-06    .88375E-05    .76814E-06** at limit **
   2  Index        10.0000        5.8666        .42255    ** at limit **
   3  Normalizat    .70616        .85191E-01    .29421E-03    .87137E-04
   4  Prefactor     1.2303        .86967E-01    .24522E-03    .12660E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6502.280     FROM SIMPLEX   STATUS=UNCHANGED    115 CALLS      638 TOTAL
                     EDM=   .55E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18013E-06    .88375E-05    .13912E-08** at limit **
   2  Index        10.0000        5.8666        .85876E-02** at limit **
   3  Normalizat    .70616        .85191E-01    .26943E-05    .87137E-04
   4  Prefactor     1.2303        .86967E-01    .72145E-06    .12660E-03
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6502.280     FROM MIGRAD    STATUS=FAILED        63 CALLS      701 TOTAL
                     EDM=   .64E+00    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18013E-06    .88959E-05     .0000    ** at limit **
   2  Index        10.0000        5.8634         .0000    ** at limit **
   3  Normalizat    .70616        .86072E-01     .0000        .44438E-05
   4  Prefactor     1.2303        .87849E-01     .0000        .40473E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.80134e-07
  Index      = 10
  Normalizat = 0.706164
  Prefactor  = 1.23033
 **********
 **   18 **HESSE 
 **********

 FCN=   6502.280     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      734 TOTAL
                     EDM=   .13E+01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18013E-06    .88831E-05    .76803E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        5.8636        .42841        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .70616        .85848E-01    .23537E-05   -1.0365    
   4  Prefactor     1.2303        .87653E-01    .98089E-05   -.85403    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26869
Minuit parameter uncertainties:
  1  2.52996e-06
  2  0.000707682
  3  0.0858647
  4  0.0876634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/76376': 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): 1
logL (Free Index) = 6502.27952683
delta logL = 0.726662027633

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.801e-07  2.530e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.000e+01  7.077e-04  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.230e+00  8.766e-02  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  7.062e-01  8.586e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 171.491 20.091
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 4.30e-08 +/- 5.85e-07
Energy Flux (Free Index): 4.81e-06 +/- 6.58e-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/76376/cmap_HighResolution_693187201_693446401_4FGL_J1125.9+2005_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', comment='SUCCESS', energy_flux2='4.81e-06', dlogl='7.27e-01', photon_flux2='4.30e-08', job_status='DONE', time_completed='2022-12-23 00:47:29.079404', photon_index_error2='0.00', photon_index2='10.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='5.43e-08', energy_flux_error2='6.58e-05', EG='0.77', time_epoch_completed='1671785249.08', return_code='0', job_id='76376', GAL2='1.23', EG2='0.71', return_code2='1', photon_flux_error2='5.85e-07', ts2='1.55', photon_index='2.24' WHERE bin_id='1751' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:47:29 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 76376: <4FGL_J1125.9+2005_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:35:14 2022
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:35:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:35:15 2022
Terminated at Fri Dec 23 00:47:29 2022
Results reported at Fri Dec 23 00:47:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1751 171.491 20.0912 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1125.9+2005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            735 sec.

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

