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


Performing analysis on: 4FGL_J2023.6-1139_daily_bin930
RA = 305.903, Dec = -11.6585
tmin = 480384001, tmax = 480643201
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='879383', job_status='RUN', time_executed='2021-09-25 08:55:51.111595', time_epoch_executed='1632585351.11' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='930'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/879383

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/879383/ft1_4FGL_J2023.6-1139_daily_bin930.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/879383/ft2_4FGL_J2023.6-1139_daily_bin930.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/879383/ft1_4FGL_J2023.6-1139_daily_bin930.fits outfile=/scratch/kocevski/879383/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin930.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=480384001.0 tmax=480643201.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.61
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/879383/ft1_filtered_4FGL_J2023.6-1139_daily_bin930.fits" evtable="EVENTS" scfile=/scratch/kocevski/879383/ft2_4FGL_J2023.6-1139_daily_bin930.fits sctable="SC_DATA" outfile=/scratch/kocevski/879383/ltcube_480384001_480643201_4FGL_J2023.6-1139_daily_bin930.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/879383/ft2_4FGL_J2023.6-1139_daily_bin930.fits
.....................!
real 17.09
user 16.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/879383/ft1_filtered_4FGL_J2023.6-1139_daily_bin930.fits evtable="EVENTS" scfile=/scratch/kocevski/879383/ft2_4FGL_J2023.6-1139_daily_bin930.fits sctable="SC_DATA" expcube=/scratch/kocevski/879383/ltcube_480384001_480643201_4FGL_J2023.6-1139_daily_bin930.fits outfile=/scratch/kocevski/879383/expmap_480384001_480643201_4FGL_J2023.6-1139_daily_bin930.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/879383/ltcube_480384001_480643201_4FGL_J2023.6-1139_daily_bin930.fits
.....................!
real 191.83
user 186.25
sys 5.03

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/879383/ft1_filtered_4FGL_J2023.6-1139_daily_bin930.fits scfile=/scratch/kocevski/879383/ft2_4FGL_J2023.6-1139_daily_bin930.fits outfile=/scratch/kocevski/879383/cmap_480384001_480643201_4FGL_J2023.6-1139_daily_bin930.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.60
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/879383/ft1_filtered_4FGL_J2023.6-1139_daily_bin930.fits scfile=/scratch/kocevski/879383/ft2_4FGL_J2023.6-1139_daily_bin930.fits outfile=/scratch/kocevski/879383/cmap_HighResolution_480384001_480643201_4FGL_J2023.6-1139_daily_bin930.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/879383/ft1_filtered_4FGL_J2023.6-1139_daily_bin930.fits evtable="EVENTS" scfile=/scratch/kocevski/879383/ft2_4FGL_J2023.6-1139_daily_bin930.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/879383/Model_4FGL_J2023.6-1139_daily_bin930.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/879383/ft1_filtered_4FGL_J2023.6-1139_daily_bin930.fits.....................!
real 141.71
user 139.98
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    17.223       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10364E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3766       1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.331       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10144E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.792       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0127       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.3052       1.0000         .10000E-03   10000.    
    14 'norm      '    15.971       1.0000         .10000E-03   10000.    
    15 'norm      '    39.165       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.401       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .74786       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0759       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=   15582.05     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2224 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5178        .15123E-06** at limit **
   2  Prefactor     17.222        12.135        .41661E-07   -.36888E-05
   3  Prefactor     .10000E-03    1.0218       -.23556E-06** at limit **
   4  Prefactor     .10000E-03    13.008       -.10105E-05** at limit **
   5  Prefactor     2.3797        48.454        .27053E-05    .27522E-04
   6  Prefactor     46.350        27.951        .39473E-05    .85669E-03
   7  Prefactor     .10000E-03    .41014       -.50851E-06** at limit **
   8  Prefactor     13.791        29.038       -.44018E-06    .78601E-05
   9  Prefactor     5.0278        7.7565        .42201E-05   -.74893E-03
  10  norm          .10000E-03    2.0955       -.51880E-07** at limit **
  11  Prefactor     .10000E-03    12.500        .11079E-05** at limit **
  12  Prefactor     .10000E-03    21.793       -.19161E-07** at limit **
  13  norm          8.3052        7.9756       -.40702E-08    .18648E-04
  14  norm          15.970        15.531       -.17604E-07   -.12413E-04
  15  norm          39.164        2.8484        .82225E-08    .19208E-03
  16  Prefactor     .10000E-03    25.371       -.47401E-06** at limit **
  17  norm          .10000E-03    .83644        .13727E-07** at limit **
  18  Prefactor     .10000E-03    1.6416       -.85329E-08** at limit **
  19  Prefactor     23.399        13.688        .83418E-07   -.40251E-04
  20  Normalizat    .74779        .21375       -.46949E-06    .16303E-03
  21  Prefactor     1.0760        .73711E-01   -.38489E-06    .95807E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 17.2217
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.37967
  Prefactor  = 46.3503
  Prefactor  = 0.0001
  Prefactor  = 13.7909
  Prefactor  = 5.02782
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.30519
  norm       = 15.9704
  norm       = 39.164
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.3991
  Normalizat = 0.74779
  Prefactor  = 1.07595
 **********
 **   18 **HESSE 
 **********

 FCN=   15582.05     FROM HESSE     STATUS=OK           319 CALLS     2543 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.222        12.148        .96508E-04   -1.4878    
   3  Prefactor     .10000E-03    24.647        .23973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3797        47.966        .26574E-03   -1.5399    
   6  Prefactor     46.350        30.352        .58906E-04   -1.4345    
   7  Prefactor     .10000E-03    8.8919        .14664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.791        28.893        .10785E-03   -1.4965    
   9  Prefactor     5.0278        8.2327        .89805E-03   -1.5259    
  10  norm          .10000E-03    2.1055        .17645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    12.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.3052        7.9781        .13911E-03   -1.5132    
  14  norm          15.970        15.528        .10022E-03   -1.4908    
  15  norm          39.164        2.8384        .53788E-04   -1.4456    
  16  Prefactor     .10000E-03    25.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .83947        .11148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.6763        .15598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.399        13.680        .82804E-04   -1.4740    
  20  Normalizat    .74779        .22808        .55040E-03   -1.0204    
  21  Prefactor     1.0760        .79771E-01    .16222E-03   -.90239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47405e-09
