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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin899
RA = 338.543, Dec = -26.9375
tmin = 472348801, tmax = 472608001
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='353126', job_status='RUN', time_executed='2021-09-28 14:24:50.096013', time_epoch_executed='1632864290.1' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='899'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353126

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353126/ft1_4FGL_J2234.1-2656_daily_bin899.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353126/ft1_4FGL_J2234.1-2656_daily_bin899.fits outfile=/scratch/kocevski/353126/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin899.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=472348801.0 tmax=472608001.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.86
user 3.64
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.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/353126/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin899.fits evtable="EVENTS" outfile="/scratch/kocevski/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.fits" evtable="EVENTS" scfile=/scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits sctable="SC_DATA" outfile=/scratch/kocevski/353126/ltcube_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.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/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits
.....................!
real 11.68
user 11.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.fits evtable="EVENTS" scfile=/scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits sctable="SC_DATA" expcube=/scratch/kocevski/353126/ltcube_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.fits outfile=/scratch/kocevski/353126/expmap_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.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/353126/ltcube_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.fits
.....................!
real 191.88
user 187.41
sys 4.14

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/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.fits scfile=/scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits outfile=/scratch/kocevski/353126/cmap_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.fits scfile=/scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits outfile=/scratch/kocevski/353126/cmap_HighResolution_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.fits evtable="EVENTS" scfile=/scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353126/Model_4FGL_J2234.1-2656_daily_bin899.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/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.fits.....................!
real 38.03
user 36.78
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.fits', '/scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits', expMap='/scratch/kocevski/353126/expmap_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.fits', expCube='/scratch/kocevski/353126/ltcube_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/353126/Model_4FGL_J2234.1-2656_daily_bin899.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/353126/ft1_filtered_4FGL_J2234.1-2656_daily_bin899.fits
Spacecraft file(s): /scratch/kocevski/353126/ft2_4FGL_J2234.1-2656_daily_bin899.fits
Exposure map: /scratch/kocevski/353126/expmap_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.fits
Exposure cube: /scratch/kocevski/353126/ltcube_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/353126/Model_4FGL_J2234.1-2656_daily_bin899.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) = 4036.592487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.8850       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.482       1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.705       1.0000         .10000E-03   10000.    
     9 'Prefactor '    51.309       1.0000         .10000E-03   10000.    
    10 'norm      '    62.960       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.030       1.0000         .10000E-03   10000.    
    13 'norm      '    1.3860       1.0000         .10000E-03   10000.    
    14 'Prefactor '    93.212       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.769       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.836       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88808       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83925       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=   4036.523     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2604 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.675        .15842E-06** at limit **
   2  Prefactor     .10000E-03    15.254        .32766E-07** at limit **
   3  Prefactor     .10000E-03    24.308        .38298E-07** at limit **
   4  norm          .10000E-03    3.7726        .87128E-07** at limit **
   5  norm          2.8851        .66413       -.16038E-07    .62851E-04
   6  Prefactor     .10000E-03    6.0657        .11849E-06** at limit **
   7  Prefactor     23.478        24.146       -.12673E-06    .46974E-05
   8  Prefactor     23.700        14.028       -.57212E-07    .56506E-05
   9  Prefactor     51.229        89.491       -.49660E-06   -.14153E-04
  10  norm          62.960        35.875        .43714E-06    .10471E-04
  11  Prefactor     .10000E-03    16.620        .16616E-06** at limit **
  12  Prefactor     19.027        22.724       -.39556E-06    .41996E-04
  13  norm          1.3937        4.1783       -.30155E-05   -.32383E-04
  14  Prefactor     93.062        98.889        .73657E-05   -.14139E-04
  15  Prefactor     .10000E-03    11.988       -.61607E-08** at limit **
  16  norm          .10000E-03    3.7884       -.12969E-06** at limit **
  17  Prefactor     20.764        17.789        .38393E-06    .52555E-04
  18  Prefactor     .10000E-03    7.1039       -.64063E-06** at limit **
  19  norm          .10000E-03    .31960       -.25588E-07** at limit **
  20  Prefactor     .10000E-03    264.23        .77115E-06** at limit **
  21  Prefactor     10.833        10.567       -.50108E-07    .33609E-04
  22  Normalizat    .88902        .24609        .88906E-06   -.10793E-06
  23  Prefactor     .83845        .21010       -.37450E-06    .49128E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.88509
  Prefactor  = 0.0001
  Prefactor  = 23.4779
  Prefactor  = 23.6997
  Prefactor  = 51.2292
  norm       = 62.9602
  Prefactor  = 0.0001
  Prefactor  = 19.0271
  norm       = 1.39372
  Prefactor  = 93.0619
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.7644
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8331
  Normalizat = 0.889019
  Prefactor  = 0.838455
 **********
 **   18 **HESSE 
 **********

 FCN=   4036.523     FROM HESSE     STATUS=OK           368 CALLS     2972 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.8209        .12035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.8851        .66448        .23899E-04   -1.5368    
   6  Prefactor     .10000E-03    6.0908        .15277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.478        24.159        .82662E-04   -1.4739    
   8  Prefactor     23.700        14.062        .82273E-04   -1.4734    
   9  Prefactor     51.229        89.368        .55989E-04   -1.4275    
  10  norm          62.960        35.871        .50572E-04   -1.4119    
  11  Prefactor     .10000E-03    16.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.027        22.620        .91814E-04   -1.4835    
  13  norm          1.3937        4.1904        .18009E-03   -1.5472    
  14  Prefactor     93.062        99.126        .20813E-03   -1.3776    
  15  Prefactor     .10000E-03    12.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.8337        .12056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.764        17.576        .87888E-04   -1.4796    
  18  Prefactor     .10000E-03    7.1513        .16529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .37986        .68399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    266.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.833        10.504        .12171E-03   -1.5050    
  22  Normalizat    .88902        .29013        .27476E-03   -.96847    
  23  Prefactor     .83845        .24808        .24682E-03   -.98326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.11425e-11
