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


Performing analysis on: 4FGL_J2139.4-4235_daily_bin1594
RA = 324.855, Dec = -42.5895
tmin = 652492801, tmax = 652752001
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='642922', job_status='RUN', time_executed='2021-09-26 21:58:19.888239', time_epoch_executed='1632718699.89' WHERE source_name='4FGL J2139.4-4235' and cadence='daily' and bin_id='1594'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/642922

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/642922/ft1_4FGL_J2139.4-4235_daily_bin1594.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/642922/ft2_4FGL_J2139.4-4235_daily_bin1594.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/642922/ft1_4FGL_J2139.4-4235_daily_bin1594.fits outfile=/scratch/kocevski/642922/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1594.fits ra=324.855 dec=-42.5895 rad=12.0 tmin=652492801.0 tmax=652752001.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 4.47
user 4.23
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/642922/ft1_filtered_4FGL_J2139.4-4235_daily_bin1594.fits" evtable="EVENTS" scfile=/scratch/kocevski/642922/ft2_4FGL_J2139.4-4235_daily_bin1594.fits sctable="SC_DATA" outfile=/scratch/kocevski/642922/ltcube_652492801_652752001_4FGL_J2139.4-4235_daily_bin1594.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/642922/ft2_4FGL_J2139.4-4235_daily_bin1594.fits
.....................!
real 14.83
user 14.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/642922/ft1_filtered_4FGL_J2139.4-4235_daily_bin1594.fits evtable="EVENTS" scfile=/scratch/kocevski/642922/ft2_4FGL_J2139.4-4235_daily_bin1594.fits sctable="SC_DATA" expcube=/scratch/kocevski/642922/ltcube_652492801_652752001_4FGL_J2139.4-4235_daily_bin1594.fits outfile=/scratch/kocevski/642922/expmap_652492801_652752001_4FGL_J2139.4-4235_daily_bin1594.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/642922/ltcube_652492801_652752001_4FGL_J2139.4-4235_daily_bin1594.fits
.....................!
real 192.81
user 186.94
sys 5.41

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/642922/ft1_filtered_4FGL_J2139.4-4235_daily_bin1594.fits scfile=/scratch/kocevski/642922/ft2_4FGL_J2139.4-4235_daily_bin1594.fits outfile=/scratch/kocevski/642922/cmap_652492801_652752001_4FGL_J2139.4-4235_daily_bin1594.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/642922/ft1_filtered_4FGL_J2139.4-4235_daily_bin1594.fits scfile=/scratch/kocevski/642922/ft2_4FGL_J2139.4-4235_daily_bin1594.fits outfile=/scratch/kocevski/642922/cmap_HighResolution_652492801_652752001_4FGL_J2139.4-4235_daily_bin1594.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/642922/ft1_filtered_4FGL_J2139.4-4235_daily_bin1594.fits evtable="EVENTS" scfile=/scratch/kocevski/642922/ft2_4FGL_J2139.4-4235_daily_bin1594.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/642922/Model_4FGL_J2139.4-4235_daily_bin1594.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/642922/ft1_filtered_4FGL_J2139.4-4235_daily_bin1594.fits.....................!
real 51.60
user 50.25
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.2329       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.240       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11222E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.922       1.0000         .10000E-03   10000.    
     8 'Prefactor '    53.466       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22160E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.7206       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.469       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4103       1.0000         .10000E-03   10000.    
    13 'norm      '    1.3357       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.747       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8228       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .87322       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 '    .24501E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .70299       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2103       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=   6211.891     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2569 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    54.132        .90712E-02** at limit **
   2  Prefactor     .10001E-03    24.391        .90712E-02** at limit **
   3  norm          5.2331        2.2262        .43930E-02    .51519E-04
   4  Prefactor     31.241        33.213        .17922E-02   -.13916E-03
   5  Prefactor     .10002E-03    84.405        .90712E-02** at limit **
   6  Prefactor     .10000E-03    2.2240        .90712E-02** at limit **
   7  Prefactor     20.923        26.177        .21892E-02    .17703E-04
   8  Prefactor     53.467        34.744        .13713E-02   -.16557E-03
   9  Prefactor     .10000E-03    2.3256        .43502E-01** at limit **
  10  norm          9.7211        5.7969        .32132E-02    .97607E-03
  11  Prefactor     11.471        9.6639        .29573E-02    .27621E-03
  12  Prefactor     1.4098        7.3271        .91208E-02    .90609E-03
  13  norm          1.3361        4.9110        .94901E-02    .94229E-03
  14  Prefactor     43.747        44.499        .15153E-02   -.20750E-03
  15  Prefactor     6.8202        11.231        .38401E-02    .46808E-03
  16  Prefactor     .10000E-03    84.263        .90712E-02** at limit **
  17  Prefactor     .85830        7.1302        .63636E-01   -.10556E-02
  18  Prefactor     .10000E-03    1.1737        .90712E-02** at limit **
  19  Prefactor     .10000E-03    11.116        .90712E-02** at limit **
  20  Prefactor     .10004E-03    5.5203        .60497E-01** at limit **
  21  Prefactor     .10000E-03    8.0914        .90712E-02** at limit **
  22  Normalizat    .70292        .22391        .78463E-01    .61656E-05
  23  Prefactor     1.2103        .14504        .34392E-01   -.30466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100027
  Prefactor  = 0.000100013
  norm       = 5.23308
  Prefactor  = 31.2414
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 20.9234
  Prefactor  = 53.4667
  Prefactor  = 0.0001
  norm       = 9.72108
  Prefactor  = 11.471
  Prefactor  = 1.40984
  norm       = 1.33606
  Prefactor  = 43.7474
  Prefactor  = 6.82021
  Prefactor  = 0.000100001
  Prefactor  = 0.858297
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100037
  Prefactor  = 0.0001
  Normalizat = 0.702917
  Prefactor  = 1.21031
 **********
 **   18 **HESSE 
 **********

 FCN=   6211.891     FROM HESSE     STATUS=OK           372 CALLS     2941 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    54.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    24.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.2331        2.2235        .73059E-04   -1.5250    
   4  Prefactor     31.241        33.246        .71687E-04   -1.4590    
   5  Prefactor     .10002E-03    85.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2276        .11477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.923        26.152        .87567E-04   -1.4793    
   8  Prefactor     53.467        34.704        .54853E-04   -1.4244    
   9  Prefactor     .10000E-03    4.3603        .23164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.7211        5.7900        .12853E-03   -1.5084    
  11  Prefactor     11.471        9.6083        .11829E-03   -1.5030    
  12  Prefactor     1.4098        7.1641        .36483E-03   -1.5470    
  13  norm          1.3361        4.8726        .32401E-03   -1.5477    
  14  Prefactor     43.747        44.381        .60613E-04   -1.4384    
  15  Prefactor     6.8202        11.194        .15361E-03   -1.5186    
  16  Prefactor     .10000E-03    84.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85830        17.771        .39580E-02   -1.5523    
  18  Prefactor     .10000E-03    1.1825        .83371E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10004E-03    24.045        .35262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.1050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .70292        .24502        .34739E-03   -1.0378    
  23  Prefactor     1.2103        .16270        .19057E-03   -.86015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08951e-08
