/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 211 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_bin850
RA = 345.182, Dec = -26.7502
tmin = 459648001, tmax = 459907201
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='635915', job_status='RUN', time_executed='2021-09-29 05:24:08.059535', time_epoch_executed='1632918248.06' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='850'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635915

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635915/ft1_4FGL_J2300.7-2645_daily_bin850.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635915/ft2_4FGL_J2300.7-2645_daily_bin850.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635915/ft1_4FGL_J2300.7-2645_daily_bin850.fits outfile=/scratch/kocevski/635915/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin850.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=459648001.0 tmax=459907201.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.44
user 3.19
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635915/ft1_filtered_4FGL_J2300.7-2645_daily_bin850.fits" evtable="EVENTS" scfile=/scratch/kocevski/635915/ft2_4FGL_J2300.7-2645_daily_bin850.fits sctable="SC_DATA" outfile=/scratch/kocevski/635915/ltcube_459648001_459907201_4FGL_J2300.7-2645_daily_bin850.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/635915/ft2_4FGL_J2300.7-2645_daily_bin850.fits
.....................!
real 15.47
user 15.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635915/ft1_filtered_4FGL_J2300.7-2645_daily_bin850.fits evtable="EVENTS" scfile=/scratch/kocevski/635915/ft2_4FGL_J2300.7-2645_daily_bin850.fits sctable="SC_DATA" expcube=/scratch/kocevski/635915/ltcube_459648001_459907201_4FGL_J2300.7-2645_daily_bin850.fits outfile=/scratch/kocevski/635915/expmap_459648001_459907201_4FGL_J2300.7-2645_daily_bin850.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/635915/ltcube_459648001_459907201_4FGL_J2300.7-2645_daily_bin850.fits
.....................!
real 191.76
user 186.18
sys 4.71

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/635915/ft1_filtered_4FGL_J2300.7-2645_daily_bin850.fits scfile=/scratch/kocevski/635915/ft2_4FGL_J2300.7-2645_daily_bin850.fits outfile=/scratch/kocevski/635915/cmap_459648001_459907201_4FGL_J2300.7-2645_daily_bin850.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.57
user 0.40
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/635915/ft1_filtered_4FGL_J2300.7-2645_daily_bin850.fits evtable="EVENTS" scfile=/scratch/kocevski/635915/ft2_4FGL_J2300.7-2645_daily_bin850.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/635915/Model_4FGL_J2300.7-2645_daily_bin850.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/635915/ft1_filtered_4FGL_J2300.7-2645_daily_bin850.fits.....................!
real 39.09
user 37.79
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0816       1.0000         .10000E-03   10000.    
     3 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.4056       1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.955       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4055       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .23233E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0357       1.0000         .10000E-03   10000.    
     9 'norm      '    .11610E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.7142       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.518       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.5217       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.9574       1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.925       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96023       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87615       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=   4461.387     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2754 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.944        .26357E-06** at limit **
   2  Prefactor     4.0830        10.503        .10117E-05    .60209E-06
   3  norm          .10000E-03    10.561       -.10081E-06** at limit **
   4  Prefactor     3.4074        32.106        .24772E-06    .10440E-05
   5  Prefactor     38.956        18.730        .15652E-06    .58424E-04
   6  norm          2.4057        2.1493        .74453E-07    .16745E-03
   7  Prefactor     .10000E-03    96.061       -.70967E-05** at limit **
   8  Prefactor     3.0379        12.016        .21236E-05    .10548E-04
   9  norm          .10000E-03    4.4012       -.16149E-06** at limit **
  10  Prefactor     .10000E-03    28.953        .76808E-06** at limit **
  11  Prefactor     9.7032        10.920        .14717E-06    .16003E-03
  12  norm          .10000E-03    .36992       -.76031E-07** at limit **
  13  Prefactor     20.563        57.079       -.37334E-05    .25342E-05
  14  Prefactor     .10000E-03    4.4725       -.34676E-07** at limit **
  15  Prefactor     .10000E-03    5.0671       -.43826E-07** at limit **
  16  Prefactor     6.5192        23.642        .50106E-06    .58732E-06
  17  norm          .10000E-03    2.2566       -.50716E-09** at limit **
  18  Prefactor     .10000E-03    19.332       -.79003E-06** at limit **
  19  norm          3.9580        5.2886        .12677E-06    .13932E-05
  20  Prefactor     26.934        48.408       -.52052E-06   -.62675E-05
  21  Prefactor     .10000E-03    148.03        .96794E-05** at limit **
  22  Prefactor     .10000E-03    120.15        .45859E-06** at limit **
  23  Normalizat    .95991        .21003       -.73116E-06    .63528E-04
  24  Prefactor     .87641        .19219        .59324E-06    .27249E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.08303
  norm       = 0.0001
  Prefactor  = 3.40744
  Prefactor  = 38.9557
  norm       = 2.40571
  Prefactor  = 0.0001
  Prefactor  = 3.0379
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.70321
  norm       = 0.0001
  Prefactor  = 20.563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.51919
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.95801
  Prefactor  = 26.9342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.959905
  Prefactor  = 0.87641
 **********
 **   18 **HESSE 
 **********

 FCN=   4461.387     FROM HESSE     STATUS=OK           401 CALLS     3155 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0830        10.475        .99780E-03   -1.5304    
   3  norm          .10000E-03    10.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.4074        32.064        .21922E-03   -1.5339    
   5  Prefactor     38.956        18.725        .64219E-04   -1.4459    
   6  norm          2.4057        2.1502        .89120E-04   -1.5398    
   7  Prefactor     .10000E-03    96.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0379        12.009        .11644E-02   -1.5359    
   9  norm          .10000E-03    7.5567        .24843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    29.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.7032        9.3504        .12857E-03   -1.5085    
  12  norm          .10000E-03    .45392        .72002E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.563        57.052        .88424E-04   -1.4801    
  14  Prefactor     .10000E-03    4.4814        .13796E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0747        .14672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.5192        23.674        .78575E-03   -1.5197    
  17  norm          .10000E-03    2.2596        .97992E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.9580        5.2190        .14399E-03   -1.5310    
  20  Prefactor     26.934        48.157        .77205E-04   -1.4670    
  21  Prefactor     .10000E-03    147.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    120.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .95991        .24959        .23878E-03   -.94386    
  24  Prefactor     .87641        .22821        .23883E-03   -.96970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59621e-11
