/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 110 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 = 7397
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2300.7-2645_daily_bin183
RA = 345.182, Dec = -26.7502
tmin = 286761601, tmax = 287020801
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='631459', job_status='RUN', time_executed='2021-09-29 05:07:28.413832', time_epoch_executed='1632917248.41' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631459

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631459/ft1_4FGL_J2300.7-2645_daily_bin183.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631459/ft2_4FGL_J2300.7-2645_daily_bin183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631459/ft1_4FGL_J2300.7-2645_daily_bin183.fits outfile=/scratch/kocevski/631459/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin183.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=286761601.0 tmax=287020801.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.79
user 3.57
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631459/ft1_filtered_4FGL_J2300.7-2645_daily_bin183.fits" evtable="EVENTS" scfile=/scratch/kocevski/631459/ft2_4FGL_J2300.7-2645_daily_bin183.fits sctable="SC_DATA" outfile=/scratch/kocevski/631459/ltcube_286761601_287020801_4FGL_J2300.7-2645_daily_bin183.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/631459/ft2_4FGL_J2300.7-2645_daily_bin183.fits
.....................!
real 12.26
user 11.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631459/ft1_filtered_4FGL_J2300.7-2645_daily_bin183.fits evtable="EVENTS" scfile=/scratch/kocevski/631459/ft2_4FGL_J2300.7-2645_daily_bin183.fits sctable="SC_DATA" expcube=/scratch/kocevski/631459/ltcube_286761601_287020801_4FGL_J2300.7-2645_daily_bin183.fits outfile=/scratch/kocevski/631459/expmap_286761601_287020801_4FGL_J2300.7-2645_daily_bin183.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/631459/ltcube_286761601_287020801_4FGL_J2300.7-2645_daily_bin183.fits
.....................!
real 190.43
user 185.11
sys 4.91

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/631459/ft1_filtered_4FGL_J2300.7-2645_daily_bin183.fits scfile=/scratch/kocevski/631459/ft2_4FGL_J2300.7-2645_daily_bin183.fits outfile=/scratch/kocevski/631459/cmap_286761601_287020801_4FGL_J2300.7-2645_daily_bin183.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.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631459/ft1_filtered_4FGL_J2300.7-2645_daily_bin183.fits evtable="EVENTS" scfile=/scratch/kocevski/631459/ft2_4FGL_J2300.7-2645_daily_bin183.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631459/Model_4FGL_J2300.7-2645_daily_bin183.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/631459/ft1_filtered_4FGL_J2300.7-2645_daily_bin183.fits.....................!
real 54.50
user 53.17
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26191E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9744       1.0000         .10000E-03   10000.    
     3 'norm      '    14.903       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .58782       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.830       1.0000         .10000E-03   10000.    
     6 'norm      '    1.5542       1.0000         .10000E-03   10000.    
     7 'Prefactor '    58.892       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.118       1.0000         .10000E-03   10000.    
     9 'norm      '    3.8245       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1544       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7298       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1587       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7891       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    10.066       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10797E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.634       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87994       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0204       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=   7235.016     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2713 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    7.6647       -.33783E-06** at limit **
   2  Prefactor     3.9746        4.6025        .87089E-07    .30255E-04
   3  norm          14.902        12.696        .15183E-06   -.86060E-05
   4  Prefactor     .59318        6.5133        .94509E-07   -.52917E-04
   5  Prefactor     18.830        12.313        .81207E-06   -.12661E-04
   6  norm          1.5546        1.4681        .32259E-06   -.59252E-04
   7  Prefactor     58.869        37.161       -.46871E-05   -.73952E-03
   8  Prefactor     10.119        8.7201        .14316E-07   -.92075E-04
   9  norm          3.8226        3.0829       -.31539E-06   -.58043E-03
  10  Prefactor     .10000E-03    8.3295        .80698E-06** at limit **
  11  Prefactor     1.1831        17.803        .68189E-05   -.24141E-03
  12  norm          1.7289        .71895       -.23653E-06   -.10528E-02
  13  Prefactor     .10000E-03    14.226       -.10978E-05** at limit **
  14  Prefactor     5.1597        9.7344        .40811E-05   -.82457E-03
  15  Prefactor     1.7759        10.651       -.15144E-05   -.44379E-03
  16  Prefactor     .10000E-03    13.437        .49154E-06** at limit **
  17  norm          10.067        5.6223       -.32012E-07   -.80970E-04
  18  Prefactor     .10000E-03    7.8195       -.14325E-05** at limit **
  19  norm          .10001E-03    1.3003        .28216E-06** at limit **
  20  Prefactor     10.634        29.330        .90912E-06   -.51749E-05
  21  Prefactor     .10000E-03    19.986        .15959E-06** at limit **
  22  Prefactor     .10000E-03    20.392        .74514E-06** at limit **
  23  Normalizat    .87960        .16207       -.87074E-06   -.22159E-03
  24  Prefactor     1.0207        .15546       -.10016E-06   -.20112E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100024
  Prefactor  = 3.97464
  norm       = 14.9021
  Prefactor  = 0.593183
  Prefactor  = 18.8305
  norm       = 1.55459
  Prefactor  = 58.869
  Prefactor  = 10.1193
  norm       = 3.82263
  Prefactor  = 0.0001
  Prefactor  = 1.18311
  norm       = 1.72888
  Prefactor  = 0.000100001
  Prefactor  = 5.15972
  Prefactor  = 1.77586
  Prefactor  = 0.0001
  norm       = 10.0667
  Prefactor  = 0.000100001
  norm       = 0.000100006
  Prefactor  = 10.6336
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.879602
  Prefactor  = 1.02068
 **********
 **   18 **HESSE 
 **********

 FCN=   7235.016     FROM HESSE     STATUS=OK           403 CALLS     3116 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    43.946        .45488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9746        4.5986        .19087E-03   -1.5309    
   3  norm          14.902        12.694        .10375E-03   -1.4936    
   4  Prefactor     .59318        34.187        .42119E-02   -1.5554    
   5  Prefactor     18.830        12.343        .92298E-04   -1.4840    
   6  norm          1.5546        1.4816        .92200E-04   -1.5459    
   7  Prefactor     58.869        39.430        .52279E-04   -1.4172    
   8  Prefactor     10.119        8.7341        .12597E-03   -1.5072    
   9  norm          3.8226        3.0306        .12263E-03   -1.5317    
  10  Prefactor     .10000E-03    8.3823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1831        16.577        .43000E-03   -1.5490    
  12  norm          1.7289        .72188        .34482E-04   -1.5445    
  13  Prefactor     .10000E-03    14.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1597        10.044        .88500E-03   -1.5254    
  15  Prefactor     1.7759        9.5462        .31273E-03   -1.5441    
  16  Prefactor     .10000E-03    13.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.067        5.6229        .12629E-03   -1.5073    
  18  Prefactor     .10000E-03    7.8964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    7.1628        .17859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.634        28.356        .12287E-03   -1.5056    
  21  Prefactor     .10000E-03    19.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .87960        .19006        .24596E-03   -.97181    
  24  Prefactor     1.0207        .18259        .23285E-03   -.92043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56535e-08
