/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 38 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 = 7398
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2023.6-1139_daily_bin373
RA = 305.903, Dec = -11.6585
tmin = 336009601, tmax = 336268801
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='875397', job_status='RUN', time_executed='2021-09-25 02:17:31.005980', time_epoch_executed='1632561451.01' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875397

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875397/ft1_4FGL_J2023.6-1139_daily_bin373.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875397/ft1_4FGL_J2023.6-1139_daily_bin373.fits outfile=/scratch/kocevski/875397/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin373.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=336009601.0 tmax=336268801.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.29
user 3.08
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.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/875397/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin373.fits evtable="EVENTS" outfile="/scratch/kocevski/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.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.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.fits" evtable="EVENTS" scfile=/scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits sctable="SC_DATA" outfile=/scratch/kocevski/875397/ltcube_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.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/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits
.....................!
real 14.12
user 13.67
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.fits evtable="EVENTS" scfile=/scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits sctable="SC_DATA" expcube=/scratch/kocevski/875397/ltcube_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.fits outfile=/scratch/kocevski/875397/expmap_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.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/875397/ltcube_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.fits
.....................!
real 194.00
user 188.31
sys 4.75

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/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.fits scfile=/scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits outfile=/scratch/kocevski/875397/cmap_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.fits scfile=/scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits outfile=/scratch/kocevski/875397/cmap_HighResolution_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.fits evtable="EVENTS" scfile=/scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875397/Model_4FGL_J2023.6-1139_daily_bin373.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/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.fits.....................!
real 75.85
user 74.41
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.fits', '/scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits', expMap='/scratch/kocevski/875397/expmap_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.fits', expCube='/scratch/kocevski/875397/ltcube_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875397/Model_4FGL_J2023.6-1139_daily_bin373.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/875397/ft1_filtered_4FGL_J2023.6-1139_daily_bin373.fits
Spacecraft file(s): /scratch/kocevski/875397/ft2_4FGL_J2023.6-1139_daily_bin373.fits
Exposure map: /scratch/kocevski/875397/expmap_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.fits
Exposure cube: /scratch/kocevski/875397/ltcube_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875397/Model_4FGL_J2023.6-1139_daily_bin373.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) = 7698.75419073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4501       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.8499       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4983       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .24704E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.2997       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.895       1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.337       1.0000         .10000E-03   10000.    
    13 'norm      '    .10135E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10332E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0067       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.317       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3098       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11548       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14191E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1409       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92785       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=   7698.745     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2255 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.806       -.11742E-06** at limit **
   2  Prefactor     6.4372        22.036        .83956E-06   -.12730E-04
   3  Prefactor     8.8451        5.7769        .20412E-05    .26208E-03
   4  Prefactor     8.4958        24.388        .30927E-06    .27568E-04
   5  Prefactor     .10000E-03    31.790       -.29133E-06** at limit **
   6  Prefactor     .10000E-03    17.385       -.17782E-07** at limit **
   7  Prefactor     .10005E-03    .91396       -.45985E-06** at limit **
   8  Prefactor     .10000E-03    15.609       -.13057E-06** at limit **
   9  Prefactor     .10000E-03    24.729       -.69652E-06** at limit **
  10  norm          9.2987        10.691        .24845E-05    .20469E-03
  11  Prefactor     10.940        36.417        .10827E-05    .32046E-04
  12  Prefactor     39.487        94.500        .37523E-06    .70523E-04
  13  norm          .10000E-03    12.011       -.73852E-07** at limit **
  14  norm          .10000E-03    20.112        .23827E-06** at limit **
  15  norm          2.0047        1.8205        .13151E-06   -.89227E-04
  16  Prefactor     12.322        19.254        .14068E-06   -.37028E-04
  17  norm          1.3087        3.1799        .86339E-06    .39257E-04
  18  Prefactor     .11565        2.2320        .91811E-07   -.16797E-03
  19  Prefactor     .10023E-03    12.834        .16553E-05** at limit **
  20  Normalizat    1.1409        .27359        .10540E-05   -.94864E-04
  21  Prefactor     .92795        .91474E-01   -.10673E-05    .22329E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.43721
  Prefactor  = 8.84508
  Prefactor  = 8.49579
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100048
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.2987
  Prefactor  = 10.9405
  Prefactor  = 39.4865
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.00472
  Prefactor  = 12.3215
  norm       = 1.30873
  Prefactor  = 0.115646
  Prefactor  = 0.000100226
  Normalizat = 1.14087
  Prefactor  = 0.927945
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.745     FROM HESSE     STATUS=OK           325 CALLS     2580 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4372        22.250        .15803E-03   -1.5200    
   3  Prefactor     8.8451        5.7665        .67368E-03   -1.5113    
   4  Prefactor     8.4958        24.321        .13751E-03   -1.5125    
   5  Prefactor     .10000E-03    31.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    17.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10005E-03    15.428        .15577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.2987        10.681        .65710E-03   -1.5098    
  11  Prefactor     10.940        36.395        .12138E-03   -1.5046    
  12  Prefactor     39.487        94.268        .31954E-03   -1.4450    
  13  norm          .10000E-03    12.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    20.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0047        1.7921        .99982E-04   -1.5425    
  16  Prefactor     12.322        19.131        .11414E-03   -1.5006    
  17  norm          1.3087        3.1341        .23584E-03   -1.5479    
  18  Prefactor     .11565        30.350        .24643E-02   -1.5640    
  19  Prefactor     .10023E-03    83.433        .57980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1409        .30885        .42080E-03   -.88450    
  21  Prefactor     .92795        .10537        .15546E-03   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00839e-09
