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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin1100
RA = 345.182, Dec = -26.7502
tmin = 524448001, tmax = 524707201
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='638212', job_status='RUN', time_executed='2021-09-29 05:26:22.922429', time_epoch_executed='1632918382.92' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='1100'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638212

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638212/ft1_4FGL_J2300.7-2645_daily_bin1100.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638212/ft2_4FGL_J2300.7-2645_daily_bin1100.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638212/ft1_4FGL_J2300.7-2645_daily_bin1100.fits outfile=/scratch/kocevski/638212/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1100.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=524448001.0 tmax=524707201.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.41
user 3.21
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638212/ft2_4FGL_J2300.7-2645_daily_bin1100.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/638212/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1100.fits evtable="EVENTS" outfile="/scratch/kocevski/638212/ft1_filtered_4FGL_J2300.7-2645_daily_bin1100.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638212/ft1_filtered_4FGL_J2300.7-2645_daily_bin1100.fits" evtable="EVENTS" scfile=/scratch/kocevski/638212/ft2_4FGL_J2300.7-2645_daily_bin1100.fits sctable="SC_DATA" outfile=/scratch/kocevski/638212/ltcube_524448001_524707201_4FGL_J2300.7-2645_daily_bin1100.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/638212/ft2_4FGL_J2300.7-2645_daily_bin1100.fits
.....................!
real 11.98
user 11.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638212/ft1_filtered_4FGL_J2300.7-2645_daily_bin1100.fits evtable="EVENTS" scfile=/scratch/kocevski/638212/ft2_4FGL_J2300.7-2645_daily_bin1100.fits sctable="SC_DATA" expcube=/scratch/kocevski/638212/ltcube_524448001_524707201_4FGL_J2300.7-2645_daily_bin1100.fits outfile=/scratch/kocevski/638212/expmap_524448001_524707201_4FGL_J2300.7-2645_daily_bin1100.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/638212/ltcube_524448001_524707201_4FGL_J2300.7-2645_daily_bin1100.fits
.....................!
real 191.17
user 185.53
sys 5.29

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/638212/ft1_filtered_4FGL_J2300.7-2645_daily_bin1100.fits scfile=/scratch/kocevski/638212/ft2_4FGL_J2300.7-2645_daily_bin1100.fits outfile=/scratch/kocevski/638212/cmap_524448001_524707201_4FGL_J2300.7-2645_daily_bin1100.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638212/ft1_filtered_4FGL_J2300.7-2645_daily_bin1100.fits scfile=/scratch/kocevski/638212/ft2_4FGL_J2300.7-2645_daily_bin1100.fits outfile=/scratch/kocevski/638212/cmap_HighResolution_524448001_524707201_4FGL_J2300.7-2645_daily_bin1100.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/638212/ft1_filtered_4FGL_J2300.7-2645_daily_bin1100.fits evtable="EVENTS" scfile=/scratch/kocevski/638212/ft2_4FGL_J2300.7-2645_daily_bin1100.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638212/Model_4FGL_J2300.7-2645_daily_bin1100.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/638212/ft1_filtered_4FGL_J2300.7-2645_daily_bin1100.fits.....................!
real 46.66
user 45.36
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2277       1.0000         .10000E-03   10000.    
     3 'norm      '    11.419       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .90545       1.0000         .10000E-03   10000.    
     6 'norm      '    .57509       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.876       1.0000         .10000E-03   10000.    
     9 'norm      '    4.4624       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9990       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0660       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.8365       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.9911       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.236       1.0000         .10000E-03   10000.    
    19 'norm      '    .82228       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1939       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .61659       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2809       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=   5996.222     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2370 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8777       -.61738E-06** at limit **
   2  Prefactor     2.2278        6.1181       -.64765E-06   -.20616E-06
   3  norm          11.418        21.873        .45033E-06    .17028E-05
   4  Prefactor     .10000E-03    11.223       -.21826E-05** at limit **
   5  Prefactor     .90515        1.2650        .66440E-07   -.20199E-03
   6  norm          .57506        1.8253        .13565E-06    .37218E-04
   7  Prefactor     .10000E-03    51.369       -.13722E-05** at limit **
   8  Prefactor     11.877        10.010       -.16951E-06   -.15752E-04
   9  norm          4.4625        3.0295        .60494E-07    .11353E-04
  10  Prefactor     .10000E-03    26.316        .19204E-06** at limit **
  11  Prefactor     .10000E-03    4.8155       -.31144E-06** at limit **
  12  norm          2.9990        .78350        .57911E-08    .86490E-04
  13  Prefactor     .10000E-03    97.680        .17701E-04** at limit **
  14  Prefactor     1.0660        11.276       -.25023E-05    .44893E-05
  15  Prefactor     3.8361        7.6983        .26967E-06   -.50352E-04
  16  Prefactor     .10000E-03    11.000        .24103E-05** at limit **
  17  norm          3.9909        6.3087       -.66144E-06   -.30670E-04
  18  Prefactor     12.249        33.485        .11320E-04    .14397E-05
  19  norm          .82205        2.5718        .14494E-06    .71600E-04
  20  Prefactor     1.1852        50.566       -.22842E-05    .50954E-05
  21  Prefactor     .10000E-03    106.97       -.17491E-04** at limit **
  22  Prefactor     .10000E-03    14.331        .49192E-06** at limit **
  23  Normalizat    .61652        .16783       -.15903E-05    .62731E-04
  24  Prefactor     1.2810        .17014        .57766E-06   -.37042E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.22782
  norm       = 11.4182
  Prefactor  = 0.0001
  Prefactor  = 0.905152
  norm       = 0.575062
  Prefactor  = 0.0001
  Prefactor  = 11.877
  norm       = 4.46248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.99902
  Prefactor  = 0.0001
  Prefactor  = 1.06596
  Prefactor  = 3.83613
  Prefactor  = 0.0001
  norm       = 3.99086
  Prefactor  = 12.2492
  norm       = 0.822052
  Prefactor  = 1.18517
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.616519
  Prefactor  = 1.281
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.222     FROM HESSE     STATUS=OK           407 CALLS     2777 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2278        6.0963        .27546E-03   -1.5409    
   3  norm          11.418        21.792        .11855E-03   -1.5032    
   4  Prefactor     .10000E-03    11.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .90515        8.0969        .66571E-01   -1.5518    
   6  norm          .57506        1.8012        .17567E-03   -1.5556    
   7  Prefactor     .10000E-03    51.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.877        10.057        .11625E-03   -1.5019    
   9  norm          4.4625        3.0311        .10664E-03   -1.5285    
  10  Prefactor     .10000E-03    27.077        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.8525        .16547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9990        .78306        .31838E-04   -1.5362    
  13  Prefactor     .10000E-03    98.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0660        11.434        .47226E-03   -1.5501    
  15  Prefactor     3.8361        7.7719        .10302E-02   -1.5316    
  16  Prefactor     .10000E-03    11.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.9909        6.3029        .20188E-03   -1.5308    
  18  Prefactor     12.249        33.560        .11452E-03   -1.5008    
  19  norm          .82205        2.5554        .20404E-03   -1.5527    
  20  Prefactor     1.1852        50.624        .41638E-03   -1.5490    
  21  Prefactor     .10000E-03    107.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .61652        .19951        .28099E-03   -1.0729    
  24  Prefactor     1.2810        .20283        .21034E-03   -.83874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86182e-10
