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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1778
RA = 171.491, Dec = 20.0912
tmin = 700185601, tmax = 700444801
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='959736', job_status='RUN', time_executed='2023-03-14 00:48:06.636481', time_epoch_executed='1678780086.64' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/959736

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/959736/ft1_4FGL_J1125.9+2005_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/959736/ft2_4FGL_J1125.9+2005_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/959736/ft1_4FGL_J1125.9+2005_daily_bin1778.fits outfile=/scratch/kocevski/959736/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1778.fits ra=171.491 dec=20.0912 rad=12.0 tmin=700185601.0 tmax=700444801.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.94
user 3.71
sys 0.22

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

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

Number of photons that the gtmktime cut: 550

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/959736/ft1_filtered_4FGL_J1125.9+2005_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/959736/ft2_4FGL_J1125.9+2005_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/959736/ltcube_700185601_700444801_4FGL_J1125.9+2005_daily_bin1778.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/959736/ft2_4FGL_J1125.9+2005_daily_bin1778.fits
.....................!
real 11.95
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/959736/ft1_filtered_4FGL_J1125.9+2005_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/959736/ft2_4FGL_J1125.9+2005_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/959736/ltcube_700185601_700444801_4FGL_J1125.9+2005_daily_bin1778.fits outfile=/scratch/kocevski/959736/expmap_700185601_700444801_4FGL_J1125.9+2005_daily_bin1778.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/959736/ltcube_700185601_700444801_4FGL_J1125.9+2005_daily_bin1778.fits
.....................!
real 191.46
user 185.73
sys 5.41

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/959736/ft1_filtered_4FGL_J1125.9+2005_daily_bin1778.fits scfile=/scratch/kocevski/959736/ft2_4FGL_J1125.9+2005_daily_bin1778.fits outfile=/scratch/kocevski/959736/cmap_700185601_700444801_4FGL_J1125.9+2005_daily_bin1778.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/959736/ft1_filtered_4FGL_J1125.9+2005_daily_bin1778.fits scfile=/scratch/kocevski/959736/ft2_4FGL_J1125.9+2005_daily_bin1778.fits outfile=/scratch/kocevski/959736/cmap_HighResolution_700185601_700444801_4FGL_J1125.9+2005_daily_bin1778.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11141E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.1473       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.6721       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11769E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .56379E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .71692E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.986       1.0000          .0000       .10000E+07
     8 'norm      '    .14484       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5095       1.0000          .0000       .10000E+07
    10 'Prefactor '    .79045E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .21889E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19331E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .55870E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .63670E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11999E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    12.292       1.0000          .0000       .10000E+07
    17 'Prefactor '    .78437E-07   1.0000          .0000       .10000E+07
    18 'norm      '    18.120       1.0000          .0000       .10000E+07
    19 'Prefactor '    20.891       1.0000          .0000       .10000E+07
    20 'Prefactor '    .18093       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17704E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2139       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0122       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=   6165.429     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1911 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    2.9352        .25429E-06** at limit **
   2  Prefactor     1.1518        2.2973        .68107E-06    .16030E-02
   3  Prefactor     9.6733        1.4709        .23051E-06    .35965E-01
   4  Prefactor     .15388E-06    2.7878        .16892E-05** at limit **
   5  Prefactor     .55511E-08    13.208       -.11913E-05** at limit **
   6  Prefactor     .34750E-07    4.5162       -.38515E-06** at limit **
   7  Prefactor     25.945        1.3036       -.61256E-07    .30133E-02
   8  norm          .14702        1.7761        .23885E-06** at limit **
   9  Prefactor     1.5105        3.1867       -.14111E-06   -.40367E-04
  10  Prefactor     .10242E-06    3.1147       -.13445E-05** at limit **
  11  norm          .24514E-06    4.2697       -.14009E-05** at limit **
  12  Prefactor     .12412E-05    9.5384        .35082E-05** at limit **
  13  Prefactor     .16959E-06    4.9682        .13983E-05** at limit **
  14  Prefactor     .57343E-06    11.068        .34714E-05** at limit **
  15  Prefactor     .89484E-07    20.514       -.74717E-06** at limit **
  16  Prefactor     12.302        1.5850        .56119E-07   -.31046E-01
  17  Prefactor      .0000        .60017       -.16983E-06** at limit **
  18  norm          18.118        3.4111        .35474E-06   -.43352E-02
  19  Prefactor     20.803        7.2657       -.87473E-06    .64256E-01
  20  Prefactor     .17871        3.7261       -.28216E-05** at limit **
  21  Prefactor     .44409E-09    3.1290       -.14702E-06** at limit **
  22  Normalizat    1.2140        .22382        .16450E-04   -.82449E-04
  23  Prefactor     1.0123        .22456       -.21602E-04   -.12765E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 1.15184
  Prefactor  = 9.67331
  Prefactor  = 1.53877e-07
  Prefactor  = 5.55112e-09
  Prefactor  = 3.475e-08
  Prefactor  = 25.9446
  norm       = 0.147018
  Prefactor  = 1.51049
  Prefactor  = 1.02418e-07
  norm       = 2.45137e-07
  Prefactor  = 1.24123e-06
  Prefactor  = 1.69587e-07
  Prefactor  = 5.7343e-07
  Prefactor  = 8.9484e-08
  Prefactor  = 12.3023
  Prefactor  = 0
  norm       = 18.1182
  Prefactor  = 20.8028
  Prefactor  = 0.178706
  Prefactor  = 4.44089e-10
  Normalizat = 1.21402
  Prefactor  = 1.01234
 **********
 **   18 **HESSE 
 **********

 FCN=   6165.429     FROM HESSE     STATUS=OK           424 CALLS     2335 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    2.9477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.1518        2.3338        .10815E-02   -1.5686    
   3  Prefactor     9.6733        8.4977        .32198E-03   -1.5646    
   4  Prefactor     .15388E-06    4.0168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-08    13.933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .34750E-07    4.7008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.945        16.493        .19621E-03   -1.5606    
   8  norm          .14702        .83416        .25551E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5105        3.2214        .87037E-03   -1.5683    
  10  Prefactor     .10242E-06    3.9131        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .24514E-06    6.0288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12412E-05    20.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16959E-06    6.3784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .57343E-06    17.265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .89484E-07    24.361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.302        11.566        .28546E-03   -1.5638    
  17  Prefactor      .0000        .60293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.118        3.4126        .23501E-03   -1.5623    
  19  Prefactor     20.803        26.435        .21885E-03   -1.5617    
  20  Prefactor     .17871        2.3226        .83387E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .44409E-09    3.0977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2140        .19543        .58033E-01   -.86171    
  23  Prefactor     1.0123        .18879        .63799E-01   -.92319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01167e-07
