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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin1012
RA = 345.182, Dec = -26.7502
tmin = 501638401, tmax = 501897601
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='636198', job_status='RUN', time_executed='2021-09-29 05:21:31.022000', time_epoch_executed='1632918091.02' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='1012'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636198/ft1_4FGL_J2300.7-2645_daily_bin1012.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636198/ft2_4FGL_J2300.7-2645_daily_bin1012.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636198/ft1_4FGL_J2300.7-2645_daily_bin1012.fits outfile=/scratch/kocevski/636198/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1012.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=501638401.0 tmax=501897601.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.50
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636198/ft1_filtered_4FGL_J2300.7-2645_daily_bin1012.fits" evtable="EVENTS" scfile=/scratch/kocevski/636198/ft2_4FGL_J2300.7-2645_daily_bin1012.fits sctable="SC_DATA" outfile=/scratch/kocevski/636198/ltcube_501638401_501897601_4FGL_J2300.7-2645_daily_bin1012.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/636198/ft2_4FGL_J2300.7-2645_daily_bin1012.fits
.....................!
real 11.72
user 11.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636198/ft1_filtered_4FGL_J2300.7-2645_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/636198/ft2_4FGL_J2300.7-2645_daily_bin1012.fits sctable="SC_DATA" expcube=/scratch/kocevski/636198/ltcube_501638401_501897601_4FGL_J2300.7-2645_daily_bin1012.fits outfile=/scratch/kocevski/636198/expmap_501638401_501897601_4FGL_J2300.7-2645_daily_bin1012.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/636198/ltcube_501638401_501897601_4FGL_J2300.7-2645_daily_bin1012.fits
.....................!
real 191.53
user 185.53
sys 5.65

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/636198/ft1_filtered_4FGL_J2300.7-2645_daily_bin1012.fits scfile=/scratch/kocevski/636198/ft2_4FGL_J2300.7-2645_daily_bin1012.fits outfile=/scratch/kocevski/636198/cmap_501638401_501897601_4FGL_J2300.7-2645_daily_bin1012.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.61
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636198/ft1_filtered_4FGL_J2300.7-2645_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/636198/ft2_4FGL_J2300.7-2645_daily_bin1012.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636198/Model_4FGL_J2300.7-2645_daily_bin1012.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/636198/ft1_filtered_4FGL_J2300.7-2645_daily_bin1012.fits.....................!
real 46.33
user 44.85
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.095       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.275       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10699E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.473       1.0000         .10000E-03   10000.    
    12 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.542       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10975E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.595       1.0000         .10000E-03   10000.    
    17 'norm      '    13.398       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.7122       1.0000         .10000E-03   10000.    
    19 'norm      '    4.8359       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10597E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    26.338       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.7925       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77169       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87089       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=   5870.973     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2680 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.093        22.751       -.22488E-05    .31038E-04
   2  Prefactor     .10000E-03    4.4285       -.29260E-06** at limit **
   3  norm          .10000E-03    10.985       -.10049E-04** at limit **
   4  Prefactor     36.267        23.492       -.59796E-05    .49037E-04
   5  Prefactor     .10000E-03    11.612        .12835E-04** at limit **
   6  norm          .10000E-03    .85581       -.19855E-06** at limit **
   7  Prefactor     .10000E-03    53.775       -.31468E-04** at limit **
   8  Prefactor     .10000E-03    2.8746       -.26981E-07** at limit **
   9  norm          .10000E-03    1.2958       -.80266E-08** at limit **
  10  Prefactor     .10000E-03    6.7195        .15937E-06** at limit **
  11  Prefactor     15.475        7.6943       -.27513E-05    .13518E-02
  12  norm          .10000E-03    .17715        .11858E-06** at limit **
  13  Prefactor     .10000E-03    14.645        .59402E-05** at limit **
  14  Prefactor     12.541        11.821       -.37035E-05   -.10928E-02
  15  Prefactor     .10000E-03    15.858       -.12881E-04** at limit **
  16  Prefactor     10.595        10.909       -.19004E-06    .33041E-04
  17  norm          13.397        7.9693       -.66781E-06    .78873E-04
  18  Prefactor     7.7080        28.142       -.92588E-05    .14432E-04
  19  norm          4.8355        2.5077       -.14580E-06   -.30577E-03
  20  Prefactor     .10001E-03    42.700        .31846E-04** at limit **
  21  Prefactor     26.201        74.130       -.23884E-03    .20140E-04
  22  Prefactor     7.7897        30.648       -.29399E-05    .22439E-04
  23  Normalizat    .77184        .16125        .11674E-04   -.10340E-03
  24  Prefactor     .87077        .15416        .36608E-05    .26254E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.0926
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 36.2668
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4747
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5405
  Prefactor  = 0.000100001
  Prefactor  = 10.5953
  norm       = 13.3975
  Prefactor  = 7.70804
  norm       = 4.83555
  Prefactor  = 0.000100012
  Prefactor  = 26.2012
  Prefactor  = 7.78974
  Normalizat = 0.771841
  Prefactor  = 0.870771
 **********
 **   18 **HESSE 
 **********

 FCN=   5870.973     FROM HESSE     STATUS=OK           395 CALLS     3075 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.093        22.753        .50125E-04   -1.4105    
   2  Prefactor     .10000E-03    4.4540        .15744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    11.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.267        23.518        .66541E-04   -1.4503    
   5  Prefactor     .10000E-03    11.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .86776        .69183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    54.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.8834        .12686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.3077        .85104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.7430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.475        7.4209        .10182E-03   -1.4921    
  12  norm          .10000E-03    .18725        .60397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.541        11.838        .56555E-03   -1.5000    
  15  Prefactor     .10000E-03    16.031        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.595        10.911        .12309E-03   -1.5057    
  17  norm          13.397        7.9722        .10943E-03   -1.4976    
  18  Prefactor     7.7080        28.190        .14440E-03   -1.5153    
  19  norm          4.8355        2.5060        .84367E-04   -1.5268    
  20  Prefactor     .10001E-03    43.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     26.201        74.293        .78059E-04   -1.4684    
  22  Prefactor     7.7897        30.665        .14365E-03   -1.5150    
  23  Normalizat    .77184        .19322        .23257E-03   -1.0112    
  24  Prefactor     .87077        .18446        .22153E-03   -.97170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76657e-09
