/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 64 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 = 7637
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2139.4-4235_daily_bin1520
RA = 324.855, Dec = -42.5895
tmin = 633312001, tmax = 633571201
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='642806', job_status='RUN', time_executed='2021-09-26 21:57:46.403653', time_epoch_executed='1632718666.4' WHERE source_name='4FGL J2139.4-4235' and cadence='daily' and bin_id='1520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/642806

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/642806/ft1_4FGL_J2139.4-4235_daily_bin1520.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/642806/ft2_4FGL_J2139.4-4235_daily_bin1520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/642806/ft1_4FGL_J2139.4-4235_daily_bin1520.fits outfile=/scratch/kocevski/642806/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1520.fits ra=324.855 dec=-42.5895 rad=12.0 tmin=633312001.0 tmax=633571201.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.50
user 2.87
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/642806/ft2_4FGL_J2139.4-4235_daily_bin1520.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/642806/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1520.fits evtable="EVENTS" outfile="/scratch/kocevski/642806/ft1_filtered_4FGL_J2139.4-4235_daily_bin1520.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.46
user 0.30
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/642806/ft1_filtered_4FGL_J2139.4-4235_daily_bin1520.fits" evtable="EVENTS" scfile=/scratch/kocevski/642806/ft2_4FGL_J2139.4-4235_daily_bin1520.fits sctable="SC_DATA" outfile=/scratch/kocevski/642806/ltcube_633312001_633571201_4FGL_J2139.4-4235_daily_bin1520.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/642806/ft2_4FGL_J2139.4-4235_daily_bin1520.fits
.....................!
real 13.57
user 13.19
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/642806/ft1_filtered_4FGL_J2139.4-4235_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/642806/ft2_4FGL_J2139.4-4235_daily_bin1520.fits sctable="SC_DATA" expcube=/scratch/kocevski/642806/ltcube_633312001_633571201_4FGL_J2139.4-4235_daily_bin1520.fits outfile=/scratch/kocevski/642806/expmap_633312001_633571201_4FGL_J2139.4-4235_daily_bin1520.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/642806/ltcube_633312001_633571201_4FGL_J2139.4-4235_daily_bin1520.fits
.....................!
real 157.18
user 152.66
sys 3.95

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/642806/ft1_filtered_4FGL_J2139.4-4235_daily_bin1520.fits scfile=/scratch/kocevski/642806/ft2_4FGL_J2139.4-4235_daily_bin1520.fits outfile=/scratch/kocevski/642806/cmap_633312001_633571201_4FGL_J2139.4-4235_daily_bin1520.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.50
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/642806/ft1_filtered_4FGL_J2139.4-4235_daily_bin1520.fits scfile=/scratch/kocevski/642806/ft2_4FGL_J2139.4-4235_daily_bin1520.fits outfile=/scratch/kocevski/642806/cmap_HighResolution_633312001_633571201_4FGL_J2139.4-4235_daily_bin1520.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.50
user 0.35
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/642806/ft1_filtered_4FGL_J2139.4-4235_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/642806/ft2_4FGL_J2139.4-4235_daily_bin1520.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/642806/Model_4FGL_J2139.4-4235_daily_bin1520.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/642806/ft1_filtered_4FGL_J2139.4-4235_daily_bin1520.fits.....................!
real 38.88
user 37.66
sys 1.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.2967       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.9575       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.260       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.725       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12232E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1593       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.441       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3600       1.0000         .10000E-03   10000.    
    13 'norm      '    5.0736       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4501       1.0000         .10000E-03   10000.    
    16 'Prefactor '    260.57       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.454       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3174       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.5814       1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.562       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69835       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2401       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5665.819     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2519 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.254         .0000    ** at limit **
   2  Prefactor     .10000E-03    52.138         .0000    ** at limit **
   3  norm          3.2966        2.4916         .0000        .20009E-03
   4  Prefactor     .10000E-03    14.171         .0000    ** at limit **
   5  Prefactor     .10000E-03    32.784         .0000    ** at limit **
   6  Prefactor     7.9590        7.9502         .0000        .53166E-03
   7  Prefactor     31.260        35.985         .0000        .27501E-03
   8  Prefactor     21.725        29.468         .0000       -.36972E-03
   9  Prefactor     .10000E-03    2.6065         .0000    ** at limit **
  10  norm          3.1593        3.2043         .0000       -.10383E-03
  11  Prefactor     12.440        10.780         .0000        .34270E-03
  12  Prefactor     5.3598        9.1175         .0000        .36478E-03
  13  norm          5.0735        9.0318         .0000        .35924E-03
  14  Prefactor     .10000E-03    14.161         .0000    ** at limit **
  15  Prefactor     4.4515        7.6317         .0000       -.31200E-03
  16  Prefactor     260.57        134.33         .0000        .11234E-02
  17  Prefactor     16.453        12.486         .0000        .94571E-04
  18  Prefactor     4.3170        3.9813         .0000        .26607E-03
  19  Prefactor     .10001E-03    13.879         .0000    ** at limit **
  20  Prefactor     1.5827        9.9434         .0000        .13478E-01
  21  Prefactor     30.562        28.136         .0000        .34334E-03
  22  Normalizat    .69837        .24711         .0000        .22128E-05
  23  Prefactor     1.2401        .15519         .0000       -.23083E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.29659
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 7.95902
  Prefactor  = 31.2595
  Prefactor  = 21.7252
  Prefactor  = 0.0001
  norm       = 3.15929
  Prefactor  = 12.4403
  Prefactor  = 5.35975
  norm       = 5.07348
  Prefactor  = 0.000100001
  Prefactor  = 4.45152
  Prefactor  = 260.567
  Prefactor  = 16.4534
  Prefactor  = 4.317
  Prefactor  = 0.000100009
  Prefactor  = 1.58271
  Prefactor  = 30.562
  Normalizat = 0.698367
  Prefactor  = 1.24011
 **********
 **   18 **HESSE 
 **********

 FCN=   5665.819     FROM HESSE     STATUS=OK           372 CALLS     2891 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    52.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2966        2.4835        .97748E-04   -1.5345    
   4  Prefactor     .10000E-03    14.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.9590        7.9369        .14214E-03   -1.5144    
   7  Prefactor     31.260        35.918        .71664E-04   -1.4589    
   8  Prefactor     21.725        29.451        .85935E-04   -1.4775    
   9  Prefactor     .10000E-03    4.9183        .23414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1593        3.2050        .13037E-03   -1.5352    
  11  Prefactor     12.440        10.753        .11357E-03   -1.5002    
  12  Prefactor     5.3598        9.0904        .17358E-03   -1.5245    
  13  norm          5.0735        9.0131        .17851E-03   -1.5257    
  14  Prefactor     .10000E-03    14.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.4515        7.5976        .19088E-03   -1.5286    
  16  Prefactor     260.57        134.06        .12555E-03   -1.2465    
  17  Prefactor     16.453        12.523        .98738E-04   -1.4896    
  18  Prefactor     4.3170        3.9822        .13720E-03   -1.5292    
  19  Prefactor     .10001E-03    13.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.5827        9.9966        .16886E-02   -1.5456    
  21  Prefactor     30.562        28.142        .72475E-04   -1.4602    
  22  Normalizat    .69837        .27013        .36929E-03   -1.0396    
  23  Prefactor     1.2401        .17198        .19572E-03   -.85106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46353e-08
