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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin1540
RA = 345.182, Dec = -26.7502
tmin = 638496001, tmax = 638755201
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='639568', job_status='RUN', time_executed='2021-09-29 05:30:53.988091', time_epoch_executed='1632918653.99' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='1540'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639568/ft1_4FGL_J2300.7-2645_daily_bin1540.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639568/ft2_4FGL_J2300.7-2645_daily_bin1540.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639568/ft1_4FGL_J2300.7-2645_daily_bin1540.fits outfile=/scratch/kocevski/639568/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1540.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=638496001.0 tmax=638755201.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 4.47
user 4.22
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639568/ft1_filtered_4FGL_J2300.7-2645_daily_bin1540.fits" evtable="EVENTS" scfile=/scratch/kocevski/639568/ft2_4FGL_J2300.7-2645_daily_bin1540.fits sctable="SC_DATA" outfile=/scratch/kocevski/639568/ltcube_638496001_638755201_4FGL_J2300.7-2645_daily_bin1540.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/639568/ft2_4FGL_J2300.7-2645_daily_bin1540.fits
.....................!
real 12.45
user 11.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639568/ft1_filtered_4FGL_J2300.7-2645_daily_bin1540.fits evtable="EVENTS" scfile=/scratch/kocevski/639568/ft2_4FGL_J2300.7-2645_daily_bin1540.fits sctable="SC_DATA" expcube=/scratch/kocevski/639568/ltcube_638496001_638755201_4FGL_J2300.7-2645_daily_bin1540.fits outfile=/scratch/kocevski/639568/expmap_638496001_638755201_4FGL_J2300.7-2645_daily_bin1540.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/639568/ltcube_638496001_638755201_4FGL_J2300.7-2645_daily_bin1540.fits
.....................!
real 190.79
user 185.31
sys 5.14

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/639568/ft1_filtered_4FGL_J2300.7-2645_daily_bin1540.fits scfile=/scratch/kocevski/639568/ft2_4FGL_J2300.7-2645_daily_bin1540.fits outfile=/scratch/kocevski/639568/cmap_638496001_638755201_4FGL_J2300.7-2645_daily_bin1540.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/639568/ft1_filtered_4FGL_J2300.7-2645_daily_bin1540.fits evtable="EVENTS" scfile=/scratch/kocevski/639568/ft2_4FGL_J2300.7-2645_daily_bin1540.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/639568/Model_4FGL_J2300.7-2645_daily_bin1540.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/639568/ft1_filtered_4FGL_J2300.7-2645_daily_bin1540.fits....................!
real 48.63
user 47.28
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5445       1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9920       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.186       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.440       1.0000         .10000E-03   10000.    
     9 'norm      '    .56565       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.077       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6397       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1690       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.4712       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.1684       1.0000         .10000E-03   10000.    
    19 'norm      '    10.098       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.5412       1.0000         .10000E-03   10000.    
    21 'Prefactor '    57.404       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0216       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87696       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=   6276.709     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     3305 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.147       -.96396E-07** at limit **
   2  Prefactor     3.5461        9.7139        .13430E-04    .12914E-03
   3  norm          .10000E-03    7.4467        .72769E-07** at limit **
   4  Prefactor     9.9949        16.997       -.10899E-05   -.43104E-04
   5  Prefactor     13.187        13.533        .11884E-05   -.35419E-04
   6  norm          .10000E-03    .80990       -.52804E-07** at limit **
   7  Prefactor     .10000E-03    24.751        .19075E-06** at limit **
   8  Prefactor     23.443        11.190        .53286E-07   -.14429E-03
   9  norm          .56517        3.6577        .50088E-06   -.11093E-03
  10  Prefactor     .10000E-03    12.636       -.81867E-07** at limit **
  11  Prefactor     22.085        14.385        .43516E-06   -.28920E-03
  12  norm          2.6393        1.0118       -.98343E-07   -.59637E-03
  13  Prefactor     .10000E-03    17.339       -.26504E-06** at limit **
  14  Prefactor     .10000E-03    10.610       -.16895E-06** at limit **
  15  Prefactor     4.1680        8.9559        .62487E-06   -.31991E-04
  16  Prefactor     .10000E-03    7.8493       -.28881E-06** at limit **
  17  norm          8.4709        9.5762        .77568E-06   -.33753E-04
  18  Prefactor     9.2493        58.505        .11156E-04    .30658E-03
  19  norm          10.099        3.7145        .13565E-06   -.76120E-04
  20  Prefactor     5.5329        30.957        .22068E-05   -.64595E-04
  21  Prefactor     57.422        61.428        .18258E-05    .89953E-04
  22  Prefactor     .10000E-03    10.514        .19861E-06** at limit **
  23  Normalizat    1.0210        .20995       -.96655E-05    .21814E-03
  24  Prefactor     .87753        .18319        .68586E-05   -.42512E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.54611
  norm       = 0.0001
  Prefactor  = 9.9949
  Prefactor  = 13.1873
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4432
  norm       = 0.565165
  Prefactor  = 0.0001
  Prefactor  = 22.0845
  norm       = 2.63925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.16803
  Prefactor  = 0.0001
  norm       = 8.47089
  Prefactor  = 9.24929
  norm       = 10.0991
  Prefactor  = 5.53293
  Prefactor  = 57.4219
  Prefactor  = 0.0001
  Normalizat = 1.02097
  Prefactor  = 0.877532
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.709     FROM HESSE     STATUS=OK           399 CALLS     3704 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.5461        9.8412        .10735E-02   -1.5331    
   3  norm          .10000E-03    7.4541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.9949        17.017        .12677E-03   -1.5076    
   5  Prefactor     13.187        13.553        .11031E-03   -1.4982    
   6  norm          .10000E-03    .81738        .69589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.443        11.213        .82736E-04   -1.4739    
   9  norm          .56517        6.1296        .25688E-02   -1.5558    
  10  Prefactor     .10000E-03    12.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.085        14.314        .85248E-04   -1.4768    
  12  norm          2.6393        1.0380        .37656E-04   -1.5383    
  13  Prefactor     .10000E-03    17.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1680        8.8811        .19739E-03   -1.5300    
  16  Prefactor     .10000E-03    7.8515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.4709        9.5539        .13773E-03   -1.5126    
  18  Prefactor     9.2493        59.175        .13236E-03   -1.5100    
  19  norm          10.099        3.7073        .86308E-04   -1.5072    
  20  Prefactor     5.5329        30.919        .17068E-03   -1.5237    
  21  Prefactor     57.422        61.450        .26474E-03   -1.4191    
  22  Prefactor     .10000E-03    10.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0210        .23470        .24652E-03   -.92331    
  24  Prefactor     .87753        .20608        .25653E-03   -.96931    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77361e-08