Minuit parameter uncertainties:
  1  5.13385e-06
  2  6.09804
  3  21.807
  4  1.06429e-05
  5  5.41508
  6  1.80138
  7  8.29997e-06
  8  10.0586
  9  3.03125
  10  1.44483e-05
  11  7.89878e-07
  12  0.783064
  13  9.05336e-05
  14  6.98357
  15  7.77389
  16  1.30833e-06
  17  6.30399
  18  33.6117
  19  2.55577
  20  15.5051
  21  0.000100194
  22  4.11946e-07
  23  0.199746
  24  0.202956
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  3.836e+00  7.774e+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:  1.281e+00  2.030e-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:  6.165e-01  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/638212/likelihoodResults_524448001_524707201_4FGL_J2300.7-2645_daily_bin1100.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) = 5996.18757233
delta logL = 0.0342660560864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.18521839
delta logL = 0.0366199972241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4182       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1094       1.0000          .0000       10.000    
     3 'Normalizat'    .62009       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2783       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=   5996.185     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      270 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4197        10.699        .17263E-03   -.63319E-03
   2  Index         2.1106        1.0262        .10989E-01   -.17251E-03
   3  Normalizat    .62041        .19050        .28018E-03    .34587E-03
   4  Prefactor     1.2781        .19978        .21053E-03    .53346E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.4197
  Index      = 2.11063
  Normalizat = 0.620405
  Prefactor  = 1.27806
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.185     FROM HESSE     STATUS=OK            23 CALLS      293 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4197        10.411        .69054E-05   -1.5242    
   2  Index         2.1106        .99913        .43957E-03   -.61612    
   3  Normalizat    .62041        .19060        .11207E-04   -1.0712    
   4  Prefactor     1.2781        .19990        .42106E-04   -.83962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22628e-09
Minuit parameter uncertainties:
  1  10.4141
  2  1.0094
  3  0.1908
  4  0.200024
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638212': 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) = 5996.18521571
delta logL = 0.0366226732122

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  5.420e+00  1.041e+01  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.111e+00  1.009e+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:  1.278e+00  2.000e-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:  6.204e-01  1.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
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/638212/cmap_HighResolution_524448001_524707201_4FGL_J2300.7-2645_daily_bin1100.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.72e-03', job_status='DONE', photon_flux_upper_limit='8.69e-08', time_completed='2021-09-29 05:37:07.088698', job_id='638212', GAL2='1.28', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1632919027.09', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='3.66e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1100' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:37:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 638212: <4FGL_J2300.7-2645_daily_bin1100> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin1100> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 05:25:17 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:25:19 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:19 2021
Terminated at Wed Sep 29 05:37:07 2021
Results reported at Wed Sep 29 05:37:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin1100 345.182 -26.7502 524448001 524707201 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.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            710 sec.

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

