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 91 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2141.8-3727_daily_bin1675
RA = 325.462, Dec = -37.4545
tmin = 673488001, tmax = 673747201
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='884069', job_status='RUN', time_executed='2022-05-09 01:27:04.443584', time_epoch_executed='1652084824.44' WHERE source_name='4FGL J2141.8-3727' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884069

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884069/ft1_4FGL_J2141.8-3727_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884069/ft1_4FGL_J2141.8-3727_daily_bin1675.fits outfile=/scratch/kocevski/884069/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin1675.fits ra=325.462 dec=-37.4545 rad=12.0 tmin=673488001.0 tmax=673747201.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.56
user 2.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.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/884069/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/884069/ft1_filtered_4FGL_J2141.8-3727_daily_bin1675.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: 624

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884069/ft1_filtered_4FGL_J2141.8-3727_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884069/ltcube_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.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/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.fits
.....................!
real 15.49
user 15.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884069/ft1_filtered_4FGL_J2141.8-3727_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884069/ltcube_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.fits outfile=/scratch/kocevski/884069/expmap_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.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/884069/ltcube_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.fits
.....................!
real 192.89
user 186.75
sys 5.40

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/884069/ft1_filtered_4FGL_J2141.8-3727_daily_bin1675.fits scfile=/scratch/kocevski/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.fits outfile=/scratch/kocevski/884069/cmap_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884069/ft1_filtered_4FGL_J2141.8-3727_daily_bin1675.fits scfile=/scratch/kocevski/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.fits outfile=/scratch/kocevski/884069/cmap_HighResolution_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/884069/ft1_filtered_4FGL_J2141.8-3727_daily_bin1675.fits', '/scratch/kocevski/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.fits', expMap='/scratch/kocevski/884069/expmap_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.fits', expCube='/scratch/kocevski/884069/ltcube_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/884069/Model_4FGL_J2141.8-3727_daily_bin1675.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  1.000e-04  1.000e+04 ( 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/884069/ft1_filtered_4FGL_J2141.8-3727_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/884069/ft2_4FGL_J2141.8-3727_daily_bin1675.fits
Exposure map: /scratch/kocevski/884069/expmap_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.fits
Exposure cube: /scratch/kocevski/884069/ltcube_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/884069/Model_4FGL_J2141.8-3727_daily_bin1675.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) = 6722.11823062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8288       1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.837       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.264       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.3026       1.0000         .10000E-03   10000.    
     7 'norm      '    13.779       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13905E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.420       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .22583E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .91858       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.796       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.5623       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .22838       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1673       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0084       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6722.117     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2575 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.348        .47952E-06** at limit **
   2  Prefactor     5.8280        20.701        .16465E-07   -.10112E-03
   3  Prefactor     24.825        34.919        .10123E-06   -.27077E-03
   4  Prefactor     17.263        8.8484        .23842E-06    .13371E-03
   5  Prefactor     .10001E-03    24.988        .14701E-05** at limit **
   6  norm          3.3027        7.5913        .14653E-06   -.31966E-04
   7  norm          13.779        6.5286        .27523E-06    .54972E-03
   8  Prefactor     .10000E-03    7.9885       -.58555E-05** at limit **
   9  Prefactor     17.411        16.679        .14496E-06   -.69325E-04
  10  Prefactor     .10000E-03    11.493        .63692E-06** at limit **
  11  norm          .10000E-03    3.1957        .44474E-07** at limit **
  12  Prefactor     .10000E-03    6.1370        .85512E-07** at limit **
  13  Prefactor     .10000E-03    31.262       -.28821E-06** at limit **
  14  norm          .10011E-03    4.1510        .60406E-05** at limit **
  15  norm          .91852        .34797        .22213E-08   -.42459E-02
  16  Prefactor     17.805        21.386       -.22758E-06   -.41782E-03
  17  Prefactor     .10000E-03    4.1490        .17133E-06** at limit **
  18  Prefactor     1.5614        3.6801        .57988E-05    .26294E-03
  19  Prefactor     .10000E-03    20.129       -.23821E-06** at limit **
  20  Prefactor     .33610E-01    13.398       -.19312E-05    .71096E-04
  21  Prefactor     .10000E-03    5.7434        .46555E-07** at limit **
  22  Normalizat    1.1675        .20010       -.45386E-05   -.86863E-03
  23  Prefactor     1.0084        .13142        .15088E-05   -.73789E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Prefactor  = 5.82804
  Prefactor  = 24.8246
  Prefactor  = 17.2628
  Prefactor  = 0.000100007
  norm       = 3.30266
  norm       = 13.7794
  Prefactor  = 0.000100001
  Prefactor  = 17.4114
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.000100111
  norm       = 0.918524
  Prefactor  = 17.805
  Prefactor  = 0.0001
  Prefactor  = 1.56142
  Prefactor  = 0.000100002
  Prefactor  = 0.03361
  Prefactor  = 0.0001
  Normalizat = 1.16751
  Prefactor  = 1.00836
 **********
 **   18 **HESSE 
 **********

 FCN=   6722.117     FROM HESSE     STATUS=OK           372 CALLS     2947 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8280        20.750        .16635E-03   -1.5225    
   3  Prefactor     24.825        35.099        .80378E-04   -1.4711    
   4  Prefactor     17.263        8.8487        .96394E-04   -1.4877    
   5  Prefactor     .10001E-03    25.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.3027        7.5881        .22278E-03   -1.5344    
   7  norm          13.779        6.5366        .10790E-03   -1.4965    
   8  Prefactor     .10000E-03    27.927        .37147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.411        16.669        .95960E-04   -1.4873    
  10  Prefactor     .10000E-03    11.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.2046        .14312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.1423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10011E-03    21.776        .22226E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .91852        .34567        .28449E-04   -1.5516    
  16  Prefactor     17.805        21.521        .94942E-04   -1.4864    
  17  Prefactor     .10000E-03    4.1785        .16308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.5614        4.0014        .12617E-02   -1.5458    
  19  Prefactor     .10000E-03    20.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33610E-01    13.779        .96732E-01   -1.5671    
  21  Prefactor     .10000E-03    5.7452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1675        .22388        .28930E-03   -.87613    
  23  Prefactor     1.0084        .15094        .20765E-03   -.92451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.18442e-09
