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


Performing analysis on: 4FGL_J2023.6-1139_daily_bin975
RA = 305.903, Dec = -11.6585
tmin = 492048001, tmax = 492307201
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='879455', job_status='RUN', time_executed='2021-09-25 02:33:52.620118', time_epoch_executed='1632562432.62' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='975'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/879455

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/879455/ft1_4FGL_J2023.6-1139_daily_bin975.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/879455/ft2_4FGL_J2023.6-1139_daily_bin975.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/879455/ft1_4FGL_J2023.6-1139_daily_bin975.fits outfile=/scratch/kocevski/879455/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin975.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=492048001.0 tmax=492307201.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.76
user 3.51
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/879455/ft2_4FGL_J2023.6-1139_daily_bin975.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/879455/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin975.fits evtable="EVENTS" outfile="/scratch/kocevski/879455/ft1_filtered_4FGL_J2023.6-1139_daily_bin975.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.55
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/879455/ft1_filtered_4FGL_J2023.6-1139_daily_bin975.fits" evtable="EVENTS" scfile=/scratch/kocevski/879455/ft2_4FGL_J2023.6-1139_daily_bin975.fits sctable="SC_DATA" outfile=/scratch/kocevski/879455/ltcube_492048001_492307201_4FGL_J2023.6-1139_daily_bin975.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/879455/ft2_4FGL_J2023.6-1139_daily_bin975.fits
.....................!
real 12.61
user 12.26
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/879455/ft1_filtered_4FGL_J2023.6-1139_daily_bin975.fits evtable="EVENTS" scfile=/scratch/kocevski/879455/ft2_4FGL_J2023.6-1139_daily_bin975.fits sctable="SC_DATA" expcube=/scratch/kocevski/879455/ltcube_492048001_492307201_4FGL_J2023.6-1139_daily_bin975.fits outfile=/scratch/kocevski/879455/expmap_492048001_492307201_4FGL_J2023.6-1139_daily_bin975.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/879455/ltcube_492048001_492307201_4FGL_J2023.6-1139_daily_bin975.fits
.....................!
real 191.69
user 186.15
sys 5.07

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/879455/ft1_filtered_4FGL_J2023.6-1139_daily_bin975.fits scfile=/scratch/kocevski/879455/ft2_4FGL_J2023.6-1139_daily_bin975.fits outfile=/scratch/kocevski/879455/cmap_492048001_492307201_4FGL_J2023.6-1139_daily_bin975.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/879455/ft1_filtered_4FGL_J2023.6-1139_daily_bin975.fits scfile=/scratch/kocevski/879455/ft2_4FGL_J2023.6-1139_daily_bin975.fits outfile=/scratch/kocevski/879455/cmap_HighResolution_492048001_492307201_4FGL_J2023.6-1139_daily_bin975.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/879455/ft1_filtered_4FGL_J2023.6-1139_daily_bin975.fits evtable="EVENTS" scfile=/scratch/kocevski/879455/ft2_4FGL_J2023.6-1139_daily_bin975.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/879455/Model_4FGL_J2023.6-1139_daily_bin975.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/879455/ft1_filtered_4FGL_J2023.6-1139_daily_bin975.fits.....................!
real 58.69
user 57.27
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.283       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12233E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2437       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.972       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13226E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.426       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .52676       1.0000         .10000E-03   10000.    
     8 'Prefactor '    59.890       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11051E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11252E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.937       1.0000         .10000E-03   10000.    
    14 'norm      '    10.819       1.0000         .10000E-03   10000.    
    15 'norm      '    8.6975       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11137E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .25870E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.837       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1795       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91779       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=   5834.655     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2282 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.292        23.029        .73705E-08   -.16789E-04
   2  Prefactor     .10000E-03    15.240       -.14296E-06** at limit **
   3  Prefactor     1.2818        14.894        .40839E-05   -.65362E-04
   4  Prefactor     16.957        72.045       -.59353E-05    .24078E-05
   5  Prefactor     .10000E-03    27.937       -.58814E-06** at limit **
   6  Prefactor     44.322        79.749       -.27573E-05   -.50248E-04
   7  Prefactor     .53147        2.1091        .10893E-05   -.23877E-03
   8  Prefactor     59.773        96.646       -.38622E-05   -.26999E-04
   9  Prefactor     .10000E-03    8.5728       -.31915E-06** at limit **
  10  norm          .10000E-03    6.7255       -.10228E-06** at limit **
  11  Prefactor     .10000E-03    50.808       -.31817E-05** at limit **
  12  Prefactor     .10000E-03    48.769        .29601E-05** at limit **
  13  norm          12.956        25.525       -.23470E-06   -.10549E-04
  14  norm          10.825        22.115        .35029E-06   -.58687E-05
  15  norm          8.7026        3.0828        .93364E-07   -.77573E-04
  16  Prefactor     .10000E-03    15.751        .72876E-07** at limit **
  17  norm          .10000E-03    3.6200        .88648E-07** at limit **
  18  Prefactor     .69582E-01    2.5522        .42487E-06   -.60469E-04
  19  Prefactor     19.837        21.714        .10723E-05   -.58668E-05
  20  Normalizat    1.1783        .31222       -.21517E-05   -.10461E-03
  21  Prefactor     .91768        .11191       -.31531E-06   -.31186E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.2921
  Prefactor  = 0.0001
  Prefactor  = 1.28178
  Prefactor  = 16.9573
  Prefactor  = 0.0001
  Prefactor  = 44.3215
  Prefactor  = 0.53147
  Prefactor  = 59.773
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.9559
  norm       = 10.8252
  norm       = 8.70258
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0695824
  Prefactor  = 19.8367
  Normalizat = 1.17832
  Prefactor  = 0.917677
 **********
 **   18 **HESSE 
 **********

 FCN=   5834.655     FROM HESSE     STATUS=OK           319 CALLS     2601 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.292        23.048        .75332E-04   -1.4644    
   2  Prefactor     .10000E-03    15.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2818        14.513        .40176E-03   -1.5482    
   4  Prefactor     16.957        69.778        .97220E-04   -1.4884    
   5  Prefactor     .10000E-03    27.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.322        77.756        .60150E-04   -1.4375    
   7  Prefactor     .53147        3.1145        .17727E-02   -1.5562    
   8  Prefactor     59.773        96.764        .51844E-04   -1.4160    
   9  Prefactor     .10000E-03    8.5792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.7585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    50.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    48.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.956        25.534        .11137E-03   -1.4988    
  14  norm          10.825        22.115        .12181E-03   -1.5050    
  15  norm          8.7026        3.0870        .75585E-04   -1.5118    
  16  Prefactor     .10000E-03    15.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.6703        .14191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .69582E-01    89.420        .22140E-02   -1.5655    
  19  Prefactor     19.837        21.863        .89927E-04   -1.4817    
  20  Normalizat    1.1783        .38026        .41260E-03   -.87275    
  21  Prefactor     .91768        .13527        .16664E-03   -.95526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94328e-08
