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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin910
RA = 345.182, Dec = -26.7502
tmin = 475200001, tmax = 475459201
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='636047', job_status='RUN', time_executed='2021-09-29 05:21:11.850078', time_epoch_executed='1632918071.85' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='910'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636047

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636047/ft1_4FGL_J2300.7-2645_daily_bin910.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636047/ft2_4FGL_J2300.7-2645_daily_bin910.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636047/ft1_4FGL_J2300.7-2645_daily_bin910.fits outfile=/scratch/kocevski/636047/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin910.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=475200001.0 tmax=475459201.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.54
user 3.30
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/636047/ft1_filtered_4FGL_J2300.7-2645_daily_bin910.fits" evtable="EVENTS" scfile=/scratch/kocevski/636047/ft2_4FGL_J2300.7-2645_daily_bin910.fits sctable="SC_DATA" outfile=/scratch/kocevski/636047/ltcube_475200001_475459201_4FGL_J2300.7-2645_daily_bin910.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/636047/ft2_4FGL_J2300.7-2645_daily_bin910.fits
.....................!
real 11.84
user 11.50
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636047/ft1_filtered_4FGL_J2300.7-2645_daily_bin910.fits evtable="EVENTS" scfile=/scratch/kocevski/636047/ft2_4FGL_J2300.7-2645_daily_bin910.fits sctable="SC_DATA" expcube=/scratch/kocevski/636047/ltcube_475200001_475459201_4FGL_J2300.7-2645_daily_bin910.fits outfile=/scratch/kocevski/636047/expmap_475200001_475459201_4FGL_J2300.7-2645_daily_bin910.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/636047/ltcube_475200001_475459201_4FGL_J2300.7-2645_daily_bin910.fits
.....................!
real 190.78
user 186.48
sys 3.98

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/636047/ft1_filtered_4FGL_J2300.7-2645_daily_bin910.fits scfile=/scratch/kocevski/636047/ft2_4FGL_J2300.7-2645_daily_bin910.fits outfile=/scratch/kocevski/636047/cmap_475200001_475459201_4FGL_J2300.7-2645_daily_bin910.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/636047/ft1_filtered_4FGL_J2300.7-2645_daily_bin910.fits scfile=/scratch/kocevski/636047/ft2_4FGL_J2300.7-2645_daily_bin910.fits outfile=/scratch/kocevski/636047/cmap_HighResolution_475200001_475459201_4FGL_J2300.7-2645_daily_bin910.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636047/ft1_filtered_4FGL_J2300.7-2645_daily_bin910.fits evtable="EVENTS" scfile=/scratch/kocevski/636047/ft2_4FGL_J2300.7-2645_daily_bin910.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636047/Model_4FGL_J2300.7-2645_daily_bin910.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/636047/ft1_filtered_4FGL_J2300.7-2645_daily_bin910.fits.....................!
real 52.19
user 50.37
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.958       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7240       1.0000         .10000E-03   10000.    
     3 'norm      '    14.584       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.6251       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .33804E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.3926       1.0000         .10000E-03   10000.    
     9 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8318       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7178       1.0000         .10000E-03   10000.    
    12 'norm      '    .20697       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.6203       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.5368       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.230       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.9650       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10537E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0231       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78746       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=   6858.014     FROM MIGRAD    STATUS=CONVERGED    963 CALLS     2766 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.972        15.779        .75768E-04    .20406E-04
   2  Prefactor     7.7248        6.9560        .14429E-03   -.11582E-04
   3  norm          14.578        16.152        .10488E-03   -.70675E-04
   4  Prefactor     .10000E-03    4.0135        .16199E-02** at limit **
   5  Prefactor     .10000E-03    2.4206        .12566E-02** at limit **
   6  norm          2.6252        1.8167        .88567E-04   -.69817E-03
   7  Prefactor     .10001E-03    222.13        .80862E-02** at limit **
   8  Prefactor     9.3987        8.9169        .13077E-03    .54163E-04
   9  norm          .10000E-03    1.2682        .90509E-03** at limit **
  10  Prefactor     1.8348        14.250        .30834E-03   -.11717E-03
  11  Prefactor     5.7267        8.9455        .16798E-03    .61588E-04
  12  norm          .20581        .44852        .61479E-03    .31215E-02
  13  Prefactor     .10000E-03    24.770        .18142E-02** at limit **
  14  Prefactor     6.6200        7.2015        .15596E-03   -.13996E-04
  15  Prefactor     .10000E-03    3.1174        .14198E-02** at limit **
  16  Prefactor     .10000E-03    9.1547        .18142E-02** at limit **
  17  norm          5.5372        6.6888        .85372E-03    .89794E-04
  18  Prefactor     12.220        33.518        .11454E-03    .27890E-04
  19  norm          .10000E-03    2.9883        .19218E-02** at limit **
  20  Prefactor     4.9682        17.379        .18049E-03    .18959E-04
  21  Prefactor     .10000E-03    33.620        .18142E-02** at limit **
  22  Prefactor     .10001E-03    76.380        .18142E-02** at limit **
  23  Normalizat    1.0231        .18461        .21414E-03   -.12566E-03
  24  Prefactor     .78754        .17733        .24089E-03   -.33978E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.9717
  Prefactor  = 7.72478
  norm       = 14.5782
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.62523
  Prefactor  = 0.000100012
  Prefactor  = 9.39869
  norm       = 0.0001
  Prefactor  = 1.83484
  Prefactor  = 5.72674
  norm       = 0.205807
  Prefactor  = 0.0001
  Prefactor  = 6.62
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.53715
  Prefactor  = 12.2196
  norm       = 0.0001
  Prefactor  = 4.96823
  Prefactor  = 0.000100001
  Prefactor  = 0.000100014
  Normalizat = 1.02306
  Prefactor  = 0.787538
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.014     FROM HESSE     STATUS=OK           377 CALLS     3143 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.972        15.779        .30307E-05   -1.4650    
   2  Prefactor     7.7248        6.9558        .57715E-05   -1.5152    
   3  norm          14.578        16.152        .41952E-05   -1.4944    
   4  Prefactor     .10000E-03    4.0136        .32399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.4207        .25132E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.6252        1.8077        .35427E-05   -1.5384    
   7  Prefactor     .10001E-03    228.44        .32345E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.3987        8.9170        .52306E-05   -1.5095    
   9  norm          .10000E-03    1.2683        .18102E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.8348        14.216        .12334E-04   -1.5437    
  11  Prefactor     5.7267        8.9480        .67191E-05   -1.5229    
  12  norm          .20581        .44790        .24592E-04   -1.5617    
  13  Prefactor     .10000E-03    24.772        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.6200        7.2014        .62385E-05   -1.5193    
  15  Prefactor     .10000E-03    3.1181        .28397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.1552        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.5372        6.6877        .34149E-04   -1.5237    
  18  Prefactor     12.220        33.531        .45818E-05   -1.5009    
  19  norm          .10000E-03    3.0008        .38435E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.9682        17.376        .72196E-05   -1.5262    
  21  Prefactor     .10000E-03    33.622        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    76.440        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0231        .18482        .85656E-05   -.92262    
  24  Prefactor     .78754        .17753        .48178E-04   -1.0019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49674e-09
