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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1768
RA = 171.491, Dec = 20.0912
tmin = 697593601, tmax = 697852801
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='269058', job_status='RUN', time_executed='2023-02-12 00:49:42.254263', time_epoch_executed='1676191782.25' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/269058

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/269058/ft1_4FGL_J1125.9+2005_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/269058/ft2_4FGL_J1125.9+2005_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/269058/ft1_4FGL_J1125.9+2005_daily_bin1768.fits outfile=/scratch/kocevski/269058/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1768.fits ra=171.491 dec=20.0912 rad=12.0 tmin=697593601.0 tmax=697852801.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.66
user 3.38
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/269058/ft2_4FGL_J1125.9+2005_daily_bin1768.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/269058/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/269058/ft1_filtered_4FGL_J1125.9+2005_daily_bin1768.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.16

Number of photons that the gtmktime cut: 651

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/269058/ft1_filtered_4FGL_J1125.9+2005_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/269058/ft2_4FGL_J1125.9+2005_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/269058/ltcube_697593601_697852801_4FGL_J1125.9+2005_daily_bin1768.fits outfile=/scratch/kocevski/269058/expmap_697593601_697852801_4FGL_J1125.9+2005_daily_bin1768.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/269058/ltcube_697593601_697852801_4FGL_J1125.9+2005_daily_bin1768.fits
.....................!
real 191.76
user 186.05
sys 5.13

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/269058/ft1_filtered_4FGL_J1125.9+2005_daily_bin1768.fits scfile=/scratch/kocevski/269058/ft2_4FGL_J1125.9+2005_daily_bin1768.fits outfile=/scratch/kocevski/269058/cmap_697593601_697852801_4FGL_J1125.9+2005_daily_bin1768.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.58
user 0.39
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4704       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12913       1.0000          .0000       .10000E+07
     3 'Prefactor '    15.841       1.0000          .0000       .10000E+07
     4 'Prefactor '    20.117       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.5998       1.0000          .0000       .10000E+07
     6 'Prefactor '    .71298E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .76179E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .77105E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7564       1.0000          .0000       .10000E+07
    10 'Prefactor '    .55831E-05   1.0000          .0000       .10000E+07
    11 'norm      '    28.887       1.0000          .0000       .10000E+07
    12 'Prefactor '    11.252       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.9244       1.0000          .0000       .10000E+07
    14 'Prefactor '    .54262E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.8928       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.0154       1.0000          .0000       .10000E+07
    17 'Prefactor '    .22577E-05   1.0000          .0000       .10000E+07
    18 'norm      '    61.029       1.0000          .0000       .10000E+07
    19 'Prefactor '    .56535E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .62925       1.0000          .0000       .10000E+07
    21 'Prefactor '    .99572       1.0000          .0000       .10000E+07
    22 'Normalizat'    .97040       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95190       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=   6801.558     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1504 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4931        6.5491        .19494E-05    .23269E-01
   2  Prefactor     .11440        4.7887       -.98520E-06** at limit **
   3  Prefactor     15.828        3.4711        .12966E-06   -.83824E-01
   4  Prefactor     20.096        2.8215       -.95461E-07    .15339E-01
   5  Prefactor     6.6193        4.5851       -.28313E-06    .15334E-01
   6  Prefactor     .13323E-08    6.1771       -.18283E-05** at limit **
   7  Prefactor     .39024E-07    3.5654        .11000E-05** at limit **
   8  norm          .11102E-09    .45973       -.53651E-07** at limit **
   9  Prefactor     1.7585        2.8184        .38146E-06    .12964E-02
  10  Prefactor     .24702E-07    8.1539       -.20847E-05** at limit **
  11  norm          28.775        3.5943       -.33464E-06    .17125E-01
  12  Prefactor     11.115        3.9955        .31063E-06    .93508E-02
  13  Prefactor     9.8922        1.1607        .23440E-07    .30903E-02
  14  Prefactor     .55511E-10    3.6791        .44616E-07** at limit **
  15  Prefactor     2.9137        1.3216        .30810E-06   -.42474E-02
  16  Prefactor     1.0003        6.4682        .12492E-06    .26541E-02
  17  Prefactor     .16653E-09    .53381        .14160E-07** at limit **
  18  norm          61.033        5.3423        .74166E-07    .41545E-02
  19  Prefactor     .30531E-08    4.4153        .15095E-05** at limit **
  20  Prefactor     .62948        2.3780        .31131E-06    .99267E-02
  21  Prefactor     .98643        2.0586        .99583E-07   -.46372E-02
  22  Normalizat    .97122        .20793       -.21936E-05   -.16668E-03
  23  Prefactor     .95176        .21253        .37107E-05   -.15208E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.49315
  Prefactor  = 0.114395
  Prefactor  = 15.828
  Prefactor  = 20.0961
  Prefactor  = 6.61927
  Prefactor  = 1.33227e-09
  Prefactor  = 3.90243e-08
  norm       = 1.11022e-10
  Prefactor  = 1.75852
  Prefactor  = 2.47025e-08
  norm       = 28.7751
  Prefactor  = 11.1153
  Prefactor  = 9.8922
  Prefactor  = 5.55112e-11
  Prefactor  = 2.91372
  Prefactor  = 1.00032
  Prefactor  = 1.66533e-10
  norm       = 61.0327
  Prefactor  = 3.05311e-09
  Prefactor  = 0.629477
  Prefactor  = 0.986428
  Normalizat = 0.971218
  Prefactor  = 0.95176
 **********
 **   18 **HESSE 
 **********

 FCN=   6801.558     FROM HESSE     STATUS=OK           430 CALLS     1934 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4931        7.0871        .47599E-03   -1.5666    
   2  Prefactor     .11440        1.5296        .32193E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.828        8.5977        .25138E-03   -1.5628    
   4  Prefactor     20.096        11.341        .22303E-03   -1.5618    
   5  Prefactor     6.6193        9.2081        .39039E-03   -1.5657    
   6  Prefactor     .13323E-08    6.3936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39024E-07    8.2813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11102E-09    .46081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7585        2.8608        .79054E-03   -1.5681    
  10  Prefactor     .24702E-07    9.6578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          28.775        15.765        .18609E-03   -1.5601    
  12  Prefactor     11.115        13.713        .29841E-03   -1.5641    
  13  Prefactor     9.8922        12.779        .31784E-03   -1.5645    
  14  Prefactor     .55511E-10    3.6948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9137        36.732        .59723E-03   -1.5674    
  16  Prefactor     1.0003        11.339        .80078E-02   -1.5688    
  17  Prefactor     .16653E-09    .53593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          61.033        5.5163        .12801E-03   -1.5552    
  19  Prefactor     .30531E-08    7.6996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62948        9.5445        .66648E-03   -1.5692    
  21  Prefactor     .98643        2.1054        .43614E-03   -1.5688    
  22  Normalizat    .97122        .19697        .45795E-01   -.94001    
  23  Prefactor     .95176        .18438        .66465E-01   -.94355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07963e-07
