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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1708
RA = 171.491, Dec = 20.0912
tmin = 682041601, tmax = 682300801
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='103040', job_status='RUN', time_executed='2022-09-16 15:58:11.390523', time_epoch_executed='1663369091.39' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103040

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103040/ft1_4FGL_J1125.9+2005_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103040/ft2_4FGL_J1125.9+2005_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103040/ft1_4FGL_J1125.9+2005_daily_bin1708.fits outfile=/scratch/kocevski/103040/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1708.fits ra=171.491 dec=20.0912 rad=12.0 tmin=682041601.0 tmax=682300801.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.97
user 3.75
sys 0.20

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

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

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103040/ft1_filtered_4FGL_J1125.9+2005_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/103040/ft2_4FGL_J1125.9+2005_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/103040/ltcube_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.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/103040/ft2_4FGL_J1125.9+2005_daily_bin1708.fits
.....................!
real 13.57
user 13.05
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103040/ft1_filtered_4FGL_J1125.9+2005_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/103040/ft2_4FGL_J1125.9+2005_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/103040/ltcube_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.fits outfile=/scratch/kocevski/103040/expmap_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.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/103040/ltcube_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.fits
.....................!
real 192.59
user 185.74
sys 6.00

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/103040/ft1_filtered_4FGL_J1125.9+2005_daily_bin1708.fits scfile=/scratch/kocevski/103040/ft2_4FGL_J1125.9+2005_daily_bin1708.fits outfile=/scratch/kocevski/103040/cmap_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103040/ft1_filtered_4FGL_J1125.9+2005_daily_bin1708.fits scfile=/scratch/kocevski/103040/ft2_4FGL_J1125.9+2005_daily_bin1708.fits outfile=/scratch/kocevski/103040/cmap_HighResolution_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.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.55
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/103040/ft1_filtered_4FGL_J1125.9+2005_daily_bin1708.fits', '/scratch/kocevski/103040/ft2_4FGL_J1125.9+2005_daily_bin1708.fits', expMap='/scratch/kocevski/103040/expmap_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.fits', expCube='/scratch/kocevski/103040/ltcube_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/103040/Model_4FGL_J1125.9+2005_daily_bin1708.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/103040/ft1_filtered_4FGL_J1125.9+2005_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/103040/ft2_4FGL_J1125.9+2005_daily_bin1708.fits
Exposure map: /scratch/kocevski/103040/expmap_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.fits
Exposure cube: /scratch/kocevski/103040/ltcube_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/103040/Model_4FGL_J1125.9+2005_daily_bin1708.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) = 6350.22877262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3946       1.0000          .0000       .10000E+07
     2 'Prefactor '    .77071       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.081       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7851       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26325E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63312E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32389E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .23400       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24253E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .21344E-02   1.0000          .0000       .10000E+07
    11 'norm      '    10.567       1.0000          .0000       .10000E+07
    12 'Prefactor '    .90814       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15461E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    12.820       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14655       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61932E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .59093       1.0000          .0000       .10000E+07
    18 'norm      '    27.670       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29109E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .92128       1.0000          .0000       .10000E+07
    21 'Prefactor '    .42666E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.4073       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77807       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=   6350.226     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     2828 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4492        2.1818        .19912E-06    .10556E-02
   2  Prefactor     .77772        2.1619        .49991E-07    .64171E-03
   3  Prefactor     25.086        1.1428       -.90568E-08   -.37666E-02
   4  Prefactor     4.9508        9.1430       -.16790E-05   -.12957E-01
   5  Prefactor     .18874E-08    5.8749       -.26190E-06** at limit **
   6  Prefactor     .55511E-10    4.3749        .28063E-07** at limit **
   7  Prefactor     .16653E-09    17.341       -.91701E-07** at limit **
   8  norm          .23331        1.4496        .18945E-07** at limit **
   9  Prefactor      .0000        1.1666        .26758E-07** at limit **
  10  Prefactor     .33307E-09    8.0132        .14554E-06** at limit **
  11  norm          10.551        1.1522        .33317E-07    .40789E-02
  12  Prefactor     .89707        .97678        .46142E-06   -.20904E-01
  13  Prefactor     .11657E-07    38.140       -.17534E-05** at limit **
  14  Prefactor     12.969        3.2666       -.43224E-06    .46912E-01
  15  Prefactor     .28849E-06    3.6923       -.15895E-05** at limit **
  16  Prefactor     .19429E-07    37.593       -.35371E-06** at limit **
  17  Prefactor     .59619        2.0706        .85477E-07    .16736E-01
  18  norm          27.683        4.2196       -.39252E-07   -.29927E-01
  19  Prefactor     .19429E-07    42.216        .38410E-05** at limit **
  20  Prefactor     .88279        .65378        .39631E-07    .81903E-02
  21  Prefactor     .22204E-09    1.9046        .12951E-07** at limit **
  22  Normalizat    1.4065        .23885        .53765E-05    .23320E-03
  23  Prefactor     .77879        .23120       -.28492E-05    .12718E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.44919
  Prefactor  = 0.777715
  Prefactor  = 25.0859
  Prefactor  = 4.95078
  Prefactor  = 1.88738e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 1.66533e-10
  norm       = 0.233307
  Prefactor  = 0
  Prefactor  = 3.33067e-10
  norm       = 10.5509
  Prefactor  = 0.897073
  Prefactor  = 1.16573e-08
  Prefactor  = 12.9685
  Prefactor  = 2.88491e-07
  Prefactor  = 1.94289e-08
  Prefactor  = 0.596187
  norm       = 27.6825
  Prefactor  = 1.94289e-08
  Prefactor  = 0.882791
  Prefactor  = 2.22045e-10
  Normalizat = 1.40651
  Prefactor  = 0.778788
 **********
 **   18 **HESSE 
 **********

 FCN=   6350.226     FROM HESSE     STATUS=OK           438 CALLS     3266 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4492        7.6249        .34576E-03   -1.5650    
   2  Prefactor     .77772        2.2349        .55144E-03   -1.5690    
   3  Prefactor     25.086        10.293        .19972E-03   -1.5608    
   4  Prefactor     4.9508        9.5845        .45969E-03   -1.5663    
   5  Prefactor     .18874E-08    5.9393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    4.4013        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    17.053        .16327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .23331        .88717        .27402E-02   -1.5718    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.1619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33307E-09    8.0816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.551        11.006        .30798E-03   -1.5643    
  12  Prefactor     .89707        44.810        .45199E-03   -1.5689    
  13  Prefactor     .11657E-07    17.873        .10598E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.969        19.655        .27951E-03   -1.5636    
  15  Prefactor     .28849E-06    62.460        .12817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .19429E-07    37.377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .59619        2.1034        .70044E-03   -1.5693    
  18  norm          27.683        4.2366        .19014E-03   -1.5603    
  19  Prefactor     .19429E-07    14.397        .10483E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .88279        4.2347        .44300E-03   -1.5689    
  21  Prefactor     .22204E-09    1.8864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4065        .20458        .56037E-01   -.80441    
  23  Prefactor     .77879        .19519        .72298E-01   -1.0052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58018e-07
