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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin14
RA = 345.182, Dec = -26.7502
tmin = 242956801, tmax = 243216001
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='630151', job_status='RUN', time_executed='2021-09-29 05:03:38.487838', time_epoch_executed='1632917018.49' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='14'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/630151

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/630151/ft1_4FGL_J2300.7-2645_daily_bin14.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/630151/ft2_4FGL_J2300.7-2645_daily_bin14.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/630151/ft1_4FGL_J2300.7-2645_daily_bin14.fits outfile=/scratch/kocevski/630151/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin14.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=242956801.0 tmax=243216001.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.23
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/630151/ft1_filtered_4FGL_J2300.7-2645_daily_bin14.fits" evtable="EVENTS" scfile=/scratch/kocevski/630151/ft2_4FGL_J2300.7-2645_daily_bin14.fits sctable="SC_DATA" outfile=/scratch/kocevski/630151/ltcube_242956801_243216001_4FGL_J2300.7-2645_daily_bin14.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/630151/ft2_4FGL_J2300.7-2645_daily_bin14.fits
.....................!
real 12.47
user 12.10
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/630151/ft1_filtered_4FGL_J2300.7-2645_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/630151/ft2_4FGL_J2300.7-2645_daily_bin14.fits sctable="SC_DATA" expcube=/scratch/kocevski/630151/ltcube_242956801_243216001_4FGL_J2300.7-2645_daily_bin14.fits outfile=/scratch/kocevski/630151/expmap_242956801_243216001_4FGL_J2300.7-2645_daily_bin14.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/630151/ltcube_242956801_243216001_4FGL_J2300.7-2645_daily_bin14.fits
.....................!
real 191.71
user 186.74
sys 4.66

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/630151/ft1_filtered_4FGL_J2300.7-2645_daily_bin14.fits scfile=/scratch/kocevski/630151/ft2_4FGL_J2300.7-2645_daily_bin14.fits outfile=/scratch/kocevski/630151/cmap_242956801_243216001_4FGL_J2300.7-2645_daily_bin14.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/630151/ft1_filtered_4FGL_J2300.7-2645_daily_bin14.fits scfile=/scratch/kocevski/630151/ft2_4FGL_J2300.7-2645_daily_bin14.fits outfile=/scratch/kocevski/630151/cmap_HighResolution_242956801_243216001_4FGL_J2300.7-2645_daily_bin14.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/630151/ft1_filtered_4FGL_J2300.7-2645_daily_bin14.fits evtable="EVENTS" scfile=/scratch/kocevski/630151/ft2_4FGL_J2300.7-2645_daily_bin14.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/630151/Model_4FGL_J2300.7-2645_daily_bin14.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/630151/ft1_filtered_4FGL_J2300.7-2645_daily_bin14.fits....................!
real 45.37
user 44.12
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.644       1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.383       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9562       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.9794       1.0000         .10000E-03   10000.    
     9 'norm      '    8.1634       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11920E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .97342       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.000       1.0000         .10000E-03   10000.    
    17 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.363       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.4649       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1644       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86667       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=   5584.969     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2365 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.008       -.60491E-06** at limit **
   2  Prefactor     .10000E-03    3.1735        .47857E-07** at limit **
   3  norm          15.644        18.103       -.47841E-06    .10493E-07
   4  Prefactor     44.383        25.225       -.11788E-06    .36866E-05
   5  Prefactor     6.9563        11.113       -.42210E-06   -.55575E-04
   6  norm          .10000E-03    .62877        .16244E-08** at limit **
   7  Prefactor     .10000E-03    13.027       -.41034E-05** at limit **
   8  Prefactor     9.9807        12.802       -.51621E-06   -.40190E-04
   9  norm          8.1635        4.3048       -.29020E-08    .90210E-04
  10  Prefactor     .10000E-03    4.4175        .10423E-07** at limit **
  11  Prefactor     .10000E-03    6.7660       -.13753E-06** at limit **
  12  norm          .10000E-03    .45180       -.25095E-07** at limit **
  13  Prefactor     .10000E-03    39.397       -.62223E-06** at limit **
  14  Prefactor     .96624        8.3203       -.18396E-05   -.19442E-03
  15  Prefactor     .10000E-03    3.1391       -.84530E-07** at limit **
  16  Prefactor     10.999        27.766       -.21511E-05   -.24444E-05
  17  norm          .10000E-03    12.146        .41438E-05** at limit **
  18  Prefactor     .10000E-03    24.156       -.91297E-06** at limit **
  19  norm          .10000E-03    1.3209        .89671E-07** at limit **
  20  Prefactor     12.358        29.124       -.70491E-05   -.83417E-05
  21  Prefactor     .10000E-03    24.609        .16789E-05** at limit **
  22  Prefactor     2.4615        84.684       -.12411E-04   -.26651E-04
  23  Normalizat    1.1643        .18816        .10517E-05    .61767E-04
  24  Prefactor     .86678        .17642        .28037E-06    .11168E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.6436
  Prefactor  = 44.3835
  Prefactor  = 6.95628
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.98069
  norm       = 8.16355
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.966238
  Prefactor  = 0.0001
  Prefactor  = 10.9989
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.3584
  Prefactor  = 0.0001
  Prefactor  = 2.46149
  Normalizat = 1.16426
  Prefactor  = 0.866777
 **********
 **   18 **HESSE 
 **********

 FCN=   5584.969     FROM HESSE     STATUS=OK           399 CALLS     2764 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.1767        .13001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.644        18.121        .10126E-03   -1.4917    
   4  Prefactor     44.383        25.223        .60179E-04   -1.4375    
   5  Prefactor     6.9563        11.144        .15211E-03   -1.5180    
   6  norm          .10000E-03    .63449        .57855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.9807        12.885        .12685E-03   -1.5076    
   9  norm          8.1635        4.1031        .10352E-03   -1.5136    
  10  Prefactor     .10000E-03    4.4210        .15331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    24.064        .33157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.4487        .87467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .96624        21.881        .42149E-02   -1.5511    
  15  Prefactor     .10000E-03    3.1451        .12922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.999        27.797        .12080E-03   -1.5045    
  17  norm          .10000E-03    12.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.3381        .83822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.358        29.212        .11393E-03   -1.5005    
  21  Prefactor     .10000E-03    24.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.4615        87.287        .26048E-03   -1.5394    
  23  Normalizat    1.1643        .22638        .22776E-03   -.87715    
  24  Prefactor     .86678        .21364        .25057E-03   -.97312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31948e-10
