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


Performing analysis on: 4FGL_J2139.4-4235_daily_bin1666
RA = 324.855, Dec = -42.5895
tmin = 671155201, tmax = 671414401
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='414406', job_status='RUN', time_executed='2022-04-12 00:35:54.548731', time_epoch_executed='1649748954.55' WHERE source_name='4FGL J2139.4-4235' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414406

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414406/ft1_4FGL_J2139.4-4235_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414406/ft1_4FGL_J2139.4-4235_daily_bin1666.fits outfile=/scratch/kocevski/414406/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1666.fits ra=324.855 dec=-42.5895 rad=12.0 tmin=671155201.0 tmax=671414401.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.25
user 4.96
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.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/414406/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.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.48
user 0.31
sys 0.16

Number of photons that the gtmktime cut: 792

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414406/ltcube_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.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/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits
.....................!
real 11.65
user 11.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414406/ltcube_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.fits outfile=/scratch/kocevski/414406/expmap_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.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/414406/ltcube_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.fits
.....................!
real 191.49
user 186.84
sys 4.30

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

Setting source of interest to:
4FGL J2139.4-4235 @ 324.855 -42.5895

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.fits scfile=/scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits outfile=/scratch/kocevski/414406/cmap_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.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=324.855 yref=-42.5895 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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.fits scfile=/scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits outfile=/scratch/kocevski/414406/cmap_HighResolution_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.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=324.855 yref=-42.5895 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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414406/Model_4FGL_J2139.4-4235_daily_bin1666.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/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.fits.....................!
real 63.25
user 61.95
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.fits', '/scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits', expMap='/scratch/kocevski/414406/expmap_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.fits', expCube='/scratch/kocevski/414406/ltcube_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414406/Model_4FGL_J2139.4-4235_daily_bin1666.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2139.4-4235'

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  7.892e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.929e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
300         beta:  4.914e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  8.547e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/414406/ft1_filtered_4FGL_J2139.4-4235_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/414406/ft2_4FGL_J2139.4-4235_daily_bin1666.fits
Exposure map: /scratch/kocevski/414406/expmap_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.fits
Exposure cube: /scratch/kocevski/414406/ltcube_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414406/Model_4FGL_J2139.4-4235_daily_bin1666.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) = 8532.89764657

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    62.606       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.670       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7371       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.067       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2783       1.0000         .10000E-03   10000.    
    10 'norm      '    6.3340       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1914       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5965       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.906       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .61810       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0825       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8532.881     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2549 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.968        .23898E-06** at limit **
   2  Prefactor     .10000E-03    33.691       -.50389E-06** at limit **
   3  norm          .10000E-03    .70446       -.50353E-07** at limit **
   4  Prefactor     62.606        25.324        .15682E-06   -.44126E-04
   5  Prefactor     15.663        26.188        .29643E-06   -.10524E-03
   6  Prefactor     4.7373        5.3746        .11745E-05   -.13624E-03
   7  Prefactor     .10001E-03    38.355       -.41397E-06** at limit **
   8  Prefactor     20.070        30.797        .13308E-06    .27105E-04
   9  Prefactor     7.2786        4.1651       -.60355E-07   -.75508E-05
  10  norm          6.3340        3.6686       -.14426E-06   -.46664E-03
  11  Prefactor     3.1917        6.7494        .32402E-06   -.11670E-03
  12  Prefactor     .10000E-03    4.2767       -.92505E-07** at limit **
  13  norm          .10000E-03    2.6835       -.39805E-07** at limit **
  14  Prefactor     1.5972        39.433        .15165E-04   -.97050E-05
  15  Prefactor     .10000E-03    3.6158        .65922E-06** at limit **
  16  Prefactor     34.916        60.991       -.12640E-05    .39950E-04
  17  Prefactor     .10000E-03    2.6386       -.47640E-07** at limit **
  18  Prefactor     .10000E-03    .62027       -.87884E-08** at limit **
  19  Prefactor     .10000E-03    10.430       -.23637E-06** at limit **
  20  Prefactor     .10000E-03    5.7120        .28993E-07** at limit **
  21  Prefactor     .10000E-03    4.3422       -.55282E-07** at limit **
  22  Normalizat    .61804        .15561       -.16995E-05   -.19191E-03
  23  Prefactor     1.0825        .10418        .28891E-06   -.22308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 62.6059
  Prefactor  = 15.6629
  Prefactor  = 4.7373
  Prefactor  = 0.000100007
  Prefactor  = 20.0699
  Prefactor  = 7.27856
  norm       = 6.33403
  Prefactor  = 3.19169
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.59717
  Prefactor  = 0.0001
  Prefactor  = 34.9156
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.61804
  Prefactor  = 1.08252
 **********
 **   18 **HESSE 
 **********

 FCN=   8532.881     FROM HESSE     STATUS=OK           362 CALLS     2911 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    33.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .73372        .15117E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     62.606        25.340        .50714E-04   -1.4124    
   5  Prefactor     15.663        26.249        .10118E-03   -1.4916    
   6  Prefactor     4.7373        5.3739        .92436E-03   -1.5273    
   7  Prefactor     .10001E-03    39.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.070        30.793        .89411E-04   -1.4812    
   9  Prefactor     7.2786        4.1621        .13328E-03   -1.5168    
  10  norm          6.3340        3.6704        .12978E-03   -1.5205    
  11  Prefactor     3.1917        6.7509        .22682E-03   -1.5351    
  12  Prefactor     .10000E-03    4.3931        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.7053        .14773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.5972        39.423        .16783E-02   -1.5455    
  15  Prefactor     .10000E-03    3.6770        .17186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.916        61.119        .67829E-04   -1.4525    
  17  Prefactor     .10000E-03    2.6954        .14650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .62240        .71034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.9692        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.3504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .61804        .17529        .31421E-03   -1.0722    
  23  Prefactor     1.0825        .11880        .17318E-03   -.90027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.20474e-10
