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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin209
RA = 345.182, Dec = -26.7502
tmin = 293500801, tmax = 293760001
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='631495', job_status='RUN', time_executed='2021-09-29 05:09:25.364810', time_epoch_executed='1632917365.36' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='209'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631495

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631495/ft1_4FGL_J2300.7-2645_daily_bin209.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631495/ft1_4FGL_J2300.7-2645_daily_bin209.fits outfile=/scratch/kocevski/631495/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin209.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=293500801.0 tmax=293760001.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.55
user 3.33
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.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/631495/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin209.fits evtable="EVENTS" outfile="/scratch/kocevski/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.fits" evtable="EVENTS" scfile=/scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits sctable="SC_DATA" outfile=/scratch/kocevski/631495/ltcube_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.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/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits
.....................!
real 11.75
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.fits evtable="EVENTS" scfile=/scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits sctable="SC_DATA" expcube=/scratch/kocevski/631495/ltcube_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.fits outfile=/scratch/kocevski/631495/expmap_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.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/631495/ltcube_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.fits
.....................!
real 189.93
user 184.99
sys 4.63

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/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.fits scfile=/scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits outfile=/scratch/kocevski/631495/cmap_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.fits scfile=/scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits outfile=/scratch/kocevski/631495/cmap_HighResolution_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.fits evtable="EVENTS" scfile=/scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631495/Model_4FGL_J2300.7-2645_daily_bin209.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/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.fits.....................!
real 36.16
user 34.94
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.fits', '/scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits', expMap='/scratch/kocevski/631495/expmap_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.fits', expCube='/scratch/kocevski/631495/ltcube_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631495/Model_4FGL_J2300.7-2645_daily_bin209.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/631495/ft1_filtered_4FGL_J2300.7-2645_daily_bin209.fits
Spacecraft file(s): /scratch/kocevski/631495/ft2_4FGL_J2300.7-2645_daily_bin209.fits
Exposure map: /scratch/kocevski/631495/expmap_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.fits
Exposure cube: /scratch/kocevski/631495/ltcube_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631495/Model_4FGL_J2300.7-2645_daily_bin209.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) = 3948.40700994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.752       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6055       1.0000         .10000E-03   10000.    
     3 'norm      '    13.614       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9513       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.947       1.0000         .10000E-03   10000.    
     6 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.956       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6577       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    80.860       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.250       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14178E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    27.714       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.528       1.0000         .10000E-03   10000.    
    19 'norm      '    7.1926       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10286E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .31687E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .56495       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3800       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=   3948.377     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2708 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.756        27.779        .29072E-07    .19736E-04
   2  Prefactor     1.6009        9.5282        .11813E-05   -.87010E-04
   3  norm          13.613        16.394       -.53813E-07    .51786E-05
   4  Prefactor     6.9045        27.348       -.11474E-05   -.67138E-04
   5  Prefactor     14.950        15.209       -.40491E-07   -.93487E-05
   6  norm          .10000E-03    1.1188       -.21464E-07** at limit **
   7  Prefactor     .10000E-03    26.938       -.16551E-06** at limit **
   8  Prefactor     20.965        19.176       -.63113E-07    .24279E-04
   9  norm          .10000E-03    3.0728       -.22811E-06** at limit **
  10  Prefactor     .10000E-03    17.623       -.78339E-06** at limit **
  11  Prefactor     7.6778        9.6724        .22929E-05    .10922E-03
  12  norm          .10000E-03    .60821       -.62126E-06** at limit **
  13  Prefactor     80.858        94.401       -.46941E-07   -.31298E-05
  14  Prefactor     24.250        17.721       -.30354E-07    .48060E-05
  15  Prefactor     .10101E-03    13.761        .16901E-05** at limit **
  16  Prefactor     .10000E-03    9.8586        .50154E-08** at limit **
  17  norm          27.716        17.340       -.24501E-07    .35280E-05
  18  Prefactor     20.545        65.157        .62649E-06    .27073E-04
  19  norm          7.1916        5.1464        .10765E-06   -.36542E-04
  20  Prefactor     .10000E-03    77.684        .33462E-07** at limit **
  21  Prefactor     .10000E-03    213.27       -.13638E-05** at limit **
  22  Prefactor     .10000E-03    33.623        .27671E-07** at limit **
  23  Normalizat    .56416        .26762       -.23610E-05    .18983E-04
  24  Prefactor     1.3807        .23938        .17074E-05   -.41170E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.7562
  Prefactor  = 1.60093
  norm       = 13.6133
  Prefactor  = 6.90445
  Prefactor  = 14.9498
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.9655
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.67776
  norm       = 0.000100001
  Prefactor  = 80.8575
  Prefactor  = 24.2501
  Prefactor  = 0.000101013
  Prefactor  = 0.0001
  norm       = 27.716
  Prefactor  = 20.5449
  norm       = 7.19157
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Normalizat = 0.564165
  Prefactor  = 1.3807
 **********
 **   18 **HESSE 
 **********

 FCN=   3948.377     FROM HESSE     STATUS=OK           401 CALLS     3109 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.756        27.779        .64386E-04   -1.4462    
   2  Prefactor     1.6009        9.3765        .33445E-03   -1.5455    
   3  norm          13.613        16.395        .10856E-03   -1.4970    
   4  Prefactor     6.9045        27.323        .15216E-03   -1.5182    
   5  Prefactor     14.950        15.208        .10360E-03   -1.4934    
   6  norm          .10000E-03    1.1265        .64897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    26.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.965        19.211        .87496E-04   -1.4792    
   9  norm          .10000E-03    3.1046        .10758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.6778        10.031        .14491E-03   -1.5154    
  12  norm          .10000E-03    .99153        .88358E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     80.858        94.461        .44665E-04   -1.3907    
  14  Prefactor     24.250        17.714        .81345E-04   -1.4723    
  15  Prefactor     .10101E-03    73.534        .38229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.8594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          27.716        17.325        .76100E-04   -1.4655    
  18  Prefactor     20.545        65.044        .88402E-04   -1.4801    
  19  norm          7.1916        5.1427        .11212E-03   -1.5172    
  20  Prefactor     .10000E-03    78.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    213.94        .21367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    33.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .56416        .30082        .34095E-03   -1.0953    
  24  Prefactor     1.3807        .27381        .22203E-03   -.80938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44159e-08
