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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin10
RA = 345.182, Dec = -26.7502
tmin = 241920001, tmax = 242179201
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='630145', job_status='RUN', time_executed='2021-09-29 05:02:44.805150', time_epoch_executed='1632916964.81' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='10'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/630145

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/630145/ft1_4FGL_J2300.7-2645_daily_bin10.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/630145/ft2_4FGL_J2300.7-2645_daily_bin10.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/630145/ft1_4FGL_J2300.7-2645_daily_bin10.fits outfile=/scratch/kocevski/630145/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin10.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=241920001.0 tmax=242179201.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.41
user 1.25
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/630145/ft1_filtered_4FGL_J2300.7-2645_daily_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/630145/ft2_4FGL_J2300.7-2645_daily_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/630145/ltcube_241920001_242179201_4FGL_J2300.7-2645_daily_bin10.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/630145/ft2_4FGL_J2300.7-2645_daily_bin10.fits
.....................!
real 12.41
user 12.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/630145/ft1_filtered_4FGL_J2300.7-2645_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/630145/ft2_4FGL_J2300.7-2645_daily_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/630145/ltcube_241920001_242179201_4FGL_J2300.7-2645_daily_bin10.fits outfile=/scratch/kocevski/630145/expmap_241920001_242179201_4FGL_J2300.7-2645_daily_bin10.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/630145/ltcube_241920001_242179201_4FGL_J2300.7-2645_daily_bin10.fits
.....................!
real 191.05
user 185.67
sys 5.08

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/630145/ft1_filtered_4FGL_J2300.7-2645_daily_bin10.fits scfile=/scratch/kocevski/630145/ft2_4FGL_J2300.7-2645_daily_bin10.fits outfile=/scratch/kocevski/630145/cmap_241920001_242179201_4FGL_J2300.7-2645_daily_bin10.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=345.182 yref=-26.7502 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/630145/ft1_filtered_4FGL_J2300.7-2645_daily_bin10.fits scfile=/scratch/kocevski/630145/ft2_4FGL_J2300.7-2645_daily_bin10.fits outfile=/scratch/kocevski/630145/cmap_HighResolution_241920001_242179201_4FGL_J2300.7-2645_daily_bin10.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=345.182 yref=-26.7502 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.228       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.708       1.0000         .10000E-03   10000.    
     3 'norm      '    1.5420       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11572E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2854       1.0000         .10000E-03   10000.    
     6 'norm      '    2.0915       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10690E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7188       1.0000         .10000E-03   10000.    
     9 'norm      '    4.0637       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1138       1.0000         .10000E-03   10000.    
    12 'norm      '    .56155       1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.468       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0820       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .30076E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.2494       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.3724       1.0000         .10000E-03   10000.    
    20 'Prefactor '    43.594       1.0000         .10000E-03   10000.    
    21 'Prefactor '    79.785       1.0000         .10000E-03   10000.    
    22 'Prefactor '    107.24       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93603       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0080       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=   6080.173     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2789 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.234        24.591        .31570E-07    .79385E-04
   2  Prefactor     12.707        12.367        .24778E-06    .11422E-03
   3  norm          1.5490        33.858        .18970E-04    .90402E-04
   4  Prefactor     .10045E-03    15.957       -.36259E-05** at limit **
   5  Prefactor     2.3045        13.037       -.15602E-05    .85927E-04
   6  norm          2.0915        1.7684       -.39210E-07    .33147E-03
   7  Prefactor     .10000E-03    35.696        .11797E-05** at limit **
   8  Prefactor     3.7223        15.334        .25511E-06    .53503E-04
   9  norm          4.0594        4.0722       -.16102E-06    .13985E-03
  10  Prefactor     .10000E-03    3.6145       -.35724E-07** at limit **
  11  Prefactor     1.1353        22.804        .27791E-05   -.12505E-04
  12  norm          .56063        .52968       -.41967E-07    .47277E-03
  13  Prefactor     40.482        69.915       -.36255E-06    .72815E-04
  14  Prefactor     5.0839        7.9987       -.39844E-06    .22836E-03
  15  Prefactor     .10113E-03    8.2946        .21221E-05** at limit **
  16  Prefactor     .10000E-03    6.4287       -.13160E-07** at limit **
  17  norm          6.2514        7.0377        .23979E-06   -.71276E-04
  18  Prefactor     .10000E-03    25.025       -.48623E-06** at limit **
  19  norm          6.3736        3.7253        .49291E-07    .69488E-04
  20  Prefactor     43.608        32.879        .18722E-06    .33468E-04
  21  Prefactor     79.800        88.778       -.51024E-06    .60194E-04
  22  Prefactor     107.26        65.386       -.80291E-06    .15607E-03
  23  Normalizat    .93558        .20324       -.12687E-05    .30793E-03
  24  Prefactor     1.0081        .17747        .11853E-05    .44004E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.2336
  Prefactor  = 12.7069
  norm       = 1.54899
  Prefactor  = 0.000100446
  Prefactor  = 2.30453
  norm       = 2.09154
  Prefactor  = 0.000100001
  Prefactor  = 3.72234
  norm       = 4.05935
  Prefactor  = 0.0001
  Prefactor  = 1.13535
  norm       = 0.560629
  Prefactor  = 40.4816
  Prefactor  = 5.08389
  Prefactor  = 0.000101131
  Prefactor  = 0.0001
  norm       = 6.2514
  Prefactor  = 0.0001
  norm       = 6.37355
  Prefactor  = 43.6081
  Prefactor  = 79.8
  Prefactor  = 107.264
  Normalizat = 0.935585
  Prefactor  = 1.00813
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.173     FROM HESSE     STATUS=OK           417 CALLS     3206 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.234        24.600        .60975E-04   -1.4392    
   2  Prefactor     12.707        12.385        .11236E-03   -1.4995    
   3  norm          1.5490        33.890        .17165E-02   -1.5459    
   4  Prefactor     .10045E-03    17.039        .99317E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3045        13.069        .27156E-03   -1.5404    
   6  norm          2.0915        1.7650        .91831E-04   -1.5419    
   7  Prefactor     .10000E-03    35.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.7223        15.235        .20940E-03   -1.5322    
   9  norm          4.0594        3.9235        .13738E-03   -1.5305    
  10  Prefactor     .10000E-03    3.6140        .14472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1353        18.650        .44671E-03   -1.5495    
  12  norm          .56063        .49210        .44021E-04   -1.5558    
  13  Prefactor     40.482        69.926        .63011E-04   -1.4435    
  14  Prefactor     5.0839        8.0035        .17836E-03   -1.5257    
  15  Prefactor     .10113E-03    8.7071        .59269E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2514        7.0340        .16058E-03   -1.5208    
  18  Prefactor     .10000E-03    25.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.3736        3.7240        .10681E-03   -1.5203    
  20  Prefactor     43.608        32.954        .60719E-04   -1.4386    
  21  Prefactor     79.800        88.841        .44962E-04   -1.3919    
  22  Prefactor     107.26        65.462        .19418E-03   -1.3633    
  23  Normalizat    .93558        .23767        .25763E-03   -.95221    
  24  Prefactor     1.0081        .20988        .24194E-03   -.92459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22267e-09