Minuit parameter uncertainties:
  1  7.62487
  2  2.23495
  3  10.2931
  4  9.58451
  5  0.000213027
  6  2.50793e-05
  7  0.000100634
  8  0.887173
  9  5.64713e-06
  10  0.000105784
  11  11.0065
  12  12.6805
  13  0.000913431
  14  19.6555
  15  0.00848967
  16  0.00170344
  17  2.10341
  18  4.23657
  19  0.00105712
  20  3.86695
  21  3.85219e-05
  22  0.204698
  23  0.195367
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  8.971e-01  1.268e+01  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:  7.788e-01  1.954e-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:  1.407e+00  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/103040/likelihoodResults_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.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) = 6350.21673505
delta logL = 0.00923892139599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6350.20436036
delta logL = 0.0216136100762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1964       1.0000          .0000       .10000E+07
     2 'Index     '    1.8389       1.0000          .0000       10.000    
     3 'Normalizat'    1.4091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77355       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6350.204     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      287 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1947        18.069        .22659E-04    .18403E-02
   2  Index         1.8383        1.3944        .99028E-02    .97940E-04
   3  Normalizat    1.4091        .23077        .24759E-03   -.46040E-03
   4  Prefactor     .77353        .23137        .32097E-03   -.46576E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.19475
  Index      = 1.83828
  Normalizat = 1.4091
  Prefactor  = 0.77353
 **********
 **   18 **HESSE 
 **********

 FCN=   6350.204     FROM HESSE     STATUS=OK            23 CALLS      310 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1947        17.938        .90637E-06   -1.5672    
   2  Index         1.8383        1.3899        .39611E-03   -.68457    
   3  Normalizat    1.4091        .23092        .49519E-04   -.80366    
   4  Prefactor     .77353        .23149        .64193E-04   -1.0071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07731e-09
Minuit parameter uncertainties:
  1  15.1402
  2  1.42155
  3  0.231094
  4  0.231783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103040': 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): 0
logL (Free Index) = 6350.20436022
delta logL = 0.0216137436264

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  3.195e+00  1.514e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.838e+00  1.422e+00  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:  7.735e-01  2.318e-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:  1.409e+00  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 171.491 20.091

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/103040/cmap_HighResolution_682041601_682300801_4FGL_J1125.9+2005_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.19e-08', time_completed='2022-09-16 16:10:17.718208', job_id='103040', GAL2='0.77', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1663369817.72', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.16e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1708' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:10:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 103040: <4FGL_J1125.9+2005_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1708> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 15:55:16 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:57:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:57:10 2022
Terminated at Fri Sep 16 16:10:18 2022
Results reported at Fri Sep 16 16:10:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1708 171.491 20.0912 682041601 682300801 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 :                                   727.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            902 sec.

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