Minuit parameter uncertainties:
  1  1.92225e-05
  2  1.29657e-05
  3  5.89252e-06
  4  3.79931e-06
  5  0.664483
  6  6.50704e-06
  7  24.1691
  8  14.064
  9  89.6034
  10  35.8837
  11  1.46301e-06
  12  22.6307
  13  4.19131
  14  99.3033
  15  1.8348e-05
  16  7.08562e-07
  17  17.5801
  18  1.01947e-05
  19  3.41649e-06
  20  0.000314309
  21  10.5059
  22  0.290639
  23  0.248412
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  6.296e+01  3.588e+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.385e-01  2.484e-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:  8.890e-01  2.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.95
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 6.51e-08 +/- 3.71e-08
Energy Flux (Fixed Index): 4.53e-05 +/- 2.58e-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) = 4036.40740727
delta logL = 0.115756814402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4036.40567926
delta logL = 0.117484816956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    64.258       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7225       1.0000          .0000       5.0000    
     3 'Normalizat'    .90525       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83047       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=   4036.406     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      220 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          64.262        35.125        .48890E-05   -.56511E-03
   2  alpha         1.7226        .37681       -.94760E-05   -.29371E-03
   3  Normalizat    .90546        .23666        .43530E-06    .87993E-04
   4  Prefactor     .83049        .20709       -.55259E-06    .91112E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 64.262
  alpha      = 1.7226
  Normalizat = 0.905463
  Prefactor  = 0.830494
 **********
 **   18 **HESSE 
 **********

 FCN=   4036.406     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          64.262        36.921        .50062E-04   -1.4103    
   2  alpha         1.7226        .46471        .10988E-01   -.31620    
   3  Normalizat    .90546        .27822        .27261E-03   -.96268    
   4  Prefactor     .83049        .24394        .24793E-03   -.98614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36421e-09
Minuit parameter uncertainties:
  1  36.9337
  2  0.467723
  3  0.278665
  4  0.244255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353126': 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) = 4036.40567735
delta logL = 0.117486729918

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  6.426e+01  3.693e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.723e+00  4.677e-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.305e-01  2.443e-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:  9.055e-01  2.787e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.19
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.72 +/- 0.47
Photon Flux (Free Index): 5.02e-08 +/- 3.95e-08
Energy Flux (Free Index): 5.91e-05 +/- 5.00e-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/353126/cmap_HighResolution_472348801_472608001_4FGL_J2234.1-2656_daily_bin899.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.51e-08', energy_flux2='5.91e-05', photon_flux_error='3.71e-08', dlogl='1.17e-01', energy_flux='4.53e-05', photon_flux2='5.02e-08', job_status='DONE', time_completed='2021-09-28 14:32:49.060314', photon_index_error2='0.47', photon_index2='1.72', ts='10.95', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='5.00e-05', EG='0.89', time_epoch_completed='1632864769.06', return_code='0', job_id='353126', GAL2='0.83', EG2='0.91', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='3.95e-08', ts2='11.19', photon_index='1.95' WHERE bin_id='899' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:32:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 353126: <4FGL_J2234.1-2656_daily_bin899> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin899> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:21:00 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:21:02 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:02 2021
Terminated at Tue Sep 28 14:32:49 2021
Results reported at Tue Sep 28 14:32:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin899 338.543 -26.9375 472348801 472608001 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 :                                   480.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            709 sec.

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

