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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin996
RA = 345.182, Dec = -26.7502
tmin = 497491201, tmax = 497750401
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='636175', job_status='RUN', time_executed='2021-09-29 05:20:59.987478', time_epoch_executed='1632918059.99' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='996'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/636175

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/636175/ft1_4FGL_J2300.7-2645_daily_bin996.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/636175/ft2_4FGL_J2300.7-2645_daily_bin996.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/636175/ft1_4FGL_J2300.7-2645_daily_bin996.fits outfile=/scratch/kocevski/636175/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin996.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=497491201.0 tmax=497750401.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.94
user 3.72
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/636175/ft2_4FGL_J2300.7-2645_daily_bin996.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/636175/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin996.fits evtable="EVENTS" outfile="/scratch/kocevski/636175/ft1_filtered_4FGL_J2300.7-2645_daily_bin996.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/636175/ft1_filtered_4FGL_J2300.7-2645_daily_bin996.fits" evtable="EVENTS" scfile=/scratch/kocevski/636175/ft2_4FGL_J2300.7-2645_daily_bin996.fits sctable="SC_DATA" outfile=/scratch/kocevski/636175/ltcube_497491201_497750401_4FGL_J2300.7-2645_daily_bin996.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/636175/ft2_4FGL_J2300.7-2645_daily_bin996.fits
.....................!
real 12.32
user 11.98
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/636175/ft1_filtered_4FGL_J2300.7-2645_daily_bin996.fits evtable="EVENTS" scfile=/scratch/kocevski/636175/ft2_4FGL_J2300.7-2645_daily_bin996.fits sctable="SC_DATA" expcube=/scratch/kocevski/636175/ltcube_497491201_497750401_4FGL_J2300.7-2645_daily_bin996.fits outfile=/scratch/kocevski/636175/expmap_497491201_497750401_4FGL_J2300.7-2645_daily_bin996.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/636175/ltcube_497491201_497750401_4FGL_J2300.7-2645_daily_bin996.fits
.....................!
real 192.88
user 187.92
sys 4.53

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/636175/ft1_filtered_4FGL_J2300.7-2645_daily_bin996.fits scfile=/scratch/kocevski/636175/ft2_4FGL_J2300.7-2645_daily_bin996.fits outfile=/scratch/kocevski/636175/cmap_497491201_497750401_4FGL_J2300.7-2645_daily_bin996.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/636175/ft1_filtered_4FGL_J2300.7-2645_daily_bin996.fits scfile=/scratch/kocevski/636175/ft2_4FGL_J2300.7-2645_daily_bin996.fits outfile=/scratch/kocevski/636175/cmap_HighResolution_497491201_497750401_4FGL_J2300.7-2645_daily_bin996.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/636175/ft1_filtered_4FGL_J2300.7-2645_daily_bin996.fits evtable="EVENTS" scfile=/scratch/kocevski/636175/ft2_4FGL_J2300.7-2645_daily_bin996.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/636175/Model_4FGL_J2300.7-2645_daily_bin996.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/636175/ft1_filtered_4FGL_J2300.7-2645_daily_bin996.fits.....................!
real 48.79
user 47.43
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4441       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .63832E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    39.578       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.732       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .35501E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .61550       1.0000         .10000E-03   10000.    
     7 'Prefactor '    43.487       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.0311       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.139       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.094       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4351       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.396       1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.845       1.0000         .10000E-03   10000.    
    19 'norm      '    1.2184       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1574       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77758       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97427       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6181.149     FROM MIGRAD    STATUS=CONVERGED     69 CALLS     2326 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4437        1.0019        .11144E-07   -.49980E-06
   2  Prefactor     .10011E-03    1.9356       -.25459E-05** at limit **
   3  norm          39.578        1.0004       -.11433E-08   -.82943E-05
   4  Prefactor     14.736        1.1189        .41064E-06   -.16318E-02
   5  Prefactor     .28393E-03    .65511       -.43760E-05** at limit **
   6  norm          .61596        1.9951        .47335E-06    .18225E-03
   7  Prefactor     43.488        1.0209        .10323E-06   -.14052E-02
   8  Prefactor     .10000E-03    1.9486        .32731E-06** at limit **
   9  norm          5.0315        3.5186       -.24680E-05   -.23563E-03
  10  Prefactor     .10000E-03    3.7801       -.15462E-05** at limit **
  11  Prefactor     .10000E-03    6.6234       -.15741E-04** at limit **
  12  norm          .10000E-03    .26745       -.41814E-06** at limit **
  13  Prefactor     11.138        1.0188       -.20244E-06    .73877E-03
  14  Prefactor     13.093        1.0087       -.50057E-07    .20807E-03
  15  Prefactor     6.4363        1.0966        .96694E-07   -.20337E-03
  16  Prefactor     17.395        1.0016       -.36397E-07    .19523E-03
  17  norm          .10000E-03    6.0661        .94018E-05** at limit **
  18  Prefactor     31.844        1.0103       -.89089E-07    .95464E-03
  19  norm          1.2182        2.4048       -.51911E-07   -.24949E-04
  20  Prefactor     1.1562        1.1753       -.65934E-06    .17863E-03
  21  Prefactor     .10001E-03    26.783       -.27118E-05** at limit **
  22  Prefactor     .10000E-03    9.9151        .39033E-05** at limit **
  23  Normalizat    .77745        .17726       -.11093E-05    .13830E-03
  24  Prefactor     .97446        .18166        .88501E-06    .13981E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.44367
  Prefactor  = 0.000100112
  norm       = 39.5778
  Prefactor  = 14.7361
  Prefactor  = 0.000283928
  norm       = 0.615956
  Prefactor  = 43.4877
  Prefactor  = 0.0001
  norm       = 5.03146
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 11.138
  Prefactor  = 13.0928
  Prefactor  = 6.43631
  Prefactor  = 17.3953
  norm       = 0.000100001
  Prefactor  = 31.8439
  norm       = 1.21824
  Prefactor  = 1.15624
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Normalizat = 0.777453
  Prefactor  = 0.97446
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.149     FROM HESSE     STATUS=OK           467 CALLS     2793 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4437        10.825        .32602E-02   -1.5093    
   2  Prefactor     .10011E-03    6.5489        .65972E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          39.578        22.400        .15928E-02   -1.4449    
   4  Prefactor     14.736        15.389        .26088E-02   -1.4940    
   5  Prefactor     .28393E-03    6.8553        .64065E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .61596        4.8441        .11734E-01   -1.5551    
   7  Prefactor     43.488        66.312        .15198E-02   -1.4388    
   8  Prefactor     .10000E-03    1.9479        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.0315        3.6304        .44819E-02   -1.5259    
  10  Prefactor     .10000E-03    3.7774        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.4958        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .19256        .16437E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.138        32.664        .30010E-02   -1.5040    
  14  Prefactor     13.093        12.530        .27673E-02   -1.4984    
  15  Prefactor     6.4363        6.6242        .39554E-02   -1.5201    
  16  Prefactor     17.395        16.724        .24007E-02   -1.4874    
  17  norm          .10000E-03    5.8555        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     31.844        38.079        .17751E-02   -1.4579    
  19  norm          1.2182        2.7419        .10222E-01   -1.5487    
  20  Prefactor     1.1562        117.58        .10722E-01   -1.5493    
  21  Prefactor     .10001E-03    27.898        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.9304        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77745        .16109        .43317E-01   -1.0091    
  24  Prefactor     .97446        .15508        .45945E-01   -.93586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.24747e-08