Minuit parameter uncertainties:
  1  0.000754765
  2  20.7756
  3  35.1284
  4  8.84933
  5  0.000863983
  6  7.59033
  7  6.53695
  8  0.000351264
  9  16.6738
  10  0.000214085
  11  5.68522e-06
  12  1.39402e-05
  13  0.000729353
  14  0.00311057
  15  0.34567
  16  21.53
  17  3.01353e-05
  18  4.00208
  19  0.000349742
  20  1.35935
  21  1.34437e-05
  22  0.224067
  23  0.151004
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  1.000e-04  3.513e-04  1.000e-04  1.000e+04 ( 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.008e+00  1.510e-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:  1.168e+00  2.241e-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.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884069/likelihoodResults_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.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) = 6722.11686453
delta logL = -0.000169617491338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6722.1166763
delta logL = 1.86161960301e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18471E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7634       1.0000          .0000       10.000    
     3 'Normalizat'    1.1677       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0083       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=   6720.532     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      260 TOTAL
                     EDM=   .19E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19333        .68148       -.47684E-06    .10887E-03
   2  Index         6.0589        2.1682        .19669E-04   -.25479E-07
   3  Normalizat    1.0385        .22613       -.34750E-05   -.10719E-06
   4  Prefactor     1.0561        .14865        .75970E-06    .13860E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.193328
  Index      = 6.05888
  Normalizat = 1.03851
  Prefactor  = 1.0561
 **********
 **   18 **HESSE 
 **********

 FCN=   6720.532     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      297 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19333        1.7263        .49363E-02   -1.5620    
   2  Index         6.0589        3.0377        .14737        .21339    
   3  Normalizat    1.0385        .54734E-01    .68712E-01   -.91751    
   4  Prefactor     1.0561        .36988E-01    .43592E-01   -.90882    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25645e-09
Minuit parameter uncertainties:
  1  1.15515
  2  3.27805
  3  0.0547371
  4  0.0369892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884069': 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) = 6720.53194218
delta logL = 1.58475273147

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  1.933e-01  1.155e+00  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  6.059e+00  3.278e+00  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.056e+00  3.699e-02  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:  1.039e+00  5.474e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.43
Ra Dec: 325.462 -37.455
Photon Index (Free Index): 6.06 +/- 3.28
Photon Flux (Free Index): 1.15e-07 +/- 1.24e-07
Energy Flux (Free Index): 1.43e-05 +/- 1.76e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/884069/cmap_HighResolution_673488001_673747201_4FGL_J2141.8-3727_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.38e-03', comment='SUCCESS', energy_flux2='1.43e-05', dlogl='1.58e+00', photon_flux2='1.15e-07', job_status='DONE', time_completed='2022-05-09 01:38:22.948361', photon_index_error2='3.28', photon_index2='6.06', ts='-0.00', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.76e-05', EG='1.17', time_epoch_completed='1652085502.95', return_code='0', job_id='884069', GAL2='1.06', EG2='1.04', return_code2='102', photon_flux_error2='1.24e-07', ts2='3.43', photon_index='2.62' WHERE bin_id='1675' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:38:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 884069: <4FGL_J2141.8-3727_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2141.8-3727_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:20 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:25:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:25:24 2022
Terminated at Mon May  9 01:38:23 2022
Results reported at Mon May  9 01:38:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2141.8-3727_daily_bin1675 325.462 -37.4545 673488001 673747201 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 :                                   680.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            783 sec.

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

