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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin56
RA = 345.182, Dec = -26.7502
tmin = 253843201, tmax = 254102401
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='631275', job_status='RUN', time_executed='2021-09-29 05:09:12.923454', time_epoch_executed='1632917352.92' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='56'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631275

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631275/ft1_4FGL_J2300.7-2645_daily_bin56.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631275/ft2_4FGL_J2300.7-2645_daily_bin56.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631275/ft1_4FGL_J2300.7-2645_daily_bin56.fits outfile=/scratch/kocevski/631275/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin56.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=253843201.0 tmax=254102401.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.52
user 1.30
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631275/ft1_filtered_4FGL_J2300.7-2645_daily_bin56.fits" evtable="EVENTS" scfile=/scratch/kocevski/631275/ft2_4FGL_J2300.7-2645_daily_bin56.fits sctable="SC_DATA" outfile=/scratch/kocevski/631275/ltcube_253843201_254102401_4FGL_J2300.7-2645_daily_bin56.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/631275/ft2_4FGL_J2300.7-2645_daily_bin56.fits
.....................!
real 13.00
user 12.65
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631275/ft1_filtered_4FGL_J2300.7-2645_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/631275/ft2_4FGL_J2300.7-2645_daily_bin56.fits sctable="SC_DATA" expcube=/scratch/kocevski/631275/ltcube_253843201_254102401_4FGL_J2300.7-2645_daily_bin56.fits outfile=/scratch/kocevski/631275/expmap_253843201_254102401_4FGL_J2300.7-2645_daily_bin56.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/631275/ltcube_253843201_254102401_4FGL_J2300.7-2645_daily_bin56.fits
.....................!
real 190.40
user 185.02
sys 5.04

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/631275/ft1_filtered_4FGL_J2300.7-2645_daily_bin56.fits scfile=/scratch/kocevski/631275/ft2_4FGL_J2300.7-2645_daily_bin56.fits outfile=/scratch/kocevski/631275/cmap_253843201_254102401_4FGL_J2300.7-2645_daily_bin56.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631275/ft1_filtered_4FGL_J2300.7-2645_daily_bin56.fits scfile=/scratch/kocevski/631275/ft2_4FGL_J2300.7-2645_daily_bin56.fits outfile=/scratch/kocevski/631275/cmap_HighResolution_253843201_254102401_4FGL_J2300.7-2645_daily_bin56.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631275/ft1_filtered_4FGL_J2300.7-2645_daily_bin56.fits evtable="EVENTS" scfile=/scratch/kocevski/631275/ft2_4FGL_J2300.7-2645_daily_bin56.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631275/Model_4FGL_J2300.7-2645_daily_bin56.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/631275/ft1_filtered_4FGL_J2300.7-2645_daily_bin56.fits.....................!
real 48.55
user 47.24
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2852       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .62478       1.0000         .10000E-03   10000.    
     3 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.627       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.0482       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6285       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .47397       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .47608E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.1732       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5290       1.0000         .10000E-03   10000.    
    18 'Prefactor '    45.422       1.0000         .10000E-03   10000.    
    19 'norm      '    .20014       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93891       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85419       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=   6248.086     FROM MIGRAD    STATUS=CONVERGED    973 CALLS     3608 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2871        13.342        .13928E-03   -.24651E-04
   2  Prefactor     .65221        14.900        .37086E-02    .40776E-03
   3  norm          .10000E-03    7.3603        .18142E-02** at limit **
   4  Prefactor     .10000E-03    12.644        .18142E-02** at limit **
   5  Prefactor     .10000E-03    3.5814        .14584E-02** at limit **
   6  norm          .10000E-03    1.3960        .17792E-02** at limit **
   7  Prefactor     32.729        34.626        .70151E-04    .10304E-03
   8  Prefactor     .10000E-03    8.5654        .18142E-02** at limit **
   9  norm          5.0490        3.5890        .11772E-03    .12246E-03
  10  Prefactor     3.6284        6.3937        .10605E-02   -.70005E-04
  11  Prefactor     .10000E-03    9.9999        .36285E-03** at limit **
  12  norm          .47413        .39698        .41420E-03    .28548E-03
  13  Prefactor     .10000E-03    28.753        .13818    ** at limit **
  14  Prefactor     8.1722        9.2716        .14024E-03   -.20267E-05
  15  Prefactor     .10000E-03    6.3369        .18142E-02** at limit **
  16  Prefactor     .10000E-03    14.673        .18142E-02** at limit **
  17  norm          2.5356        7.2804        .25685E-03   -.96934E-05
  18  Prefactor     45.423        43.362        .59490E-04    .32870E-04
  19  norm          .19959        1.4182        .18256E-03   -.52994E-04
  20  Prefactor     .10000E-03    6.0870        .18142E-02** at limit **
  21  Prefactor     .10000E-03    16.606        .18142E-02** at limit **
  22  Prefactor     .10000E-03    18.092        .18142E-02** at limit **
  23  Normalizat    .93849        .18103        .21791E-03    .17420E-03
  24  Prefactor     .85460        .17756        .22661E-03    .12106E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.28714
  Prefactor  = 0.652211
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 32.7293
  Prefactor  = 0.0001
  norm       = 5.04903
  Prefactor  = 3.62841
  Prefactor  = 0.0001
  norm       = 0.474126
  Prefactor  = 0.000100004
  Prefactor  = 8.17223
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.53559
  Prefactor  = 45.4232
  norm       = 0.19959
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.93849
  Prefactor  = 0.854596
 **********
 **   18 **HESSE 
 **********

 FCN=   6248.086     FROM HESSE     STATUS=OK           389 CALLS     3997 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2871        13.342        .55712E-05   -1.5132    
   2  Prefactor     .65221        14.928        .14835E-03   -1.5546    
   3  norm          .10000E-03    7.3607        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.646        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5817        .29167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3969        .35583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.729        34.600        .14030E-04   -1.4563    
   8  Prefactor     .10000E-03    8.5700        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.0490        3.5878        .47087E-05   -1.5259    
  10  Prefactor     3.6284        6.3912        .42418E-04   -1.5327    
  11  Prefactor     .10000E-03    10.000        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .47413        .39673        .16568E-04   -1.5570    
  13  Prefactor     .10000E-03    28.537        .13912       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.1722        9.2709        .56094E-05   -1.5136    
  15  Prefactor     .10000E-03    6.3403        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.676        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5356        7.2791        .10274E-04   -1.5389    
  18  Prefactor     45.423        43.352        .23796E-05   -1.4359    
  19  norm          .19959        1.4180        .73026E-05   -1.5619    
  20  Prefactor     .10000E-03    6.0872        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.606        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    18.092        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .93849        .18115        .87162E-05   -.95121    
  24  Prefactor     .85460        .17775        .90643E-05   -.97746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.46008e-10
