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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin1764
RA = 171.491, Dec = 20.0912
tmin = 696556801, tmax = 696816001
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='443615', job_status='RUN', time_executed='2023-01-31 00:42:46.468915', time_epoch_executed='1675154566.47' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443615

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443615/ft1_4FGL_J1125.9+2005_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443615/ft2_4FGL_J1125.9+2005_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443615/ft1_4FGL_J1125.9+2005_daily_bin1764.fits outfile=/scratch/kocevski/443615/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin1764.fits ra=171.491 dec=20.0912 rad=12.0 tmin=696556801.0 tmax=696816001.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.44
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443615/ft1_filtered_4FGL_J1125.9+2005_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/443615/ft2_4FGL_J1125.9+2005_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/443615/ltcube_696556801_696816001_4FGL_J1125.9+2005_daily_bin1764.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/443615/ft2_4FGL_J1125.9+2005_daily_bin1764.fits
.....................!
real 15.36
user 14.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443615/ft1_filtered_4FGL_J1125.9+2005_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/443615/ft2_4FGL_J1125.9+2005_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/443615/ltcube_696556801_696816001_4FGL_J1125.9+2005_daily_bin1764.fits outfile=/scratch/kocevski/443615/expmap_696556801_696816001_4FGL_J1125.9+2005_daily_bin1764.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/443615/ltcube_696556801_696816001_4FGL_J1125.9+2005_daily_bin1764.fits
.....................!
real 191.01
user 185.78
sys 4.85

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/443615/ft1_filtered_4FGL_J1125.9+2005_daily_bin1764.fits scfile=/scratch/kocevski/443615/ft2_4FGL_J1125.9+2005_daily_bin1764.fits outfile=/scratch/kocevski/443615/cmap_696556801_696816001_4FGL_J1125.9+2005_daily_bin1764.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443615/ft1_filtered_4FGL_J1125.9+2005_daily_bin1764.fits scfile=/scratch/kocevski/443615/ft2_4FGL_J1125.9+2005_daily_bin1764.fits outfile=/scratch/kocevski/443615/cmap_HighResolution_696556801_696816001_4FGL_J1125.9+2005_daily_bin1764.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.61
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18007E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.3255       1.0000          .0000       .10000E+07
     3 'Prefactor '    28.329       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.461       1.0000          .0000       .10000E+07
     5 'Prefactor '    .88023       1.0000          .0000       .10000E+07
     6 'Prefactor '    .40690E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17408E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .30835E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .48487E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .93259E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .10663E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    15.249       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.958       1.0000          .0000       .10000E+07
    14 'Prefactor '    .62839E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.8475       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.2038       1.0000          .0000       .10000E+07
    17 'Prefactor '    3.4747       1.0000          .0000       .10000E+07
    18 'norm      '    64.382       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.0666       1.0000          .0000       .10000E+07
    20 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
    21 'Prefactor '    .45852E-07   1.0000          .0000       .10000E+07
    22 'Normalizat'    .62853       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1329       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=   6898.092     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     2242 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .92759E-07    5.1192       -.58709E-06** at limit **
   2  Prefactor     4.3253        2.7842        .10493E-06   -.79489E-03
   3  Prefactor     28.331        10.379        .19882E-06   -.68829E-02
   4  Prefactor     12.462        4.7576        .57059E-06    .19582E-01
   5  Prefactor     .88076        .90381        .35200E-06    .28924E-02
   6  Prefactor     .60008E-07    14.714       -.56061E-06** at limit **
   7  Prefactor     .18652E-07    8.6074        .72970E-06** at limit **
   8  norm           .0000        2.4947        .10857E-05** at limit **
   9  Prefactor     .16964E-06    4.8937       -.11042E-05** at limit **
  10  Prefactor     .37748E-08    3.6342       -.24580E-06** at limit **
  11  norm          .46629E-08    9.0782       -.13256E-05** at limit **
  12  Prefactor     15.250        4.8858       -.49078E-06    .10062E-01
  13  Prefactor     11.971        9.5574       -.55175E-06    .21963E-01
  14  Prefactor     .30254E-07    60.788       -.11745E-05** at limit **
  15  Prefactor     3.8377        3.2648        .58360E-06   -.23798E-01
  16  Prefactor     6.2015        7.7593       -.14119E-05   -.21073E-01
  17  Prefactor     3.4747        1.9962       -.22092E-06    .68449E-03
  18  norm          64.382        5.7202       -.40984E-07    .82759E-02
  19  Prefactor     3.0661        2.0012        .10845E-07   -.15467E-02
  20  Prefactor     .55511E-10    .87447        .82169E-07** at limit **
  21  Prefactor     .77716E-09    2.5682        .41787E-06** at limit **
  22  Normalizat    .62854        .21213        .58634E-05   -.56230E-04
  23  Prefactor     1.1329        .21496        .36966E-05   -.27993E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.27591e-08
  Prefactor  = 4.32525
  Prefactor  = 28.3305
  Prefactor  = 12.4616
  Prefactor  = 0.880763
  Prefactor  = 6.00076e-08
  Prefactor  = 1.86517e-08
  norm       = 0
  Prefactor  = 1.69642e-07
  Prefactor  = 3.77476e-09
  norm       = 4.66294e-09
  Prefactor  = 15.2495
  Prefactor  = 11.9711
  Prefactor  = 3.02536e-08
  Prefactor  = 3.83767
  Prefactor  = 6.20152
  Prefactor  = 3.47474
  norm       = 64.3824
  Prefactor  = 3.06613
  Prefactor  = 5.55112e-11
  Prefactor  = 7.77156e-10
  Normalizat = 0.628536
  Prefactor  = 1.13288
 **********
 **   18 **HESSE 
 **********

 FCN=   6898.092     FROM HESSE     STATUS=OK           428 CALLS     2670 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .92759E-07    7.3455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3253        2.7952        .48411E-03   -1.5666    
   3  Prefactor     28.331        10.490        .18791E-03   -1.5602    
   4  Prefactor     12.462        12.493        .28352E-03   -1.5637    
   5  Prefactor     .88076        18.211        .47136E-03   -1.5689    
   6  Prefactor     .60008E-07    16.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .18652E-07    8.8649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .76350        .24275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16964E-06    1.5649        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .37748E-08    3.7301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .46629E-08    12.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.250        11.824        .25622E-03   -1.5630    
  13  Prefactor     11.971        17.287        .28944E-03   -1.5639    
  14  Prefactor     .30254E-07    62.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.8377        39.312        .51425E-03   -1.5669    
  16  Prefactor     6.2015        10.980        .40281E-03   -1.5658    
  17  Prefactor     3.4747        2.0385        .54223E-03   -1.5671    
  18  norm          64.382        5.9461        .12464E-03   -1.5547    
  19  Prefactor     3.0661        17.918        .57902E-03   -1.5673    
  20  Prefactor     .55511E-10    .87479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .77716E-09    2.5562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .62854        .18972        .74550E-01   -1.0679    
  23  Prefactor     1.1329        .18185        .58900E-01   -.88422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69757e-07
