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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin44
RA = 345.182, Dec = -26.7502
tmin = 250732801, tmax = 250992001
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='630201', job_status='RUN', time_executed='2021-09-29 05:02:42.152354', time_epoch_executed='1632916962.15' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='44'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/630201

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/630201/ft1_4FGL_J2300.7-2645_daily_bin44.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/630201/ft2_4FGL_J2300.7-2645_daily_bin44.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/630201/ft1_4FGL_J2300.7-2645_daily_bin44.fits outfile=/scratch/kocevski/630201/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin44.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=250732801.0 tmax=250992001.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.43
user 1.26
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/630201/ft1_filtered_4FGL_J2300.7-2645_daily_bin44.fits" evtable="EVENTS" scfile=/scratch/kocevski/630201/ft2_4FGL_J2300.7-2645_daily_bin44.fits sctable="SC_DATA" outfile=/scratch/kocevski/630201/ltcube_250732801_250992001_4FGL_J2300.7-2645_daily_bin44.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/630201/ft2_4FGL_J2300.7-2645_daily_bin44.fits
.....................!
real 12.57
user 12.17
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/630201/ft1_filtered_4FGL_J2300.7-2645_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/630201/ft2_4FGL_J2300.7-2645_daily_bin44.fits sctable="SC_DATA" expcube=/scratch/kocevski/630201/ltcube_250732801_250992001_4FGL_J2300.7-2645_daily_bin44.fits outfile=/scratch/kocevski/630201/expmap_250732801_250992001_4FGL_J2300.7-2645_daily_bin44.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/630201/ltcube_250732801_250992001_4FGL_J2300.7-2645_daily_bin44.fits
.....................!
real 190.92
user 185.41
sys 5.15

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/630201/ft1_filtered_4FGL_J2300.7-2645_daily_bin44.fits scfile=/scratch/kocevski/630201/ft2_4FGL_J2300.7-2645_daily_bin44.fits outfile=/scratch/kocevski/630201/cmap_250732801_250992001_4FGL_J2300.7-2645_daily_bin44.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/630201/ft1_filtered_4FGL_J2300.7-2645_daily_bin44.fits scfile=/scratch/kocevski/630201/ft2_4FGL_J2300.7-2645_daily_bin44.fits outfile=/scratch/kocevski/630201/cmap_HighResolution_250732801_250992001_4FGL_J2300.7-2645_daily_bin44.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.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/630201/ft1_filtered_4FGL_J2300.7-2645_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/630201/ft2_4FGL_J2300.7-2645_daily_bin44.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/630201/Model_4FGL_J2300.7-2645_daily_bin44.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/630201/ft1_filtered_4FGL_J2300.7-2645_daily_bin44.fits.....................!
real 51.49
user 50.11
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8721       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.720       1.0000         .10000E-03   10000.    
     3 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.695       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.0181       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.307       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3077       1.0000         .10000E-03   10000.    
     9 'norm      '    11.374       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3643       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19561E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    33.364       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.394       1.0000         .10000E-03   10000.    
    19 'norm      '    7.8415       1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.591       1.0000         .10000E-03   10000.    
    21 'Prefactor '    168.99       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94776       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94548       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=   6492.753     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2753 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8556        23.486       -.91689E-05   -.85360E-04
   2  Prefactor     10.720        11.048       -.14175E-05    .57346E-05
   3  norm          .10000E-03    26.022        .12018E-04** at limit **
   4  Prefactor     16.695        15.229       -.63540E-06    .31471E-04
   5  Prefactor     .10000E-03    19.320       -.11474E-04** at limit **
   6  norm          2.0184        1.9357       -.32507E-07   -.44631E-04
   7  Prefactor     13.306        27.490       -.22607E-05    .95018E-04
   8  Prefactor     4.3087        8.8601       -.27976E-05   -.10354E-03
   9  norm          11.377        4.3742       -.22558E-06    .71470E-03
  10  Prefactor     .10000E-03    5.9613       -.21151E-07** at limit **
  11  Prefactor     .10000E-03    7.9474       -.26076E-06** at limit **
  12  norm          .10000E-03    .24237       -.14863E-06** at limit **
  13  Prefactor     .10000E-03    19.075       -.47004E-05** at limit **
  14  Prefactor     7.3637        9.6793       -.15745E-05   -.74687E-04
  15  Prefactor     .10003E-03    6.6915       -.99307E-06** at limit **
  16  Prefactor     .10000E-03    17.611        .14590E-04** at limit **
  17  norm          33.364        12.559       -.67796E-06    .63452E-04
  18  Prefactor     18.393        41.990       -.39050E-05    .22673E-04
  19  norm          7.8421        3.3319        .21506E-05    .23674E-03
  20  Prefactor     20.550        31.166       -.47944E-04    .25975E-04
  21  Prefactor     168.96        113.47       -.24294E-04    .44096E-04
  22  Prefactor     .10000E-03    19.765       -.94730E-05** at limit **
  23  Normalizat    .94764        .18176        .93611E-05    .20099E-03
  24  Prefactor     .94563        .16702       -.90968E-06    .74684E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.85557
  Prefactor  = 10.7201
  norm       = 0.000100001
  Prefactor  = 16.6951
  Prefactor  = 0.0001
  norm       = 2.01838
  Prefactor  = 13.3057
  Prefactor  = 4.30871
  norm       = 11.377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.36366
  Prefactor  = 0.000100026
  Prefactor  = 0.0001
  norm       = 33.3644
  Prefactor  = 18.3925
  norm       = 7.84207
  Prefactor  = 20.55
  Prefactor  = 168.959
  Prefactor  = 0.0001
  Normalizat = 0.947643
  Prefactor  = 0.945633
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.753     FROM HESSE     STATUS=OK           403 CALLS     3156 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8556        23.495        .23985E-03   -1.5370    
   2  Prefactor     10.720        11.057        .12237E-03   -1.5053    
   3  norm          .10000E-03    26.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.695        15.227        .98022E-04   -1.4891    
   5  Prefactor     .10000E-03    20.159        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.0184        1.9573        .95733E-04   -1.5424    
   7  Prefactor     13.306        27.830        .10980E-03   -1.4978    
   8  Prefactor     4.3087        8.8764        .19410E-03   -1.5293    
   9  norm          11.377        4.2754        .98338E-04   -1.5033    
  10  Prefactor     .10000E-03    5.9714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.0873        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .42283        .72454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.3637        9.6726        .14780E-03   -1.5165    
  15  Prefactor     .10003E-03    46.105        .37334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.364        12.554        .69373E-04   -1.4552    
  18  Prefactor     18.393        42.027        .93387E-04   -1.4850    
  19  norm          7.8421        3.3294        .89141E-04   -1.5148    
  20  Prefactor     20.550        31.179        .88268E-04   -1.4801    
  21  Prefactor     168.96        113.68        .15517E-03   -1.3101    
  22  Prefactor     .10000E-03    19.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94764        .21410        .24889E-03   -.94806    
  24  Prefactor     .94563        .19851        .24321E-03   -.94564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52695e-09