Minuit parameter uncertainties:
  1  27.788
  2  7.75041
  3  16.4003
  4  27.3723
  5  15.2114
  6  2.60599e-06
  7  6.65686e-05
  8  19.2169
  9  2.15455e-05
  10  0.000156467
  11  10.0334
  12  4.95799e-05
  13  94.6374
  14  17.7175
  15  0.0172817
  16  1.03909e-06
  17  17.3286
  18  65.2693
  19  5.14299
  20  5.18848e-05
  21  0.00189425
  22  7.32876e-06
  23  0.301697
  24  0.274095
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.010e-04  1.728e-02  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:  1.381e+00  2.741e-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:  5.642e-01  3.017e-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: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631495/likelihoodResults_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.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) = 3948.37677013
delta logL = -6.43871339889e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3948.3767701
delta logL = -6.43631924504e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96327E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4054       1.0000          .0000       10.000    
     3 'Normalizat'    .56416       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3807       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=   3948.063     FROM MIGRAD    STATUS=CONVERGED    229 CALLS      391 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .59543E-02    .37168E-03** at limit **
   2  Index         7.5126        3.2483        .12651        .12727E-03
   3  Normalizat    .49962        .51303E-01    .81581E-01    .10922E-03
   4  Prefactor     1.4230        .49820E-01    .49598E-01    .12019E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.51255
  Normalizat = 0.499619
  Prefactor  = 1.42303
 **********
 **   18 **HESSE 
 **********

 FCN=   3948.063     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      430 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .40793E-01    .19298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.5126        8.5337        .63592E-02    .52650    
   3  Normalizat    .49962        .11456        .36131E-03   -1.1243    
   4  Prefactor     1.4230        .11178        .21925E-03   -.79719    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.96949e-09
Minuit parameter uncertainties:
  1  1.99616e-07
  2  7.22819
  3  0.114617
  4  0.111796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631495': 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) = 3948.06323749
delta logL = 0.313468252512

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  1.996e-07  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  7.513e+00  7.228e+00  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:  1.423e+00  1.118e-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:  4.996e-01  1.146e-01  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/631495/cmap_HighResolution_293500801_293760001_4FGL_J2300.7-2645_daily_bin209.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2021-09-29 05:18:15.609217', job_id='631495', GAL2='1.42', fit_tolerance='1e-08', EG2='0.50', EG='0.56', time_epoch_completed='1632917895.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='3.13e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='209' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:18:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 631495: <4FGL_J2300.7-2645_daily_bin209> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin209> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 05:05:31 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:05:33 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:05:33 2021
Terminated at Wed Sep 29 05:18:16 2021
Results reported at Wed Sep 29 05:18:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin209 345.182 -26.7502 293500801 293760001 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 :                                   528.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            765 sec.

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

