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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1005
RA = 338.543, Dec = -26.9375
tmin = 499824001, tmax = 500083201
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='353282', job_status='RUN', time_executed='2021-09-28 14:24:57.707735', time_epoch_executed='1632864297.71' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1005'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353282

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353282/ft1_4FGL_J2234.1-2656_daily_bin1005.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353282/ft2_4FGL_J2234.1-2656_daily_bin1005.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353282/ft1_4FGL_J2234.1-2656_daily_bin1005.fits outfile=/scratch/kocevski/353282/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1005.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=499824001.0 tmax=500083201.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.17
user 4.89
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353282/ft2_4FGL_J2234.1-2656_daily_bin1005.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/353282/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1005.fits evtable="EVENTS" outfile="/scratch/kocevski/353282/ft1_filtered_4FGL_J2234.1-2656_daily_bin1005.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353282/ft1_filtered_4FGL_J2234.1-2656_daily_bin1005.fits" evtable="EVENTS" scfile=/scratch/kocevski/353282/ft2_4FGL_J2234.1-2656_daily_bin1005.fits sctable="SC_DATA" outfile=/scratch/kocevski/353282/ltcube_499824001_500083201_4FGL_J2234.1-2656_daily_bin1005.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/353282/ft2_4FGL_J2234.1-2656_daily_bin1005.fits
.....................!
real 11.72
user 11.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353282/ft1_filtered_4FGL_J2234.1-2656_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/353282/ft2_4FGL_J2234.1-2656_daily_bin1005.fits sctable="SC_DATA" expcube=/scratch/kocevski/353282/ltcube_499824001_500083201_4FGL_J2234.1-2656_daily_bin1005.fits outfile=/scratch/kocevski/353282/expmap_499824001_500083201_4FGL_J2234.1-2656_daily_bin1005.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/353282/ltcube_499824001_500083201_4FGL_J2234.1-2656_daily_bin1005.fits
.....................!
real 190.72
user 184.86
sys 5.51

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/353282/ft1_filtered_4FGL_J2234.1-2656_daily_bin1005.fits scfile=/scratch/kocevski/353282/ft2_4FGL_J2234.1-2656_daily_bin1005.fits outfile=/scratch/kocevski/353282/cmap_499824001_500083201_4FGL_J2234.1-2656_daily_bin1005.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353282/ft1_filtered_4FGL_J2234.1-2656_daily_bin1005.fits scfile=/scratch/kocevski/353282/ft2_4FGL_J2234.1-2656_daily_bin1005.fits outfile=/scratch/kocevski/353282/cmap_HighResolution_499824001_500083201_4FGL_J2234.1-2656_daily_bin1005.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/353282/ft1_filtered_4FGL_J2234.1-2656_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/353282/ft2_4FGL_J2234.1-2656_daily_bin1005.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353282/Model_4FGL_J2234.1-2656_daily_bin1005.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/353282/ft1_filtered_4FGL_J2234.1-2656_daily_bin1005.fits.....................!
real 38.69
user 37.34
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    16.636       1.0000         .10000E-03   10000.    
     5 'norm      '    .46971E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1581       1.0000         .10000E-03   10000.    
     7 'Prefactor '    77.734       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7372       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    36.675       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13063       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    71.799       1.0000         .10000E-03   10000.    
    15 'Prefactor '    68.851       1.0000         .10000E-03   10000.    
    16 'norm      '    .19544E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93250       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94251       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=   3858.818     FROM MIGRAD    STATUS=CONVERGED    573 CALLS     3205 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.3033       -.48599E-07** at limit **
   2  Prefactor     .10000E-03    14.772       -.60545E-07** at limit **
   3  Prefactor     .10000E-03    29.923        .26216E-06** at limit **
   4  norm          16.634        7.9624        .79737E-06   -.28101E-03
   5  norm          .46878E-01    .25454        .15208E-06   -.26493E-03
   6  Prefactor     5.1568        13.997        .10169E-04   -.20013E-04
   7  Prefactor     77.736        34.859       -.77025E-06   -.29468E-03
   8  Prefactor     2.7348        17.525        .48872E-05   -.34001E-04
   9  Prefactor     .10000E-03    35.767       -.87777E-06** at limit **
  10  norm          36.666        29.612        .39818E-06    .93620E-05
  11  Prefactor     .10000E-03    69.579       -.14501E-05** at limit **
  12  Prefactor     .43424E-03    13.139        .39231E-06** at limit **
  13  norm          .10000E-03    3.2022        .31972E-05** at limit **
  14  Prefactor     71.858        81.974        .40902E-05    .13732E-03
  15  Prefactor     68.810        34.701        .30342E-05    .28395E-03
  16  norm          .10008E-03    7.3145        .30737E-05** at limit **
  17  Prefactor     .10000E-03    10.570        .44092E-06** at limit **
  18  Prefactor     .10000E-03    7.6057        .90575E-06** at limit **
  19  norm          .10000E-03    .34196        .24907E-06** at limit **
  20  Prefactor     .10000E-03    54.115        .19637E-05** at limit **
  21  Prefactor     .10000E-03    7.8490        .30908E-06** at limit **
  22  Normalizat    .93278        .31732       -.14308E-04   -.29189E-03
  23  Prefactor     .94234        .22280        .36835E-05   -.84464E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.6336
  norm       = 0.0468778
  Prefactor  = 5.15683
  Prefactor  = 77.7362
  Prefactor  = 2.7348
  Prefactor  = 0.0001
  norm       = 36.6661
  Prefactor  = 0.0001
  Prefactor  = 0.000434235
  norm       = 0.0001
  Prefactor  = 71.8579
  Prefactor  = 68.8097
  norm       = 0.000100081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.932775
  Prefactor  = 0.942341
 **********
 **   18 **HESSE 
 **********

 FCN=   3858.818     FROM HESSE     STATUS=OK           370 CALLS     3575 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.3039        .11027E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    29.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.634        7.7069        .98196E-04   -1.4892    
   5  norm          .46878E-01    .44518        .54857E-03   -1.5665    
   6  Prefactor     5.1568        14.141        .88506E-03   -1.5254    
   7  Prefactor     77.736        35.042        .45547E-04   -1.3942    
   8  Prefactor     2.7348        17.844        .24610E-03   -1.5377    
   9  Prefactor     .10000E-03    35.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          36.666        29.603        .66178E-04   -1.4496    
  11  Prefactor     .10000E-03    70.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .43424E-03    19.599        .71147E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.2330        .10790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     71.858        83.067        .23689E-03   -1.4011    
  15  Prefactor     68.810        34.974        .48375E-04   -1.4047    
  16  norm          .10008E-03    19.891        .30836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.6356        .16728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .34935        .35420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    54.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.8566        .16998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .93278        .36791        .29331E-03   -.95318    
  23  Prefactor     .94234        .26764        .23751E-03   -.94677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80685e-08
