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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin951
RA = 338.543, Dec = -26.9375
tmin = 485827201, tmax = 486086401
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='353199', job_status='RUN', time_executed='2021-09-28 14:21:18.999619', time_epoch_executed='1632864079.0' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='951'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353199

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353199/ft1_4FGL_J2234.1-2656_daily_bin951.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353199/ft2_4FGL_J2234.1-2656_daily_bin951.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353199/ft1_4FGL_J2234.1-2656_daily_bin951.fits outfile=/scratch/kocevski/353199/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin951.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=485827201.0 tmax=486086401.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.73
user 3.47
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353199/ft1_filtered_4FGL_J2234.1-2656_daily_bin951.fits" evtable="EVENTS" scfile=/scratch/kocevski/353199/ft2_4FGL_J2234.1-2656_daily_bin951.fits sctable="SC_DATA" outfile=/scratch/kocevski/353199/ltcube_485827201_486086401_4FGL_J2234.1-2656_daily_bin951.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/353199/ft2_4FGL_J2234.1-2656_daily_bin951.fits
.....................!
real 12.08
user 11.72
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353199/ft1_filtered_4FGL_J2234.1-2656_daily_bin951.fits evtable="EVENTS" scfile=/scratch/kocevski/353199/ft2_4FGL_J2234.1-2656_daily_bin951.fits sctable="SC_DATA" expcube=/scratch/kocevski/353199/ltcube_485827201_486086401_4FGL_J2234.1-2656_daily_bin951.fits outfile=/scratch/kocevski/353199/expmap_485827201_486086401_4FGL_J2234.1-2656_daily_bin951.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/353199/ltcube_485827201_486086401_4FGL_J2234.1-2656_daily_bin951.fits
.....................!
real 191.54
user 185.98
sys 5.23

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/353199/ft1_filtered_4FGL_J2234.1-2656_daily_bin951.fits scfile=/scratch/kocevski/353199/ft2_4FGL_J2234.1-2656_daily_bin951.fits outfile=/scratch/kocevski/353199/cmap_485827201_486086401_4FGL_J2234.1-2656_daily_bin951.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353199/ft1_filtered_4FGL_J2234.1-2656_daily_bin951.fits scfile=/scratch/kocevski/353199/ft2_4FGL_J2234.1-2656_daily_bin951.fits outfile=/scratch/kocevski/353199/cmap_HighResolution_485827201_486086401_4FGL_J2234.1-2656_daily_bin951.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353199/ft1_filtered_4FGL_J2234.1-2656_daily_bin951.fits evtable="EVENTS" scfile=/scratch/kocevski/353199/ft2_4FGL_J2234.1-2656_daily_bin951.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353199/Model_4FGL_J2234.1-2656_daily_bin951.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/353199/ft1_filtered_4FGL_J2234.1-2656_daily_bin951.fits.....................!
real 43.32
user 41.99
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1392       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.3131       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .94320       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.9492       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    24.034       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.650       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.085       1.0000         .10000E-03   10000.    
    13 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.1242       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14672E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.7769       1.0000         .10000E-03   10000.    
    19 'norm      '    .58624       1.0000         .10000E-03   10000.    
    20 'Prefactor '    83.692       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.3643       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .98307       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87882       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=   5031.773     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2498 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1386        15.139        .86907E-05    .34036E-04
   2  Prefactor     .10000E-03    5.0393       -.17306E-07** at limit **
   3  Prefactor     .10000E-03    13.834       -.25430E-06** at limit **
   4  norm          .10000E-03    2.7949       -.19708E-07** at limit **
   5  norm          2.3132        .51260       -.62803E-09    .35610E-03
   6  Prefactor     .10000E-03    8.3412        .12503E-07** at limit **
   7  Prefactor     .78961        18.935       -.29807E-05    .19794E-03
   8  Prefactor     7.9483        8.0168        .13690E-06    .73242E-05
   9  Prefactor     .10000E-03    24.396       -.34133E-06** at limit **
  10  norm          24.028        22.769        .22182E-07    .24958E-04
  11  Prefactor     16.645        16.491        .19135E-06   -.17013E-06
  12  Prefactor     10.080        10.314        .26284E-07    .22814E-04
  13  norm          .10000E-03    2.1868       -.12963E-06** at limit **
  14  Prefactor     .10000E-03    23.294        .25548E-05** at limit **
  15  Prefactor     .10000E-03    4.6469        .31521E-07** at limit **
  16  norm          4.1234        3.9642       -.66869E-08    .23835E-03
  17  Prefactor     .10000E-03    24.714       -.32667E-05** at limit **
  18  Prefactor     9.7624        11.224        .12319E-05    .40122E-03
  19  norm          .58663        .61376       -.43222E-07    .68201E-03
  20  Prefactor     83.725        61.085       -.32205E-05    .47106E-04
  21  Prefactor     4.3437        13.056       -.18541E-06    .74955E-04
  22  Normalizat    .98317        .20643       -.21791E-06    .20265E-03
  23  Prefactor     .87876        .17548       -.92564E-07    .19212E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.13859
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.31316
  Prefactor  = 0.0001
  Prefactor  = 0.789614
  Prefactor  = 7.94829
  Prefactor  = 0.0001
  norm       = 24.0282
  Prefactor  = 16.6453
  Prefactor  = 10.0803
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.12336
  Prefactor  = 0.0001
  Prefactor  = 9.76242
  norm       = 0.586626
  Prefactor  = 83.7251
  Prefactor  = 4.34367
  Normalizat = 0.983168
  Prefactor  = 0.878764
 **********
 **   18 **HESSE 
 **********

 FCN=   5031.773     FROM HESSE     STATUS=OK           372 CALLS     2870 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1386        15.248        .14091E-02   -1.5415    
   2  Prefactor     .10000E-03    5.0409        .15552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.8478        .11566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.3132        .51293        .23095E-04   -1.5404    
   6  Prefactor     .10000E-03    8.4028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .78961        174.84        .54291E-02   -1.5530    
   8  Prefactor     7.9483        8.0364        .14221E-03   -1.5144    
   9  Prefactor     .10000E-03    24.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          24.028        22.742        .81708E-04   -1.4727    
  11  Prefactor     16.645        16.496        .98154E-04   -1.4892    
  12  Prefactor     10.080        10.315        .12618E-03   -1.5073    
  13  norm          .10000E-03    2.2857        .20445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.6633        .14932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.1234        3.9503        .12780E-03   -1.5302    
  17  Prefactor     .10000E-03    25.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.7624        11.260        .12816E-03   -1.5083    
  19  norm          .58663        .59980        .48593E-04   -1.5555    
  20  Prefactor     83.725        60.819        .21954E-03   -1.3875    
  21  Prefactor     4.3437        12.880        .19280E-03   -1.5291    
  22  Normalizat    .98317        .24626        .25296E-03   -.93596    
  23  Prefactor     .87876        .20834        .23653E-03   -.96887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33906e-09
