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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin875
RA = 345.182, Dec = -26.7502
tmin = 466128001, tmax = 466387201
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='635949', job_status='RUN', time_executed='2021-09-29 05:23:07.920322', time_epoch_executed='1632918187.92' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='875'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/635949

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/635949/ft1_4FGL_J2300.7-2645_daily_bin875.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/635949/ft2_4FGL_J2300.7-2645_daily_bin875.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/635949/ft1_4FGL_J2300.7-2645_daily_bin875.fits outfile=/scratch/kocevski/635949/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin875.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=466128001.0 tmax=466387201.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.51
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/635949/ft1_filtered_4FGL_J2300.7-2645_daily_bin875.fits" evtable="EVENTS" scfile=/scratch/kocevski/635949/ft2_4FGL_J2300.7-2645_daily_bin875.fits sctable="SC_DATA" outfile=/scratch/kocevski/635949/ltcube_466128001_466387201_4FGL_J2300.7-2645_daily_bin875.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/635949/ft2_4FGL_J2300.7-2645_daily_bin875.fits
.....................!
real 12.12
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/635949/ft1_filtered_4FGL_J2300.7-2645_daily_bin875.fits evtable="EVENTS" scfile=/scratch/kocevski/635949/ft2_4FGL_J2300.7-2645_daily_bin875.fits sctable="SC_DATA" expcube=/scratch/kocevski/635949/ltcube_466128001_466387201_4FGL_J2300.7-2645_daily_bin875.fits outfile=/scratch/kocevski/635949/expmap_466128001_466387201_4FGL_J2300.7-2645_daily_bin875.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/635949/ltcube_466128001_466387201_4FGL_J2300.7-2645_daily_bin875.fits
.....................!
real 190.85
user 184.95
sys 5.32

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/635949/ft1_filtered_4FGL_J2300.7-2645_daily_bin875.fits scfile=/scratch/kocevski/635949/ft2_4FGL_J2300.7-2645_daily_bin875.fits outfile=/scratch/kocevski/635949/cmap_466128001_466387201_4FGL_J2300.7-2645_daily_bin875.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/635949/ft1_filtered_4FGL_J2300.7-2645_daily_bin875.fits scfile=/scratch/kocevski/635949/ft2_4FGL_J2300.7-2645_daily_bin875.fits outfile=/scratch/kocevski/635949/cmap_HighResolution_466128001_466387201_4FGL_J2300.7-2645_daily_bin875.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=345.182 yref=-26.7502 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/635949/ft1_filtered_4FGL_J2300.7-2645_daily_bin875.fits evtable="EVENTS" scfile=/scratch/kocevski/635949/ft2_4FGL_J2300.7-2645_daily_bin875.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/635949/Model_4FGL_J2300.7-2645_daily_bin875.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/635949/ft1_filtered_4FGL_J2300.7-2645_daily_bin875.fits.....................!
real 51.17
user 49.81
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.3471       1.0000         .10000E-03   10000.    
     3 'norm      '    12.055       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8770       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.834       1.0000         .10000E-03   10000.    
     6 'norm      '    .18424       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.947       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4916       1.0000         .10000E-03   10000.    
     9 'norm      '    .77634       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10847E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6884       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    15.376       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.0681       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.530       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .34083E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81629       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89181       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=   6700.009     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2402 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.031       -.28367E-06** at limit **
   2  Prefactor     6.3490        6.2464        .48795E-06   -.97570E-04
   3  norm          12.057        14.657       -.11755E-06   -.86427E-04
   4  Prefactor     1.8648        45.765        .15659E-05   -.17486E-04
   5  Prefactor     17.835        10.030        .18544E-06   -.15560E-03
   6  norm          .18519        2.5135       -.15849E-06    .15928E-03
   7  Prefactor     14.962        31.388       -.38124E-05   -.13098E-03
   8  Prefactor     3.4934        7.3489        .18919E-06   -.50983E-04
   9  norm          .77813        1.9601       -.16800E-06   -.56173E-03
  10  Prefactor     .10000E-03    4.4379        .25579E-07** at limit **
  11  Prefactor     .10005E-03    2.2716        .71163E-06** at limit **
  12  norm          .10000E-03    .13271        .40707E-09** at limit **
  13  Prefactor     .10000E-03    18.045        .18211E-06** at limit **
  14  Prefactor     3.6893        8.8508        .24005E-05   -.86051E-04
  15  Prefactor     .10000E-03    5.5022       -.27588E-07** at limit **
  16  Prefactor     .10000E-03    7.1810       -.16621E-06** at limit **
  17  norm          15.377        7.4914        .49465E-07   -.17637E-04
  18  Prefactor     .10000E-03    8.0234        .34643E-06** at limit **
  19  norm          1.0674        2.0505        .90947E-07   -.28177E-04
  20  Prefactor     .10000E-03    11.121        .18748E-07** at limit **
  21  Prefactor     32.538        35.785       -.89418E-06    .31212E-04
  22  Prefactor     .10001E-03    124.96        .57248E-05** at limit **
  23  Normalizat    .81640        .14553       -.79201E-06   -.31991E-03
  24  Prefactor     .89168        .14149        .21433E-06   -.27102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.34903
  norm       = 12.057
  Prefactor  = 1.86476
  Prefactor  = 17.8353
  norm       = 0.185192
  Prefactor  = 14.962
  Prefactor  = 3.49345
  norm       = 0.778125
  Prefactor  = 0.0001
  Prefactor  = 0.00010005
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.68925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.3766
  Prefactor  = 0.0001
  norm       = 1.06744
  Prefactor  = 0.0001
  Prefactor  = 32.5379
  Prefactor  = 0.00010001
  Normalizat = 0.816399
  Prefactor  = 0.891678
 **********
 **   18 **HESSE 
 **********

 FCN=   6700.009     FROM HESSE     STATUS=OK           405 CALLS     2807 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.3490        6.2470        .79660E-03   -1.5204    
   3  norm          12.057        14.596        .11538E-03   -1.5013    
   4  Prefactor     1.8648        45.720        .30391E-03   -1.5435    
   5  Prefactor     17.835        10.056        .94841E-04   -1.4863    
   6  norm          .18519        5.5941        .18003E-02   -1.5622    
   7  Prefactor     14.962        34.326        .10360E-03   -1.4934    
   8  Prefactor     3.4934        7.3352        .21638E-03   -1.5334    
   9  norm          .77813        1.5883        .16808E-02   -1.5532    
  10  Prefactor     .10000E-03    4.4547        .16818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10005E-03    43.114        .21597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .15654        .56285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.6893        9.0391        .10515E-02   -1.5324    
  15  Prefactor     .10000E-03    5.6515        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.1830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          15.377        7.4923        .10214E-03   -1.4924    
  18  Prefactor     .10000E-03    8.0176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0674        2.0164        .15535E-03   -1.5501    
  20  Prefactor     .10000E-03    11.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.538        35.705        .70255E-04   -1.4567    
  22  Prefactor     .10001E-03    123.48        .42670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81640        .17219        .22197E-03   -.99463    
  24  Prefactor     .89168        .17014        .21577E-03   -.96432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96634e-09