Minuit parameter uncertainties:
  1  23.0555
  2  2.13449e-05
  3  8.62856
  4  68.9355
  5  0.000101575
  6  77.9343
  7  2.57311
  8  97.0201
  9  8.33654e-06
  10  1.04895e-05
  11  5.46544e-05
  12  7.31695e-05
  13  25.5551
  14  22.1322
  15  3.08704
  16  9.2037e-06
  17  5.15376e-06
  18  4.9927
  19  21.8716
  20  0.381159
  21  0.135318
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.083e+01  2.213e+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:  9.177e-01  1.353e-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.178e+00  3.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/879455/likelihoodResults_492048001_492307201_4FGL_J2023.6-1139_daily_bin975.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) = 5834.32797053
delta logL = 0.326788097334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5834.32242508
delta logL = 0.33233354805

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.828       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0605       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1840       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91636       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=   5834.322     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      199 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.097        15.859        .30439E-02   -.27287E-03
   2  alpha         1.0683        .73058        .50000       -.24005E-04
   3  Normalizat    1.1838        .29306        .92947E-01   -.31686E-04
   4  Prefactor     .91633        .10655        .45213E-01   -.26988E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.0966
  alpha      = 1.06825
  Normalizat = 1.18378
  Prefactor  = 0.916328
 **********
 **   18 **HESSE 
 **********

 FCN=   5834.322     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.097        18.429        .12176E-03   -1.5042    
   2  alpha         1.0683        .88952        .27008E-01   -.60980    
   3  Normalizat    1.1838        .34201        .41172E-03   -.87106    
   4  Prefactor     .91633        .12468        .16669E-03   -.95573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93368e-09
Minuit parameter uncertainties:
  1  18.438
  2  0.920117
  3  0.342655
  4  0.124723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/879455': 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) = 5834.32232439
delta logL = 0.3324342308

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.110e+01  1.844e+01  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  1.068e+00  9.201e-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:  9.163e-01  1.247e-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.184e+00  3.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.02
Ra Dec: 305.903 -11.659
Photon Index (Free Index): 1.07 +/- 0.92
Photon Flux (Free Index): 5.86e-09 +/- 9.35e-09
Energy Flux (Free Index): 2.89e-05 +/- 5.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/879455/cmap_HighResolution_492048001_492307201_4FGL_J2023.6-1139_daily_bin975.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.77e-05', comment='SUCCESS', energy_flux2='2.89e-05', dlogl='3.32e-01', photon_flux2='5.86e-09', job_status='DONE', time_completed='2021-09-25 02:44:35.302949', photon_index_error2='0.92', photon_index2='1.07', ts='0.35', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='8.39e-08', energy_flux_error2='5.85e-05', EG='1.18', time_epoch_completed='1632563075.3', return_code='0', job_id='879455', GAL2='0.92', EG2='1.18', return_code2='0', photon_flux_error2='9.35e-09', ts2='1.02', photon_index='1.96' WHERE bin_id='975' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 02:44:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 879455: <4FGL_J2023.6-1139_daily_bin975> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin975 305.903 -11.6585 492048001 492307201 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 :                                   636.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            781 sec.

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