Minuit parameter uncertainties:
  1  11.4248
  2  9.20287e-08
  3  5.50309e-06
  4  1.91397e-06
  5  0.512935
  6  1.54233e-06
  7  23.5677
  8  8.03744
  9  5.27107e-06
  10  22.7504
  11  16.5003
  12  10.317
  13  8.54269e-06
  14  0.000110362
  15  1.84722e-06
  16  3.95053
  17  0.000167381
  18  11.2626
  19  0.599802
  20  60.8645
  21  12.8886
  22  0.246545
  23  0.208529
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.403e+01  2.275e+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.788e-01  2.085e-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.832e-01  2.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.16
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 1.64e-05

TS (Fixed Index): 2.16
Ra Dec: 338.543 -26.938
Photon Flux Upper Limit: 8.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/353199/likelihoodResults_485827201_486086401_4FGL_J2234.1-2656_daily_bin951.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): 0
logL (Free Index) = 5031.49902577
delta logL = 0.274118305941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5031.49257408
delta logL = 0.28056999606

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.808       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5684       1.0000          .0000       5.0000    
     3 'Normalizat'    .95150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89425       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5031.493     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      283 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.805        22.736        .92352E-04    .72955E-03
   2  alpha         2.5681        .85546        .12568E-01    .11783E-03
   3  Normalizat    .95143        .23587        .25653E-03   -.29002E-03
   4  Prefactor     .89437        .20733        .23459E-03   -.47572E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.805
  alpha      = 2.56812
  Normalizat = 0.951427
  Prefactor  = 0.894371
 **********
 **   18 **HESSE 
 **********

 FCN=   5031.493     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.805        20.944        .18470E-04   -1.4840    
   2  alpha         2.5681        .78958        .50271E-03    .27252E-01
   3  Normalizat    .95143        .23548        .51307E-04   -.94676    
   4  Prefactor     .89437        .20718        .46919E-04   -.96338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13516e-09
Minuit parameter uncertainties:
  1  20.9522
  2  0.80334
  3  0.235736
  4  0.20736
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353199': 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) = 5031.49257359
delta logL = 0.280570485657

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.881e+01  2.095e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.568e+00  8.033e-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.944e-01  2.074e-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.514e-01  2.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.72
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.57 +/- 0.80
Photon Flux (Free Index): 5.08e-08 +/- 5.09e-08
Energy Flux (Free Index): 1.48e-05 +/- 1.18e-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/353199/cmap_HighResolution_485827201_486086401_4FGL_J2234.1-2656_daily_bin951.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-05', comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='1.48e-05', photon_flux_error='2.35e-08', dlogl='2.81e-01', energy_flux='1.73e-05', photon_flux2='5.08e-08', job_status='DONE', time_completed='2021-09-28 14:30:40.917770', photon_index_error2='0.80', photon_index2='2.57', ts='2.16', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='8.51e-08', energy_flux_error2='1.18e-05', EG='0.98', time_epoch_completed='1632864640.92', return_code='0', job_id='353199', GAL2='0.89', EG2='0.95', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='5.09e-08', ts2='2.72', photon_index='1.95' WHERE bin_id='951' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:30:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 353199: <4FGL_J2234.1-2656_daily_bin951> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin951> 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) <bullet0066>, 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:30:41 2021
Results reported at Tue Sep 28 14:30:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin951 338.543 -26.9375 485827201 486086401 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 :                                   561.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             363.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   573 sec.
    Turnaround time :                            574 sec.

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

