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


Performing analysis on: 4FGL_J1125.9+2005_weekly_bin760
RA = 171.491, Dec = 20.0912
tmin = 698630401, tmax = 699235201
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='20056', job_status='RUN', time_executed='2023-02-28 01:01:47.643011', time_epoch_executed='1677574907.64' WHERE source_name='4FGL J1125.9+2005' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/20056

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/20056/ft1_4FGL_J1125.9+2005_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/20056/ft2_4FGL_J1125.9+2005_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/20056/ft1_4FGL_J1125.9+2005_weekly_bin760.fits outfile=/scratch/kocevski/20056/ft1_filteredMKT_4FGL_J1125.9+2005_weekly_bin760.fits ra=171.491 dec=20.0912 rad=12.0 tmin=698630401.0 tmax=699235201.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 6.17
user 5.92
sys 0.23

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

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

Number of photons that the gtmktime cut: 62

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/20056/ft1_filtered_4FGL_J1125.9+2005_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/20056/ft2_4FGL_J1125.9+2005_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/20056/ltcube_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.fits outfile=/scratch/kocevski/20056/expmap_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.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/20056/ltcube_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.fits
.....................!
real 191.39
user 186.59
sys 4.45

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/20056/ft1_filtered_4FGL_J1125.9+2005_weekly_bin760.fits scfile=/scratch/kocevski/20056/ft2_4FGL_J1125.9+2005_weekly_bin760.fits outfile=/scratch/kocevski/20056/cmap_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/20056/ft1_filtered_4FGL_J1125.9+2005_weekly_bin760.fits scfile=/scratch/kocevski/20056/ft2_4FGL_J1125.9+2005_weekly_bin760.fits outfile=/scratch/kocevski/20056/cmap_HighResolution_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.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.57
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/20056/ft1_filtered_4FGL_J1125.9+2005_weekly_bin760.fits', '/scratch/kocevski/20056/ft2_4FGL_J1125.9+2005_weekly_bin760.fits', expMap='/scratch/kocevski/20056/expmap_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.fits', expCube='/scratch/kocevski/20056/ltcube_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/20056/Model_4FGL_J1125.9+2005_weekly_bin760.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/20056/ft1_filtered_4FGL_J1125.9+2005_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/20056/ft2_4FGL_J1125.9+2005_weekly_bin760.fits
Exposure map: /scratch/kocevski/20056/expmap_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.fits
Exposure cube: /scratch/kocevski/20056/ltcube_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/20056/Model_4FGL_J1125.9+2005_weekly_bin760.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 761.122029577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 757.930072813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4595       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.0793       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0911       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.5940       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9314       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.7304       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.2464       1.0000          .0000       .10000E+07
     8 'norm      '    .18723       1.0000          .0000       .10000E+07
     9 'Prefactor '    .60712E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    159.41       1.0000          .0000       .10000E+07
    11 'norm      '    .27649E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .33747E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14466E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17841       1.0000          .0000       .10000E+07
    15 'Prefactor '    .44376E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    8.7786       1.0000          .0000       .10000E+07
    17 'Prefactor '    .28810E-07   1.0000          .0000       .10000E+07
    18 'norm      '    39.646       1.0000          .0000       .10000E+07
    19 'Prefactor '    172.25       1.0000          .0000       .10000E+07
    20 'Prefactor '    .37004E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23537E-07   1.0000          .0000       .10000E+07
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0652       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=   757.9284     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      317 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4595        1.0223         .0000         .0000    
   2  Prefactor     1.0793        1.2055         .0000         .0000    
   3  Prefactor     4.0911        1.0077         .0000         .0000    
   4  Prefactor     1.5940        1.0604         .0000         .0000    
   5  Prefactor     5.9314        1.0036         .0000         .0000    
   6  Prefactor     .45178        1658.5        .59809E-04    .33465E-01
   7  Prefactor     .32006E-01    4812.8        .10739E-03** at limit **
   8  norm          .22204E-09    145.97       -.11554E-04** at limit **
   9  Prefactor     .17147E-06    68.783       -.23108E-05** at limit **
  10  Prefactor     158.50        36.849        .24048E-05   -.14309    
  11  norm           .0000        94.388       -.46903E-05** at limit **
  12  Prefactor     .85387E-06    52.536       -.29165E-05** at limit **
  13  Prefactor     .71598E-06    45.121        .12741E-04** at limit **
  14  Prefactor     .47740E-08    168.11       -.41666E-05** at limit **
  15  Prefactor     .59563E-07    39.017       -.74423E-05** at limit **
  16  Prefactor     8.7741        22.763       -.30325E-05   -.20770E-01
  17  Prefactor      .0000        4.2090       -.11032E-05** at limit **
  18  norm          39.646        8.5508       -.76952E-07    .39421E-03
  19  Prefactor     172.62        14.487       -.11356E-05    .29569    
  20  Prefactor      .0000        3.4419        .13603E-06** at limit **
  21  Prefactor      .0000        2.9267        .16936E-06** at limit **
  22  Normalizat    .10000E-01    .23762       -.66567E-04** at limit **
  23  Prefactor     1.0651        .31794        .63371E-06   -.11972E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.45949
  Prefactor  = 1.07935
  Prefactor  = 4.09108
  Prefactor  = 1.59403
  Prefactor  = 5.93142
  Prefactor  = 0.451775
  Prefactor  = 0.0320064
  norm       = 2.22045e-10
  Prefactor  = 1.71474e-07
  Prefactor  = 158.504
  norm       = 0
  Prefactor  = 8.53873e-07
  Prefactor  = 7.15983e-07
  Prefactor  = 4.77396e-09
  Prefactor  = 5.95635e-08
  Prefactor  = 8.77411
  Prefactor  = 0
  norm       = 39.6464
  Prefactor  = 172.616
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 1.06514
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   757.9284     FROM HESSE     STATUS=FAILED        11 CALLS      328 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62864.        62862.         .0000       -1.5677    
   2  Prefactor     1.0793        1.2055         .0000       -1.5687    
   3  Prefactor     4.0911        1.0077         .0000       -1.5668    
   4  Prefactor     1.5940        1.0604         .0000       -1.5683    
   5  Prefactor     5.9314        1.0036         .0000       -1.5659    
   6  Prefactor     .45178        .41403        .59809E-04   -1.5695    
   7  Prefactor     .32006E-01    .12261        .10739E-03   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .22204E-09    .36046       -.11554E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17147E-06    .44347E-01   -.23108E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     158.50        .99716        .24048E-05   -1.5456    
  11  norm           .0000        .68702       -.46903E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .85387E-06    .44347E-01   -.29165E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .71598E-06    .44347E-01    .12741E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .47740E-08    .37048       -.41666E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .59563E-07    .44347E-01   -.74423E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.7741        1.0014       -.30325E-05   -1.5649    
  17  Prefactor      .0000        .44347E-01   -.11032E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          39.646        1.0001       -.76952E-07   -1.5582    
  19  Prefactor     172.62        1.0011       -.11356E-05   -1.5445    
  20  Prefactor      .0000        .44347E-01    .13603E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        .44347E-01    .16936E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .25505       -.66567E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.0651        1.1754        .63371E-06   -.90588    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.01562e-10
