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


Performing analysis on: 4FGL_J2023.6-1139_daily_bin965
RA = 305.903, Dec = -11.6585
tmin = 489456001, tmax = 489715201
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='879439', job_status='RUN', time_executed='2021-09-25 02:32:35.660038', time_epoch_executed='1632562355.66' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='965'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/879439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/879439/ft1_4FGL_J2023.6-1139_daily_bin965.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/879439/ft2_4FGL_J2023.6-1139_daily_bin965.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/879439/ft1_4FGL_J2023.6-1139_daily_bin965.fits outfile=/scratch/kocevski/879439/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin965.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=489456001.0 tmax=489715201.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 5.46
user 5.03
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/879439/ft1_filtered_4FGL_J2023.6-1139_daily_bin965.fits" evtable="EVENTS" scfile=/scratch/kocevski/879439/ft2_4FGL_J2023.6-1139_daily_bin965.fits sctable="SC_DATA" outfile=/scratch/kocevski/879439/ltcube_489456001_489715201_4FGL_J2023.6-1139_daily_bin965.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/879439/ft2_4FGL_J2023.6-1139_daily_bin965.fits
.....................!
real 13.99
user 13.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/879439/ft1_filtered_4FGL_J2023.6-1139_daily_bin965.fits evtable="EVENTS" scfile=/scratch/kocevski/879439/ft2_4FGL_J2023.6-1139_daily_bin965.fits sctable="SC_DATA" expcube=/scratch/kocevski/879439/ltcube_489456001_489715201_4FGL_J2023.6-1139_daily_bin965.fits outfile=/scratch/kocevski/879439/expmap_489456001_489715201_4FGL_J2023.6-1139_daily_bin965.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/879439/ltcube_489456001_489715201_4FGL_J2023.6-1139_daily_bin965.fits
.....................!
real 194.87
user 186.94
sys 5.59

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/879439/ft1_filtered_4FGL_J2023.6-1139_daily_bin965.fits scfile=/scratch/kocevski/879439/ft2_4FGL_J2023.6-1139_daily_bin965.fits outfile=/scratch/kocevski/879439/cmap_489456001_489715201_4FGL_J2023.6-1139_daily_bin965.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/879439/ft1_filtered_4FGL_J2023.6-1139_daily_bin965.fits scfile=/scratch/kocevski/879439/ft2_4FGL_J2023.6-1139_daily_bin965.fits outfile=/scratch/kocevski/879439/cmap_HighResolution_489456001_489715201_4FGL_J2023.6-1139_daily_bin965.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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/879439/ft1_filtered_4FGL_J2023.6-1139_daily_bin965.fits evtable="EVENTS" scfile=/scratch/kocevski/879439/ft2_4FGL_J2023.6-1139_daily_bin965.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/879439/Model_4FGL_J2023.6-1139_daily_bin965.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/879439/ft1_filtered_4FGL_J2023.6-1139_daily_bin965.fits....................!
real 110.36
user 107.71
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.591       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.903       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.0365       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.332       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1599       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.647       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.695       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17425E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    17.150       1.0000         .10000E-03   10000.    
    15 'norm      '    5.6867       1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.066       1.0000         .10000E-03   10000.    
    17 'norm      '    2.8781       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .21725       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .43055       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1431       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=   12301.16     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2252 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.589        9.4757       -.37575E-07    .67066E-05
   2  Prefactor     24.898        17.310        .75564E-06   -.27380E-04
   3  Prefactor     .10000E-03    .81878       -.11279E-06** at limit **
   4  Prefactor     9.0312        19.119       -.95413E-06   -.12190E-04
   5  Prefactor     .10000E-03    71.164       -.14472E-05** at limit **
   6  Prefactor     38.320        28.906        .10938E-04   -.35453E-03
   7  Prefactor     1.1591        1.1328       -.53122E-06   -.46354E-02
   8  Prefactor     .10000E-03    59.385        .22979E-06** at limit **
   9  Prefactor     .10000E-03    8.4843        .10909E-06** at limit **
  10  norm          10.644        6.6751       -.94361E-06    .16211E-03
  11  Prefactor     25.690        28.245        .66585E-05   -.15784E-03
  12  Prefactor     .10001E-03    559.77       -.19815E-04** at limit **
  13  norm          .10000E-03    4.4442        .10873E-06** at limit **
  14  norm          17.149        14.783        .15750E-05   -.77589E-04
  15  norm          5.6866        1.5805       -.23811E-07   -.33548E-04
  16  Prefactor     58.066        18.230        .17450E-06    .25639E-04
  17  norm          2.8782        2.1419        .23247E-07   -.70357E-04
  18  Prefactor     .18244        1.3025        .10054E-06   -.27545E-03
  19  Prefactor     .10000E-03    8.7931        .51884E-07** at limit **
  20  Normalizat    .43028        .24486       -.28087E-05   -.15651E-03
  21  Prefactor     1.1433        .87090E-01   -.15233E-06    .27450E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5891
  Prefactor  = 24.8976
  Prefactor  = 0.0001
  Prefactor  = 9.03122
  Prefactor  = 0.0001
  Prefactor  = 38.32
  Prefactor  = 1.15909
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.6438
  Prefactor  = 25.6897
  Prefactor  = 0.000100008
  norm       = 0.0001
  norm       = 17.149
  norm       = 5.6866
  Prefactor  = 58.0664
  norm       = 2.87819
  Prefactor  = 0.182436
  Prefactor  = 0.0001
  Normalizat = 0.430283
  Prefactor  = 1.14327
 **********
 **   18 **HESSE 
 **********

 FCN=   12301.16     FROM HESSE     STATUS=OK           319 CALLS     2571 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.589        9.4801        .11767E-03   -1.5027    
   2  Prefactor     24.898        17.384        .80272E-04   -1.4710    
   3  Prefactor     .10000E-03    .82809        .98006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.0312        19.117        .13333E-03   -1.5107    
   5  Prefactor     .10000E-03    71.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.320        28.356        .64737E-04   -1.4469    
   7  Prefactor     1.1591        1.1882        .21399E-03   -1.5493    
   8  Prefactor     .10000E-03    59.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.5806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.644        6.6313        .12279E-03   -1.5055    
  11  Prefactor     25.690        28.025        .79027E-04   -1.4694    
  12  Prefactor     .10001E-03    566.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.4487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          17.149        14.771        .96712E-04   -1.4880    
  15  norm          5.6866        1.5795        .67003E-04   -1.5231    
  16  Prefactor     58.066        18.170        .52648E-04   -1.4182    
  17  norm          2.8782        2.1375        .13609E-03   -1.5369    
  18  Prefactor     .18244        13.463        .23049E-02   -1.5623    
  19  Prefactor     .10000E-03    8.8647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .43028        .23288        .62582E-03   -1.1576    
  21  Prefactor     1.1433        .85399E-01    .14560E-03   -.88095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83977e-09
