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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin221
RA = 345.182, Dec = -26.7502
tmin = 296611201, tmax = 296870401
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='631512', job_status='RUN', time_executed='2021-09-29 05:08:59.513704', time_epoch_executed='1632917339.51' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='221'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631512

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631512/ft1_4FGL_J2300.7-2645_daily_bin221.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631512/ft2_4FGL_J2300.7-2645_daily_bin221.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631512/ft1_4FGL_J2300.7-2645_daily_bin221.fits outfile=/scratch/kocevski/631512/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin221.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=296611201.0 tmax=296870401.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 4.35
user 4.06
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631512/ft1_filtered_4FGL_J2300.7-2645_daily_bin221.fits" evtable="EVENTS" scfile=/scratch/kocevski/631512/ft2_4FGL_J2300.7-2645_daily_bin221.fits sctable="SC_DATA" outfile=/scratch/kocevski/631512/ltcube_296611201_296870401_4FGL_J2300.7-2645_daily_bin221.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/631512/ft2_4FGL_J2300.7-2645_daily_bin221.fits
.....................!
real 14.25
user 13.85
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631512/ft1_filtered_4FGL_J2300.7-2645_daily_bin221.fits evtable="EVENTS" scfile=/scratch/kocevski/631512/ft2_4FGL_J2300.7-2645_daily_bin221.fits sctable="SC_DATA" expcube=/scratch/kocevski/631512/ltcube_296611201_296870401_4FGL_J2300.7-2645_daily_bin221.fits outfile=/scratch/kocevski/631512/expmap_296611201_296870401_4FGL_J2300.7-2645_daily_bin221.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/631512/ltcube_296611201_296870401_4FGL_J2300.7-2645_daily_bin221.fits
.....................!
real 191.77
user 186.10
sys 5.12

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/631512/ft1_filtered_4FGL_J2300.7-2645_daily_bin221.fits scfile=/scratch/kocevski/631512/ft2_4FGL_J2300.7-2645_daily_bin221.fits outfile=/scratch/kocevski/631512/cmap_296611201_296870401_4FGL_J2300.7-2645_daily_bin221.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.35
sys 0.16

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631512/ft1_filtered_4FGL_J2300.7-2645_daily_bin221.fits evtable="EVENTS" scfile=/scratch/kocevski/631512/ft2_4FGL_J2300.7-2645_daily_bin221.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631512/Model_4FGL_J2300.7-2645_daily_bin221.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/631512/ft1_filtered_4FGL_J2300.7-2645_daily_bin221.fits.....................!
real 42.99
user 41.67
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.685       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.910       1.0000         .10000E-03   10000.    
     3 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6860       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .68579E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    113.92       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1555       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5592       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7567       1.0000         .10000E-03   10000.    
    12 'norm      '    .50539       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.352       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.6115       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .14274E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    42.228       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.180       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .86908       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82491       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=   5022.894     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2746 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.682        22.628        .57114E-06   -.87493E-04
   2  Prefactor     27.913        11.465       -.14376E-06   -.83691E-04
   3  norm          .10000E-03    12.128       -.27638E-07** at limit **
   4  Prefactor     6.6855        9.0153       -.16397E-06   -.20152E-04
   5  Prefactor     .10011E-03    9.1498        .25297E-05** at limit **
   6  norm          .10000E-03    .82592        .28604E-06** at limit **
   7  Prefactor     113.95        53.677        .14070E-05   -.14175E-03
   8  Prefactor     4.1610        13.013        .11828E-04   -.11129E-03
   9  norm          2.5590        3.9865        .70883E-07   -.14551E-03
  10  Prefactor     .10000E-03    5.4040       -.50350E-07** at limit **
  11  Prefactor     7.7589        9.4927       -.11194E-06   -.25857E-03
  12  norm          .50539        .45438       -.32705E-07   -.45162E-03
  13  Prefactor     23.454        58.573        .10265E-04    .22064E-03
  14  Prefactor     .10000E-03    5.6605       -.10107E-06** at limit **
  15  Prefactor     .10000E-03    7.8449       -.20289E-06** at limit **
  16  Prefactor     .10000E-03    84.069        .17490E-05** at limit **
  17  norm          2.6112        8.0814        .14791E-05   -.21950E-04
  18  Prefactor     .10000E-03    50.372       -.12156E-05** at limit **
  19  norm          .10000E-03    2.5993       -.16017E-06** at limit **
  20  Prefactor     .10000E-03    11.407        .73390E-07** at limit **
  21  Prefactor     42.244        42.959        .13587E-05    .67791E-04
  22  Prefactor     33.202        34.253        .12628E-05    .85664E-04
  23  Normalizat    .86891        .19801       -.67464E-05   -.60640E-04
  24  Prefactor     .82497        .17257        .35769E-05   -.53666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.682
  Prefactor  = 27.913
  norm       = 0.0001
  Prefactor  = 6.68549
  Prefactor  = 0.000100107
  norm       = 0.0001
  Prefactor  = 113.946
  Prefactor  = 4.16097
  norm       = 2.55898
  Prefactor  = 0.0001
  Prefactor  = 7.75892
  norm       = 0.50539
  Prefactor  = 23.4539
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 2.61119
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 42.244
  Prefactor  = 33.2021
  Normalizat = 0.86891
  Prefactor  = 0.824966
 **********
 **   18 **HESSE 
 **********

 FCN=   5022.894     FROM HESSE     STATUS=OK           397 CALLS     3143 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.682        22.620        .65289E-04   -1.4479    
   2  Prefactor     27.913        11.468        .75832E-04   -1.4651    
   3  norm          .10000E-03    12.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6855        9.0111        .15519E-03   -1.5191    
   5  Prefactor     .10011E-03    33.908        .39455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .82775        .62764E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     113.95        52.361        .18846E-03   -1.3569    
   8  Prefactor     4.1610        13.218        .98862E-03   -1.5300    
   9  norm          2.5590        3.9355        .15755E-03   -1.5388    
  10  Prefactor     .10000E-03    5.4052        .16080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.7589        9.3837        .14398E-03   -1.5151    
  12  norm          .50539        .43880        .40795E-04   -1.5566    
  13  Prefactor     23.454        60.903        .82890E-04   -1.4739    
  14  Prefactor     .10000E-03    5.6781        .16466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.8937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    85.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.6112        8.0752        .25242E-03   -1.5385    
  18  Prefactor     .10000E-03    50.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.2055        .21919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     42.244        43.002        .61689E-04   -1.4407    
  22  Prefactor     33.202        34.301        .69565E-04   -1.4555    
  23  Normalizat    .86891        .22558        .23378E-03   -.97561    
  24  Prefactor     .82497        .20027        .23195E-03   -.98815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97082e-09
