/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 239 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 = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2300.7-2645_daily_bin202
RA = 345.182, Dec = -26.7502
tmin = 291686401, tmax = 291945601
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='631485', job_status='RUN', time_executed='2021-09-29 05:09:38.812878', time_epoch_executed='1632917378.81' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631485

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631485/ft1_4FGL_J2300.7-2645_daily_bin202.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631485/ft2_4FGL_J2300.7-2645_daily_bin202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631485/ft1_4FGL_J2300.7-2645_daily_bin202.fits outfile=/scratch/kocevski/631485/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin202.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=291686401.0 tmax=291945601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.50
user 3.29
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631485/ft1_filtered_4FGL_J2300.7-2645_daily_bin202.fits" evtable="EVENTS" scfile=/scratch/kocevski/631485/ft2_4FGL_J2300.7-2645_daily_bin202.fits sctable="SC_DATA" outfile=/scratch/kocevski/631485/ltcube_291686401_291945601_4FGL_J2300.7-2645_daily_bin202.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/631485/ft2_4FGL_J2300.7-2645_daily_bin202.fits
.....................!
real 11.99
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631485/ft1_filtered_4FGL_J2300.7-2645_daily_bin202.fits evtable="EVENTS" scfile=/scratch/kocevski/631485/ft2_4FGL_J2300.7-2645_daily_bin202.fits sctable="SC_DATA" expcube=/scratch/kocevski/631485/ltcube_291686401_291945601_4FGL_J2300.7-2645_daily_bin202.fits outfile=/scratch/kocevski/631485/expmap_291686401_291945601_4FGL_J2300.7-2645_daily_bin202.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/631485/ltcube_291686401_291945601_4FGL_J2300.7-2645_daily_bin202.fits
.....................!
real 190.56
user 185.48
sys 4.69

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/631485/ft1_filtered_4FGL_J2300.7-2645_daily_bin202.fits scfile=/scratch/kocevski/631485/ft2_4FGL_J2300.7-2645_daily_bin202.fits outfile=/scratch/kocevski/631485/cmap_291686401_291945601_4FGL_J2300.7-2645_daily_bin202.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631485/ft1_filtered_4FGL_J2300.7-2645_daily_bin202.fits scfile=/scratch/kocevski/631485/ft2_4FGL_J2300.7-2645_daily_bin202.fits outfile=/scratch/kocevski/631485/cmap_HighResolution_291686401_291945601_4FGL_J2300.7-2645_daily_bin202.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631485/ft1_filtered_4FGL_J2300.7-2645_daily_bin202.fits evtable="EVENTS" scfile=/scratch/kocevski/631485/ft2_4FGL_J2300.7-2645_daily_bin202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631485/Model_4FGL_J2300.7-2645_daily_bin202.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/631485/ft1_filtered_4FGL_J2300.7-2645_daily_bin202.fits.....................!
real 47.61
user 46.24
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80967E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10740E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.695       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.4424       1.0000         .10000E-03   10000.    
     6 'norm      '    .13064E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    45.361       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7451       1.0000         .10000E-03   10000.    
     9 'norm      '    .15775E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.3553       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.9022       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .30731       1.0000         .10000E-03   10000.    
    17 'norm      '    14.674       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10149E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.169       1.0000         .10000E-03   10000.    
    21 'Prefactor '    46.833       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.5078       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93674       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87535       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=   6025.284     FROM MIGRAD    STATUS=CONVERGED    589 CALLS     2845 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.985       -.61329E-06** at limit **
   2  Prefactor     .10001E-03    4.4505        .49759E-06** at limit **
   3  norm          15.683        17.463       -.81493E-06    .30760E-03
   4  Prefactor     .10000E-03    5.9649       -.14265E-07** at limit **
   5  Prefactor     3.4452        9.9253        .39491E-05   -.13489E-03
   6  norm          .10000E-03    1.4369       -.16425E-05** at limit **
   7  Prefactor     45.301        33.268        .29410E-05    .76203E-03
   8  Prefactor     4.7461        7.9750        .19303E-05   -.19036E-03
   9  norm          .10000E-03    1.5402       -.36127E-07** at limit **
  10  Prefactor     .10000E-03    3.6877       -.31039E-09** at limit **
  11  Prefactor     8.3537        8.2685       -.17555E-06    .22267E-03
  12  norm          .10000E-03    .16830        .27810E-07** at limit **
  13  Prefactor     .10000E-03    16.442       -.52771E-08** at limit **
  14  Prefactor     .10000E-03    3.4176       -.30349E-07** at limit **
  15  Prefactor     7.9035        10.144        .83675E-07    .89691E-04
  16  Prefactor     .41927        14.785       -.12157E-05    .10936E-03
  17  norm          14.673        7.9249        .88540E-07   -.56226E-04
  18  Prefactor     .10000E-03    32.856        .39834E-06** at limit **
  19  norm          .10000E-03    1.2390        .80428E-07** at limit **
  20  Prefactor     18.165        22.115        .22119E-06    .29302E-04
  21  Prefactor     46.869        59.952       -.30717E-05    .19534E-03
  22  Prefactor     5.5130        64.709       -.15973E-06    .14347E-04
  23  Normalizat    .93683        .16572       -.11268E-05    .27410E-03
  24  Prefactor     .87517        .15666        .60454E-06    .22024E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 15.6832
  Prefactor  = 0.0001
  Prefactor  = 3.44518
  norm       = 0.0001
  Prefactor  = 45.3011
  Prefactor  = 4.7461
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.35366
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.9035
  Prefactor  = 0.419271
  norm       = 14.6728
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.1652
  Prefactor  = 46.8693
  Prefactor  = 5.51301
  Normalizat = 0.936826
  Prefactor  = 0.875173
 **********
 **   18 **HESSE 
 **********

 FCN=   6025.284     FROM HESSE     STATUS=OK           403 CALLS     3248 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.841        .41790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    27.580        .31191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.683        17.290        .10110E-03   -1.4916    
   4  Prefactor     .10000E-03    5.9691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4452        9.8926        .10900E-02   -1.5337    
   6  norm          .10000E-03    3.1323        .16230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     45.301        33.309        .59530E-04   -1.4361    
   8  Prefactor     4.7461        7.9799        .92357E-03   -1.5272    
   9  norm          .10000E-03    8.2133        .18201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.6896        .14550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.3537        7.9778        .13869E-03   -1.5130    
  12  norm          .10000E-03    .18378        .59846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.4284        .14014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.9035        10.061        .14264E-03   -1.5146    
  16  Prefactor     .41927        196.60        .57275E-02   -1.5578    
  17  norm          14.673        7.9231        .10456E-03   -1.4942    
  18  Prefactor     .10000E-03    32.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.3018        .16581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.165        21.945        .93962E-04   -1.4855    
  21  Prefactor     46.869        58.348        .58591E-04   -1.4338    
  22  Prefactor     5.5130        64.650        .17120E-03   -1.5238    
  23  Normalizat    .93683        .19683        .22346E-03   -.95178    
  24  Prefactor     .87517        .18843        .22938E-03   -.97014    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58957e-09
