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


Performing analysis on: 4FGL_J2141.8-3727_daily_bin1696
RA = 325.462, Dec = -37.4545
tmin = 678931201, tmax = 679190401
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='792916', job_status='RUN', time_executed='2022-07-11 00:31:22.135174', time_epoch_executed='1657524682.14' WHERE source_name='4FGL J2141.8-3727' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792916/ft1_4FGL_J2141.8-3727_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792916/ft2_4FGL_J2141.8-3727_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792916/ft1_4FGL_J2141.8-3727_daily_bin1696.fits outfile=/scratch/kocevski/792916/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin1696.fits ra=325.462 dec=-37.4545 rad=12.0 tmin=678931201.0 tmax=679190401.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.57
user 3.36
sys 0.19

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

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

Number of photons that the gtmktime cut: 483

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792916/ft1_filtered_4FGL_J2141.8-3727_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/792916/ft2_4FGL_J2141.8-3727_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/792916/ltcube_678931201_679190401_4FGL_J2141.8-3727_daily_bin1696.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/792916/ft2_4FGL_J2141.8-3727_daily_bin1696.fits
.....................!
real 13.67
user 13.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792916/ft1_filtered_4FGL_J2141.8-3727_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/792916/ft2_4FGL_J2141.8-3727_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/792916/ltcube_678931201_679190401_4FGL_J2141.8-3727_daily_bin1696.fits outfile=/scratch/kocevski/792916/expmap_678931201_679190401_4FGL_J2141.8-3727_daily_bin1696.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/792916/ltcube_678931201_679190401_4FGL_J2141.8-3727_daily_bin1696.fits
.....................!
real 191.24
user 185.65
sys 5.26

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/792916/ft1_filtered_4FGL_J2141.8-3727_daily_bin1696.fits scfile=/scratch/kocevski/792916/ft2_4FGL_J2141.8-3727_daily_bin1696.fits outfile=/scratch/kocevski/792916/cmap_678931201_679190401_4FGL_J2141.8-3727_daily_bin1696.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.56
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792916/ft1_filtered_4FGL_J2141.8-3727_daily_bin1696.fits scfile=/scratch/kocevski/792916/ft2_4FGL_J2141.8-3727_daily_bin1696.fits outfile=/scratch/kocevski/792916/cmap_HighResolution_678931201_679190401_4FGL_J2141.8-3727_daily_bin1696.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/792916/ft1_filtered_4FGL_J2141.8-3727_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/792916/ft2_4FGL_J2141.8-3727_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/792916/Model_4FGL_J2141.8-3727_daily_bin1696.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/792916/ft1_filtered_4FGL_J2141.8-3727_daily_bin1696.fits.....................!
real 46.17
user 44.78
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.577       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .71847       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.212       1.0000         .10000E-03   10000.    
     6 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.8346       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2441       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11951E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.0835       1.0000         .10000E-03   10000.    
    14 'norm      '    .48038       1.0000         .10000E-03   10000.    
    15 'norm      '    .30730       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3258       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    67.145       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1672       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93823       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=   5441.045     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     2493 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.574        1.3148       -.12458E-05    .63057E-03
   2  Prefactor     .76432        9.6921        .91019E-05    .97394E-04
   3  Prefactor     .10002E-03    4.1884       -.18246E-05** at limit **
   4  Prefactor     .10000E-03    18.065        .55701E-06** at limit **
   5  Prefactor     14.210        1.0537       -.26069E-07    .66107E-04
   6  norm          .10000E-03    5.2502        .15241E-06** at limit **
   7  norm          4.8343        5.2304        .55254E-05    .25131E-03
   8  Prefactor     2.2379        1.6793       -.55245E-05   -.10377E-02
   9  Prefactor     .10000E-03    9.7395       -.55420E-06** at limit **
  10  Prefactor     .10000E-03    7.1417       -.68525E-06** at limit **
  11  norm          .10000E-03    2.4935        .60146E-06** at limit **
  12  Prefactor     .10001E-03    52.414       -.50175E-04** at limit **
  13  Prefactor     3.0623        5.0863       -.16270E-04    .12239E-02
  14  norm          .47841        .83451       -.29845E-05   -.67180E-03
  15  norm          .30731        .25853        .14672E-06    .75641E-03
  16  Prefactor     .10002E-03    61.695        .80701E-04** at limit **
  17  Prefactor     3.3260        1.3338       -.32167E-05   -.11765E-02
  18  Prefactor     .10000E-03    1.7238       -.45904E-06** at limit **
  19  Prefactor     67.157        3.5677        .24946E-05   -.44973E-02
  20  Prefactor     .10002E-03    4.1026        .28522E-05** at limit **
  21  Prefactor     .10001E-03    139.20       -.52264E-04** at limit **
  22  Normalizat    1.1675        .22150       -.17478E-05   -.72602E-04
  23  Prefactor     .93803        .14587       -.14146E-07    .16905E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5744
  Prefactor  = 0.764316
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 14.2097
  norm       = 0.0001
  norm       = 4.83432
  Prefactor  = 2.23795
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 3.06234
  norm       = 0.478414
  norm       = 0.307306
  Prefactor  = 0.000100017
  Prefactor  = 3.32602
  Prefactor  = 0.0001
  Prefactor  = 67.1567
  Prefactor  = 0.000100025
  Prefactor  = 0.000100005
  Normalizat = 1.16748
  Prefactor  = 0.938029
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.045     FROM HESSE     STATUS=OK           432 CALLS     2925 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.574        172.68        .24592E-02   -1.4894    
   2  Prefactor     .76432        28.117        .12132       -1.5533    
   3  Prefactor     .10002E-03    7.9293        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.529        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.210        37.466        .26561E-02   -1.4954    
   6  norm          .10000E-03    5.2221        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.8343        5.4542        .45739E-02   -1.5268    
   8  Prefactor     2.2379        10.863        .68583E-02   -1.5409    
   9  Prefactor     .10000E-03    9.7024        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.1014        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.4878        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    53.157        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.0623        214.77        .57743E-02   -1.5358    
  14  norm          .47841        3.3743        .69539E-01   -1.5570    
  15  norm          .30731        .25815        .75504E-02   -1.5597    
  16  Prefactor     .10002E-03    62.900        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.3260        8.5506        .55490E-02   -1.5343    
  18  Prefactor     .10000E-03    1.7174        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     67.157        58.389        .12245E-02   -1.4067    
  20  Prefactor     .10002E-03    7.9012        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    18.126        .11454       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1675        .21208        .62410E-01   -.87614    
  23  Prefactor     .93803        .13033        .45490E-01   -.94825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72411e-07