Minuit parameter uncertainties:
  1  22.756
  2  3.74223e-05
  3  8.46562e-05
  4  23.5244
  5  0.000390653
  6  1.33904e-05
  7  0.000651513
  8  2.38495e-05
  9  6.1822e-06
  10  3.217e-05
  11  7.42138
  12  5.66629e-06
  13  4.66082e-05
  14  11.8398
  15  0.000264683
  16  10.9135
  17  7.97286
  18  28.2392
  19  2.50609
  20  0.0014544
  21  74.5568
  22  30.7269
  23  0.193396
  24  0.184594
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  2.647e-04  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:  8.708e-01  1.846e-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.718e-01  1.934e-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: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/636198/likelihoodResults_501638401_501897601_4FGL_J2300.7-2645_daily_bin1012.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) = 5870.97292284
delta logL = -0.000297651075016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5870.97262594
delta logL = -7.43402779335e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5271       1.0000          .0000       10.000    
     3 'Normalizat'    .77221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87041       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=   5869.362     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      305 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20751E-01    .35499        .10594E-02   -.29111E-02
   2  Index         5.5055        2.7794        .84522E-01    .15353E-03
   3  Normalizat    .66936        .89079E-01    .43247E-01   -.21806E-04
   4  Prefactor     .93642        .79260E-01    .44627E-01   -.59538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0207508
  Index      = 5.50552
  Normalizat = 0.669357
  Prefactor  = 0.936421
 **********
 **   18 **HESSE 
 **********

 FCN=   5869.362     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      338 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20751E-01    .40535        .66641E-05   -1.5737    
   2  Index         5.5055        3.3106        .32929E-02    .10128    
   3  Normalizat    .66936        .16290        .24737E-03   -1.0512    
   4  Prefactor     .93642        .16197        .21414E-03   -.94880    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.20128e-07
Minuit parameter uncertainties:
  1  0.182986
  2  3.6223
  3  0.163012
  4  0.16205
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636198': 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) = 5869.36234465
delta logL = 1.61028054242

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  2.075e-02  1.830e-01  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  5.506e+00  3.622e+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:  9.364e-01  1.620e-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:  6.694e-01  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.47
Ra Dec: 345.182 -26.750
Photon Index (Free Index): 5.51 +/- 3.62
Photon Flux (Free Index): 8.33e-08 +/- 1.44e-06
Energy Flux (Free Index): 1.07e-05 +/- 1.83e-04

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/636198/cmap_HighResolution_501638401_501897601_4FGL_J2300.7-2645_daily_bin1012.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.19e-03', comment='SUCCESS', energy_flux2='1.07e-05', dlogl='1.61e+00', photon_flux2='8.33e-08', job_status='DONE', time_completed='2021-09-29 05:32:20.376732', photon_index_error2='3.62', photon_index2='5.51', ts='-0.00', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='8.00e-08', energy_flux_error2='1.83e-04', EG='0.77', time_epoch_completed='1632918740.38', return_code='0', job_id='636198', GAL2='0.94', EG2='0.67', return_code2='102', photon_flux_error2='1.44e-06', ts2='3.47', photon_index='2.41' WHERE bin_id='1012' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:32:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 636198: <4FGL_J2300.7-2645_daily_bin1012> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin1012> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 05:20:48 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:20:49 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:20:49 2021
Terminated at Wed Sep 29 05:32:21 2021
Results reported at Wed Sep 29 05:32:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin1012 345.182 -26.7502 501638401 501897601 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 :                                   646.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            693 sec.

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