Minuit parameter uncertainties:
  1  6.78517e-05
  2  0.000180339
  3  2.48357
  4  0.000336679
  5  0.000144807
  6  7.9379
  7  35.9431
  8  29.4704
  9  1.75154e-05
  10  3.20515
  11  10.755
  12  9.09271
  13  9.01547
  14  0.000264537
  15  7.59926
  16  134.216
  17  12.5247
  18  3.98242
  19  0.000708487
  20  7.95701
  21  28.1539
  22  0.27065
  23  0.172056
Done.

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

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  3.159e+00  3.205e+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.240e+00  1.721e-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.984e-01  2.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.21
Ra Dec: 324.855 -42.590
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 1.91e-08 +/- 1.94e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.37e-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) = 5664.83315089
delta logL = 0.98537514023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5664.7165779
delta logL = 1.1019481233

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7199       1.0000         .10000E-03   10000.    
     2 'alpha     '    .82462       1.0000          .0000       5.0000    
     3 'Normalizat'    .71230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2324       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=   5664.717     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7214        1.4880        .80083E-02    .15792E-03
   2  alpha         .82473        .33380        .28676       -.81482E-04
   3  Normalizat    .71225        .21956        .82604E-01   -.16119E-04
   4  Prefactor     1.2325        .15166        .33906E-01   -.48608E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.72143
  alpha      = 0.824729
  Normalizat = 0.712249
  Prefactor  = 1.23245
 **********
 **   18 **HESSE 
 **********

 FCN=   5664.717     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7214        2.4421        .77732E-04   -1.5446    
   2  alpha         .82473        .55328        .12396E-02   -.73435    
   3  Normalizat    .71225        .24102        .36580E-03   -1.0341    
   4  Prefactor     1.2325        .16694        .19609E-03   -.85338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33489e-11
Minuit parameter uncertainties:
  1  2.44224
  2  0.561826
  3  0.241376
  4  0.167009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/642806': 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) = 5664.71657754
delta logL = 1.10194848754

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  1.721e+00  2.442e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  8.247e-01  5.618e-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.232e+00  1.670e-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:  7.122e-01  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.43
Ra Dec: 324.855 -42.590
Photon Index (Free Index): 0.82 +/- 0.56
Photon Flux (Free Index): 9.84e-09 +/- 8.65e-09
Energy Flux (Free Index): 1.36e-04 +/- 1.64e-04

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/642806/cmap_HighResolution_633312001_633571201_4FGL_J2139.4-4235_daily_bin1520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.91e-08', energy_flux2='1.36e-04', photon_flux_error='1.94e-08', dlogl='1.10e+00', energy_flux='1.35e-05', photon_flux2='9.84e-09', job_status='DONE', time_completed='2021-09-26 22:10:30.588955', photon_index_error2='0.56', photon_index2='0.82', ts='4.21', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='1.64e-04', EG='0.70', time_epoch_completed='1632719430.59', return_code='0', job_id='642806', GAL2='1.23', EG2='0.71', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='8.65e-09', ts2='6.43', photon_index='1.93' WHERE bin_id='1520' AND source_name='4FGL J2139.4-4235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 22:10:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 642806: <4FGL_J2139.4-4235_daily_bin1520> in cluster <slac> Done

Job <4FGL_J2139.4-4235_daily_bin1520> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 21:55:12 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 21:56:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 21:56:26 2021
Terminated at Sun Sep 26 22:10:31 2021
Results reported at Sun Sep 26 22:10:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2139.4-4235_daily_bin1520 324.855 -42.5895 633312001 633571201 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 :                                   471.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             247.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            919 sec.

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