Minuit parameter uncertainties:
  1  7.22172e-06
  2  1.30277e-06
  3  18.1277
  4  25.2292
  5  11.1472
  6  1.13233e-07
  7  9.75525e-07
  8  12.8881
  9  4.1032
  10  7.56951e-07
  11  0.000103236
  12  3.41948e-06
  13  1.7057e-05
  14  9.19953
  15  1.07637e-06
  16  27.8292
  17  5.48821e-05
  18  1.47632e-05
  19  9.62438e-06
  20  29.246
  21  1.01067e-05
  22  29.3619
  23  0.226574
  24  0.213842
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  1.076e-06  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.668e-01  2.138e-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:  1.164e+00  2.266e-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: 5.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/630151/likelihoodResults_242956801_243216001_4FGL_J2300.7-2645_daily_bin14.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) = 5584.97013498
delta logL = -0.00150785633832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5584.9686271
delta logL = 3.20296749123e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3942       1.0000          .0000       10.000    
     3 'Normalizat'    1.1643       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86680       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=   5584.969     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      248 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6140        .12991E-02** at limit **
   2  Index         2.3830        6.1484        .50000        .30618E-04
   3  Normalizat    1.1643        .21527        .22776E-03   -.22462E-05
   4  Prefactor     .86678        .20861        .25057E-03    .25862E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.38296
  Normalizat = 1.16426
  Prefactor  = 0.866776
 **********
 **   18 **HESSE 
 **********

 FCN=   5584.969     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2303        .25981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3830        6.1913        .50000       -.55085    
   3  Normalizat    1.1643        .21556        .91103E-05   -.87715    
   4  Prefactor     .86678        .20889        .10023E-04   -.97312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87099e-09
Minuit parameter uncertainties:
  1  0.000168265
  2  4.29808
  3  0.215727
  4  0.209082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/630151': 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) = 5584.96862696
delta logL = 1.63399818121e-07

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  1.683e-04  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.383e+00  4.298e+00  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.668e-01  2.091e-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:  1.164e+00  2.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/630151/cmap_HighResolution_242956801_243216001_4FGL_J2300.7-2645_daily_bin14.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.32e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2021-09-29 05:13:26.341548', job_id='630151', GAL2='0.87', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1632917606.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.63e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='14' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:13:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 630151: <4FGL_J2300.7-2645_daily_bin14> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin14 345.182 -26.7502 242956801 243216001 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 :                                   587.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

