/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 155 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 = 7406
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2300.7-2645_daily_bin45
RA = 345.182, Dec = -26.7502
tmin = 250992001, tmax = 251251201
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='630203', job_status='RUN', time_executed='2021-09-29 05:03:23.756346', time_epoch_executed='1632917003.76' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='45'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/630203

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/630203/ft1_4FGL_J2300.7-2645_daily_bin45.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/630203/ft2_4FGL_J2300.7-2645_daily_bin45.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/630203/ft1_4FGL_J2300.7-2645_daily_bin45.fits outfile=/scratch/kocevski/630203/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin45.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=250992001.0 tmax=251251201.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 1.44
user 1.24
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/630203/ft1_filtered_4FGL_J2300.7-2645_daily_bin45.fits" evtable="EVENTS" scfile=/scratch/kocevski/630203/ft2_4FGL_J2300.7-2645_daily_bin45.fits sctable="SC_DATA" outfile=/scratch/kocevski/630203/ltcube_250992001_251251201_4FGL_J2300.7-2645_daily_bin45.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/630203/ft2_4FGL_J2300.7-2645_daily_bin45.fits
.....................!
real 12.46
user 12.11
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/630203/ft1_filtered_4FGL_J2300.7-2645_daily_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/630203/ft2_4FGL_J2300.7-2645_daily_bin45.fits sctable="SC_DATA" expcube=/scratch/kocevski/630203/ltcube_250992001_251251201_4FGL_J2300.7-2645_daily_bin45.fits outfile=/scratch/kocevski/630203/expmap_250992001_251251201_4FGL_J2300.7-2645_daily_bin45.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/630203/ltcube_250992001_251251201_4FGL_J2300.7-2645_daily_bin45.fits
.....................!
real 190.81
user 186.35
sys 3.97

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/630203/ft1_filtered_4FGL_J2300.7-2645_daily_bin45.fits scfile=/scratch/kocevski/630203/ft2_4FGL_J2300.7-2645_daily_bin45.fits outfile=/scratch/kocevski/630203/cmap_250992001_251251201_4FGL_J2300.7-2645_daily_bin45.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/630203/ft1_filtered_4FGL_J2300.7-2645_daily_bin45.fits scfile=/scratch/kocevski/630203/ft2_4FGL_J2300.7-2645_daily_bin45.fits outfile=/scratch/kocevski/630203/cmap_HighResolution_250992001_251251201_4FGL_J2300.7-2645_daily_bin45.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/630203/ft1_filtered_4FGL_J2300.7-2645_daily_bin45.fits evtable="EVENTS" scfile=/scratch/kocevski/630203/ft2_4FGL_J2300.7-2645_daily_bin45.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/630203/Model_4FGL_J2300.7-2645_daily_bin45.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/630203/ft1_filtered_4FGL_J2300.7-2645_daily_bin45.fits.....................!
real 48.72
user 47.40
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.786       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .89196       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0979       1.0000         .10000E-03   10000.    
     9 'norm      '    8.5059       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.0193       1.0000         .10000E-03   10000.    
    12 'norm      '    .70120       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.2322       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.5068       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.266       1.0000         .10000E-03   10000.    
    17 'norm      '    18.035       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.568       1.0000         .10000E-03   10000.    
    19 'norm      '    8.8118       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.029       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.808       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0563       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78538       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=   6085.022     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2658 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0638       -.82193E-05** at limit **
   2  Prefactor     15.786        11.110       -.87693E-07   -.39539E-04
   3  norm          .10000E-03    4.3799       -.17064E-06** at limit **
   4  Prefactor     .10000E-03    5.6342        .39591E-05** at limit **
   5  Prefactor     .10000E-03    9.6455       -.75409E-05** at limit **
   6  norm          .89192        1.0437       -.16177E-07    .19376E-03
   7  Prefactor     .10000E-03    9.3370        .58653E-05** at limit **
   8  Prefactor     6.0979        12.157       -.43756E-06   -.10737E-03
   9  norm          8.5056        5.2404       -.44889E-06   -.30939E-03
  10  Prefactor     .10000E-03    6.6999        .49747E-05** at limit **
  11  Prefactor     5.0229        12.419       -.34935E-06   -.29254E-03
  12  norm          .70118        .71563        .71261E-07   -.60691E-03
  13  Prefactor     .10000E-03    24.350        .52594E-05** at limit **
  14  Prefactor     8.2322        8.3938       -.12254E-06   -.30366E-04
  15  Prefactor     2.5048        9.2441       -.91276E-06   -.33695E-03
  16  Prefactor     19.266        18.987       -.59049E-07    .19843E-06
  17  norm          18.036        10.523       -.10077E-06   -.54919E-03
  18  Prefactor     28.565        38.917       -.42893E-05   -.21421E-05
  19  norm          8.8119        3.9265       -.18895E-06   -.11445E-03
  20  Prefactor     10.030        25.871        .61030E-06   -.10405E-04
  21  Prefactor     .10000E-03    34.143       -.65132E-05** at limit **
  22  Prefactor     12.808        46.217        .18995E-05   -.25727E-05
  23  Normalizat    1.0562        .18671        .39692E-06    .87548E-04
  24  Prefactor     .78542        .16781        .19564E-06    .11039E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.7864
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.89192
  Prefactor  = 0.0001
  Prefactor  = 6.09793
  norm       = 8.50563
  Prefactor  = 0.0001
  Prefactor  = 5.02288
  norm       = 0.701177
  Prefactor  = 0.0001
  Prefactor  = 8.2322
  Prefactor  = 2.50478
  Prefactor  = 19.2664
  norm       = 18.0355
  Prefactor  = 28.5645
  norm       = 8.81193
  Prefactor  = 10.0297
  Prefactor  = 0.0001
  Prefactor  = 12.8084
  Normalizat = 1.05622
  Prefactor  = 0.78542
 **********
 **   18 **HESSE 
 **********

 FCN=   6085.022     FROM HESSE     STATUS=OK           405 CALLS     3063 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.786        11.127        .10081E-03   -1.4913    
   3  norm          .10000E-03    4.3807        .15944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6294        .18071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.7556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .89192        1.0275        .83871E-04   -1.5519    
   7  Prefactor     .10000E-03    9.3291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.0979        12.200        .16258E-03   -1.5214    
   9  norm          8.5056        5.1858        .11775E-03   -1.5125    
  10  Prefactor     .10000E-03    6.7184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.0229        12.293        .17949E-03   -1.5260    
  12  norm          .70118        .69425        .49435E-04   -1.5541    
  13  Prefactor     .10000E-03    24.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.2322        8.3948        .13973E-03   -1.5134    
  15  Prefactor     2.5048        8.9967        .25809E-03   -1.5391    
  16  Prefactor     19.266        18.987        .91248E-04   -1.4830    
  17  norm          18.036        10.547        .47155E-03   -1.4858    
  18  Prefactor     28.565        38.983        .74957E-04   -1.4639    
  19  norm          8.8119        3.9316        .95298E-04   -1.5114    
  20  Prefactor     10.030        25.881        .12653E-03   -1.5074    
  21  Prefactor     .10000E-03    34.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.808        46.210        .11193E-03   -1.4992    
  23  Normalizat    1.0562        .22299        .23301E-03   -.91170    
  24  Prefactor     .78542        .19883        .25404E-03   -1.0027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57949e-10
