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


Performing analysis on: 4FGL_J2141.8-3727_daily_bin1761
RA = 325.462, Dec = -37.4545
tmin = 695779201, tmax = 696038401
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='933612', job_status='RUN', time_executed='2023-01-22 01:39:39.615437', time_epoch_executed='1674380379.62' WHERE source_name='4FGL J2141.8-3727' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933612

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933612/ft1_4FGL_J2141.8-3727_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933612/ft2_4FGL_J2141.8-3727_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933612/ft1_4FGL_J2141.8-3727_daily_bin1761.fits outfile=/scratch/kocevski/933612/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin1761.fits ra=325.462 dec=-37.4545 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.15
user 4.80
sys 0.26

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

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

Number of photons that the gtmktime cut: 520

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933612/ft1_filtered_4FGL_J2141.8-3727_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/933612/ft2_4FGL_J2141.8-3727_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/933612/ltcube_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.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/933612/ft2_4FGL_J2141.8-3727_daily_bin1761.fits
.....................!
real 14.99
user 14.41
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933612/ft1_filtered_4FGL_J2141.8-3727_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/933612/ft2_4FGL_J2141.8-3727_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/933612/ltcube_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.fits outfile=/scratch/kocevski/933612/expmap_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.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/933612/ltcube_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.fits
.....................!
real 193.91
user 187.26
sys 4.90

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/933612/ft1_filtered_4FGL_J2141.8-3727_daily_bin1761.fits scfile=/scratch/kocevski/933612/ft2_4FGL_J2141.8-3727_daily_bin1761.fits outfile=/scratch/kocevski/933612/cmap_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.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.37
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933612/ft1_filtered_4FGL_J2141.8-3727_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/933612/ft2_4FGL_J2141.8-3727_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933612/Model_4FGL_J2141.8-3727_daily_bin1761.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/933612/ft1_filtered_4FGL_J2141.8-3727_daily_bin1761.fits....................!
real 50.15
user 47.55
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/933612/ft1_filtered_4FGL_J2141.8-3727_daily_bin1761.fits', '/scratch/kocevski/933612/ft2_4FGL_J2141.8-3727_daily_bin1761.fits', expMap='/scratch/kocevski/933612/expmap_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.fits', expCube='/scratch/kocevski/933612/ltcube_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/933612/Model_4FGL_J2141.8-3727_daily_bin1761.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/933612/ft1_filtered_4FGL_J2141.8-3727_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/933612/ft2_4FGL_J2141.8-3727_daily_bin1761.fits
Exposure map: /scratch/kocevski/933612/expmap_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.fits
Exposure cube: /scratch/kocevski/933612/ltcube_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/933612/Model_4FGL_J2141.8-3727_daily_bin1761.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) = 5831.54627723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14185E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    8.4059       1.0000          .0000       .10000E+07
     3 'Prefactor '    .44609       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7611       1.0000          .0000       .10000E+07
     5 'Prefactor '    59.729       1.0000          .0000       .10000E+07
     6 'norm      '    8.5160       1.0000          .0000       .10000E+07
     7 'norm      '    1.7417       1.0000          .0000       .10000E+07
     8 'Prefactor '    .26847E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .45588E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13726E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .34193E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45727E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25979E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .14264E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.7545       1.0000          .0000       .10000E+07
    16 'Prefactor '    51.472       1.0000          .0000       .10000E+07
    17 'Prefactor '    .94766E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .29114E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19422E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .41627E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .10872E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    .96319       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0561       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=   5831.536     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1853 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11532E-05    23.183        .11423E-05** at limit **
   2  Prefactor     8.3237        3.0039        .12247E-06   -.51693E-02
   3  Prefactor     .13228E-04    195.89        .16169E-05** at limit **
   4  Prefactor     3.8294        6.2131        .18541E-06   -.29226E-03
   5  Prefactor     59.189        16.215        .15635E-06   -.53720E-01
   6  norm          8.5283        8.0945       -.89402E-07    .11989E-03
   7  norm          1.7569        5.4226       -.25933E-06    .38607E-03
   8  Prefactor     .13609E-05    6.7831       -.85586E-07** at limit **
   9  Prefactor     .13346E-05    7.2302        .24305E-06** at limit **
  10  Prefactor      .0000        6.9006       -.24903E-06** at limit **
  11  norm          .26645E-08    6.4877       -.16213E-06** at limit **
  12  Prefactor     .16431E-07    8.0692       -.42095E-06** at limit **
  13  Prefactor     .39957E-06    6.3460        .27357E-06** at limit **
  14  norm          .55511E-10    4.1119       -.24665E-07** at limit **
  15  norm          1.7541        .55881        .18651E-07   -.60935E-02
  16  Prefactor     51.286        10.398        .70474E-07    .18418E-01
  17  Prefactor     .38858E-09    5.5542       -.21412E-06** at limit **
  18  Prefactor     .55511E-10    3.5993        .27872E-07** at limit **
  19  Prefactor     .34001E-06    6.1838        .20320E-06** at limit **
  20  Prefactor     .37620E-06    15.376        .17836E-06** at limit **
  21  Prefactor     .39413E-08    7.8970       -.81150E-07** at limit **
  22  Normalizat    .96336        .22794       -.48004E-05   -.13231E-03
  23  Prefactor     1.0565        .15052        .79151E-05   -.27441E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.15319e-06
  Prefactor  = 8.32375
  Prefactor  = 1.32278e-05
  Prefactor  = 3.82941
  Prefactor  = 59.1889
  norm       = 8.52827
  norm       = 1.75694
  Prefactor  = 1.36086e-06
  Prefactor  = 1.3346e-06
  Prefactor  = 0
  norm       = 2.66454e-09
  Prefactor  = 1.64313e-08
  Prefactor  = 3.99569e-07
  norm       = 5.55112e-11
  norm       = 1.75409
  Prefactor  = 51.286
  Prefactor  = 3.88578e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 3.40006e-07
  Prefactor  = 3.76199e-07
  Prefactor  = 3.94129e-09
  Normalizat = 0.963364
  Prefactor  = 1.05655
 **********
 **   18 **HESSE 
 **********

 FCN=   5831.536     FROM HESSE     STATUS=OK           416 CALLS     2269 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11532E-05    29.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.3237        26.187        .34553E-03   -1.5650    
   3  Prefactor     .13228E-04    15.787        .10935E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8294        6.2482        .52034E-03   -1.5669    
   5  Prefactor     59.189        35.768        .12940E-03   -1.5554    
   6  norm          8.5283        8.0958        .34327E-03   -1.5650    
   7  norm          1.7569        5.8156        .79460E-03   -1.5681    
   8  Prefactor     .13609E-05    10.994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .13346E-05    11.401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        6.8984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .26645E-08    24.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16431E-07    8.1190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .39957E-06    25.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    4.0860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7541        .55924        .70165E-03   -1.5681    
  16  Prefactor     51.286        39.162        .13939E-03   -1.5565    
  17  Prefactor     .38858E-09    5.5457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    3.5630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .34001E-06    24.984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .37620E-06    17.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .39413E-08    23.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .96336        .20318        .70154E-01   -.94268    
  23  Prefactor     1.0565        .13385        .39564E-01   -.90868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56119e-07