Minuit parameter uncertainties:
  1  7.69567e-06
  2  12.1501
  3  7.95089e-05
  4  0.00014982
  5  21.3867
  6  30.3621
  7  4.42071e-05
  8  28.922
  9  8.23452
  10  5.99706e-06
  11  0.000132263
  12  1.34357e-05
  13  7.97916
  14  15.5322
  15  2.83837
  16  2.61469e-05
  17  1.32208e-06
  18  4.55915e-06
  19  13.6822
  20  0.228368
  21  0.0797803
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.597e+01  1.553e+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.076e+00  7.978e-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:  7.478e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.74
Ra Dec: 305.903 -11.659
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.56e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 1.07e-05 +/- 1.04e-05

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

Saving results to:
/scratch/kocevski/879383/likelihoodResults_480384001_480643201_4FGL_J2023.6-1139_daily_bin930.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) = 15581.9274917
delta logL = 0.126946249891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15581.9268103
delta logL = 0.127627685757

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.401       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5666       1.0000          .0000       5.0000    
     3 'Normalizat'    .75199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0754       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=   15581.93     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      230 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.401        21.865        .24724E-02    .15469E-02
   2  alpha         1.5670        .85170        .45538       -.41703E-04
   3  Normalizat    .75236        .20566        .12371        .81569E-04
   4  Prefactor     1.0754        .71641E-01    .38607E-01   -.16249E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.4011
  alpha      = 1.56696
  Normalizat = 0.752363
  Prefactor  = 1.07535
 **********
 **   18 **HESSE 
 **********

 FCN=   15581.93     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.401        15.922        .98897E-04   -1.4898    
   2  alpha         1.5670        .72494        .32609E-01   -.38247    
   3  Normalizat    .75236        .21958        .54891E-03   -1.0186    
   4  Prefactor     1.0754        .77152E-01    .16226E-03   -.90258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.31683e-09
Minuit parameter uncertainties:
  1  15.9256
  2  0.737298
  3  0.21984
  4  0.0771603
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/879383': 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) = 15581.9268072
delta logL = 0.127630712777

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.640e+01  1.593e+01  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  1.567e+00  7.373e-01  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.075e+00  7.716e-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:  7.524e-01  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 305.903 -11.659
Photon Index (Free Index): 1.57 +/- 0.74
Photon Flux (Free Index): 1.04e-08 +/- 1.29e-08
Energy Flux (Free Index): 1.58e-05 +/- 2.04e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/879383/cmap_HighResolution_480384001_480643201_4FGL_J2023.6-1139_daily_bin930.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.75e-05', comment='SUCCESS', photon_flux='1.56e-08', energy_flux2='1.58e-05', photon_flux_error='1.52e-08', dlogl='1.28e-01', energy_flux='1.07e-05', photon_flux2='1.04e-08', job_status='DONE', time_completed='2021-09-25 09:16:35.410134', photon_index_error2='0.74', photon_index2='1.57', ts='1.74', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='5.46e-08', energy_flux_error2='2.04e-05', EG='0.75', time_epoch_completed='1632586595.41', return_code='0', job_id='879383', GAL2='1.08', EG2='0.75', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='1.29e-08', ts2='2.00', photon_index='1.96' WHERE bin_id='930' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 09:16:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 879383: <4FGL_J2023.6-1139_daily_bin930> in cluster <slac> Done

Job <4FGL_J2023.6-1139_daily_bin930> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 02:31:29 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:32:09 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:32:09 2021
Terminated at Sat Sep 25 09:16:36 2021
Results reported at Sat Sep 25 09:16:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin930 305.903 -11.6585 480384001 480643201 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 :                                   1254.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             61.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   24266 sec.
    Turnaround time :                            24307 sec.

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