Minuit parameter uncertainties:
  1  7.08715
  2  0.8366
  3  8.59774
  4  11.3405
  5  9.20811
  6  0.000183556
  7  0.00113686
  8  1.3383e-05
  9  2.86076
  10  0.00097673
  11  15.7649
  12  13.7127
  13  12.7793
  14  3.2146e-05
  15  20.691
  16  6.73592
  17  1.75509e-05
  18  5.5163
  19  0.000306547
  20  4.90227
  21  2.10541
  22  0.19712
  23  0.184505
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.112e+01  1.371e+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:  9.518e-01  1.845e-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:  9.712e-01  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.85
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/269058/likelihoodResults_697593601_697852801_4FGL_J1125.9+2005_daily_bin1768.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) = 6801.14788703
delta logL = 0.410610642477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6801.13946291
delta logL = 0.419034763157

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4770       1.0000          .0000       .10000E+07
     2 'Index     '    2.9695       1.0000          .0000       10.000    
     3 'Normalizat'    .92891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97714       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=   6801.139     FROM MIGRAD    STATUS=FAILED       102 CALLS      299 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4625        17.446        .77142E-04   -.15059E-02
   2  Index         2.9706        1.5505        .58504E-02    .64167E-03
   3  Normalizat    .92884        .21483        .28824E-03   -.20849E-03
   4  Prefactor     .97710        .21656        .29056E-03   -.20303E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6801.139     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      375 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4625        17.446        .12603E-04   -1.5661    
   2  Index         2.9706        1.5505        .64199E-03   -.41793    
   3  Normalizat    .92884        .21483        .38298E-03   -.95454    
   4  Prefactor     .97710        .21656        .31672E-03   -.93497    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6801.139     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      405 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4625        9.7661        .30857E-05   -.29475E-04
   2  Index         2.9706        .87881        .11701E-02    .25932E-04
   3  Normalizat    .92884        .21365        .11530E-04   -.78883E-07
   4  Prefactor     .97710        .21477        .11622E-04     .0000    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.46252
  Index      = 2.97064
  Normalizat = 0.928839
  Prefactor  = 0.977102
 **********
 **   18 **HESSE 
 **********

 FCN=   6801.139     FROM HESSE     STATUS=OK            25 CALLS      430 TOTAL
                     EDM=   .17E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4625        9.3546        .12343E-06   -1.5661    
   2  Index         2.9706        .84184        .23402E-03   -.41793    
   3  Normalizat    .92884        .21359        .11530E-04   -.95454    
   4  Prefactor     .97710        .21468        .11622E-04   -.93497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65242e-14
Minuit parameter uncertainties:
  1  9.35462
  2  0.846681
  3  0.213789
  4  0.214869
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/269058': 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) = 6801.139461
delta logL = 0.419036667623

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  5.463e+00  9.355e+00  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  2.971e+00  8.467e-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:  9.771e-01  2.149e-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:  9.288e-01  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.73
Ra Dec: 171.491 20.091
Photon Index (Free Index): 2.97 +/- 0.85
Photon Flux (Free Index): 6.39e-08 +/- 5.88e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/269058/cmap_HighResolution_697593601_697852801_4FGL_J1125.9+2005_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.57e-03', comment='SUCCESS', energy_flux2='1.29e-05', dlogl='4.19e-01', photon_flux2='6.39e-08', job_status='DONE', time_completed='2023-02-12 01:00:36.075057', photon_index_error2='0.85', photon_index2='2.97', ts='0.85', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.14e-05', EG='0.97', time_epoch_completed='1676192436.08', return_code='0', job_id='269058', GAL2='0.98', EG2='0.93', return_code2='0', photon_flux_error2='5.88e-08', ts2='1.73', photon_index='2.24' WHERE bin_id='1768' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:00:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 269058: <4FGL_J1125.9+2005_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 00:45:13 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:47:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:47:10 2023
Terminated at Sun Feb 12 01:00:36 2023
Results reported at Sun Feb 12 01:00:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1768 171.491 20.0912 697593601 697852801 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 :                                   655.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            923 sec.

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

