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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin59
RA = 345.182, Dec = -26.7502
tmin = 254620801, tmax = 254880001
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='631279', job_status='RUN', time_executed='2021-09-29 05:07:48.577747', time_epoch_executed='1632917268.58' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='59'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631279

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631279/ft1_4FGL_J2300.7-2645_daily_bin59.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631279/ft2_4FGL_J2300.7-2645_daily_bin59.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631279/ft1_4FGL_J2300.7-2645_daily_bin59.fits outfile=/scratch/kocevski/631279/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin59.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=254620801.0 tmax=254880001.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.34
user 1.16
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631279/ft1_filtered_4FGL_J2300.7-2645_daily_bin59.fits" evtable="EVENTS" scfile=/scratch/kocevski/631279/ft2_4FGL_J2300.7-2645_daily_bin59.fits sctable="SC_DATA" outfile=/scratch/kocevski/631279/ltcube_254620801_254880001_4FGL_J2300.7-2645_daily_bin59.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/631279/ft2_4FGL_J2300.7-2645_daily_bin59.fits
.....................!
real 11.99
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631279/ft1_filtered_4FGL_J2300.7-2645_daily_bin59.fits evtable="EVENTS" scfile=/scratch/kocevski/631279/ft2_4FGL_J2300.7-2645_daily_bin59.fits sctable="SC_DATA" expcube=/scratch/kocevski/631279/ltcube_254620801_254880001_4FGL_J2300.7-2645_daily_bin59.fits outfile=/scratch/kocevski/631279/expmap_254620801_254880001_4FGL_J2300.7-2645_daily_bin59.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/631279/ltcube_254620801_254880001_4FGL_J2300.7-2645_daily_bin59.fits
.....................!
real 191.36
user 185.37
sys 5.63

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

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

This is gtbin version HEAD
real 0.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631279/ft1_filtered_4FGL_J2300.7-2645_daily_bin59.fits scfile=/scratch/kocevski/631279/ft2_4FGL_J2300.7-2645_daily_bin59.fits outfile=/scratch/kocevski/631279/cmap_HighResolution_254620801_254880001_4FGL_J2300.7-2645_daily_bin59.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631279/ft1_filtered_4FGL_J2300.7-2645_daily_bin59.fits evtable="EVENTS" scfile=/scratch/kocevski/631279/ft2_4FGL_J2300.7-2645_daily_bin59.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631279/Model_4FGL_J2300.7-2645_daily_bin59.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/631279/ft1_filtered_4FGL_J2300.7-2645_daily_bin59.fits.....................!
real 49.21
user 47.91
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.159       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.2254       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.7758       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.3208       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .32622E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .97875       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.364       1.0000         .10000E-03   10000.    
    17 'norm      '    30.522       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.499       1.0000         .10000E-03   10000.    
    19 'norm      '    .20697E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.544       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94121       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98992       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=   6130.172     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2745 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.157        14.352       -.57967E-06   -.23783E-04
   2  Prefactor     .10000E-03    3.3258       -.23282E-07** at limit **
   3  norm          .10000E-03    6.4121       -.23914E-06** at limit **
   4  Prefactor     5.2248        12.218       -.61360E-06   -.55553E-04
   5  Prefactor     .10000E-03    4.6622       -.41806E-07** at limit **
   6  norm          1.7745        1.5536       -.41413E-07    .48310E-04
   7  Prefactor     .10000E-03    50.141        .31858E-06** at limit **
   8  Prefactor     .10000E-03    3.0994       -.18039E-07** at limit **
   9  norm          3.3218        3.1126       -.49128E-07    .13377E-03
  10  Prefactor     .10000E-03    9.4726       -.49626E-06** at limit **
  11  Prefactor     .10002E-03    3.8145       -.75795E-06** at limit **
  12  norm          .97942        .59936        .11769E-07    .17089E-02
  13  Prefactor     .10000E-03    50.615        .12481E-05** at limit **
  14  Prefactor     .10000E-03    8.2218        .19174E-06** at limit **
  15  Prefactor     .10000E-03    5.0257        .13089E-07** at limit **
  16  Prefactor     15.365        15.368       -.77879E-07    .11304E-04
  17  norm          30.524        10.990        .19711E-05    .43337E-05
  18  Prefactor     21.334        43.692        .10911E-04    .67570E-05
  19  norm          .10000E-03    1.3277       -.48689E-07** at limit **
  20  Prefactor     .10000E-03    11.201        .56987E-06** at limit **
  21  Prefactor     .10000E-03    47.218       -.19662E-05** at limit **
  22  Prefactor     24.460        56.693       -.46560E-04    .12257E-05
  23  Normalizat    .94175        .17024        .56060E-06    .16466E-03
  24  Prefactor     .98941        .16728        .54272E-06    .12558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1568
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.22484
  Prefactor  = 0.0001
  norm       = 1.77447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.32182
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  norm       = 0.97942
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.3647
  norm       = 30.5242
  Prefactor  = 21.3344
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.46
  Normalizat = 0.941751
  Prefactor  = 0.989407
 **********
 **   18 **HESSE 
 **********

 FCN=   6130.172     FROM HESSE     STATUS=OK           399 CALLS     3144 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.157        14.346        .12572E-03   -1.5070    
   2  Prefactor     .10000E-03    3.3335        .13944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    6.4210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.2248        12.209        .17585E-03   -1.5251    
   5  Prefactor     .10000E-03    4.6937        .16507E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7745        1.5464        .88480E-04   -1.5442    
   7  Prefactor     .10000E-03    50.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.1080        .13460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.3218        3.0861        .12458E-03   -1.5343    
  10  Prefactor     .10000E-03    9.5568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    18.744        .25775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .97942        .53688        .40057E-04   -1.5510    
  13  Prefactor     .10000E-03    50.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.3133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0575        .17114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.365        15.370        .10218E-03   -1.4924    
  17  norm          30.524        10.987        .72523E-04   -1.4602    
  18  Prefactor     21.334        43.799        .86385E-04   -1.4784    
  19  norm          .10000E-03    6.2586        .17340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    47.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.460        56.768        .80856E-04   -1.4718    
  23  Normalizat    .94175        .20389        .23477E-03   -.95008    
  24  Prefactor     .98941        .20233        .23014E-03   -.93083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43587e-10