Minuit parameter uncertainties:
  1  9.48132
  2  17.387
  3  6.71526e-06
  4  19.1303
  5  4.37874e-05
  6  28.3659
  7  1.18825
  8  5.63779e-05
  9  5.94844e-05
  10  6.63171
  11  28.0397
  12  0.00424462
  13  1.44916e-06
  14  14.774
  15  1.57956
  16  18.1713
  17  2.13756
  18  3.13425
  19  2.50924e-05
  20  0.233404
  21  0.0854092
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.715e+01  1.477e+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.143e+00  8.541e-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:  4.303e-01  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.92
Ra Dec: 305.903 -11.659
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.67e-08 +/- 1.44e-08
Energy Flux (Fixed Index): 1.15e-05 +/- 9.91e-06

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) = 12299.9795268
delta logL = 1.17959446569

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12299.7094831
delta logL = 1.44963813357

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7819       1.0000         .10000E-03   10000.    
     2 'alpha     '    .57222       1.0000          .0000       5.0000    
     3 'Normalizat'    .43502       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1450       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=   12299.71     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      223 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7820        5.3678        .45996E-02   -.13515E-02
   2  alpha         .57217        .52026        .50000       -.33022E-04
   3  Normalizat    .43505        .22756        .14047        .11007E-03
   4  Prefactor     1.1450        .84156E-01    .36083E-01    .46873E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.78196
  alpha      = 0.572168
  Normalizat = 0.435051
  Prefactor  = 1.14496
 **********
 **   18 **HESSE 
 **********

 FCN=   12299.71     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7820        9.2205        .18398E-03   -1.5271    
   2  alpha         .57217        .76838        .31773E-01   -.88062    
   3  Normalizat    .43505        .22119        .62268E-03   -1.1553    
   4  Prefactor     1.1450        .82066E-01    .14552E-03   -.88042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46165e-09
Minuit parameter uncertainties:
  1  9.22328
  2  0.80187
  3  0.221638
  4  0.0820755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/879439': 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) = 12299.7094831
delta logL = 1.44963816593

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  4.782e+00  9.223e+00  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  5.722e-01  8.019e-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.145e+00  8.208e-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:  4.351e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.82
Ra Dec: 305.903 -11.659
Photon Index (Free Index): 0.57 +/- 0.80
Photon Flux (Free Index): 3.71e-09 +/- 4.16e-09
Energy Flux (Free Index): 5.17e-05 +/- 6.87e-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/879439/cmap_HighResolution_489456001_489715201_4FGL_J2023.6-1139_daily_bin965.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.67e-08', energy_flux2='5.17e-05', photon_flux_error='1.44e-08', dlogl='1.45e+00', energy_flux='1.15e-05', photon_flux2='3.71e-09', job_status='DONE', time_completed='2021-09-25 02:48:04.854001', photon_index_error2='0.80', photon_index2='0.57', ts='4.92', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='6.87e-05', EG='0.43', time_epoch_completed='1632563284.85', return_code='0', job_id='879439', GAL2='1.14', EG2='0.44', return_code2='0', energy_flux_error='9.91e-06', photon_flux_error2='4.16e-09', ts2='7.82', photon_index='1.96' WHERE bin_id='965' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 02:48:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0015>
Subject: Job 879439: <4FGL_J2023.6-1139_daily_bin965> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin965 305.903 -11.6585 489456001 489715201 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 :                                   913.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             346.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            992 sec.

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