Minuit parameter uncertainties:
  1  8.24509e-06
  2  22.2783
  3  5.76688
  4  24.3493
  5  3.7207e-05
  6  2.97637e-05
  7  0.00172811
  8  2.62014e-05
  9  7.31449e-05
  10  10.6835
  11  36.4689
  12  94.6267
  13  8.99783e-06
  14  2.09815e-05
  15  1.79219
  16  19.1403
  17  3.13448
  18  3.74725
  19  0.00870215
  20  0.309347
  21  0.105395
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.000e-04  2.098e-05  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:  9.279e-01  1.054e-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.141e+00  3.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/875397/likelihoodResults_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.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) = 7698.74522765
delta logL = -0.000236245148699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7698.74499735
delta logL = -5.94680386712e-06

Fit tolerance = 1e-08

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

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

 FCN=   7698.745     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      210 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    48.846        .90712E-02** at limit **
   2  alpha         2.0641        3.5320        .42191       -.12111E-04
   3  Normalizat    1.1409        .25047        .94987E-01    .24492E-04
   4  Prefactor     .92794        .84983E-01    .45364E-01   -.73890E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  alpha      = 2.06408
  Normalizat = 1.14088
  Prefactor  = 0.927944
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.745     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    25.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0641        3.4435        .50000       -.17526    
   3  Normalizat    1.1409        .28890        .42080E-03   -.88450    
   4  Prefactor     .92794        .98291E-01    .15546E-03   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94732e-10
Minuit parameter uncertainties:
  1  0.000676756
  2  2.5035
  3  0.289303
  4  0.0983094
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875397': 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) = 7698.74499092
delta logL = 4.82599716634e-07

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.000e-04  6.768e-04  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  2.064e+00  2.503e+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:  9.279e-01  9.831e-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.141e+00  2.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 305.903 -11.659

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/875397/cmap_HighResolution_336009601_336268801_4FGL_J2023.6-1139_daily_bin373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-05', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2021-09-25 02:30:15.255836', job_id='875397', GAL2='0.93', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632562215.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='373' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 02:30:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0011>
Subject: Job 875397: <4FGL_J2023.6-1139_daily_bin373> in cluster <slac> Done

Job <4FGL_J2023.6-1139_daily_bin373> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 02:16:04 2021
Job was executed on host(s) <bullet0011>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:16:27 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:16:27 2021
Terminated at Sat Sep 25 02:30:16 2021
Results reported at Sat Sep 25 02:30:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin373 305.903 -11.6585 336009601 336268801 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 :                                   744.00 sec.
    Max Memory :                                 1147 MB
    Average Memory :                             339.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            852 sec.

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