Minuit parameter uncertainties:
  1  24.6059
  2  12.387
  3  14.4996
  4  0.00551298
  5  10.9794
  6  1.76502
  7  0.000276696
  8  15.0674
  9  3.92371
  10  4.71943e-06
  11  9.20599
  12  0.492108
  13  70.0685
  14  8.00517
  15  0.006277
  16  4.73855e-06
  17  7.03497
  18  4.27598e-06
  19  3.72412
  20  32.968
  21  88.9891
  22  65.5058
  23  0.237937
  24  0.210055
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.011e-04  6.277e-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:  1.008e+00  2.101e-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.356e-01  2.379e-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: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/630145/likelihoodResults_241920001_242179201_4FGL_J2300.7-2645_daily_bin10.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) = 6080.17285377
delta logL = -3.45373227901e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6080.17273636
delta logL = 8.28740085126e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35797E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6591       1.0000          .0000       10.000    
     3 'Normalizat'    .93544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0082       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=   6080.133     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      264 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27147        6.2725        .22331E-01    .17020E-02
   2  Index         3.6786        1.9363        .23013        .36953E-04
   3  Normalizat    .91862        .15480E-01    .45353E-01   -.64248E-04
   4  Prefactor     1.0165        .15112E-01    .43597E-01    .10959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.271473
  Index      = 3.67859
  Normalizat = 0.918618
  Prefactor  = 1.01647
 **********
 **   18 **HESSE 
 **********

 FCN=   6080.133     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      299 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     .27147        142.40        .10930E-02   -1.5604    
   2  Index         3.6786        8.1571        .90146E-02   -.26746    
   3  Normalizat    .91862        .11567        .25976E-03   -.95809    
   4  Prefactor     1.0165        .11055        .24105E-03   -.92183    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.47412e-07
Minuit parameter uncertainties:
  1  12.4627
  2  21.6924
  3  0.115704
  4  0.110579
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/630145': 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) = 6080.13253517
delta logL = 0.0402840644929

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  2.715e-01  1.246e+01  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  3.679e+00  2.169e+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:  1.016e+00  1.106e-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.186e-01  1.157e-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/630145/cmap_HighResolution_241920001_242179201_4FGL_J2300.7-2645_daily_bin10.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.90e-03', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2021-09-29 05:13:32.268147', job_id='630145', GAL2='1.02', fit_tolerance='1e-08', EG2='0.92', EG='0.94', time_epoch_completed='1632917612.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.03e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='10' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:13:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 630145: <4FGL_J2300.7-2645_daily_bin10> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin10 345.182 -26.7502 241920001 242179201 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 :                                   647.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            780 sec.

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