Minuit parameter uncertainties:
  1  1.24113e-05
  2  6.24768
  3  14.5998
  4  18.4822
  5  10.0565
  6  2.03533
  7  34.3711
  8  7.33708
  9  1.58835
  10  2.31228e-06
  11  0.00293446
  12  1.05659e-07
  13  2.10587e-05
  14  9.0424
  15  2.21866e-06
  16  6.93547e-06
  17  7.49273
  18  1.79393e-05
  19  2.01654
  20  3.63721e-06
  21  35.7284
  22  0.00225135
  23  0.172304
  24  0.170238
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  2.219e-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.917e-01  1.702e-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.164e-01  1.723e-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: 4.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/635949/likelihoodResults_466128001_466387201_4FGL_J2300.7-2645_daily_bin875.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) = 6700.00943385
delta logL = -0.000844629257699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6700.00858907
delta logL = 1.48236722453e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3844       1.0000          .0000       10.000    
     3 'Normalizat'    .81640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89167       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6700.009     FROM MIGRAD    STATUS=FAILED        89 CALLS      245 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10073E-03    176.12        .36285E-03** at limit **
   2  Index         2.3429        8.5905        .50000        .25374E-04
   3  Normalizat    .81640        .19044E-01    .22197E-03   -.60335E-04
   4  Prefactor     .89168        .19387E-01    .21577E-03   -.12540E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6700.009     FROM SIMPLEX   STATUS=PROGRESS     150 CALLS      395 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10038E-03    176.12        .27408E-03** at limit **
   2  Index         2.3424        8.5905        .14216E-03    .25374E-04
   3  Normalizat    .81640        .19044E-01    .10519E-05   -.60335E-04
   4  Prefactor     .89168        .19387E-01    .87891E-06   -.12540E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6700.009     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      446 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    162.79        .72569E-03** at limit **
   2  Index         2.0723        8.9131        .50000        .42508E-06
   3  Normalizat    .81640        .17346E-01    .88787E-05   -.12779E-03
   4  Prefactor     .89168        .17659E-01    .86308E-05   -.16544E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.07234
  Normalizat = 0.8164
  Prefactor  = 0.891678
 **********
 **   18 **HESSE 
 **********

 FCN=   6700.009     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      475 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    674.35        .14514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0723        5.5422        .50000       -.62554    
   3  Normalizat    .81640        .40226E-01    .17757E-05   -.99463    
   4  Prefactor     .89168        .40921E-01    .17262E-05   -.96433    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.8251e-08
Minuit parameter uncertainties:
  1  0.000999911
  2  872.311
  3  0.0402271
  4  0.0409228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/635949': 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) = 6700.00858802
delta logL = 1.19319884107e-06

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  9.999e-04  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.072e+00  8.723e+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.917e-01  4.092e-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:  8.164e-01  4.023e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/635949/cmap_HighResolution_466128001_466387201_4FGL_J2300.7-2645_daily_bin875.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.57e-03', job_status='DONE', photon_flux_upper_limit='4.62e-08', time_completed='2021-09-29 05:34:32.336031', job_id='635949', GAL2='0.89', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632918872.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.19e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='875' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:34:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 635949: <4FGL_J2300.7-2645_daily_bin875> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin875> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 05:20:30 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:20:32 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:32 2021
Terminated at Wed Sep 29 05:34:33 2021
Results reported at Wed Sep 29 05:34:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin875 345.182 -26.7502 466128001 466387201 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            843 sec.

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

