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


Performing analysis on: 4FGL_J2139.4-4235_daily_bin1674
RA = 324.855, Dec = -42.5895
tmin = 673228801, tmax = 673488001
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='717804', job_status='RUN', time_executed='2022-05-06 03:14:07.373298', time_epoch_executed='1651832047.37' WHERE source_name='4FGL J2139.4-4235' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/717804

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/717804/ft1_4FGL_J2139.4-4235_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/717804/ft1_4FGL_J2139.4-4235_daily_bin1674.fits outfile=/scratch/kocevski/717804/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1674.fits ra=324.855 dec=-42.5895 rad=12.0 tmin=673228801.0 tmax=673488001.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.83
user 2.56
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.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/717804/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.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.32
sys 0.17

Number of photons that the gtmktime cut: 763

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/717804/ltcube_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.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/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits
.....................!
real 15.62
user 15.07
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/717804/ltcube_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.fits outfile=/scratch/kocevski/717804/expmap_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.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/717804/ltcube_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.fits
.....................!
real 194.19
user 186.65
sys 5.45

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/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.fits scfile=/scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits outfile=/scratch/kocevski/717804/cmap_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.fits scfile=/scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits outfile=/scratch/kocevski/717804/cmap_HighResolution_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/717804/Model_4FGL_J2139.4-4235_daily_bin1674.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/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.fits.....................!
real 62.33
user 60.30
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.fits', '/scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits', expMap='/scratch/kocevski/717804/expmap_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.fits', expCube='/scratch/kocevski/717804/ltcube_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/717804/Model_4FGL_J2139.4-4235_daily_bin1674.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/717804/ft1_filtered_4FGL_J2139.4-4235_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/717804/ft2_4FGL_J2139.4-4235_daily_bin1674.fits
Exposure map: /scratch/kocevski/717804/expmap_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.fits
Exposure cube: /scratch/kocevski/717804/ltcube_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/717804/Model_4FGL_J2139.4-4235_daily_bin1674.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) = 8170.48124769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.109       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.103       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.617       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.019       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2633       1.0000         .10000E-03   10000.    
    10 'norm      '    8.4089       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9955       1.0000         .10000E-03   10000.    
    13 'norm      '    .72832       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.697       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14907       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11409E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1205       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1005       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=   8170.473     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2553 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.111        26.184        .46368E-06    .34031E-04
   2  Prefactor     .10000E-03    41.960       -.41306E-06** at limit **
   3  norm          .10000E-03    .37573        .46150E-08** at limit **
   4  Prefactor     23.110        25.547        .95251E-06    .10911E-03
   5  Prefactor     .10000E-03    43.924        .78867E-06** at limit **
   6  Prefactor     14.621        8.4390        .18270E-06   -.45249E-05
   7  Prefactor     .10000E-03    44.741        .15040E-05** at limit **
   8  Prefactor     26.027        30.605        .16519E-05    .17628E-03
   9  Prefactor     6.2653        4.3616        .10961E-06   -.14511E-03
  10  norm          8.4100        4.5150        .25078E-06    .31287E-03
  11  Prefactor     .10000E-03    2.0141        .12059E-08** at limit **
  12  Prefactor     2.9967        5.7182        .16768E-05    .46698E-03
  13  norm          .72547        6.8445        .37303E-05   -.45813E-03
  14  Prefactor     .10000E-03    13.385       -.71017E-06** at limit **
  15  Prefactor     .10000E-03    3.1111       -.55197E-08** at limit **
  16  Prefactor     .10000E-03    63.517       -.26726E-05** at limit **
  17  Prefactor     19.703        12.024        .31269E-06    .57350E-04
  18  Prefactor     .10000E-03    1.5441       -.18724E-07** at limit **
  19  Prefactor     .10000E-03    13.960        .81202E-06** at limit **
  20  Prefactor     .19690        4.1298        .83690E-06   -.45430E-03
  21  Prefactor     .10000E-03    55.288        .16540E-05** at limit **
  22  Normalizat    1.1200        .19252       -.10458E-05   -.15188E-03
  23  Prefactor     1.1007        .12671       -.16020E-06   -.20599E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.1112
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.1095
  Prefactor  = 0.0001
  Prefactor  = 14.6213
  Prefactor  = 0.000100001
  Prefactor  = 26.0272
  Prefactor  = 6.26526
  norm       = 8.40998
  Prefactor  = 0.0001
  Prefactor  = 2.99668
  norm       = 0.725471
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 19.7034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.196904
  Prefactor  = 0.000100002
  Normalizat = 1.11996
  Prefactor  = 1.10072
 **********
 **   18 **HESSE 
 **********

 FCN=   8170.473     FROM HESSE     STATUS=OK           368 CALLS     2921 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.111        26.208        .99790E-04   -1.4905    
   2  Prefactor     .10000E-03    42.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .37828        .54097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.110        25.725        .83335E-04   -1.4746    
   5  Prefactor     .10000E-03    44.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.621        8.4459        .10476E-03   -1.4943    
   7  Prefactor     .10000E-03    45.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.027        31.096        .78534E-04   -1.4687    
   9  Prefactor     6.2653        4.3671        .14972E-03   -1.5207    
  10  norm          8.4100        4.5207        .13595E-03   -1.5128    
  11  Prefactor     .10000E-03    2.0178        .12526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9967        5.8889        .23454E-03   -1.5362    
  13  norm          .72547        8.0415        .48680E-03   -1.5538    
  14  Prefactor     .10000E-03    13.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.1287        .15567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    64.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.703        12.143        .90247E-04   -1.4820    
  18  Prefactor     .10000E-03    1.5680        .10960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .19690        28.809        .34365E-02   -1.5619    
  21  Prefactor     .10000E-03    57.470        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1200        .22342        .29932E-03   -.89114    
  23  Prefactor     1.1007        .14721        .20745E-03   -.89444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70971e-09
