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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin410
RA = 345.182, Dec = -26.7502
tmin = 345600001, tmax = 345859201
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='632956', job_status='RUN', time_executed='2021-09-29 05:12:11.201449', time_epoch_executed='1632917531.2' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/632956

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/632956/ft1_4FGL_J2300.7-2645_daily_bin410.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/632956/ft2_4FGL_J2300.7-2645_daily_bin410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/632956/ft1_4FGL_J2300.7-2645_daily_bin410.fits outfile=/scratch/kocevski/632956/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin410.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=345600001.0 tmax=345859201.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.32
user 3.10
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/632956/ft1_filtered_4FGL_J2300.7-2645_daily_bin410.fits" evtable="EVENTS" scfile=/scratch/kocevski/632956/ft2_4FGL_J2300.7-2645_daily_bin410.fits sctable="SC_DATA" outfile=/scratch/kocevski/632956/ltcube_345600001_345859201_4FGL_J2300.7-2645_daily_bin410.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/632956/ft2_4FGL_J2300.7-2645_daily_bin410.fits
.....................!
real 11.46
user 11.14
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/632956/ft1_filtered_4FGL_J2300.7-2645_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/632956/ft2_4FGL_J2300.7-2645_daily_bin410.fits sctable="SC_DATA" expcube=/scratch/kocevski/632956/ltcube_345600001_345859201_4FGL_J2300.7-2645_daily_bin410.fits outfile=/scratch/kocevski/632956/expmap_345600001_345859201_4FGL_J2300.7-2645_daily_bin410.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/632956/ltcube_345600001_345859201_4FGL_J2300.7-2645_daily_bin410.fits
.....................!
real 190.34
user 185.86
sys 4.17

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/632956/ft1_filtered_4FGL_J2300.7-2645_daily_bin410.fits scfile=/scratch/kocevski/632956/ft2_4FGL_J2300.7-2645_daily_bin410.fits outfile=/scratch/kocevski/632956/cmap_345600001_345859201_4FGL_J2300.7-2645_daily_bin410.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/632956/ft1_filtered_4FGL_J2300.7-2645_daily_bin410.fits scfile=/scratch/kocevski/632956/ft2_4FGL_J2300.7-2645_daily_bin410.fits outfile=/scratch/kocevski/632956/cmap_HighResolution_345600001_345859201_4FGL_J2300.7-2645_daily_bin410.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/632956/ft1_filtered_4FGL_J2300.7-2645_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/632956/ft2_4FGL_J2300.7-2645_daily_bin410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/632956/Model_4FGL_J2300.7-2645_daily_bin410.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/632956/ft1_filtered_4FGL_J2300.7-2645_daily_bin410.fits.....................!
real 50.12
user 48.84
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1095       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .80744E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.422       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.442       1.0000         .10000E-03   10000.    
     6 'norm      '    .10249E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.923       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.839       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.202       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0901       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7348       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.4443       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.0384       1.0000         .10000E-03   10000.    
    20 'Prefactor '    34.429       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.3519       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .54620       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3317       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=   6623.973     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2748 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1080        17.921        .19853E-06   -.41940E-04
   2  Prefactor     .24134E-01    5.2391        .72721E-06   -.32920E-03
   3  norm          .10000E-03    6.7429       -.63464E-06** at limit **
   4  Prefactor     20.428        19.709        .21567E-05    .28073E-03
   5  Prefactor     13.443        10.963        .75946E-06   -.26056E-03
   6  norm          .10000E-03    1.6988        .23419E-05** at limit **
   7  Prefactor     30.001        32.947       -.20623E-05   -.46996E-03
   8  Prefactor     .10000E-03    6.7513        .11492E-05** at limit **
   9  norm          11.838        5.1366       -.37468E-07   -.60667E-03
  10  Prefactor     .10000E-03    8.2829       -.90665E-07** at limit **
  11  Prefactor     13.200        10.494       -.34450E-06   -.49349E-03
  12  norm          1.0901        .69161        .10165E-06   -.55476E-03
  13  Prefactor     .10000E-03    21.742       -.15276E-05** at limit **
  14  Prefactor     .10000E-03    20.715       -.13576E-05** at limit **
  15  Prefactor     7.7404        10.329       -.22673E-06   -.27534E-03
  16  Prefactor     .10000E-03    7.9731       -.39400E-06** at limit **
  17  norm          3.4429        7.9758        .10934E-05    .68258E-04
  18  Prefactor     .10000E-03    19.905        .14472E-05** at limit **
  19  norm          1.0383        2.2792        .62510E-06    .19665E-03
  20  Prefactor     34.441        25.553       -.82695E-06   -.18463E-03
  21  Prefactor     .10000E-03    24.345        .11060E-05** at limit **
  22  Prefactor     1.3127        229.11       -.91328E-05   -.32015E-04
  23  Normalizat    .54619        .16704        .22543E-06   -.43989E-03
  24  Prefactor     1.3319        .16637       -.13221E-05   -.56869E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.10805
  Prefactor  = 0.0241336
  norm       = 0.0001
  Prefactor  = 20.4276
  Prefactor  = 13.4431
  norm       = 0.000100003
  Prefactor  = 30.0006
  Prefactor  = 0.0001
  norm       = 11.8384
  Prefactor  = 0.0001
  Prefactor  = 13.1997
  norm       = 1.09005
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.74043
  Prefactor  = 0.0001
  norm       = 3.44294
  Prefactor  = 0.000100001
  norm       = 1.03831
  Prefactor  = 34.4409
  Prefactor  = 0.0001
  Prefactor  = 1.31274
  Normalizat = 0.54619
  Prefactor  = 1.33187
 **********
 **   18 **HESSE 
 **********

 FCN=   6623.973     FROM HESSE     STATUS=OK           405 CALLS     3153 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1080        17.910        .17787E-03   -1.5256    
   2  Prefactor     .24134E-01    5.9082        .58443E-01   -1.5677    
   3  norm          .10000E-03    6.7663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.428        20.006        .88631E-04   -1.4804    
   5  Prefactor     13.443        10.990        .54625E-03   -1.4975    
   6  norm          .10000E-03    2.2135        .16660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.001        34.101        .73243E-04   -1.4612    
   8  Prefactor     .10000E-03    6.8590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.838        5.1279        .10986E-03   -1.5020    
  10  Prefactor     .10000E-03    8.3244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.200        10.631        .11024E-03   -1.4981    
  12  norm          1.0901        .69248        .43520E-04   -1.5499    
  13  Prefactor     .10000E-03    21.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.310        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.7404        10.241        .14418E-03   -1.5151    
  16  Prefactor     .10000E-03    7.9789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.4429        7.9738        .21793E-03   -1.5337    
  18  Prefactor     .10000E-03    20.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0383        2.2274        .17020E-03   -1.5504    
  20  Prefactor     34.441        25.453        .68296E-04   -1.4534    
  21  Prefactor     .10000E-03    24.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.3127        238.40        .37620E-03   -1.5479    
  23  Normalizat    .54619        .19341        .30208E-03   -1.1032    
  24  Prefactor     1.3319        .19485        .21017E-03   -.82364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97511e-09