Minuit parameter uncertainties:
  1  107.398
  2  9.27562
  3  0.000869331
  4  0.000159227
  5  37.5285
  6  6.30087e-06
  7  5.45476
  8  9.8637
  9  0.000141248
  10  2.93856e-05
  11  1.57188e-05
  12  0.00109863
  13  51.4837
  14  2.54106
  15  0.25815
  16  0.00208842
  17  8.55378
  18  3.0209e-06
  19  58.4389
  20  0.000888694
  21  0.000606683
  22  0.212237
  23  0.130378
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  2.238e+00  9.864e+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

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.380e-01  1.304e-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.167e+00  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/792916/likelihoodResults_678931201_679190401_4FGL_J2141.8-3727_daily_bin1696.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) = 5440.29231267
delta logL = 0.752727630417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5440.2830629
delta logL = 0.7619773946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92368E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    6.4615       1.0000          .0000       10.000    
     3 'Normalizat'    1.0765       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97366       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=   5440.283     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      326 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90988E-01    1.1509        .41308E-02    .30365E-02
   2  Index         6.4721        3.2616        .18245        .10081E-03
   3  Normalizat    1.0761        .49057E-01    .64620E-01    .78828E-05
   4  Prefactor     .97389        .32386E-01    .45937E-01    .77786E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0909878
  Index      = 6.47214
  Normalizat = 1.07613
  Prefactor  = 0.973886
 **********
 **   18 **HESSE 
 **********

 FCN=   5440.283     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      361 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90988E-01    3.2689        .18765E-03   -1.5648    
   2  Index         6.4721        8.1451        .65707E-02    .29886    
   3  Normalizat    1.0761        .18212        .28585E-03   -.90522    
   4  Prefactor     .97389        .11643        .19643E-03   -.93605    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.55897e-11
Minuit parameter uncertainties:
  1  1.09021
  2  7.64058
  3  0.182228
  4  0.116457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792916': 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) = 5440.28305724
delta logL = 0.761983057251

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  9.099e-02  1.090e+00  1.000e-04  1.000e+04 ( 1.000e-12)
268        Index:  6.472e+00  7.641e+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:  9.739e-01  1.165e-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.076e+00  1.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.73
Ra Dec: 325.462 -37.455
Photon Index (Free Index): 6.47 +/- 7.64
Photon Flux (Free Index): 1.02e-07 +/- 9.07e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.31e-05

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/792916/cmap_HighResolution_678931201_679190401_4FGL_J2141.8-3727_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='7.62e-01', photon_flux2='1.02e-07', job_status='DONE', time_completed='2022-07-11 00:41:15.222347', photon_index_error2='7.64', photon_index2='6.47', ts='0.06', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='1.31e-05', EG='1.17', time_epoch_completed='1657525275.22', return_code='0', job_id='792916', GAL2='0.97', EG2='1.08', return_code2='102', photon_flux_error2='9.07e-08', ts2='1.73', photon_index='2.62' WHERE bin_id='1696' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:41:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 792916: <4FGL_J2141.8-3727_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2141.8-3727_daily_bin1696> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jul 11 00:30:32 2022
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:30:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:30:33 2022
Terminated at Mon Jul 11 00:41:15 2022
Results reported at Mon Jul 11 00:41:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2141.8-3727_daily_bin1696 325.462 -37.4545 678931201 679190401 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 :                                   595.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            643 sec.

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

