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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin380
RA = 345.182, Dec = -26.7502
tmin = 337824001, tmax = 338083201
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='632876', job_status='RUN', time_executed='2021-09-29 05:14:40.326126', time_epoch_executed='1632917680.33' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632876

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632876/ft1_4FGL_J2300.7-2645_daily_bin380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632876/ft1_4FGL_J2300.7-2645_daily_bin380.fits outfile=/scratch/kocevski/632876/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin380.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=337824001.0 tmax=338083201.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.46
user 3.23
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.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/632876/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin380.fits evtable="EVENTS" outfile="/scratch/kocevski/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits" evtable="EVENTS" scfile=/scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits sctable="SC_DATA" outfile=/scratch/kocevski/632876/ltcube_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.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/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits
.....................!
real 11.79
user 11.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits evtable="EVENTS" scfile=/scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits sctable="SC_DATA" expcube=/scratch/kocevski/632876/ltcube_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.fits outfile=/scratch/kocevski/632876/expmap_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.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/632876/ltcube_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.fits
.....................!
real 190.68
user 185.42
sys 4.90

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J2300.7-2645 @ 345.182 -26.7502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits scfile=/scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits outfile=/scratch/kocevski/632876/cmap_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.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=345.182 yref=-26.7502 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits scfile=/scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits outfile=/scratch/kocevski/632876/cmap_HighResolution_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.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=345.182 yref=-26.7502 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/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits evtable="EVENTS" scfile=/scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/632876/Model_4FGL_J2300.7-2645_daily_bin380.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/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits.....................!
real 46.83
user 45.45
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits', '/scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits', expMap='/scratch/kocevski/632876/expmap_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.fits', expCube='/scratch/kocevski/632876/ltcube_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/632876/Model_4FGL_J2300.7-2645_daily_bin380.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2300.7-2645'

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.072e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/632876/ft1_filtered_4FGL_J2300.7-2645_daily_bin380.fits
Spacecraft file(s): /scratch/kocevski/632876/ft2_4FGL_J2300.7-2645_daily_bin380.fits
Exposure map: /scratch/kocevski/632876/expmap_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.fits
Exposure cube: /scratch/kocevski/632876/ltcube_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/632876/Model_4FGL_J2300.7-2645_daily_bin380.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) = 6100.48308682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.066       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.2752       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.822       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.754       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0827       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5581       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6607       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6502       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4619       1.0000         .10000E-03   10000.    
    12 'norm      '    .62463       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4201       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10723E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    47.099       1.0000         .10000E-03   10000.    
    17 'norm      '    16.818       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.2233       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.552       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    27.576       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77136       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90145       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6100.471     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2703 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.066        9.8720        .14874E-07    .95346E-06
   2  Prefactor     .10000E-03    2.4631        .16043E-08** at limit **
   3  norm          8.2743        13.673        .52853E-06    .92041E-06
   4  Prefactor     31.820        17.753        .77117E-07   -.48075E-05
   5  Prefactor     22.756        12.820       -.19823E-07    .18023E-05
   6  norm          1.0839        1.8534       -.24762E-06   -.56043E-03
   7  Prefactor     8.5496        40.520        .13489E-05   -.44883E-04
   8  Prefactor     7.6614        7.9798        .61458E-07   -.35382E-04
   9  norm          2.6512        2.8589       -.22387E-06   -.17787E-03
  10  Prefactor     .10000E-03    3.7223       -.24330E-06** at limit **
  11  Prefactor     1.4675        8.6271        .18657E-05   -.23204E-04
  12  norm          .62449        .45781       -.91693E-07    .10369E-03
  13  Prefactor     .10000E-03    50.854        .16631E-06** at limit **
  14  Prefactor     3.4196        10.701        .33714E-05   -.35805E-04
  15  Prefactor     .10000E-03    7.6155       -.72449E-06** at limit **
  16  Prefactor     47.097        31.119        .65228E-07   -.31005E-05
  17  norm          16.819        8.8877        .10159E-07   -.52780E-06
  18  Prefactor     .10000E-03    12.570        .96591E-07** at limit **
  19  norm          2.2233        2.2934        .56211E-07   -.74645E-05
  20  Prefactor     11.553        23.915        .68479E-07   -.14964E-05
  21  Prefactor     .10000E-03    27.177       -.13283E-06** at limit **
  22  Prefactor     27.557        33.859        .19979E-05   -.37589E-04
  23  Normalizat    .77115        .16143        .14668E-06   -.31941E-04
  24  Prefactor     .90168        .15710       -.91126E-06   -.61422E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0663
  Prefactor  = 0.0001
  norm       = 8.27433
  Prefactor  = 31.8203
  Prefactor  = 22.7559
  norm       = 1.08385
  Prefactor  = 8.54963
  Prefactor  = 7.66144
  norm       = 2.6512
  Prefactor  = 0.0001
  Prefactor  = 1.46755
  norm       = 0.62449
  Prefactor  = 0.0001
  Prefactor  = 3.41964
  Prefactor  = 0.0001
  Prefactor  = 47.0974
  norm       = 16.8188
  Prefactor  = 0.0001
  norm       = 2.22334
  Prefactor  = 11.553
  Prefactor  = 0.0001
  Prefactor  = 27.5573
  Normalizat = 0.771154
  Prefactor  = 0.901683
 **********
 **   18 **HESSE 
 **********

 FCN=   6100.471     FROM HESSE     STATUS=OK           409 CALLS     3112 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.066        9.8734        .10680E-03   -1.4958    
   2  Prefactor     .10000E-03    2.4745        .11970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.2743        13.654        .69682E-03   -1.5133    
   4  Prefactor     31.820        17.754        .71030E-04   -1.4579    
   5  Prefactor     22.756        12.847        .83972E-04   -1.4754    
   6  norm          1.0839        1.6186        .11836E-02   -1.5500    
   7  Prefactor     8.5496        40.020        .13703E-03   -1.5123    
   8  Prefactor     7.6614        7.9838        .14489E-03   -1.5154    
   9  norm          2.6512        2.8253        .12714E-03   -1.5382    
  10  Prefactor     .10000E-03    3.7331        .14719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4675        8.7594        .33988E-03   -1.5466    
  12  norm          .62449        .45592        .36315E-04   -1.5550    
  13  Prefactor     .10000E-03    51.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4196        10.643        .10937E-02   -1.5338    
  15  Prefactor     .10000E-03    7.8363        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     47.097        31.121        .58426E-04   -1.4334    
  17  norm          16.819        8.8951        .97662E-04   -1.4888    
  18  Prefactor     .10000E-03    12.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2233        2.2769        .11410E-03   -1.5410    
  20  Prefactor     11.553        23.874        .11787E-03   -1.5028    
  21  Prefactor     .10000E-03    27.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     27.557        33.718        .76290E-04   -1.4658    
  23  Normalizat    .77115        .19136        .23751E-03   -1.0115    
  24  Prefactor     .90168        .18510        .22296E-03   -.96082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00217e-10