Minuit parameter uncertainties:
  1  10.8273
  2  0.00171325
  3  22.4046
  4  15.3928
  5  0.0710257
  6  3.45482
  7  66.4245
  8  3.89643e-06
  9  3.63059
  10  1.14352e-05
  11  0.000189473
  12  2.33897e-06
  13  32.716
  14  12.5324
  15  6.62495
  16  16.7289
  17  0.000118995
  18  38.1084
  19  2.74214
  20  23.3659
  21  0.000912299
  22  0.000131151
  23  0.161185
  24  0.155146
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  6.436e+00  6.625e+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

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.745e-01  1.551e-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:  7.775e-01  1.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.51
Ra Dec: 345.182 -26.750
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 2.47e-08 +/- 2.54e-08
Energy Flux (Fixed Index): 8.05e-06 +/- 8.29e-06

TS (Fixed Index): 1.51
Ra Dec: 345.182 -26.750
Photon Flux Upper Limit: 8.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/636175/likelihoodResults_497491201_497750401_4FGL_J2300.7-2645_daily_bin996.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) = 6181.07278256
delta logL = 0.0765186532544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6181.07086786
delta logL = 0.0784333525517

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3755       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7055       1.0000          .0000       10.000    
     3 'Normalizat'    .77048       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97862       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=   6181.071     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      234 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3756        115.98        .48137E-02    .28057E-03
   2  Index         2.7061        3.6744        .12428        .13147E-03
   3  Normalizat    .77048        .55487E-01    .43224E-01    .17781E-04
   4  Prefactor     .97866        .52150E-01    .45999E-01    .69000E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.37556
  Index      = 2.70612
  Normalizat = 0.770484
  Prefactor  = 0.978659
 **********
 **   18 **HESSE 
 **********

 FCN=   6181.071     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3756        8.0973        .14698E-03   -1.5290    
   2  Index         2.7061        .93748        .66147E-02   -.47662    
   3  Normalizat    .77048        .17840        .23655E-03   -1.0117    
   4  Prefactor     .97866        .18178        .21663E-03   -.93444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63666e-11
Minuit parameter uncertainties:
  1  8.09928
  2  0.944581
  3  0.178538
  4  0.181894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/636175': 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) = 6181.07086661
delta logL = 0.0784346053215

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  4.376e+00  8.099e+00  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.706e+00  9.446e-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.787e-01  1.819e-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:  7.705e-01  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 345.182 -26.750
Photon Index (Free Index): 2.71 +/- 0.94
Photon Flux (Free Index): 3.04e-08 +/- 2.99e-08
Energy Flux (Free Index): 7.29e-06 +/- 7.44e-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/636175/cmap_HighResolution_497491201_497750401_4FGL_J2300.7-2645_daily_bin996.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', comment='SUCCESS', photon_flux='2.47e-08', energy_flux2='7.29e-06', photon_flux_error='2.54e-08', dlogl='7.84e-02', energy_flux='8.05e-06', photon_flux2='3.04e-08', job_status='DONE', time_completed='2021-09-29 05:31:58.076178', photon_index_error2='0.94', photon_index2='2.71', ts='1.51', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='8.12e-08', energy_flux_error2='7.44e-06', EG='0.78', time_epoch_completed='1632918718.08', return_code='0', job_id='636175', GAL2='0.98', EG2='0.77', return_code2='0', energy_flux_error='8.29e-06', photon_flux_error2='2.99e-08', ts2='1.67', photon_index='2.41' WHERE bin_id='996' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:31:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 636175: <4FGL_J2300.7-2645_daily_bin996> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin996> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 05:20:46 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:20:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 05:20:48 2021
Terminated at Wed Sep 29 05:31:58 2021
Results reported at Wed Sep 29 05:31:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin996 345.182 -26.7502 497491201 497750401 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 :                                   651.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            672 sec.

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