Minuit parameter uncertainties:
  1  22.6251
  2  11.4685
  3  2.02427e-05
  4  9.01291
  5  0.00381326
  6  2.55852e-06
  7  52.3827
  8  13.2271
  9  3.93594
  10  1.30889e-06
  11  9.38552
  12  0.438801
  13  61.0656
  14  8.82928e-06
  15  2.19102e-05
  16  0.000899828
  17  8.07857
  18  0.00011926
  19  0.000275574
  20  3.39288e-05
  21  43.0331
  22  34.3215
  23  0.225827
  24  0.200445
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  2.191e-05  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.250e-01  2.004e-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.689e-01  2.258e-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: 7.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631512/likelihoodResults_296611201_296870401_4FGL_J2300.7-2645_daily_bin221.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) = 5022.89474794
delta logL = -0.000603873290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5022.89414447
delta logL = -4.02040313929e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11209E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4406       1.0000          .0000       10.000    
     3 'Normalizat'    .86895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82495       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=   5022.894     FROM MIGRAD    STATUS=FAILED        85 CALLS      235 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    610.80        .18142E-02** at limit **
   2  Index         2.4830        5.1173        .50000       -.50365E-04
   3  Normalizat    .86890        .38194E-01    .23379E-03   -.26690E-03
   4  Prefactor     .82498        .37222E-01    .23194E-03    .83326E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5022.894     FROM SIMPLEX   STATUS=UNCHANGED    158 CALLS      393 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    610.80        .59657E-03** at limit **
   2  Index         2.4830        5.1173        .26779E-05   -.50365E-04
   3  Normalizat    .86890        .38194E-01    .59438E-07   -.26690E-03
   4  Prefactor     .82498        .37222E-01    .45884E-07    .83326E-06
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5022.894     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      427 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    1750.7        .36285E-03** at limit **
   2  Index         2.4834        5.5695        .50000       -.50424E-04
   3  Normalizat    .86890        .10030        .46757E-04   -.27261E-03
   4  Prefactor     .82498        .97744E-01    .92777E-05   -.46564E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100023
  Index      = 2.48343
  Normalizat = 0.8689
  Prefactor  = 0.824976
 **********
 **   18 **HESSE 
 **********

 FCN=   5022.894     FROM HESSE     STATUS=OK            29 CALLS      456 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    9.9635        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4834        6.2417        .50000       -.52743    
   3  Normalizat    .86890        .19905        .93514E-05   -.97562    
   4  Prefactor     .82498        .19409        .18555E-05   -.98814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2365e-09
Minuit parameter uncertainties:
  1  0.000954995
  2  4.53729
  3  0.19922
  4  0.194252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631512': 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) = 5022.89414325
delta logL = 8.17331965663e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.250e-01  1.943e-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.689e-01  1.992e-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/631512/cmap_HighResolution_296611201_296870401_4FGL_J2300.7-2645_daily_bin221.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-03', job_status='DONE', photon_flux_upper_limit='7.68e-08', time_completed='2021-09-29 05:19:13.521449', job_id='631512', GAL2='0.82', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632917953.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='8.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='221' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:19:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 631512: <4FGL_J2300.7-2645_daily_bin221> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin221 345.182 -26.7502 296611201 296870401 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 :                                   613.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             207.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            822 sec.

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