Minuit parameter uncertainties:
  1  4.46289e-05
  2  9.84567
  3  4.44166e-05
  4  17.0256
  5  13.5559
  6  6.60726e-07
  7  0.000183884
  8  11.2143
  9  3.72265
  10  7.48097e-05
  11  14.3164
  12  1.03801
  13  7.69979e-05
  14  4.69881e-05
  15  8.88393
  16  7.01112e-05
  17  9.55559
  18  46.858
  19  3.70734
  20  26.1796
  21  61.5179
  22  3.96888e-05
  23  0.234942
  24  0.206259
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  4.168e+00  8.884e+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:  8.775e-01  2.063e-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.021e+00  2.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/639568/likelihoodResults_638496001_638755201_4FGL_J2300.7-2645_daily_bin1540.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) = 6276.69082342
delta logL = 0.018058649408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6276.67762332
delta logL = 0.0312587460539

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3988       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9675       1.0000          .0000       10.000    
     3 'Normalizat'    1.0080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88547       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6276.678     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      244 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3986        334.54        .20406E-03   -.87018E-03
   2  Index         2.9679        7.4210        .10719E-01   -.11340E-03
   3  Normalizat    1.0080        .27938        .24783E-03   -.21116E-03
   4  Prefactor     .88547        .20523        .25545E-03   -.21366E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.39859
  Index      = 2.96795
  Normalizat = 1.00796
  Prefactor  = 0.885468
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.678     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3986        15.498        .81623E-05   -1.5398    
   2  Index         2.9679        3.0014        .42875E-03   -.41852    
   3  Normalizat    1.0080        .21860        .99130E-05   -.92764    
   4  Prefactor     .88547        .20526        .10218E-04   -.96651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24737e-09
Minuit parameter uncertainties:
  1  12.1984
  2  3.27469
  3  0.218798
  4  0.20544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639568': 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) = 6276.67762326
delta logL = 0.0312588084298

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  2.399e+00  1.220e+01  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.968e+00  3.275e+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:  8.855e-01  2.054e-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.008e+00  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/639568/cmap_HighResolution_638496001_638755201_4FGL_J2300.7-2645_daily_bin1540.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-03', job_status='DONE', photon_flux_upper_limit='9.84e-08', time_completed='2021-09-29 05:42:52.776609', job_id='639568', GAL2='0.89', fit_tolerance='1e-08', EG2='1.01', EG='1.02', time_epoch_completed='1632919372.78', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.13e-02', ts2='0.39', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1540' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:42:52 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin1540 345.182 -26.7502 638496001 638755201 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 :                                   709.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            744 sec.

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