Minuit parameter uncertainties:
  1  9.87451
  2  4.60443e-07
  3  13.6595
  4  17.7568
  5  12.8482
  6  1.61871
  7  37.0351
  8  7.98486
  9  2.8254
  10  1.93683e-05
  11  7.17207
  12  0.455921
  13  9.9329e-06
  14  10.6487
  15  8.34998e-05
  16  31.1322
  17  8.89576
  18  1.83804e-06
  19  2.27704
  20  23.894
  21  3.21044e-06
  22  33.7416
  23  0.191524
  24  0.185229
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  8.350e-05  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.017e-01  1.852e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.712e-01  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 345.182 -26.750
Photon Flux Upper Limit: 5.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632876/likelihoodResults_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.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) = 6100.47142269
delta logL = -0.000608961579928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6100.47081461
delta logL = -8.82081621967e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12142E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4433       1.0000          .0000       10.000    
     3 'Normalizat'    .77118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90168       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6100.471     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      210 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    98.408        .90712E-02** at limit **
   2  Index         2.4910        7.8988        .50000       -.59250E-04
   3  Normalizat    .77115        .12432E-01    .43233E-01    .57650E-04
   4  Prefactor     .90168        .12612E-01    .45026E-01    .18466E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.491
  Normalizat = 0.771154
  Prefactor  = 0.901684
 **********
 **   18 **HESSE 
 **********

 FCN=   6100.471     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      243 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1143.9        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4910        7.9089        .50000       -.52568    
   3  Normalizat    .77115        .50726E-01    .23750E-03   -1.0115    
   4  Prefactor     .90168        .51466E-01    .22296E-03   -.96082    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.31367e-07
Minuit parameter uncertainties:
  1  0.00450538
  2  48.9473
  3  0.0507296
  4  0.0514683
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632876': 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) = 6100.47081271
delta logL = 1.01921341411e-06

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  4.505e-03  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.491e+00  4.895e+01  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.017e-01  5.147e-02  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.712e-01  5.073e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 345.182 -26.750

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/632876/cmap_HighResolution_337824001_338083201_4FGL_J2300.7-2645_daily_bin380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', job_status='DONE', photon_flux_upper_limit='5.92e-08', time_completed='2021-09-29 05:25:34.741065', job_id='632876', GAL2='0.90', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1632918334.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.02e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='380' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:25:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 632876: <4FGL_J2300.7-2645_daily_bin380> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin380> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 05:10:36 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:10:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 05:10:38 2021
Terminated at Wed Sep 29 05:25:35 2021
Results reported at Wed Sep 29 05:25:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin380 345.182 -26.7502 337824001 338083201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2300.7-2645 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            899 sec.

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