Minuit parameter uncertainties:
  1  0.00240563
  2  0.00111246
  3  2.22357
  4  33.2659
  5  0.00267092
  6  6.07271e-07
  7  26.1663
  8  34.7168
  9  5.92225e-06
  10  5.79033
  11  9.60961
  12  6.35718
  13  4.87408
  14  44.4146
  15  11.1979
  16  0.000697141
  17  7.81325
  18  8.13521e-07
  19  0.000151753
  20  0.00189676
  21  6.57459e-05
  22  0.2454
  23  0.162763
Done.

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

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  9.721e+00  5.790e+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.210e+00  1.628e-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.029e-01  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.15
Ra Dec: 324.855 -42.590
Photon Index (Fixed Index): 1.93 +/- 0.00
Photon Flux (Fixed Index): 5.89e-08 +/- 3.51e-08
Energy Flux (Fixed Index): 4.15e-05 +/- 2.47e-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) = 6211.6397723
delta logL = 0.250728967811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6211.63203177
delta logL = 0.258469501212

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.1607       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2663       1.0000          .0000       5.0000    
     3 'Normalizat'    .67503       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2197       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=   6211.632     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      239 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.1621        98.151        .33104E-02    .11834E-03
   2  alpha         2.2673        3.5634        .28546        .42798E-04
   3  Normalizat    .67493        .12848        .79884E-01    .28765E-04
   4  Prefactor     1.2199        .68034E-01    .34180E-01   -.49324E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 9.16209
  alpha      = 2.26728
  Normalizat = 0.674928
  Prefactor  = 1.21992
 **********
 **   18 **HESSE 
 **********

 FCN=   6211.632     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.1621        5.4110        .11837E-03   -1.5102    
   2  alpha         2.2673        .47960        .10737E-01   -.93221E-01
   3  Normalizat    .67493        .22879        .35372E-03   -1.0489    
   4  Prefactor     1.2199        .15938        .18983E-03   -.85720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.108e-09
Minuit parameter uncertainties:
  1  5.41128
  2  0.482622
  3  0.229116
  4  0.159446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/642922': 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) = 6211.63202666
delta logL = 0.258474607571

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  9.162e+00  5.411e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  2.267e+00  4.826e-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.220e+00  1.594e-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.749e-01  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.68
Ra Dec: 324.855 -42.590
Photon Index (Free Index): 2.27 +/- 0.48
Photon Flux (Free Index): 8.33e-08 +/- 5.23e-08
Energy Flux (Free Index): 3.23e-05 +/- 1.96e-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/642922/cmap_HighResolution_652492801_652752001_4FGL_J2139.4-4235_daily_bin1594.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.89e-08', energy_flux2='3.23e-05', photon_flux_error='3.51e-08', dlogl='2.58e-01', energy_flux='4.15e-05', photon_flux2='8.33e-08', job_status='DONE', time_completed='2021-09-26 22:08:44.287341', photon_index_error2='0.48', photon_index2='2.27', ts='8.15', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='0.70', time_epoch_completed='1632719324.29', return_code='0', job_id='642922', GAL2='1.22', EG2='0.67', return_code2='0', energy_flux_error='2.47e-05', photon_flux_error2='5.23e-08', ts2='8.68', photon_index='1.93' WHERE bin_id='1594' AND source_name='4FGL J2139.4-4235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 22:08:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 642922: <4FGL_J2139.4-4235_daily_bin1594> in cluster <slac> Done

Job <4FGL_J2139.4-4235_daily_bin1594> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 21:55:21 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 21:56:54 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:54 2021
Terminated at Sun Sep 26 22:08:45 2021
Results reported at Sun Sep 26 22:08:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2139.4-4235_daily_bin1594 324.855 -42.5895 652492801 652752001 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 :                                   612.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            804 sec.

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