Minuit parameter uncertainties:
  1  0.000141018
  2  0.000801614
  3  17.2952
  4  2.80336e-06
  5  9.89724
  6  7.93829e-06
  7  33.3231
  8  7.9817
  9  3.12627e-05
  10  8.04688e-07
  11  7.97886
  12  1.27023e-07
  13  8.02624e-06
  14  1.39043e-06
  15  10.0627
  16  18.2162
  17  7.92362
  18  0.000126603
  19  1.38921e-06
  20  21.9546
  21  58.4188
  22  37.8089
  23  0.196979
  24  0.188571
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  7.904e+00  1.006e+01  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.752e-01  1.886e-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.368e-01  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.34
Ra Dec: 345.182 -26.750
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.04e-08 +/- 3.87e-08
Energy Flux (Fixed Index): 9.89e-06 +/- 1.26e-05

TS (Fixed Index): 1.34
Ra Dec: 345.182 -26.750
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631485/likelihoodResults_291686401_291945601_4FGL_J2300.7-2645_daily_bin202.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) = 6024.359184
delta logL = 0.925310029171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6024.27882716
delta logL = 1.00566686518

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70697       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9519       1.0000          .0000       10.000    
     3 'Normalizat'    .88179       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91344       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=   6024.279     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      265 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70647        6.3032        .89033E-02    .87213E-03
   2  Index         3.9525        2.1209        .95443E-01    .17755E-03
   3  Normalizat    .88184        .40964E-01    .44668E-01    .16056E-04
   4  Prefactor     .91339        .40828E-01    .45176E-01    .12969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.706468
  Index      = 3.95246
  Normalizat = 0.881837
  Prefactor  = 0.913392
 **********
 **   18 **HESSE 
 **********

 FCN=   6024.279     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      298 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70647        14.199        .40240E-04   -1.5540    
   2  Index         3.9525        3.5638        .35943E-02   -.21107    
   3  Normalizat    .88184        .17008        .22905E-03   -.97101    
   4  Prefactor     .91339        .16944        .22490E-03   -.95675    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.51814e-07
Minuit parameter uncertainties:
  1  6.33576
  2  3.9932
  3  0.170179
  4  0.169539
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631485': 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) = 6024.27882667
delta logL = 1.005667358

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  7.065e-01  6.336e+00  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  3.952e+00  3.993e+00  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.134e-01  1.695e-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:  8.818e-01  1.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.46
Ra Dec: 345.182 -26.750
Photon Index (Free Index): 3.95 +/- 3.99
Photon Flux (Free Index): 7.41e-08 +/- 4.75e-08
Energy Flux (Free Index): 1.12e-05 +/- 9.29e-06

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/631485/cmap_HighResolution_291686401_291945601_4FGL_J2300.7-2645_daily_bin202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.77e-03', comment='SUCCESS', photon_flux='3.04e-08', energy_flux2='1.12e-05', photon_flux_error='3.87e-08', dlogl='1.01e+00', energy_flux='9.89e-06', photon_flux2='7.41e-08', job_status='DONE', time_completed='2021-09-29 05:20:53.532868', photon_index_error2='3.99', photon_index2='3.95', ts='1.34', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='9.29e-06', EG='0.94', time_epoch_completed='1632918053.53', return_code='0', job_id='631485', GAL2='0.91', EG2='0.88', return_code2='102', energy_flux_error='1.26e-05', photon_flux_error2='4.75e-08', ts2='3.46', photon_index='2.41' WHERE bin_id='202' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:20:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 631485: <4FGL_J2300.7-2645_daily_bin202> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin202 345.182 -26.7502 291686401 291945601 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.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             221.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            924 sec.

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