Minuit parameter uncertainties:
  1  0.00203448
  2  4.59901
  3  12.696
  4  9.0111
  5  12.3449
  6  1.48166
  7  39.4475
  8  8.73515
  9  3.03071
  10  8.52164e-05
  11  8.85966
  12  0.721882
  13  0.000171353
  14  10.0469
  15  8.23655
  16  7.03796e-05
  17  5.62322
  18  0.000165931
  19  0.000401934
  20  28.3919
  21  2.28938e-05
  22  0.000133303
  23  0.190205
  24  0.182702
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.776e+00  8.237e+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.021e+00  1.827e-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:  8.796e-01  1.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/631459/likelihoodResults_286761601_287020801_4FGL_J2300.7-2645_daily_bin183.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) = 7234.88877928
delta logL = 0.126795469597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7234.28985199
delta logL = 0.725722762462

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 'Index     '    7.4516       1.0000          .0000       10.000    
     3 'Normalizat'    .82893       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0568       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=   7234.290     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      386 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .24782E-02    .34270E-03** at limit **
   2  Index         7.4515        2.0568        .14948        .19345E-03
   3  Normalizat    .82903        .32618E-01    .43987E-01    .32068E-03
   4  Prefactor     1.0566        .32910E-01    .39527E-01    .25041E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.45146
  Normalizat = 0.829029
  Prefactor  = 1.05663
 **********
 **   18 **HESSE 
 **********

 FCN=   7234.290     FROM HESSE     STATUS=OK            33 CALLS      419 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .10318E-02    .10327E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.4515        .36780        .50969E-02    .51243    
   3  Normalizat    .82903        .18166        .25221E-03   -.99001    
   4  Prefactor     1.0566        .18257        .22930E-03   -.90865    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.07614e-10
Minuit parameter uncertainties:
  1  3.82956e-08
  2  0.368241
  3  0.181794
  4  0.182675
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631459': 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) = 7234.28984764
delta logL = 0.72572711292

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.057e+00  1.827e-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:  8.290e-01  1.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.59
Ra Dec: 345.182 -26.750
Photon Index (Free Index): 7.45 +/- 0.37
Photon Flux (Free Index): 4.59e-08 +/- 4.09e-08
Energy Flux (Free Index): 5.40e-06 +/- 4.78e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/631459/cmap_HighResolution_286761601_287020801_4FGL_J2300.7-2645_daily_bin183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', comment='SUCCESS', energy_flux2='5.40e-06', dlogl='7.26e-01', photon_flux2='4.59e-08', job_status='DONE', time_completed='2021-09-29 05:19:40.282517', photon_index_error2='0.37', photon_index2='7.45', ts='0.06', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='7.77e-08', energy_flux_error2='4.78e-06', EG='0.88', time_epoch_completed='1632917980.28', return_code='0', job_id='631459', GAL2='1.06', EG2='0.83', return_code2='0', photon_flux_error2='4.09e-08', ts2='1.59', photon_index='2.41' WHERE bin_id='183' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:19:40 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin183 345.182 -26.7502 286761601 287020801 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 :                                   729.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            853 sec.

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

