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


Performing analysis on: 4FGL_J0923.5+4125_daily_bin1759
RA = 140.895, Dec = 41.4283
tmin = 695260801, tmax = 695520001
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='554315', job_status='RUN', time_executed='2023-01-16 00:59:50.675718', time_epoch_executed='1673859590.68' WHERE source_name='4FGL J0923.5+4125' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/554315

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/554315/ft1_4FGL_J0923.5+4125_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/554315/ft1_4FGL_J0923.5+4125_daily_bin1759.fits outfile=/scratch/kocevski/554315/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1759.fits ra=140.895 dec=41.4283 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.79
user 2.53
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.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/554315/ft1_filteredMKT_4FGL_J0923.5+4125_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.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.55
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 93

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/554315/ltcube_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.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/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits
.....................!
real 16.01
user 15.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/554315/ltcube_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.fits outfile=/scratch/kocevski/554315/expmap_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.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/554315/ltcube_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.fits
.....................!
real 193.34
user 186.75
sys 5.95

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 213 point sources and 0 extended sources

Setting source of interest to:
4FGL J0923.5+4125 @ 140.895 41.4283

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.fits scfile=/scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits outfile=/scratch/kocevski/554315/cmap_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.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=140.895 yref=41.4283 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.fits scfile=/scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits outfile=/scratch/kocevski/554315/cmap_HighResolution_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.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=140.895 yref=41.4283 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/554315/Model_4FGL_J0923.5+4125_daily_bin1759.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/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.fits........................!
real 22.45
user 20.33
sys 1.81

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.fits', '/scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits', expMap='/scratch/kocevski/554315/expmap_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.fits', expCube='/scratch/kocevski/554315/ltcube_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/554315/Model_4FGL_J0923.5+4125_daily_bin1759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0923.5+4125'

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  1.066e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/554315/ft1_filtered_4FGL_J0923.5+4125_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/554315/ft2_4FGL_J0923.5+4125_daily_bin1759.fits
Exposure map: /scratch/kocevski/554315/expmap_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.fits
Exposure cube: /scratch/kocevski/554315/ltcube_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/554315/Model_4FGL_J0923.5+4125_daily_bin1759.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) = 1138.0872296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11829       1.0000          .0000       .10000E+07
     2 'Prefactor '    109.56       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30957       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51050E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .14532E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .63499E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    62.329       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30135       1.0000          .0000       .10000E+07
     9 'Prefactor '    42.579       1.0000          .0000       .10000E+07
    10 'norm      '    .17825E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .62312E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .10970E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .58052E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .84521E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .29454E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .18891E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.0918       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15179E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .89734E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    84.551       1.0000          .0000       .10000E+07
    21 'Prefactor '    21.447       1.0000          .0000       .10000E+07
    22 'Prefactor '    28.750       1.0000          .0000       .10000E+07
    23 'Prefactor '    61.191       1.0000          .0000       .10000E+07
    24 'norm      '    58.116       1.0000          .0000       .10000E+07
    25 'Prefactor '    .52763E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .10288E-02   1.0000          .0000       .10000E+07
    27 'norm      '    18.806       1.0000          .0000       .10000E+07
    28 'Normalizat'    .74099       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .29463       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1137.220     FROM MIGRAD    STATUS=CONVERGED    351 CALLS     2943 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62961E-05    14.621        .30640E-07** at limit **
   2  Prefactor     112.17        79.834       -.37006E-06   -.13671    
   3  Prefactor     .18426E-04    82.683        .26403E-07** at limit **
   4  Prefactor     .38858E-09    33.770       -.11280E-06** at limit **
   5  norm          .96623E-06    15.170       -.84374E-08** at limit **
   6  norm          .18319E-08    13.471        .87527E-08** at limit **
   7  Prefactor     60.630        51.370       -.26317E-06   -.22035    
   8  Prefactor     .13878E-08    74.414        .99644E-07** at limit **
   9  Prefactor     42.281        19.368        .42839E-07   -.29596E-01
  10  norm          .33307E-09    8.0336       -.23678E-07** at limit **
  11  Prefactor     .12750E-05    15.325       -.52919E-07** at limit **
  12  norm          .14988E-08    9.5559       -.16577E-06** at limit **
  13  Prefactor     .56338E-06    19.660       -.87933E-07** at limit **
  14  norm          .27756E-09    8.1192        .35346E-07** at limit **
  15  Prefactor     .55511E-10    3.4275       -.32056E-10** at limit **
  16  Prefactor     .44409E-09    8.4176        .14155E-07** at limit **
  17  Prefactor     7.0386        7.7154        .55499E-08    .40262E-03
  18  Prefactor     .66613E-09    18.150       -.23546E-07** at limit **
  19  norm          .90483E-08    38.022        .12395E-06** at limit **
  20  Prefactor     95.931        118.98        .77978E-06    .18383    
  21  Prefactor     21.622        16.827        .19975E-07   -.31824E-02
  22  Prefactor     6.6902        1132.9       -.60252E-05    .39337E-01
  23  Prefactor     61.095        36.417        .17204E-07   -.55181E-01
  24  norm          59.146        30.980        .45560E-07   -.19173E-01
  25  Prefactor     .15227E-04    169.78       -.10303E-05** at limit **
  26  Prefactor     .27756E-09    7.2988       -.14481E-09** at limit **
  27  norm          18.612        8.2176       -.13350E-07   -.30949E-01
  28  Normalizat    .74954        .46083       -.48647E-05   -.12377E-03
  29  Prefactor     .29242        .45124        .53624E-05   -.42145E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.29613e-06
  Prefactor  = 112.168
  Prefactor  = 1.84263e-05
  Prefactor  = 3.88578e-10
  norm       = 9.66227e-07
  norm       = 1.83187e-09
  Prefactor  = 60.6298
  Prefactor  = 1.38778e-09
  Prefactor  = 42.2806
  norm       = 3.33067e-10
  Prefactor  = 1.27504e-06
  norm       = 1.4988e-09
  Prefactor  = 5.63383e-07
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  Prefactor  = 7.03858
  Prefactor  = 6.66134e-10
  norm       = 9.04832e-09
  Prefactor  = 95.9311
  Prefactor  = 21.622
  Prefactor  = 6.69017
  Prefactor  = 61.0952
  norm       = 59.1456
  Prefactor  = 1.52265e-05
  Prefactor  = 2.77556e-10
  norm       = 18.6118
  Normalizat = 0.749539
  Prefactor  = 0.292419
 **********
 **   18 **HESSE 
 **********

 FCN=   1137.220     FROM HESSE     STATUS=OK           611 CALLS     3554 TOTAL
                     EDM=   .82E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62961E-05    250.31        .13462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     112.17        86.360        .95546E-04   -1.5496    
   3  Prefactor     .18426E-04    115.97        .10081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    33.873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .96623E-06    24.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .18319E-08    13.531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     60.630        62.835        .12667E-03   -1.5552    
   8  Prefactor     .13878E-08    74.471        .10194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     42.281        20.146        .15326E-03   -1.5578    
  10  norm          .33307E-09    8.0543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12750E-05    23.966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .14988E-08    1.0921        .22232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .56338E-06    20.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27756E-09    8.1306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    3.4125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .44409E-09    8.4427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0386        7.7474        .37645E-03   -1.5655    
  18  Prefactor     .66613E-09    18.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .90483E-08    38.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     95.931        121.81        .10876E-03   -1.5512    
  21  Prefactor     21.622        17.906        .21599E-03   -1.5615    
  22  Prefactor     6.6902        1427.4        .18653E-03   -1.5656    
  23  Prefactor     61.095        37.061        .12784E-03   -1.5552    
  24  norm          59.146        31.601        .13118E-03   -1.5554    
  25  Prefactor     .15227E-04    22.690        .48522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .27756E-09    7.3534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          18.612        23.400        .23068E-03   -1.5622    
  28  Normalizat    .74954        .44188        .42835E-01   -1.0197    
  29  Prefactor     .29242        .44587        .97553E-01   -1.2271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.24369e-06