Minuit parameter uncertainties:
  1  26.2262
  2  0.000114367
  3  6.23127e-07
  4  25.7376
  5  0.000205462
  6  8.4466
  7  0.000367429
  8  31.1156
  9  4.36734
  10  4.5209
  11  3.4836e-06
  12  5.89
  13  4.83117
  14  0.000119395
  15  3.16137e-06
  16  0.00101498
  17  12.1446
  18  1.62863e-06
  19  0.000152848
  20  4.76456
  21  0.000596382
  22  0.223612
  23  0.14726
Done.

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

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  8.410e+00  4.521e+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.101e+00  1.473e-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:  1.120e+00  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.54
Ra Dec: 324.855 -42.590
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 5.10e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 3.59e-05 +/- 1.93e-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) = 8170.4618645
delta logL = 0.0111187200218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8170.46141796
delta logL = 0.0115652529676

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5162       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8666       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0994       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8170.461     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      235 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5161        4.6180        .13737E-03    .24183E-03
   2  alpha         1.8666        .40702        .12434E-01    .39807E-04
   3  Normalizat    1.1231        .20823        .29896E-03   -.27760E-05
   4  Prefactor     1.0994        .14374        .20756E-03   -.59484E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.51614
  alpha      = 1.86659
  Normalizat = 1.12314
  Prefactor  = 1.09943
 **********
 **   18 **HESSE 
 **********

 FCN=   8170.461     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5161        4.6032        .54946E-05   -1.5124    
   2  alpha         1.8666        .40570        .49736E-03   -.25616    
   3  Normalizat    1.1231        .20839        .11959E-04   -.89012    
   4  Prefactor     1.0994        .14385        .83023E-05   -.89485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.0889e-11
Minuit parameter uncertainties:
  1  4.60336
  2  0.407625
  3  0.208539
  4  0.143897
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/717804': 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) = 8170.46141796
delta logL = 0.0115652531676

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  8.516e+00  4.603e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.867e+00  4.076e-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.099e+00  1.439e-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:  1.123e+00  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.56
Ra Dec: 324.855 -42.590
Photon Index (Free Index): 1.87 +/- 0.41
Photon Flux (Free Index): 4.84e-08 +/- 3.12e-08
Energy Flux (Free Index): 3.93e-05 +/- 3.14e-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/717804/cmap_HighResolution_673228801_673488001_4FGL_J2139.4-4235_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.10e-08', energy_flux2='3.93e-05', photon_flux_error='2.74e-08', dlogl='1.16e-02', energy_flux='3.59e-05', photon_flux2='4.84e-08', job_status='DONE', time_completed='2022-05-06 03:25:43.969544', photon_index_error2='0.41', photon_index2='1.87', ts='7.54', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='3.14e-05', EG='1.12', time_epoch_completed='1651832743.97', return_code='0', job_id='717804', GAL2='1.10', EG2='1.12', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='3.12e-08', ts2='7.56', photon_index='1.93' WHERE bin_id='1674' AND source_name='4FGL J2139.4-4235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:25:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 717804: <4FGL_J2139.4-4235_daily_bin1674> in cluster <slac> Done

Job <4FGL_J2139.4-4235_daily_bin1674> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri May  6 03:10:27 2022
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 03:12:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 03:12:14 2022
Terminated at Fri May  6 03:25:44 2022
Results reported at Fri May  6 03:25:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2139.4-4235_daily_bin1674 324.855 -42.5895 673228801 673488001 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 :                                   692.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            917 sec.

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