Minuit parameter uncertainties:
  1  6.04178e-05
  2  2.33383
  3  8.49767
  4  0.00157248
  5  0.000554923
  6  0.000808074
  7  16.4927
  8  0.700389
  9  3.22145
  10  0.00126612
  11  0.00243124
  12  0.0101819
  13  0.00207995
  14  0.00629299
  15  0.00295331
  16  11.5662
  17  7.54078e-06
  18  3.41261
  19  26.435
  20  1.2885
  21  7.39398e-05
  22  0.195545
  23  0.188918
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.241e-06  1.018e-02  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.012e+00  1.889e-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.214e+00  1.955e-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: 9.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/959736/likelihoodResults_700185601_700444801_4FGL_J1125.9+2005_daily_bin1778.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) = 6165.45273244
delta logL = -0.0242093454208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6165.30456088
delta logL = 0.123962221069

Fit tolerance = 1e-08

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

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

 FCN=   6165.305     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      251 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53846        23.115        .74248E-03    .16995E-01
   2  Index         3.8359        3.3984        .13399        .12899E-03
   3  Normalizat    1.1637        .37438E-01    .59138E-01    .86709E-05
   4  Prefactor     1.0414        .38160E-01    .63026E-01    .10266E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.538458
  Index      = 3.83593
  Normalizat = 1.16369
  Prefactor  = 1.0414
 **********
 **   18 **HESSE 
 **********

 FCN=   6165.305     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53846        86.623        .10226E-04   -1.5693    
   2  Index         3.8359        5.9285        .82300E-02   -.23497    
   3  Normalizat    1.1637        .18929        .26154E-03   -.87732    
   4  Prefactor     1.0414        .18811        .27875E-03   -.91362    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.06859e-09
Minuit parameter uncertainties:
  1  13.6593
  2  10.9789
  3  0.189405
  4  0.18823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/959736': 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) = 6165.30455627
delta logL = 0.123966829938

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  5.385e-01  1.366e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  3.836e+00  1.098e+01  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.041e+00  1.882e-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.164e+00  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/959736/cmap_HighResolution_700185601_700444801_4FGL_J1125.9+2005_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', job_status='DONE', photon_flux_upper_limit='9.44e-08', time_completed='2023-03-14 00:58:26.309786', job_id='959736', GAL2='1.04', fit_tolerance='1e-08', EG2='1.16', EG='1.21', time_epoch_completed='1678780706.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.24e-01', ts2='0.29', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1778' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:58:26 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 959736: <4FGL_J1125.9+2005_daily_bin1778> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1778> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Mar 14 00:45:15 2023
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:45:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:45:17 2023
Terminated at Tue Mar 14 00:58:26 2023
Results reported at Tue Mar 14 00:58:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1778 171.491 20.0912 700185601 700444801 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 :                                   622.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            791 sec.

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

