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


Performing analysis on: 4FGL_J2023.6-1139_daily_bin543
RA = 305.903, Dec = -11.6585
tmin = 380073601, tmax = 380332801
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='876726', job_status='RUN', time_executed='2021-09-25 02:21:51.705840', time_epoch_executed='1632561711.71' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='543'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/876726

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/876726/ft1_4FGL_J2023.6-1139_daily_bin543.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/876726/ft1_4FGL_J2023.6-1139_daily_bin543.fits outfile=/scratch/kocevski/876726/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin543.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=380073601.0 tmax=380332801.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.50
user 4.21
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.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/876726/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin543.fits evtable="EVENTS" outfile="/scratch/kocevski/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.fits" evtable="EVENTS" scfile=/scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits sctable="SC_DATA" outfile=/scratch/kocevski/876726/ltcube_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.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/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits
.....................!
real 13.17
user 12.77
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits sctable="SC_DATA" expcube=/scratch/kocevski/876726/ltcube_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.fits outfile=/scratch/kocevski/876726/expmap_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.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/876726/ltcube_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.fits
.....................!
real 192.23
user 184.90
sys 6.20

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

Setting source of interest to:
4FGL J2023.6-1139 @ 305.903 -11.6585

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.fits scfile=/scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits outfile=/scratch/kocevski/876726/cmap_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.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=305.903 yref=-11.6585 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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.fits scfile=/scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits outfile=/scratch/kocevski/876726/cmap_HighResolution_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.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=305.903 yref=-11.6585 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/876726/Model_4FGL_J2023.6-1139_daily_bin543.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/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.fits.....................!
real 98.28
user 96.83
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.fits', '/scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits', expMap='/scratch/kocevski/876726/expmap_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.fits', expCube='/scratch/kocevski/876726/ltcube_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/876726/Model_4FGL_J2023.6-1139_daily_bin543.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2023.6-1139'

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  9.104e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  1.962e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.303e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/876726/ft1_filtered_4FGL_J2023.6-1139_daily_bin543.fits
Spacecraft file(s): /scratch/kocevski/876726/ft2_4FGL_J2023.6-1139_daily_bin543.fits
Exposure map: /scratch/kocevski/876726/expmap_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.fits
Exposure cube: /scratch/kocevski/876726/ltcube_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/876726/Model_4FGL_J2023.6-1139_daily_bin543.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) = 10612.7852172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    18.876       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .40561E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.559       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .87448       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.109       1.0000         .10000E-03   10000.    
    10 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.767       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    18.957       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.421       1.0000         .10000E-03   10000.    
    17 'norm      '    2.4632       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8334       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7735       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0812       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2043       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10612.78     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2238 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4060       -.30282E-07** at limit **
   2  Prefactor     18.877        18.681       -.33516E-06    .42837E-05
   3  Prefactor     .10000E-03    1.7716       -.15256E-05** at limit **
   4  Prefactor     16.559        17.697       -.13109E-07    .21731E-04
   5  Prefactor     .83219        125.80        .35024E-04   -.25279E-05
   6  Prefactor     .10000E-03    11.816       -.76950E-07** at limit **
   7  Prefactor     .10000E-03    1.0965        .37269E-08** at limit **
   8  Prefactor     .10000E-03    15.083        .18428E-06** at limit **
   9  Prefactor     44.104        20.139        .35058E-07    .17274E-03
  10  norm          .10000E-03    4.6211       -.25148E-07** at limit **
  11  Prefactor     17.742        39.141       -.36478E-05    .43444E-05
  12  Prefactor     .10000E-03    107.57       -.12698E-05** at limit **
  13  norm          .10000E-03    23.268       -.83428E-07** at limit **
  14  norm          18.956        18.578        .98224E-08    .12040E-04
  15  norm          .10000E-03    .56126        .12104E-06** at limit **
  16  Prefactor     24.421        16.160       -.32516E-06   -.58160E-04
  17  norm          2.4630        4.8484       -.74057E-06   -.34157E-04
  18  Prefactor     4.8334        4.1147       -.19644E-05    .63645E-04
  19  Prefactor     2.7730        32.649       -.15227E-05    .55447E-05
  20  Normalizat    1.0811        .29946        .29919E-05    .84011E-04
  21  Prefactor     1.2044        .95333E-01   -.48986E-06    .43934E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.8772
  Prefactor  = 0.000100002
  Prefactor  = 16.5592
  Prefactor  = 0.832193
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.1042
  norm       = 0.0001
  Prefactor  = 17.7424
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 18.9558
  norm       = 0.0001
  Prefactor  = 24.4213
  norm       = 2.463
  Prefactor  = 4.83345
  Prefactor  = 2.77303
  Normalizat = 1.08108
  Prefactor  = 1.2044
 **********
 **   18 **HESSE 
 **********

 FCN=   10612.78     FROM HESSE     STATUS=OK           319 CALLS     2557 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.4174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.877        18.697        .92187E-04   -1.4839    
   3  Prefactor     .10000E-03    21.517        .24917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.559        17.695        .98423E-04   -1.4894    
   5  Prefactor     .83219        124.18        .68349E-02   -1.5526    
   6  Prefactor     .10000E-03    11.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.1187        .20930E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     44.104        20.019        .60365E-04   -1.4379    
  10  norm          .10000E-03    4.6594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.742        39.191        .95021E-04   -1.4865    
  12  Prefactor     .10000E-03    107.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    23.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.956        18.577        .91990E-04   -1.4837    
  15  norm          .10000E-03    .57503        .15033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.421        16.147        .81059E-04   -1.4719    
  17  norm          2.4630        4.8353        .26057E-03   -1.5394    
  18  Prefactor     4.8334        4.1135        .91297E-03   -1.5268    
  19  Prefactor     2.7730        32.904        .24437E-03   -1.5375    
  20  Normalizat    1.0811        .33206        .50477E-03   -.90362    
  21  Prefactor     1.2044        .10735        .16308E-03   -.86196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88246e-08