Minuit parameter uncertainties:
  1  0.000197256
  2  0.000602959
  3  1.90836e-06
  4  25.3447
  5  26.2683
  6  5.3744
  7  0.00102294
  8  30.817
  9  4.16229
  10  3.6705
  11  6.75255
  12  3.56446e-05
  13  4.2764e-07
  14  15.8813
  15  6.84738e-05
  16  61.2294
  17  4.97141e-06
  18  9.83831e-07
  19  0.000173346
  20  5.72566e-07
  21  2.05275e-05
  22  0.175444
  23  0.118831
Done.

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

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  6.334e+00  3.670e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.929e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
300         beta:  4.914e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  8.547e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.083e+00  1.188e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  6.180e-01  1.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.51
Ra Dec: 324.855 -42.590
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 3.84e-08 +/- 2.22e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.57e-05

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): 0
logL (Free Index) = 8532.71045101
delta logL = 0.170664625966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8532.70187821
delta logL = 0.179237426559

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0337       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6149       1.0000          .0000       5.0000    
     3 'Normalizat'    .63325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0766       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8532.702     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      212 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0347        3.7574        .40865E-02    .26291E-04
   2  alpha         1.6152        .38180        .38055       -.58211E-04
   3  Normalizat    .63337        .14506        .70169E-01    .39818E-04
   4  Prefactor     1.0764        .10332        .38554E-01   -.19965E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.03472
  alpha      = 1.61522
  Normalizat = 0.633375
  Prefactor  = 1.07644
 **********
 **   18 **HESSE 
 **********

 FCN=   8532.702     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0347        3.6794        .12589E-03   -1.5217    
   2  alpha         1.6152        .46661        .13372E-01   -.36175    
   3  Normalizat    .63337        .16391        .31057E-03   -1.0658    
   4  Prefactor     1.0764        .11725        .17356E-03   -.90223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50786e-12
Minuit parameter uncertainties:
  1  3.67958
  2  0.469766
  3  0.164033
  4  0.117279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414406': 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) = 8532.70187747
delta logL = 0.179238163557

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  6.035e+00  3.680e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.615e+00  4.698e-01  0.000e+00  5.000e+00 ( 1.000e+00)
300         beta:  4.914e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  8.547e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.076e+00  1.173e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  6.334e-01  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.88
Ra Dec: 324.855 -42.590
Photon Index (Free Index): 1.62 +/- 0.47
Photon Flux (Free Index): 2.78e-08 +/- 2.15e-08
Energy Flux (Free Index): 4.31e-05 +/- 4.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/414406/cmap_HighResolution_671155201_671414401_4FGL_J2139.4-4235_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.84e-08', energy_flux2='4.31e-05', photon_flux_error='2.22e-08', dlogl='1.79e-01', energy_flux='2.71e-05', photon_flux2='2.78e-08', job_status='DONE', time_completed='2022-04-12 00:47:36.003803', photon_index_error2='0.47', photon_index2='1.62', ts='8.51', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='4.22e-05', EG='0.62', time_epoch_completed='1649749656.0', return_code='0', job_id='414406', GAL2='1.08', EG2='0.63', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='2.15e-08', ts2='8.88', photon_index='1.93' WHERE bin_id='1666' AND source_name='4FGL J2139.4-4235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:47:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 414406: <4FGL_J2139.4-4235_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2139.4-4235_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:31 2022
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:32 2022
Terminated at Tue Apr 12 00:47:36 2022
Results reported at Tue Apr 12 00:47:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2139.4-4235_daily_bin1666 324.855 -42.5895 671155201 671414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2139.4-4235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   703.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             353.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