Minuit parameter uncertainties:
  1  0.00165077
  2  2.79521
  3  10.4898
  4  12.4934
  5  8.00991
  6  0.00197128
  7  0.000812878
  8  6.17654e-06
  9  0.00103048
  10  0.000237365
  11  0.000478166
  12  11.8237
  13  17.2871
  14  0.00275503
  15  24.5658
  16  10.9805
  17  2.03854
  18  5.94611
  19  14.8243
  20  1.04192e-05
  21  8.84274e-05
  22  0.189914
  23  0.181947
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.525e+01  1.182e+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:  1.133e+00  1.819e-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:  6.285e-01  1.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.75
Ra Dec: 171.491 20.091
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.23e-08 +/- 3.28e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.37e-05

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) = 6897.72841791
delta logL = 0.363569719943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6897.71956981
delta logL = 0.372417819621

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.900       1.0000          .0000       .10000E+07
     2 'Index     '    1.5892       1.0000          .0000       10.000    
     3 'Normalizat'    .65874       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1220       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=   6897.720     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      221 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.927        18.537        .27864E-03    .33057E-02
   2  Index         1.5904        .70936        .28866       -.13597E-03
   3  Normalizat    .65872        .17640        .72923E-01   -.49717E-04
   4  Prefactor     1.1220        .18006        .59161E-01   -.24458E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9269
  Index      = 1.59045
  Normalizat = 0.65872
  Prefactor  = 1.12203
 **********
 **   18 **HESSE 
 **********

 FCN=   6897.720     FROM HESSE     STATUS=OK            29 CALLS      250 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.927        17.586        .11145E-04   -1.5636    
   2  Index         1.5904        .87595        .10246E-01   -.75037    
   3  Normalizat    .65872        .20714        .32282E-03   -1.0555    
   4  Prefactor     1.1220        .21430        .26160E-03   -.88765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17389e-10
Minuit parameter uncertainties:
  1  17.5865
  2  0.884545
  3  0.207384
  4  0.214466
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443615': 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) = 6897.71956842
delta logL = 0.37241920945

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.293e+01  1.759e+01  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  1.590e+00  8.845e-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.122e+00  2.145e-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:  6.587e-01  2.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.45
Ra Dec: 171.491 20.091
Photon Index (Free Index): 1.59 +/- 0.88
Photon Flux (Free Index): 1.36e-08 +/- 2.87e-08
Energy Flux (Free Index): 3.17e-05 +/- 4.52e-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/443615/cmap_HighResolution_696556801_696816001_4FGL_J1125.9+2005_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.23e-08', energy_flux2='3.17e-05', photon_flux_error='3.28e-08', dlogl='3.72e-01', energy_flux='1.76e-05', photon_flux2='1.36e-08', job_status='DONE', time_completed='2023-01-31 00:53:36.055350', photon_index_error2='0.88', photon_index2='1.59', ts='5.75', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='4.52e-05', EG='0.63', time_epoch_completed='1675155216.06', return_code='0', job_id='443615', GAL2='1.12', EG2='0.66', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='2.87e-08', ts2='6.45', photon_index='2.24' WHERE bin_id='1764' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:53:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 443615: <4FGL_J1125.9+2005_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin1764> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Jan 31 00:40:15 2023
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:41:03 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:41:03 2023
Terminated at Tue Jan 31 00:53:36 2023
Results reported at Tue Jan 31 00:53:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin1764 171.491 20.0912 696556801 696816001 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 :                                   651.55 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             265.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            801 sec.

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