Minuit parameter uncertainties:
  1  14.3505
  2  2.035e-06
  3  1.91373e-06
  4  12.2149
  5  4.93676e-06
  6  1.54648
  7  1.95006e-05
  8  2.99899e-06
  9  3.08627
  10  1.29354e-05
  11  0.00109482
  12  0.536878
  13  5.81169e-05
  14  1.28055e-05
  15  2.26441e-06
  16  15.3743
  17  10.9877
  18  43.8654
  19  5.97252e-05
  20  4.29759e-07
  21  7.52344e-05
  22  56.8939
  23  0.204059
  24  0.20249
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  2.264e-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:  9.894e-01  2.025e-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.418e-01  2.041e-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: 6.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631279/likelihoodResults_254620801_254880001_4FGL_J2300.7-2645_daily_bin59.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) = 6130.17251731
delta logL = -0.00094233947857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6130.17157517
delta logL = -1.97888766706e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4029       1.0000          .0000       10.000    
     3 'Normalizat'    .94168       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98950       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=   6130.172     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.130        .90712E-02** at limit **
   2  Index         2.4005        8.4264        .50000        .40651E-05
   3  Normalizat    .94175        .14588E-01    .45432E-01    .23836E-04
   4  Prefactor     .98941        .14696E-01    .46136E-01    .17130E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.40046
  Normalizat = 0.941751
  Prefactor  = 0.989408
 **********
 **   18 **HESSE 
 **********

 FCN=   6130.172     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1595        .17120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4005        6.2000        .50000       -.54674    
   3  Normalizat    .94175        .19839        .23477E-03   -.95008    
   4  Prefactor     .98941        .19990        .23014E-03   -.93083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93252e-11
Minuit parameter uncertainties:
  1  1.03898e-05
  2  4.31747
  3  0.198546
  4  0.200046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631279': 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) = 6130.17157496
delta logL = 4.81577444589e-09

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  1.039e-05  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.400e+00  4.317e+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:  9.894e-01  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:  9.418e-01  1.985e-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/631279/cmap_HighResolution_254620801_254880001_4FGL_J2300.7-2645_daily_bin59.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-03', job_status='DONE', photon_flux_upper_limit='6.21e-08', time_completed='2021-09-29 05:18:35.841814', job_id='631279', GAL2='0.99', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632917915.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.82e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='59' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:18:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 631279: <4FGL_J2300.7-2645_daily_bin59> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin59 345.182 -26.7502 254620801 254880001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2300.7-2645 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   647.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            803 sec.

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