Minuit parameter uncertainties:
  1  0.0117193
  2  26.1878
  3  0.0289019
  4  6.24822
  5  35.7685
  6  8.09577
  7  5.8156
  8  0.00773597
  9  0.00780143
  10  2.25085e-05
  11  0.000510065
  12  0.000730554
  13  0.00636615
  14  3.05701e-05
  15  0.559236
  16  39.162
  17  9.34012e-05
  18  2.30609e-05
  19  0.00582897
  20  0.00509042
  21  0.000601649
  22  0.20334
  23  0.133895
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  1.361e-06  7.736e-03  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.057e+00  1.339e-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:  9.634e-01  2.033e-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.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/933612/likelihoodResults_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.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) = 5831.48357433
delta logL = 0.0524463368756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5831.05903599
delta logL = 0.476984676241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14672E-03   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .91995       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0732       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.

 FCN=   5831.536     FROM MIGRAD    STATUS=CONVERGED    141 CALLS      455 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    1957.2        .42118E-03** at limit **
   2  Index         2.5937        7.6286        .50000        .45475E-10
   3  Normalizat    .96336        .10793        .70153E-01   -.37613E-03
   4  Prefactor     1.0566        .71003E-01    .38706E-01   -.30921E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 2.59371
  Normalizat = 0.963357
  Prefactor  = 1.05655
 **********
 **   18 **HESSE 
 **********

 FCN=   5831.536     FROM HESSE     STATUS=OK            29 CALLS      484 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    11.850        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5937        7.5302        .50000       -2.6395    
   3  Normalizat    .96336        .22470        .31037E-03   -.94268    
   4  Prefactor     1.0566        .14948        .19664E-03    43.074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.31511e-10
Minuit parameter uncertainties:
  1  6.94718e-05
  2  4.65321
  3  0.224918
  4  0.149537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933612': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5831.53602061
delta logL = 6.12362782704e-08

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  1.110e-10  6.947e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.594e+00  4.653e+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.057e+00  1.495e-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:  9.634e-01  2.249e-01  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/933612/cmap_HighResolution_695779201_696038401_4FGL_J2141.8-3727_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.65e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2023-01-22 01:49:45.534683', job_id='933612', GAL2='1.06', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1674380985.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='6.12e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1761' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:49:45 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 933612: <4FGL_J2141.8-3727_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2141.8-3727_daily_bin1761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 22 01:35:29 2023
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:36:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:36:34 2023
Terminated at Sun Jan 22 01:49:46 2023
Results reported at Sun Jan 22 01:49:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2141.8-3727_daily_bin1761 325.462 -37.4545 695779201 696038401 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 :                                   603.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            857 sec.

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

