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


Performing analysis on: 4FGL_J2023.6-1139_daily_bin836
RA = 305.903, Dec = -11.6585
tmin = 456019201, tmax = 456278401
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='879229', job_status='RUN', time_executed='2021-09-25 02:34:06.929785', time_epoch_executed='1632562446.93' WHERE source_name='4FGL J2023.6-1139' and cadence='daily' and bin_id='836'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/879229

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/879229/ft1_4FGL_J2023.6-1139_daily_bin836.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/879229/ft2_4FGL_J2023.6-1139_daily_bin836.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/879229/ft1_4FGL_J2023.6-1139_daily_bin836.fits outfile=/scratch/kocevski/879229/ft1_filteredMKT_4FGL_J2023.6-1139_daily_bin836.fits ra=305.903 dec=-11.6585 rad=12.0 tmin=456019201.0 tmax=456278401.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 7.01
user 6.66
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/879229/ft1_filtered_4FGL_J2023.6-1139_daily_bin836.fits" evtable="EVENTS" scfile=/scratch/kocevski/879229/ft2_4FGL_J2023.6-1139_daily_bin836.fits sctable="SC_DATA" outfile=/scratch/kocevski/879229/ltcube_456019201_456278401_4FGL_J2023.6-1139_daily_bin836.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/879229/ft2_4FGL_J2023.6-1139_daily_bin836.fits
.....................!
real 16.13
user 15.04
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/879229/ft1_filtered_4FGL_J2023.6-1139_daily_bin836.fits evtable="EVENTS" scfile=/scratch/kocevski/879229/ft2_4FGL_J2023.6-1139_daily_bin836.fits sctable="SC_DATA" expcube=/scratch/kocevski/879229/ltcube_456019201_456278401_4FGL_J2023.6-1139_daily_bin836.fits outfile=/scratch/kocevski/879229/expmap_456019201_456278401_4FGL_J2023.6-1139_daily_bin836.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/879229/ltcube_456019201_456278401_4FGL_J2023.6-1139_daily_bin836.fits
.....................!
real 194.03
user 187.91
sys 5.32

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/879229/ft1_filtered_4FGL_J2023.6-1139_daily_bin836.fits scfile=/scratch/kocevski/879229/ft2_4FGL_J2023.6-1139_daily_bin836.fits outfile=/scratch/kocevski/879229/cmap_456019201_456278401_4FGL_J2023.6-1139_daily_bin836.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/879229/ft1_filtered_4FGL_J2023.6-1139_daily_bin836.fits scfile=/scratch/kocevski/879229/ft2_4FGL_J2023.6-1139_daily_bin836.fits outfile=/scratch/kocevski/879229/cmap_HighResolution_456019201_456278401_4FGL_J2023.6-1139_daily_bin836.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=305.903 yref=-11.6585 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/879229/ft1_filtered_4FGL_J2023.6-1139_daily_bin836.fits evtable="EVENTS" scfile=/scratch/kocevski/879229/ft2_4FGL_J2023.6-1139_daily_bin836.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/879229/Model_4FGL_J2023.6-1139_daily_bin836.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/879229/ft1_filtered_4FGL_J2023.6-1139_daily_bin836.fits.....................!
real 61.62
user 60.08
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15513E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .91596       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0794       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.761       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.8077       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.069       1.0000         .10000E-03   10000.    
    17 'norm      '    2.9941       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9301       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0011       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0079       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=   5968.804     FROM MIGRAD    STATUS=CONVERGED    427 CALLS     2170 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    61.546       -.57500E-04** at limit **
   2  Prefactor     .10000E-03    15.655        .60052E-06** at limit **
   3  Prefactor     .10000E-03    5.0636       -.84254E-07** at limit **
   4  Prefactor     .10000E-03    15.562        .19951E-05** at limit **
   5  Prefactor     .10000E-03    18.252       -.40185E-05** at limit **
   6  Prefactor     .10000E-03    18.640       -.18903E-05** at limit **
   7  Prefactor     .91391        2.0827       -.42283E-06   -.11558E-02
   8  Prefactor     .10000E-03    54.053        .16487E-04** at limit **
   9  Prefactor     3.0835        22.264       -.12467E-05   -.67492E-04
  10  norm          .10000E-03    3.1728        .29992E-07** at limit **
  11  Prefactor     19.761        23.595       -.52812E-06   -.32516E-06
  12  Prefactor     .10000E-03    52.027        .37909E-04** at limit **
  13  norm          .10000E-03    9.2150        .22012E-07** at limit **
  14  norm          .10000E-03    15.568        .17965E-05** at limit **
  15  norm          1.8080        1.5578        .10758E-06   -.24639E-03
  16  Prefactor     11.070        18.617       -.20336E-05   -.65840E-03
  17  norm          2.9943        3.6364       -.16862E-06   -.21986E-03
  18  Prefactor     .10000E-03    2.0782        .37947E-07** at limit **
  19  Prefactor     4.9244        18.827       -.33018E-05   -.47141E-04
  20  Normalizat    1.0008        .30010        .14884E-05    .10390E-03
  21  Prefactor     1.0080        .99494E-01    .23790E-07    .49761E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.913909
  Prefactor  = 0.0001
  Prefactor  = 3.08355
  norm       = 0.0001
  Prefactor  = 19.7609
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.80797
  Prefactor  = 11.0696
  norm       = 2.99435
  Prefactor  = 0.0001
  Prefactor  = 4.92439
  Normalizat = 1.00077
  Prefactor  = 1.00798
 **********
 **   18 **HESSE 
 **********

 FCN=   5968.804     FROM HESSE     STATUS=OK           311 CALLS     2481 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    61.263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.1425        .16964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .91391        1.7799        .14370E-02   -1.5517    
   8  Prefactor     .10000E-03    54.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0835        20.149        .23113E-03   -1.5357    
  10  norm          .10000E-03    3.1764        .13438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.761        23.599        .90099E-04   -1.4819    
  12  Prefactor     .10000E-03    52.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.2244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    15.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.8080        1.5446        .80977E-04   -1.5439    
  16  Prefactor     11.070        18.764        .60209E-03   -1.5042    
  17  norm          2.9943        3.6286        .15761E-03   -1.5362    
  18  Prefactor     .10000E-03    2.0935        .10872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.9244        18.994        .18114E-03   -1.5264    
  20  Normalizat    1.0008        .34590        .43698E-03   -.93004    
  21  Prefactor     1.0080        .11552        .15001E-03   -.92464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07113e-09