Minuit parameter uncertainties:
  1  17.9287
  2  0.753722
  3  5.95105e-05
  4  20.0126
  5  10.9918
  6  0.000173306
  7  34.123
  8  8.37063e-05
  9  5.12811
  10  2.19688e-05
  11  10.6325
  12  0.692486
  13  0.000225306
  14  0.000113561
  15  10.2436
  16  3.30671e-05
  17  7.97624
  18  0.000206289
  19  2.22758
  20  25.4608
  21  0.000188678
  22  35.5245
  23  0.193644
  24  0.194958
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  7.740e+00  1.024e+01  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.332e+00  1.950e-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.462e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.91
Ra Dec: 345.182 -26.750
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/632956/likelihoodResults_345600001_345859201_4FGL_J2300.7-2645_daily_bin410.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) = 6623.64489028
delta logL = 0.327935915829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6623.62522783
delta logL = 0.347598364703

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0983       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1418       1.0000          .0000       10.000    
     3 'Normalizat'    .52177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3469       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=   6623.625     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      250 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0983        62.265        .57597E-02    .23348E-03
   2  Index         3.1418        3.1886        .10476        .17669E-03
   3  Normalizat    .52195        .50919E-01    .69640E-01    .41894E-04
   4  Prefactor     1.3468        .50147E-01    .47290E-01    .47207E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.09829
  Index      = 3.14184
  Normalizat = 0.52195
  Prefactor  = 1.34678
 **********
 **   18 **HESSE 
 **********

 FCN=   6623.625     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0983        17.154        .11949E-03   -1.5356    
   2  Index         3.1418        2.1876        .57146E-02   -.38077    
   3  Normalizat    .52195        .19028        .30827E-03   -1.1141    
   4  Prefactor     1.3468        .19692        .20904E-03   -.81927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75929e-09
Minuit parameter uncertainties:
  1  14.5867
  2  2.2779
  3  0.19052
  4  0.19703
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/632956': 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) = 6623.62522725
delta logL = 0.347598942236

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  3.098e+00  1.459e+01  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  3.142e+00  2.278e+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.347e+00  1.970e-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.219e-01  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 345.182 -26.750
Photon Index (Free Index): 3.14 +/- 2.28
Photon Flux (Free Index): 5.37e-08 +/- 4.94e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.10e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/632956/cmap_HighResolution_345600001_345859201_4FGL_J2300.7-2645_daily_bin410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', comment='SUCCESS', energy_flux2='1.01e-05', dlogl='3.48e-01', photon_flux2='5.37e-08', job_status='DONE', time_completed='2021-09-29 05:23:33.631895', photon_index_error2='2.28', photon_index2='3.14', ts='0.91', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.10e-05', EG='0.55', time_epoch_completed='1632918213.63', return_code='0', job_id='632956', GAL2='1.35', EG2='0.52', return_code2='0', photon_flux_error2='4.94e-08', ts2='1.66', photon_index='2.41' WHERE bin_id='410' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:23:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 632956: <4FGL_J2300.7-2645_daily_bin410> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin410> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 05:10:39 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:10:41 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:41 2021
Terminated at Wed Sep 29 05:23:34 2021
Results reported at Wed Sep 29 05:23:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin410 345.182 -26.7502 345600001 345859201 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 :                                   682.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            775 sec.

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