Minuit parameter uncertainties:
  1  8.27093e-06
  2  18.7029
  3  0.000451211
  4  17.7003
  5  20.373
  6  8.62917e-06
  7  1.36626e-06
  8  7.64985e-06
  9  20.0225
  10  8.98413e-06
  11  39.2479
  12  3.27904e-05
  13  2.34968e-05
  14  18.5831
  15  3.97938e-06
  16  16.1503
  17  4.8361
  18  4.11376
  19  19.1172
  20  0.3327
  21  0.107368
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.896e+01  1.858e+01  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  1.962e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.303e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
639    Prefactor:  1.204e+00  1.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
640        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
641        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  1.081e+00  3.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.89
Ra Dec: 305.903 -11.659
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.85e-08 +/- 1.81e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.25e-05

TS (Fixed Index): 3.89
Ra Dec: 305.903 -11.659
Photon Flux Upper Limit: 7.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/876726/likelihoodResults_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10610.9864353
delta logL = 1.7969184702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10610.3025196
delta logL = 2.48083418477

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10610.30     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      254 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1206        4.5538         .0000       -.77490E-03
   2  alpha         .34304E-01    1.0338         .0000        .17388E-03
   3  Normalizat    1.0573        .27106         .0000       -.20773E-03
   4  Prefactor     1.2137        .92320E-01     .0000       -.56416E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.1206
  alpha      = 0.0343037
  Normalizat = 1.05734
  Prefactor  = 1.21371
 **********
 **   18 **HESSE 
 **********

 FCN=   10610.30     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      287 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1206        106.13        .13140E-03   -1.5355    
   2  alpha         .34304E-01    4.9827        .48445E-01   -1.4049    
   3  Normalizat    1.0573        .28908        .50950E-03   -.91133    
   4  Prefactor     1.2137        .98955E-01    .16253E-03   -.85910    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.65762e-08
Minuit parameter uncertainties:
  1  36.4675
  2  3.96516
  3  0.289512
  4  0.0989704
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/876726': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10610.3025145
delta logL = 2.48083928858

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  3.121e+00  3.647e+01  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  3.430e-02  3.965e+00  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.303e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
639    Prefactor:  1.214e+00  9.897e-02  0.000e+00  1.000e+01 ( 1.000e+00)
640        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
641        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  1.057e+00  2.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.86
Ra Dec: 305.903 -11.659
Photon Index (Free Index): 0.03 +/- 3.97
Photon Flux (Free Index): 7.20e-09 +/- 1.21e-08
Energy Flux (Free Index): 2.09e-04 +/- 5.41e-04

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/876726/cmap_HighResolution_380073601_380332801_4FGL_J2023.6-1139_daily_bin543.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-05', comment='SUCCESS', photon_flux='1.85e-08', energy_flux2='2.09e-04', photon_flux_error='1.81e-08', dlogl='2.48e+00', energy_flux='1.27e-05', photon_flux2='7.20e-09', job_status='DONE', time_completed='2021-09-25 02:37:26.943071', photon_index_error2='3.97', photon_index2='0.03', ts='3.89', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='7.28e-08', energy_flux_error2='5.41e-04', EG='1.08', time_epoch_completed='1632562646.94', return_code='0', job_id='876726', GAL2='1.21', EG2='1.06', return_code2='102', energy_flux_error='1.25e-05', photon_flux_error2='1.21e-08', ts2='8.86', photon_index='1.96' WHERE bin_id='543' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 02:37:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 876726: <4FGL_J2023.6-1139_daily_bin543> in cluster <slac> Done

Job <4FGL_J2023.6-1139_daily_bin543> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 02:21:04 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:21:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 02:21:23 2021
Terminated at Sat Sep 25 02:37:28 2021
Results reported at Sat Sep 25 02:37:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin543 305.903 -11.6585 380073601 380332801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2023.6-1139 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   930.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            984 sec.

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