Minuit parameter uncertainties:
  1  9.88193e-07
  2  5.08638e-06
  3  7.94964e-05
  4  7.70736
  5  0.288618
  6  14.1504
  7  35.0508
  8  13.977
  9  0.00012475
  10  29.6152
  11  0.000361327
  12  0.161925
  13  4.8195e-06
  14  83.2016
  15  34.9847
  16  0.00254317
  17  1.21333e-05
  18  5.20998e-06
  19  4.04574e-09
  20  0.000539254
  21  4.55271e-06
  22  0.368911
  23  0.268013
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.667e+01  2.962e+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:  9.423e-01  2.680e-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.328e-01  3.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.32
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 3.79e-08 +/- 3.06e-08
Energy Flux (Fixed Index): 2.64e-05 +/- 2.13e-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) = 3858.62339442
delta logL = 0.194281152998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3858.61507764
delta logL = 0.202597939244

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.086       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4614       1.0000          .0000       5.0000    
     3 'Normalizat'    .95123       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93470       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=   3858.615     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.080        29.238       -.33254E-05   -.11356E-03
   2  alpha         1.4610        .67194       -.33380E-04    .16099E-04
   3  Normalizat    .95135        .25814        .12293E-05    .17007E-03
   4  Prefactor     .93467        .21093       -.27648E-06    .17617E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 33.08
  alpha      = 1.46102
  Normalizat = 0.951345
  Prefactor  = 0.934671
 **********
 **   18 **HESSE 
 **********

 FCN=   3858.615     FROM HESSE     STATUS=OK            29 CALLS      243 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.080        28.870        .69664E-04   -1.4557    
   2  alpha         1.4610        .66251        .14338E-01   -.42859    
   3  Normalizat    .95135        .31275        .29069E-03   -.94679    
   4  Prefactor     .93467        .25585        .23836E-03   -.94940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.84819e-11
Minuit parameter uncertainties:
  1  28.8825
  2  0.672258
  3  0.31335
  4  0.25618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353282': 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) = 3858.61507734
delta logL = 0.202598233031

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.308e+01  2.888e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.461e+00  6.723e-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:  9.347e-01  2.562e-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.513e-01  3.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.73
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.46 +/- 0.67
Photon Flux (Free Index): 2.06e-08 +/- 2.32e-08
Energy Flux (Free Index): 4.87e-05 +/- 6.45e-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/353282/cmap_HighResolution_499824001_500083201_4FGL_J2234.1-2656_daily_bin1005.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.79e-08', energy_flux2='4.87e-05', photon_flux_error='3.06e-08', dlogl='2.03e-01', energy_flux='2.64e-05', photon_flux2='2.06e-08', job_status='DONE', time_completed='2021-09-28 14:33:16.514064', photon_index_error2='0.67', photon_index2='1.46', ts='5.32', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='6.45e-05', EG='0.93', time_epoch_completed='1632864796.51', return_code='0', job_id='353282', GAL2='0.93', EG2='0.95', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='2.32e-08', ts2='5.73', photon_index='1.95' WHERE bin_id='1005' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:33:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 353282: <4FGL_J2234.1-2656_daily_bin1005> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1005 338.543 -26.9375 499824001 500083201 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 :                                   499.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             206.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            723 sec.

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

