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 180 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_J2141.8-3727_daily_bin1764
RA = 325.462, Dec = -37.4545
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='464663', job_status='RUN', time_executed='2023-01-31 01:59:17.508213', time_epoch_executed='1675159157.51' WHERE source_name='4FGL J2141.8-3727' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464663

Creating custom pfile directory:
/scratch/kocevski/464663/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/464663/ft1_4FGL_J2141.8-3727_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/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464663/ft1_4FGL_J2141.8-3727_daily_bin1764.fits outfile=/scratch/kocevski/464663/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin1764.fits ra=325.462 dec=-37.4545 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.77
user 3.54
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_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/464663/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/464663/ft1_filtered_4FGL_J2141.8-3727_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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 524

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464663/ft1_filtered_4FGL_J2141.8-3727_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/464663/ltcube_696556801_696816001_4FGL_J2141.8-3727_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/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits
.....................!
real 14.31
user 13.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464663/ft1_filtered_4FGL_J2141.8-3727_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/464663/ltcube_696556801_696816001_4FGL_J2141.8-3727_daily_bin1764.fits outfile=/scratch/kocevski/464663/expmap_696556801_696816001_4FGL_J2141.8-3727_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/464663/ltcube_696556801_696816001_4FGL_J2141.8-3727_daily_bin1764.fits
.....................!
real 193.32
user 188.16
sys 4.67

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

Setting source of interest to:
4FGL J2141.8-3727 @ 325.462 -37.4545

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/464663/ft1_filtered_4FGL_J2141.8-3727_daily_bin1764.fits scfile=/scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits outfile=/scratch/kocevski/464663/cmap_696556801_696816001_4FGL_J2141.8-3727_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=325.462 yref=-37.4545 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464663/ft1_filtered_4FGL_J2141.8-3727_daily_bin1764.fits scfile=/scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits outfile=/scratch/kocevski/464663/cmap_HighResolution_696556801_696816001_4FGL_J2141.8-3727_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=325.462 yref=-37.4545 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.60
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/464663/ft1_filtered_4FGL_J2141.8-3727_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/464663/Model_4FGL_J2141.8-3727_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/464663/ft1_filtered_4FGL_J2141.8-3727_daily_bin1764.fits.....................!
real 51.15
user 49.79
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/464663/ft1_filtered_4FGL_J2141.8-3727_daily_bin1764.fits', '/scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits', expMap='/scratch/kocevski/464663/expmap_696556801_696816001_4FGL_J2141.8-3727_daily_bin1764.fits', expCube='/scratch/kocevski/464663/ltcube_696556801_696816001_4FGL_J2141.8-3727_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/464663/Model_4FGL_J2141.8-3727_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/464663/ft1_filtered_4FGL_J2141.8-3727_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/464663/ft2_4FGL_J2141.8-3727_daily_bin1764.fits
Exposure map: /scratch/kocevski/464663/expmap_696556801_696816001_4FGL_J2141.8-3727_daily_bin1764.fits
Exposure cube: /scratch/kocevski/464663/ltcube_696556801_696816001_4FGL_J2141.8-3727_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/464663/Model_4FGL_J2141.8-3727_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) = 5916.69653158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    193.43       1.0000          .0000       .10000E+07
     2 'Prefactor '    .26850E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .36829E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.272       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17396E-02   1.0000          .0000       .10000E+07
     6 'norm      '    4.5743       1.0000          .0000       .10000E+07
     7 'norm      '    8.9025       1.0000          .0000       .10000E+07
     8 'Prefactor '    .45435E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .86815E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .52317       1.0000          .0000       .10000E+07
    11 'norm      '    .29458E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21373E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    83.690       1.0000          .0000       .10000E+07
    14 'norm      '    2.4936       1.0000          .0000       .10000E+07
    15 'norm      '    1.6025       1.0000          .0000       .10000E+07
    16 'Prefactor '    33.244       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.0592       1.0000          .0000       .10000E+07
    18 'Prefactor '    .27274E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .20299E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    34.186       1.0000          .0000       .10000E+07
    21 'Prefactor '    .29946E-04   1.0000          .0000       .10000E+07
    22 'Normalizat'    .78537       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3823       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5916.695     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1877 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     193.27        17.228       -.11350E-05    .31791    
   2  Prefactor     .68379E-06    6.8690       -.22444E-06** at limit **
   3  Prefactor     .39602E-06    11.181       -.36028E-06** at limit **
   4  Prefactor     11.209        10.334       -.37003E-06   -.12454E-01
   5  Prefactor     .12557E-06    20.510       -.37998E-06** at limit **
   6  norm          4.5844        6.3330        .17342E-07    .82904E-03
   7  norm          8.9317        5.8643       -.19227E-06   -.69847E-02
   8  Prefactor     .77716E-09    7.5422       -.48588E-06** at limit **
   9  Prefactor     .18208E-07    8.2205       -.48574E-07** at limit **
  10  Prefactor     .22191        79.969        .12285E-04** at limit **
  11  norm          .14433E-08    5.1644       -.68832E-07** at limit **
  12  Prefactor     .33307E-09    15.027        .15377E-05** at limit **
  13  Prefactor     83.913        17.508        .17156E-05   -.18345    
  14  norm          2.4791        6.4937       -.48796E-06   -.22505E-02
  15  norm          1.6023        .52715        .45757E-08   -.27994E-01
  16  Prefactor     33.343        4.5990       -.54731E-06   -.22585E-02
  17  Prefactor     4.0739        12.284       -.60034E-05   -.37511E-01
  18  Prefactor     .55511E-10    5.6852       -.38920E-06** at limit **
  19  Prefactor      .0000        26.442       -.93930E-07** at limit **
  20  Prefactor     34.026        22.793        .25316E-05    .73115E-01
  21  Prefactor     .27949E-05    109.95       -.25751E-06** at limit **
  22  Normalizat    .78601        .29041        .23794E-04   -.14987E-03
  23  Prefactor     1.3824        .18304       -.73376E-05   -.52450E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 193.268
  Prefactor  = 6.83786e-07
  Prefactor  = 3.96017e-07
  Prefactor  = 11.2093
  Prefactor  = 1.25566e-07
  norm       = 4.58437
  norm       = 8.9317
  Prefactor  = 7.77156e-10
  Prefactor  = 1.82077e-08
  Prefactor  = 0.221908
  norm       = 1.44329e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 83.9129
  norm       = 2.47909
  norm       = 1.60234
  Prefactor  = 33.3429
  Prefactor  = 4.07394
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 34.026
  Prefactor  = 2.79493e-06
  Normalizat = 0.786013
  Prefactor  = 1.38244
 **********
 **   18 **HESSE 
 **********

 FCN=   5916.695     FROM HESSE     STATUS=OK           420 CALLS     2297 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     193.27        134.70        .71909E-04   -1.5430    
   2  Prefactor     .68379E-06    15.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .39602E-06    14.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.209        10.356        .29815E-03   -1.5641    
   5  Prefactor     .12557E-06    20.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.5844        6.3357        .47041E-03   -1.5665    
   7  norm          8.9317        5.8927        .33569E-03   -1.5648    
   8  Prefactor     .77716E-09    7.5302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .18208E-07    8.2167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22191        10.198        .86787E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .14433E-08    5.1625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33307E-09    17.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     83.913        81.628        .10932E-03   -1.5525    
  14  norm          2.4791        6.7585        .64699E-03   -1.5676    
  15  norm          1.6023        .52612        .67732E-03   -1.5683    
  16  Prefactor     33.343        47.966        .17346E-03   -1.5592    
  17  Prefactor     4.0739        12.678        .50021E-03   -1.5668    
  18  Prefactor     .55511E-10    5.6443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        26.389        .17017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     34.026        34.340        .17105E-03   -1.5591    
  21  Prefactor     .27949E-05    109.62        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .78601        .26308        .87986E-01   -1.0059    
  23  Prefactor     1.3824        .16042        .45675E-01   -.80888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3326e-05