Minuit parameter uncertainties:
  1  4.93494e-06
  2  10.4802
  3  1.0536e-06
  4  20.9196
  5  18.7275
  6  2.15027
  7  8.16377e-05
  8  12.0189
  9  1.73643e-05
  10  3.71903e-05
  11  9.35184
  12  1.08661e-06
  13  57.2036
  14  8.63071e-07
  15  1.90264e-06
  16  23.7077
  17  6.37027e-08
  18  3.18354e-06
  19  5.21958
  20  48.2269
  21  0.000151831
  22  3.94044e-05
  23  0.249895
  24  0.228457
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  1.903e-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.764e-01  2.285e-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.599e-01  2.499e-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: 8.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/635915/likelihoodResults_459648001_459907201_4FGL_J2300.7-2645_daily_bin850.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) = 4461.38824424
delta logL = -0.000938145437431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4461.38730612
delta logL = -2.83662302536e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10264E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3807       1.0000          .0000       10.000    
     3 'Normalizat'    .95994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87639       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=   4461.387     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      235 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10141E-03    46.435        .15034E-02** at limit **
   2  Index         2.3241        5.0506        .50000        .35046E-04
   3  Normalizat    .95990        .14064E-01    .23879E-03   -.21139E-04
   4  Prefactor     .87641        .13574E-01    .23883E-03    .41223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010141
  Index      = 2.32415
  Normalizat = 0.959904
  Prefactor  = 0.876412
 **********
 **   18 **HESSE 
 **********

 FCN=   4461.387     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10141E-03    195.88        .30069E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3241        6.2577        .50000       -.56471    
   3  Normalizat    .95990        .29867E-01    .95515E-05   -.94386    
   4  Prefactor     .87641        .28826E-01    .95533E-05   -.96970    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.87891e-08
Minuit parameter uncertainties:
  1  0.0333472
  2  382.286
  3  0.0298676
  4  0.0288266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635915': 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): 102
logL (Free Index) = 4461.38730548
delta logL = 6.13045813225e-07

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.014e-04  3.335e-02  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.324e+00  3.823e+02  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.764e-01  2.883e-02  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.599e-01  2.987e-02  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/635915/cmap_HighResolution_459648001_459907201_4FGL_J2300.7-2645_daily_bin850.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', job_status='DONE', photon_flux_upper_limit='8.14e-08', time_completed='2021-09-29 05:33:35.216055', job_id='635915', GAL2='0.88', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632918815.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='6.13e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='850' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:33:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 635915: <4FGL_J2300.7-2645_daily_bin850> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin850 345.182 -26.7502 459648001 459907201 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 :                                   563.45 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             307.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            791 sec.

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