Minuit parameter uncertainties:
  1  15.7811
  2  6.95654
  3  16.1568
  4  2.09161e-06
  5  5.04005e-07
  6  1.80772
  7  0.00332745
  8  8.91824
  9  8.22052e-08
  10  10.2177
  11  8.95013
  12  0.447906
  13  7.45235e-05
  14  7.20232
  15  8.16223e-07
  16  1.52986e-06
  17  6.68858
  18  33.583
  19  7.09906e-05
  20  17.3937
  21  0.000357609
  22  0.00208627
  23  0.184932
  24  0.177662
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  8.162e-07  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.875e-01  1.777e-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.023e+00  1.849e-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: 4.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/636047/likelihoodResults_475200001_475459201_4FGL_J2300.7-2645_daily_bin910.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) = 6858.01539923
delta logL = -0.00152773624086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6858.01387057
delta logL = 9.21058017411e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3670       1.0000          .0000       10.000    
     3 'Normalizat'    1.0231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78755       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=   6858.014     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      240 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10309E-03    1.6457        .15046E-01** at limit **
   2  Index         2.2828        5.1582        .50000        .79340E-04
   3  Normalizat    1.0231        .24011E-02    .21414E-03    .35719E-03
   4  Prefactor     .78754        .24121E-02    .24089E-03    .27760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103092
  Index      = 2.28275
  Normalizat = 1.02306
  Prefactor  = 0.78754
 **********
 **   18 **HESSE 
 **********

 FCN=   6858.014     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10309E-03    123.17        .30831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2828        6.1375        .50000       -.57454    
   3  Normalizat    1.0231        .21264E-01    .42828E-04   -.92262    
   4  Prefactor     .78754        .21361E-01    .96355E-05   -1.0019    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.70278e-07
Minuit parameter uncertainties:
  1  0.0391087
  2  294.037
  3  0.0212638
  4  0.0213608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636047': 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) = 6858.01386924
delta logL = 2.24878840527e-06

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.031e-04  3.911e-02  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.283e+00  2.940e+02  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.875e-01  2.136e-02  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.023e+00  2.126e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 345.182 -26.750

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/636047/cmap_HighResolution_475200001_475459201_4FGL_J2300.7-2645_daily_bin910.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-03', job_status='DONE', photon_flux_upper_limit='4.40e-08', time_completed='2021-09-29 05:32:53.865228', job_id='636047', GAL2='0.79', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632918773.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.25e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='910' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:32:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 636047: <4FGL_J2300.7-2645_daily_bin910> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin910 345.182 -26.7502 475200001 475459201 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 :                                   697.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