Minuit parameter uncertainties:
  1  1.02232
  2  1.20546
  3  1.00767
  4  1.06037
  5  1.0036
  6  0.414028
  7  0.122614
  8  1.71739e-05
  9  0.000174395
  10  0.997163
  11  2.27182e-06
  12  0.000389192
  13  0.000356384
  14  8.39534e-05
  15  0.000102793
  16  1.00138
  17  7.50009e-08
  18  1.00008
  19  1.00106
  20  2.55411e-07
  21  2.35593e-07
  22  4.63269e-08
  23  1.2059
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 757.92836161

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  8.539e-07  3.892e-04  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.065e+00  1.206e+00  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.000e-02  4.633e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 7.90e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/20056/likelihoodResults_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.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) = 757.937318884
delta logL = -0.00895727413604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 757.928362117
delta logL = -5.06777723785e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16981E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.0507       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0652       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=   757.9284     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      234 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    62.727       -.25016E-05** at limit **
   2  Index         1.1112        7.9875       -.17774E-03   -.31442E-11
   3  Normalizat    .10000E-01    .23594        .29246E-05** at limit **
   4  Prefactor     1.0651        .30570        .35836E-05   -.69216E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.11117
  Normalizat = 0.01
  Prefactor  = 1.06514
 **********
 **   18 **HESSE 
 **********

 FCN=   757.9284     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      271 TOTAL
                     EDM=   .25E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    2.5301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1112        5.4726        .50000       -.89110    
   3  Normalizat    .10000E-01    .16999E-04    .18815       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0651        .27460E-02    .60305E-01   -.90589    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.5343e-14
Minuit parameter uncertainties:
  1  3.05897e-05
  2  92729.2
  3  1.41477e-08
  4  0.00274599
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/20056': 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) = 757.928361602
delta logL = 8.09552602732e-09

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.065e+00  2.746e-03  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.000e-02  1.415e-08  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/20056/cmap_HighResolution_698630401_699235201_4FGL_J1125.9+2005_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-02', job_status='DONE', photon_flux_upper_limit='7.90e-07', time_completed='2023-02-28 01:07:58.574467', job_id='20056', GAL2='1.07', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677575278.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.07', dlogl='8.10e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='760' AND source_name='4FGL J1125.9+2005' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:07:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 20056: <4FGL_J1125.9+2005_weekly_bin760> in cluster <slac> Done

Job <4FGL_J1125.9+2005_weekly_bin760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 28 01:00:33 2023
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 01:00:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 01:00:34 2023
Terminated at Tue Feb 28 01:07:59 2023
Results reported at Tue Feb 28 01:07:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_weekly_bin760 171.491 20.0912 698630401 699235201 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 :                                   372.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             282.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   444 sec.
    Turnaround time :                            446 sec.

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