Minuit parameter uncertainties:
  1  134.699
  2  0.00646117
  3  0.00479697
  4  10.3556
  5  0.00324041
  6  6.33571
  7  5.89271
  8  0.000152364
  9  0.000773606
  10  3.00865
  11  0.000174113
  12  0.000156713
  13  81.6291
  14  6.75856
  15  0.526116
  16  47.9664
  17  12.6779
  18  3.41691e-05
  19  3.73518e-05
  20  34.3403
  21  0.0350083
  22  0.26351
  23  0.160481
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  7.772e-10  1.524e-04  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.382e+00  1.605e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  7.860e-01  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/464663/likelihoodResults_696556801_696816001_4FGL_J2141.8-3727_daily_bin1764.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) = 5916.69558389
delta logL = -0.000193338975805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5916.69539058
delta logL = -3.4516233427e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66669E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.1115       1.0000          .0000       10.000    
     3 'Normalizat'    .78603       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3824       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5916.695     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      238 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    6.5336        .35763E-06** at limit **
   2  Index         2.9549        2.8152       -.16370E-04    .27527E-10
   3  Normalizat    .78601        .26901       -.10430E-04   -.19218E-03
   4  Prefactor     1.3824        .18046        .11962E-04   -.34327E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.95491
  Normalizat = 0.78601
  Prefactor  = 1.38244
 **********
 **   18 **HESSE 
 **********

 FCN=   5916.695     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      273 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .73557E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9549        6.0099        .37166       -.42138    
   3  Normalizat    .78601        .65483E-03    .87986E-01   -1.0059    
   4  Prefactor     1.3824        .43789E-03    .45675E-01   -.80888    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.76767e-13
Minuit parameter uncertainties:
  1  5.69444e-06
  2  17145.8
  3  0.000654833
  4  0.000437888
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464663': 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) = 5916.69539055
delta logL = 1.27329258248e-10

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  1.110e-10  5.694e-06  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.955e+00  1.715e+04  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.382e+00  4.379e-04  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  7.860e-01  6.548e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 325.462 -37.455

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/464663/cmap_HighResolution_696556801_696816001_4FGL_J2141.8-3727_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.35e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2023-01-31 02:09:05.783923', job_id='464663', GAL2='1.38', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1675159745.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='1.27e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1764' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:09:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 464663: <4FGL_J2141.8-3727_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2141.8-3727_daily_bin1764> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 31 01:55:16 2023
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 01:56:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 01:56:08 2023
Terminated at Tue Jan 31 02:09:06 2023
Results reported at Tue Jan 31 02:09:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2141.8-3727_daily_bin1764 325.462 -37.4545 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2141.8-3727 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   590.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             280.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            830 sec.

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