Minuit parameter uncertainties:
  1  13.3466
  2  6.24189
  3  3.37357e-05
  4  8.54008e-05
  5  1.94898e-06
  6  5.53339e-06
  7  34.6216
  8  2.72968e-05
  9  3.58793
  10  6.39239
  11  1.5937e-05
  12  0.396734
  13  0.000713041
  14  9.27249
  15  2.16007e-05
  16  6.39981e-05
  17  7.28165
  18  43.3819
  19  1.06375
  20  1.37953e-05
  21  8.8738e-05
  22  0.000100322
  23  0.18127
  24  0.177866
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  2.160e-05  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.546e-01  1.779e-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.385e-01  1.813e-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: 6.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631275/likelihoodResults_253843201_254102401_4FGL_J2300.7-2645_daily_bin56.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) = 6248.0870044
delta logL = -0.000752259716137

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6248.08625308
delta logL = -9.40261088545e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4461       1.0000          .0000       10.000    
     3 'Normalizat'    .93855       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85456       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6248.086     FROM MIGRAD    STATUS=FAILED        93 CALLS      242 TOTAL
                     EDM=   .38E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    1176.8        .36285E-03** at limit **
   2  Index         2.4977        5.0489        .50000       -.76944E-04
   3  Normalizat    .93849        .60989E-01    .21791E-03    .66677E-04
   4  Prefactor     .85460        .61115E-01    .22661E-03    .11790E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6248.086     FROM SIMPLEX   STATUS=UNCHANGED    177 CALLS      419 TOTAL
                     EDM=   .98E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    1176.8        .38161E-03** at limit **
   2  Index         2.4977        5.0489        .32523E-05   -.76944E-04
   3  Normalizat    .93849        .60989E-01    .11711E-06    .66677E-04
   4  Prefactor     .85460        .61115E-01    .54440E-07    .11790E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6248.086     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      453 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    10.327        .72569E-04** at limit **
   2  Index         2.4984        6.2347        .50000       -.77089E-04
   3  Normalizat    .93849        .17495        .87162E-05    .56868E-04
   4  Prefactor     .85460        .17534        .90643E-05    .27593E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100048
  Index      = 2.49838
  Normalizat = 0.93849
  Prefactor  = 0.854596
 **********
 **   18 **HESSE 
 **********

 FCN=   6248.086     FROM HESSE     STATUS=OK            29 CALLS      482 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    7.9107        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4984        6.2475        .50000       -.52397    
   3  Normalizat    .93849        .17500        .17432E-05   -.95121    
   4  Prefactor     .85460        .17542        .18129E-05   -.97746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05645e-08
Minuit parameter uncertainties:
  1  0.00122898
  2  4.37411
  3  0.175102
  4  0.17554
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631275': 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) = 6248.08625069
delta logL = 1.45075864566e-06

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  1.229e-03  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.498e+00  4.374e+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.546e-01  1.755e-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.385e-01  1.751e-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/631275/cmap_HighResolution_253843201_254102401_4FGL_J2300.7-2645_daily_bin56.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2021-09-29 05:21:28.145732', job_id='631275', GAL2='0.85', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632918088.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.45e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='56' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:21:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 631275: <4FGL_J2300.7-2645_daily_bin56> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin56 345.182 -26.7502 253843201 254102401 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 :                                   732.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            976 sec.

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