Minuit parameter uncertainties:
  1  16.3905
  2  11.0593
  3  0.000230943
  4  15.2309
  5  0.000165618
  6  1.95734
  7  27.8566
  8  8.87915
  9  4.27556
  10  8.63498e-06
  11  5.54239e-05
  12  8.14747e-06
  13  3.43563e-05
  14  9.67468
  15  0.00220021
  16  8.88812e-05
  17  12.5554
  18  42.0952
  19  3.32951
  20  31.2041
  21  113.826
  22  2.13149e-05
  23  0.214292
  24  0.198663
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  2.200e-03  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:  9.456e-01  1.987e-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:  9.476e-01  2.143e-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.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/630201/likelihoodResults_250732801_250992001_4FGL_J2300.7-2645_daily_bin44.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) = 6492.75280309
delta logL = -0.000102250201053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6492.75270101
delta logL = -1.7332695279e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15596E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5133       1.0000          .0000       10.000    
     3 'Normalizat'    .94784       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94545       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=   6492.746     FROM MIGRAD    STATUS=CONVERGED    186 CALLS      354 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26924        2.2532        .49089E-01    .78629E-03
   2  Index         3.2156        .32133        .50000        .11449E-04
   3  Normalizat    .94192        .60527E-02    .45510E-01    .10760E-03
   4  Prefactor     .94803        .59406E-02    .45582E-01    .14378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.269242
  Index      = 3.21558
  Normalizat = 0.941918
  Prefactor  = 0.94803
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.746     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      389 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26924        880.57        .16108E-02   -1.5604    
   2  Index         3.2156        5.2316        .36940E-02   -.36493    
   3  Normalizat    .94192        .15988        .24957E-03   -.95002    
   4  Prefactor     .94803        .13519        .24293E-03   -.94482    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.17258e-09
Minuit parameter uncertainties:
  1  31.2606
  2  41.0672
  3  0.159957
  4  0.135242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/630201': 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) = 6492.74591602
delta logL = 0.00678481956493

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  2.692e-01  3.126e+01  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  3.216e+00  4.107e+01  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.480e-01  1.352e-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:  9.419e-01  1.600e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/630201/cmap_HighResolution_250732801_250992001_4FGL_J2300.7-2645_daily_bin44.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.71e-08', time_completed='2021-09-29 05:13:56.701567', job_id='630201', GAL2='0.95', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1632917636.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='6.78e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='44' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:13:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 630201: <4FGL_J2300.7-2645_daily_bin44> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin44> 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) <bullet0072>, 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:59 2021
Results reported at Wed Sep 29 05:13:59 2021

Your job looked like:

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

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

