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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin1380
RA = 345.182, Dec = -26.7502
tmin = 597024001, tmax = 597283201
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='638610', job_status='RUN', time_executed='2021-09-29 05:29:59.910293', time_epoch_executed='1632918599.91' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='1380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638610

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638610/ft1_4FGL_J2300.7-2645_daily_bin1380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638610/ft2_4FGL_J2300.7-2645_daily_bin1380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638610/ft1_4FGL_J2300.7-2645_daily_bin1380.fits outfile=/scratch/kocevski/638610/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1380.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=597024001.0 tmax=597283201.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.64
user 3.39
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638610/ft1_filtered_4FGL_J2300.7-2645_daily_bin1380.fits" evtable="EVENTS" scfile=/scratch/kocevski/638610/ft2_4FGL_J2300.7-2645_daily_bin1380.fits sctable="SC_DATA" outfile=/scratch/kocevski/638610/ltcube_597024001_597283201_4FGL_J2300.7-2645_daily_bin1380.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/638610/ft2_4FGL_J2300.7-2645_daily_bin1380.fits
.....................!
real 12.17
user 11.80
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638610/ft1_filtered_4FGL_J2300.7-2645_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/638610/ft2_4FGL_J2300.7-2645_daily_bin1380.fits sctable="SC_DATA" expcube=/scratch/kocevski/638610/ltcube_597024001_597283201_4FGL_J2300.7-2645_daily_bin1380.fits outfile=/scratch/kocevski/638610/expmap_597024001_597283201_4FGL_J2300.7-2645_daily_bin1380.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/638610/ltcube_597024001_597283201_4FGL_J2300.7-2645_daily_bin1380.fits
.....................!
real 193.05
user 187.51
sys 5.15

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J2300.7-2645 @ 345.182 -26.7502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638610/ft1_filtered_4FGL_J2300.7-2645_daily_bin1380.fits scfile=/scratch/kocevski/638610/ft2_4FGL_J2300.7-2645_daily_bin1380.fits outfile=/scratch/kocevski/638610/cmap_597024001_597283201_4FGL_J2300.7-2645_daily_bin1380.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/638610/ft1_filtered_4FGL_J2300.7-2645_daily_bin1380.fits scfile=/scratch/kocevski/638610/ft2_4FGL_J2300.7-2645_daily_bin1380.fits outfile=/scratch/kocevski/638610/cmap_HighResolution_597024001_597283201_4FGL_J2300.7-2645_daily_bin1380.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/638610/ft1_filtered_4FGL_J2300.7-2645_daily_bin1380.fits evtable="EVENTS" scfile=/scratch/kocevski/638610/ft2_4FGL_J2300.7-2645_daily_bin1380.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638610/Model_4FGL_J2300.7-2645_daily_bin1380.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/638610/ft1_filtered_4FGL_J2300.7-2645_daily_bin1380.fits.....................!
real 43.44
user 42.13
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.998       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    41.449       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.122       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.6187       1.0000         .10000E-03   10000.    
    12 'norm      '    .92736       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9654       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11222E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11514E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .29751       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5854       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96555       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0108       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=   4951.207     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     3376 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.000        18.307       -.13226E-06   -.21760E-05
   2  Prefactor     .10000E-03    4.5364        .24958E-06** at limit **
   3  norm          .10000E-03    10.706        .82750E-08** at limit **
   4  Prefactor     41.464        32.501       -.18081E-06    .51472E-04
   5  Prefactor     .10000E-03    13.947        .14753E-06** at limit **
   6  norm          .10000E-03    .81694        .32708E-07** at limit **
   7  Prefactor     .10000E-03    69.339        .40179E-06** at limit **
   8  Prefactor     20.127        14.169       -.24698E-06    .47244E-04
   9  norm          .10000E-03    1.1805       -.81374E-08** at limit **
  10  Prefactor     .10000E-03    12.176       -.34037E-07** at limit **
  11  Prefactor     9.6144        13.603       -.22793E-06    .49061E-03
  12  norm          .92646        .92976        .13877E-06    .19617E-02
  13  Prefactor     .10000E-03    16.315        .16102E-06** at limit **
  14  Prefactor     1.9663        21.900        .23145E-05    .90029E-04
  15  Prefactor     .10004E-03    9.6315       -.14086E-05** at limit **
  16  Prefactor     .10000E-03    48.717        .80510E-06** at limit **
  17  norm          .10000E-03    10.498        .54039E-06** at limit **
  18  Prefactor     .10000E-03    14.660        .38495E-08** at limit **
  19  norm          .29214        3.3338        .12953E-05   -.98647E-03
  20  Prefactor     6.5384        43.133        .71138E-05    .99395E-04
  21  Prefactor     .10000E-03    37.141       -.80299E-06** at limit **
  22  Prefactor     .10000E-03    20.362        .11534E-07** at limit **
  23  Normalizat    .96519        .21248        .31141E-05    .36816E-03
  24  Prefactor     1.0110        .19875       -.23335E-05    .34960E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9997
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 41.4644
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1271
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.61435
  norm       = 0.926464
  Prefactor  = 0.0001
  Prefactor  = 1.96632
  Prefactor  = 0.000100038
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.292135
  Prefactor  = 6.53843
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.96519
  Prefactor  = 1.01097
 **********
 **   18 **HESSE 
 **********

 FCN=   4951.207     FROM HESSE     STATUS=OK           393 CALLS     3769 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.000        18.308        .10342E-03   -1.4933    
   2  Prefactor     .10000E-03    4.5407        .14633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    10.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     41.464        32.515        .62264E-04   -1.4419    
   5  Prefactor     .10000E-03    14.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .82169        .62083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    69.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.127        14.205        .89288E-04   -1.4810    
   9  norm          .10000E-03    1.1815        .74613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.6144        13.793        .12921E-03   -1.5088    
  12  norm          .92646        .93226        .48005E-04   -1.5515    
  13  Prefactor     .10000E-03    16.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.9663        21.822        .29583E-03   -1.5428    
  15  Prefactor     .10004E-03    71.896        .36334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    48.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.941        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .29214        7.5709        .18233E-02   -1.5600    
  20  Prefactor     6.5384        50.113        .15638E-03   -1.5197    
  21  Prefactor     .10000E-03    37.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96519        .24233        .24403E-03   -.94206    
  24  Prefactor     1.0110        .22499        .23471E-03   -.92365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05909e-09
