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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin949
RA = 338.543, Dec = -26.9375
tmin = 485308801, tmax = 485568001
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='353195', job_status='RUN', time_executed='2021-09-28 14:24:53.129567', time_epoch_executed='1632864293.13' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353195

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353195/ft1_4FGL_J2234.1-2656_daily_bin949.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353195/ft1_4FGL_J2234.1-2656_daily_bin949.fits outfile=/scratch/kocevski/353195/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin949.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=485308801.0 tmax=485568001.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 5.67
user 5.40
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.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/353195/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin949.fits evtable="EVENTS" outfile="/scratch/kocevski/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.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/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.fits" evtable="EVENTS" scfile=/scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits sctable="SC_DATA" outfile=/scratch/kocevski/353195/ltcube_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.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/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits
.....................!
real 11.53
user 11.18
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.fits evtable="EVENTS" scfile=/scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits sctable="SC_DATA" expcube=/scratch/kocevski/353195/ltcube_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.fits outfile=/scratch/kocevski/353195/expmap_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.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/353195/ltcube_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.fits
.....................!
real 190.28
user 185.11
sys 4.85

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 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2234.1-2656 @ 338.543 -26.9375

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.fits scfile=/scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits outfile=/scratch/kocevski/353195/cmap_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.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=338.543 yref=-26.9375 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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.fits scfile=/scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits outfile=/scratch/kocevski/353195/cmap_HighResolution_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.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=338.543 yref=-26.9375 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/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.fits evtable="EVENTS" scfile=/scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353195/Model_4FGL_J2234.1-2656_daily_bin949.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/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.fits.....................!
real 50.00
user 48.64
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.fits', '/scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits', expMap='/scratch/kocevski/353195/expmap_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.fits', expCube='/scratch/kocevski/353195/ltcube_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/353195/Model_4FGL_J2234.1-2656_daily_bin949.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.1-2656'

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  9.136e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/353195/ft1_filtered_4FGL_J2234.1-2656_daily_bin949.fits
Spacecraft file(s): /scratch/kocevski/353195/ft2_4FGL_J2234.1-2656_daily_bin949.fits
Exposure map: /scratch/kocevski/353195/expmap_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.fits
Exposure cube: /scratch/kocevski/353195/ltcube_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/353195/Model_4FGL_J2234.1-2656_daily_bin949.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) = 6051.61731747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0009       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19272E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    56.137       1.0000         .10000E-03   10000.    
     4 'norm      '    .10549E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0741       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8922       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.486       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.010       1.0000         .10000E-03   10000.    
    10 'norm      '    42.069       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.769       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .45656E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.6217       1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.985       1.0000         .10000E-03   10000.    
    16 'norm      '    3.9283       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10246E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.4958       1.0000         .10000E-03   10000.    
    19 'norm      '    .20571       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.229       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0314       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82462       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6051.516     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2648 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0056        14.104        .10419E-04   -.80988E-04
   2  Prefactor     .10001E-03    49.558       -.10349E-04** at limit **
   3  Prefactor     56.091        47.753       -.54245E-05   -.42493E-03
   4  norm          .10010E-03    2.0547       -.51236E-06** at limit **
   5  norm          2.0736        .46908        .14514E-06    .20512E-02
   6  Prefactor     6.8929        7.0919        .10981E-06    .44791E-04
   7  Prefactor     20.482        18.036       -.15292E-07    .35435E-06
   8  Prefactor     .10000E-03    1.8456        .14362E-06** at limit **
   9  Prefactor     35.012        35.815        .38660E-06    .46415E-04
  10  norm          42.070        22.891       -.88949E-07    .62873E-04
  11  Prefactor     27.765        20.114       -.25526E-06   -.51887E-04
  12  Prefactor     .10000E-03    5.5698        .21739E-06** at limit **
  13  norm          .41340E-02    1.2276       -.47251E-06    .11844E-02
  14  Prefactor     8.6265        32.161        .23473E-07    .19237E-03
  15  Prefactor     33.981        14.931       -.54228E-07    .40496E-04
  16  norm          3.9295        3.4026       -.30821E-07    .70626E-04
  17  Prefactor     .10000E-03    10.817       -.12515E-06** at limit **
  18  Prefactor     7.4863        11.032       -.11779E-06    .91832E-04
  19  norm          .20575        .60740        .10898E-06    .18542E-03
  20  Prefactor     .10000E-03    19.843        .22290E-06** at limit **
  21  Prefactor     12.236        13.795       -.25799E-06    .24802E-04
  22  Normalizat    1.0320        .19915        .11469E-05    .15160E-03
  23  Prefactor     .82406        .17242       -.79167E-06    .24243E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00558
  Prefactor  = 0.000100007
  Prefactor  = 56.091
  norm       = 0.000100096
  norm       = 2.07356
  Prefactor  = 6.89289
  Prefactor  = 20.4824
  Prefactor  = 0.0001
  Prefactor  = 35.0124
  norm       = 42.0696
  Prefactor  = 27.7653
  Prefactor  = 0.0001
  norm       = 0.00413396
  Prefactor  = 8.62652
  Prefactor  = 33.9811
  norm       = 3.92953
  Prefactor  = 0.0001
  Prefactor  = 7.48626
  norm       = 0.205753
  Prefactor  = 0.0001
  Prefactor  = 12.236
  Normalizat = 1.03203
  Prefactor  = 0.824056
 **********
 **   18 **HESSE 
 **********

 FCN=   6051.516     FROM HESSE     STATUS=OK           380 CALLS     3028 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0056        14.316        .10081E-02   -1.5308    
   2  Prefactor     .10001E-03    49.353        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     56.091        49.081        .53540E-04   -1.4209    
   4  norm          .10010E-03    22.732        .20427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0736        .45962        .23718E-04   -1.5420    
   6  Prefactor     6.8929        7.0855        .15282E-03   -1.5183    
   7  Prefactor     20.482        18.041        .88493E-04   -1.4803    
   8  Prefactor     .10000E-03    1.8481        .10321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.012        35.825        .67728E-04   -1.4524    
  10  norm          42.070        22.886        .61805E-04   -1.4410    
  11  Prefactor     27.765        20.139        .76024E-04   -1.4654    
  12  Prefactor     .10000E-03    5.5876        .17925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .41340E-02    2.1194        .28801E-01   -1.5695    
  14  Prefactor     8.6265        36.216        .13652E-03   -1.5120    
  15  Prefactor     33.981        14.995        .68739E-04   -1.4541    
  16  norm          3.9295        3.3907        .12580E-03   -1.5311    
  17  Prefactor     .10000E-03    10.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.4863        10.949        .14648E-03   -1.5161    
  19  norm          .20575        .59981        .40015E-04   -1.5617    
  20  Prefactor     .10000E-03    19.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.236        13.675        .11455E-03   -1.5008    
  22  Normalizat    1.0320        .23505        .25333E-03   -.91965    
  23  Prefactor     .82406        .20357        .25095E-03   -.98848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.58154e-09