Minuit parameter uncertainties:
  1  0.0794003
  2  86.3607
  3  0.0924549
  4  0.000225453
  5  0.00964082
  6  0.000313338
  7  62.8352
  8  0.000644188
  9  20.1459
  10  0.000105439
  11  0.0110558
  12  8.15203e-05
  13  0.00680672
  14  9.41285e-05
  15  2.61736e-05
  16  0.000123589
  17  7.74737
  18  0.000218016
  19  0.0011792
  20  121.809
  21  17.9065
  22  195.489
  23  37.061
  24  31.6011
  25  0.0371751
  26  9.28742e-05
  27  23.4004
  28  0.444005
  29  0.451247
Done.

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

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  5.551e-11  2.617e-05  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  2.355e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  2.924e-01  4.512e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  7.495e-01  4.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 140.895 41.428
Photon Flux Upper Limit: 2.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.82e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/554315/likelihoodResults_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.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) = 1137.22931304
delta logL = -0.00947685054371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1137.21983884
delta logL = -2.65074959316e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50226E-06   1.0000          .0000       .10000E+07
     2 'Index     '    3.0417       1.0000          .0000       10.000    
     3 'Normalizat'    .74863       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .29335       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1137.220     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      233 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3873        .42118E-03** at limit **
   2  Index         .88017        .61865       -.19047E-05     .0000    
   3  Normalizat    .74954        1.0888       -.20433E-04    .12156E-04
   4  Prefactor     .29242        .60438        .24775E-04    .10099E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.880171
  Normalizat = 0.749543
  Prefactor  = 0.292417
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1137.220     FROM HESSE     STATUS=FAILED         9 CALLS      242 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .21339E-01    .95825       -.19047E-05   -.96837    
   3  Normalizat    .74954        1.0888       -.20433E-04   -1.0197    
   4  Prefactor     .29242        .60438        .24775E-04   -1.2271    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.38945e-12
Minuit parameter uncertainties:
  1  5.35343e-06
  2  0.623675
  3  1.12302
  4  0.618159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/554315': 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): 101
logL (Free Index) = 1137.21983618
delta logL = 6.77573552821e-11

Extracting fit parameters...

4FGL J0923.5+4125
   Spectrum: PowerLaw
325    Prefactor:  0.000e+00  5.353e-06  0.000e+00  1.000e+06 ( 1.000e-12)
326        Index:  8.802e-01  6.237e-01  0.000e+00  1.000e+01 (-1.000e+00)
327        Scale:  9.251e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  2.924e-01  6.182e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  7.495e-01  1.123e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.895 41.428

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/554315/cmap_HighResolution_695260801_695520001_4FGL_J0923.5+4125_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.82e-02', job_status='DONE', photon_flux_upper_limit='2.36e-07', time_completed='2023-01-16 01:06:46.823718', job_id='554315', GAL2='0.29', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1673860006.82', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.29', dlogl='6.78e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1759' AND source_name='4FGL J0923.5+4125' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:06:46 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 554315: <4FGL_J0923.5+4125_daily_bin1759> in cluster <slac> Done

Job <4FGL_J0923.5+4125_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 00:55:35 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 00:58:11 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 00:58:11 2023
Terminated at Mon Jan 16 01:06:47 2023
Results reported at Mon Jan 16 01:06:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0923.5+4125_daily_bin1759 140.895 41.4283 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0923.5+4125 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   417.60 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   516 sec.
    Turnaround time :                            672 sec.

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