Minuit parameter uncertainties:
  1  2.12252e-06
  2  11.1285
  3  5.00882e-07
  4  5.31879e-07
  5  4.03443e-05
  6  1.02753
  7  3.58266e-06
  8  12.2053
  9  5.18606
  10  1.58873e-05
  11  12.2994
  12  0.694254
  13  3.0036e-06
  14  8.39605
  15  9.00157
  16  18.9932
  17  10.548
  18  39.0178
  19  3.93172
  20  25.9101
  21  2.68506e-06
  22  46.3397
  23  0.223183
  24  0.199013
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  2.505e+00  9.002e+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

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  7.854e-01  1.990e-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:  1.056e+00  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/630203/likelihoodResults_250992001_251251201_4FGL_J2300.7-2645_daily_bin45.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) = 6084.92507215
delta logL = 0.0967591381632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6084.90927216
delta logL = 0.112559121289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5483       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1372       1.0000          .0000       10.000    
     3 'Normalizat'    1.0381       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79475       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=   6084.909     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5467        79.602        .85597E-02    .58954E-03
   2  Index         3.1385        3.7592        .14941        .63154E-04
   3  Normalizat    1.0382        .37076E-01    .41431E-01   -.25412E-03
   4  Prefactor     .79477        .35097E-01    .43649E-01   -.29811E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.54668
  Index      = 3.13845
  Normalizat = 1.03815
  Prefactor  = 0.794772
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.909     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5467        19.105        .16880E-03   -1.5459    
   2  Index         3.1385        3.0323        .89160E-02   -.38150    
   3  Normalizat    1.0382        .20917        .23472E-03   -.91763    
   4  Prefactor     .79477        .19678        .25261E-03   -.99921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48623e-10
Minuit parameter uncertainties:
  1  10.8758
  2  3.30454
  3  0.209339
  4  0.196957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/630203': 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) = 6084.9092715
delta logL = 0.112559787948

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.547e+00  1.088e+01  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  3.138e+00  3.305e+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:  7.948e-01  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:  1.038e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/630203/cmap_HighResolution_250992001_251251201_4FGL_J2300.7-2645_daily_bin45.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-03', job_status='DONE', photon_flux_upper_limit='9.40e-08', time_completed='2021-09-29 05:13:53.266910', job_id='630203', GAL2='0.79', fit_tolerance='1e-08', EG2='1.04', EG='1.06', time_epoch_completed='1632917633.27', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.13e-01', ts2='0.36', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='45' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:13:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 630203: <4FGL_J2300.7-2645_daily_bin45> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin45> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep 29 05:00:39 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:00: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:00:41 2021
Terminated at Wed Sep 29 05:13:54 2021
Results reported at Wed Sep 29 05:13:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin45 345.182 -26.7502 250992001 251251201 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 :                                   629.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            795 sec.

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