Minuit parameter uncertainties:
  1  14.3285
  2  0.00118652
  3  49.1161
  4  0.00296162
  5  0.459624
  6  7.08638
  7  18.0458
  8  6.67071e-06
  9  35.8473
  10  22.8908
  11  20.1434
  12  5.42305e-06
  13  0.184934
  14  35.3874
  15  14.9966
  16  3.39089
  17  1.50172e-05
  18  10.9518
  19  0.599832
  20  3.40674e-05
  21  13.6781
  22  0.235288
  23  0.203754
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  4.207e+01  2.289e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.241e-01  2.038e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.032e+00  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.33
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 4.35e-08 +/- 2.36e-08
Energy Flux (Fixed Index): 3.03e-05 +/- 1.65e-05

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): 0
logL (Free Index) = 6051.4643519
delta logL = 0.051819736058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6051.46371837
delta logL = 0.0524532679729

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.446       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1086       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82864       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6051.464     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.467        478.04        .15955E-02   -.10973E-05
   2  alpha         2.1092        3.3835        .29282        .35583E-04
   3  Normalizat    1.0231        .13941        .42936E-01    .12582E-04
   4  Prefactor     .82853        .83314E-01    .44089E-01    .12135E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 39.4671
  alpha      = 2.10918
  Normalizat = 1.0231
  Prefactor  = 0.828533
 **********
 **   18 **HESSE 
 **********

 FCN=   6051.464     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.467        23.728        .63820E-04   -1.4451    
   2  alpha         2.1092        .48547        .10919E-01   -.15697    
   3  Normalizat    1.0231        .22190        .25427E-03   -.92261    
   4  Prefactor     .82853        .19812        .25032E-03   -.98685    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.33151e-10
Minuit parameter uncertainties:
  1  23.7333
  2  0.488655
  3  0.222105
  4  0.198289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353195': 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) = 6051.46371586
delta logL = 0.0524557757508

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.947e+01  2.373e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.109e+00  4.887e-01  0.000e+00  5.000e+00 ( 1.000e+00)
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.285e-01  1.983e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.023e+00  2.221e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.40
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.11 +/- 0.49
Photon Flux (Free Index): 5.07e-08 +/- 3.47e-08
Energy Flux (Free Index): 2.65e-05 +/- 1.75e-05

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/353195/cmap_HighResolution_485308801_485568001_4FGL_J2234.1-2656_daily_bin949.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.35e-08', energy_flux2='2.65e-05', photon_flux_error='2.36e-08', dlogl='5.25e-02', energy_flux='3.03e-05', photon_flux2='5.07e-08', job_status='DONE', time_completed='2021-09-28 14:34:27.569174', photon_index_error2='0.49', photon_index2='2.11', ts='11.33', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='1.03', time_epoch_completed='1632864867.57', return_code='0', job_id='353195', GAL2='0.83', EG2='1.02', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='3.47e-08', ts2='11.40', photon_index='1.95' WHERE bin_id='949' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:34:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 353195: <4FGL_J2234.1-2656_daily_bin949> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin949> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:21:07 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:21:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 14:21:08 2021
Terminated at Tue Sep 28 14:34:28 2021
Results reported at Tue Sep 28 14:34:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin949 338.543 -26.9375 485308801 485568001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.1-2656 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   574.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             243.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            801 sec.

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