Minuit parameter uncertainties:
  1  18.315
  2  1.57772e-05
  3  1.28575e-05
  4  32.5293
  5  1.73917e-05
  6  6.08021e-07
  7  0.000105292
  8  14.2078
  9  6.56348e-07
  10  7.61792e-06
  11  13.7979
  12  0.932272
  13  4.30442e-05
  14  13.1067
  15  0.00332113
  16  0.000310683
  17  5.8469e-05
  18  1.55661e-05
  19  2.97429
  20  36.2448
  21  0.000298525
  22  2.75375e-06
  23  0.242602
  24  0.2252
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  3.321e-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.011e+00  2.252e-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.652e-01  2.426e-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: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638610/likelihoodResults_597024001_597283201_4FGL_J2300.7-2645_daily_bin1380.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) = 4951.20703168
delta logL = -6.55202584312e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4951.20692068
delta logL = 4.54798946521e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36484E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2287       1.0000          .0000       10.000    
     3 'Normalizat'    .96548       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0106       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=   4951.112     FROM MIGRAD    STATUS=CONVERGED    121 CALLS      290 TOTAL
                     EDM=   .78E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3483        13.890        .39212E-03    .19193E-04
   2  Index         1.6956        .97295        .14991E-01    .62329E-05
   3  Normalizat    .97011        .22121        .24342E-03    .41146E-04
   4  Prefactor     1.0014        .21883        .23553E-03    .18584E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.34828
  Index      = 1.69557
  Normalizat = 0.970106
  Prefactor  = 1.00143
 **********
 **   18 **HESSE 
 **********

 FCN=   4951.112     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .97E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3483        13.941        .15685E-04   -1.5245    
   2  Index         1.6956        .97700        .59966E-03   -.72200    
   3  Normalizat    .97011        .22142        .97368E-05   -.94039    
   4  Prefactor     1.0014        .21906        .94211E-05   -.92682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.72357e-12
Minuit parameter uncertainties:
  1  13.9498
  2  0.988389
  3  0.221628
  4  0.219255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638610': 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) = 4951.11195166
delta logL = 0.0950144958315

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  5.348e+00  1.395e+01  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  1.696e+00  9.884e-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.001e+00  2.193e-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.701e-01  2.216e-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/638610/cmap_HighResolution_597024001_597283201_4FGL_J2300.7-2645_daily_bin1380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-29 05:40:33.340862', job_id='638610', GAL2='1.00', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632919233.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='9.50e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1380' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:40:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 638610: <4FGL_J2300.7-2645_daily_bin1380> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin1380> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 05:25:51 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:25:52 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:25:52 2021
Terminated at Wed Sep 29 05:40:34 2021
Results reported at Wed Sep 29 05:40:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin1380 345.182 -26.7502 597024001 597283201 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 :                                   630.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             253.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