Minuit parameter uncertainties:
  1  0.00143876
  2  9.51661e-06
  3  1.84384e-06
  4  7.70014e-06
  5  6.68637e-06
  6  4.05337e-06
  7  1.77997
  8  4.24145e-05
  9  15.7722
  10  1.81986e-06
  11  23.6098
  12  8.39083e-06
  13  2.52187e-06
  14  3.9548e-06
  15  1.54459
  16  18.7738
  17  3.62891
  18  2.33538e-06
  19  19.0168
  20  0.346679
  21  0.115549
Done.

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

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.000e-04  3.955e-06  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.008e+00  1.155e-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.001e+00  3.467e-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.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/879229/likelihoodResults_456019201_456278401_4FGL_J2023.6-1139_daily_bin836.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): 102
logL (Free Index) = 5968.80446005
delta logL = -0.000305736870359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5968.80415429
delta logL = 1.99333953788e-08

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5968.804     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      245 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    166.77        .18142E-01** at limit **
   2  alpha         1.6613        3.7595        .50000        .56912E-07
   3  Normalizat    1.0008        .24563E-01    .43697E-03    .33822E-06
   4  Prefactor     1.0080        .85266E-02    .15001E-03    .16976E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.66129
  Normalizat = 1.00078
  Prefactor  = 1.00798
 **********
 **   18 **HESSE 
 **********

 FCN=   5968.804     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      272 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1770.3        .30959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6613        2.6026        .20000       -.34212    
   3  Normalizat    1.0008        .95078E-01    .17479E-04   -.93004    
   4  Prefactor     1.0080        .33010E-01    .60006E-05   -.92464    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.59312e-08
Minuit parameter uncertainties:
  1  0.00278764
  2  4296.89
  3  0.0950938
  4  0.0330109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/879229': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5968.80415406
delta logL = 2.51455276157e-07

Extracting fit parameters...

4FGL J2023.6-1139
   Spectrum: LogParabola
342         norm:  1.000e-04  2.788e-03  1.000e-04  1.000e+04 ( 1.000e-13)
343        alpha:  1.661e+00  4.297e+03  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.008e+00  3.301e-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.001e+00  9.509e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/879229/cmap_HighResolution_456019201_456278401_4FGL_J2023.6-1139_daily_bin836.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-05', job_status='DONE', photon_flux_upper_limit='6.56e-08', time_completed='2021-09-25 02:45:14.296425', job_id='879229', GAL2='1.01', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632563114.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.51e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='836' AND source_name='4FGL J2023.6-1139' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 02:45:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 879229: <4FGL_J2023.6-1139_daily_bin836> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2023.6-1139_daily_bin836 305.903 -11.6585 456019201 456278401 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 :                                   661.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            841 sec.

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

