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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin942
RA = 338.543, Dec = -26.9375
tmin = 483494401, tmax = 483753601
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='353185', job_status='RUN', time_executed='2021-09-28 14:24:33.719439', time_epoch_executed='1632864273.72' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='942'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353185

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353185/ft1_4FGL_J2234.1-2656_daily_bin942.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353185/ft2_4FGL_J2234.1-2656_daily_bin942.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353185/ft1_4FGL_J2234.1-2656_daily_bin942.fits outfile=/scratch/kocevski/353185/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin942.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=483494401.0 tmax=483753601.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 6.48
user 6.23
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353185/ft2_4FGL_J2234.1-2656_daily_bin942.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/353185/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin942.fits evtable="EVENTS" outfile="/scratch/kocevski/353185/ft1_filtered_4FGL_J2234.1-2656_daily_bin942.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/353185/ft1_filtered_4FGL_J2234.1-2656_daily_bin942.fits" evtable="EVENTS" scfile=/scratch/kocevski/353185/ft2_4FGL_J2234.1-2656_daily_bin942.fits sctable="SC_DATA" outfile=/scratch/kocevski/353185/ltcube_483494401_483753601_4FGL_J2234.1-2656_daily_bin942.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/353185/ft2_4FGL_J2234.1-2656_daily_bin942.fits
.....................!
real 11.48
user 11.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353185/ft1_filtered_4FGL_J2234.1-2656_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/353185/ft2_4FGL_J2234.1-2656_daily_bin942.fits sctable="SC_DATA" expcube=/scratch/kocevski/353185/ltcube_483494401_483753601_4FGL_J2234.1-2656_daily_bin942.fits outfile=/scratch/kocevski/353185/expmap_483494401_483753601_4FGL_J2234.1-2656_daily_bin942.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/353185/ltcube_483494401_483753601_4FGL_J2234.1-2656_daily_bin942.fits
.....................!
real 190.89
user 185.40
sys 5.17

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/353185/ft1_filtered_4FGL_J2234.1-2656_daily_bin942.fits scfile=/scratch/kocevski/353185/ft2_4FGL_J2234.1-2656_daily_bin942.fits outfile=/scratch/kocevski/353185/cmap_483494401_483753601_4FGL_J2234.1-2656_daily_bin942.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/353185/ft1_filtered_4FGL_J2234.1-2656_daily_bin942.fits scfile=/scratch/kocevski/353185/ft2_4FGL_J2234.1-2656_daily_bin942.fits outfile=/scratch/kocevski/353185/cmap_HighResolution_483494401_483753601_4FGL_J2234.1-2656_daily_bin942.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353185/ft1_filtered_4FGL_J2234.1-2656_daily_bin942.fits evtable="EVENTS" scfile=/scratch/kocevski/353185/ft2_4FGL_J2234.1-2656_daily_bin942.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353185/Model_4FGL_J2234.1-2656_daily_bin942.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/353185/ft1_filtered_4FGL_J2234.1-2656_daily_bin942.fits.....................!
real 37.96
user 36.79
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.922       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.387       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.6149       1.0000         .10000E-03   10000.    
     5 'norm      '    1.6897       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    76.957       1.0000         .10000E-03   10000.    
    10 'norm      '    21.460       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.659       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.644       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.216       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3461       1.0000         .10000E-03   10000.    
    19 'norm      '    .10206E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10205       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.344       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .76898       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0488       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4196.611     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     2126 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.899        13.669       -.19424E-05    .10431E-02
   2  Prefactor     19.385        3.9349       -.18327E-07   -.91383E-03
   3  Prefactor     .10000E-03    52.206        .17595E-06** at limit **
   4  norm          8.6146        6.9290       -.42703E-06    .12297E-03
   5  norm          1.6896        .55669        .51484E-07   -.50415E-04
   6  Prefactor     .10000E-03    11.288        .11571E-05** at limit **
   7  Prefactor     .10000E-03    8.7344       -.70798E-06** at limit **
   8  Prefactor     .10000E-03    3.6999        .12268E-06** at limit **
   9  Prefactor     76.717        34.524       -.14770E-05   -.13517E-01
  10  norm          21.442        10.768       -.13269E-05    .27747E-03
  11  Prefactor     17.655        2.0687       -.27995E-06    .18249E-03
  12  Prefactor     29.632        1.7796        .54597E-07    .78031E-03
  13  norm          .10000E-03    .94752       -.29204E-06** at limit **
  14  Prefactor     .10000E-03    13.024        .19797E-07** at limit **
  15  Prefactor     .10000E-03    6.4298       -.20159E-06** at limit **
  16  norm          .10000E-03    3.2610        .25234E-06** at limit **
  17  Prefactor     25.239        20.633        .12745E-05   -.30922E-02
  18  Prefactor     5.3441        10.757       -.15937E-05   -.89216E-03
  19  norm          .10000E-03    1.2274        .27274E-06** at limit **
  20  Prefactor     .91394E-03    1594.7       -.31194E-04** at limit **
  21  Prefactor     19.372        9.6224        .96723E-06    .46172E-02
  22  Normalizat    .76900        .25928        .21732E-05   -.17982E-05
  23  Prefactor     1.0490        .23477        .89735E-06   -.47901E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.8986
  Prefactor  = 19.3849
  Prefactor  = 0.000100002
  norm       = 8.61462
  norm       = 1.68964
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 76.7165
  norm       = 21.4418
  Prefactor  = 17.6554
  Prefactor  = 29.6324
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 25.2386
  Prefactor  = 5.34413
  norm       = 0.0001
  Prefactor  = 0.000913939
  Prefactor  = 19.3719
  Normalizat = 0.769005
  Prefactor  = 1.049
 **********
 **   18 **HESSE 
 **********

 FCN=   4196.611     FROM HESSE     STATUS=OK           428 CALLS     2554 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.899        20.539        .23019E-02   -1.4838    
   2  Prefactor     19.385        20.484        .22741E-02   -1.4827    
   3  Prefactor     .10000E-03    52.370        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.6146        7.2067        .34143E-02   -1.5121    
   5  norm          1.6896        .55468        .57809E-02   -1.5448    
   6  Prefactor     .10000E-03    11.076        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.7204        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.6812        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     76.717        68.175        .11444E-02   -1.3954    
  10  norm          21.442        20.145        .21616E-02   -1.4782    
  11  Prefactor     17.655        19.479        .23828E-02   -1.4867    
  12  Prefactor     29.632        15.974        .18397E-02   -1.4619    
  13  norm          .10000E-03    .93089        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.035        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.4101        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2262        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.239        21.984        .19943E-02   -1.4703    
  18  Prefactor     5.3441        15.149        .43454E-02   -1.5246    
  19  norm          .10000E-03    .70024        .16907E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .91394E-03    61.998        .15085       -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.372        16.292        .22766E-02   -1.4827    
  22  Normalizat    .76900        .22330        .62599E-01   -1.0123    
  23  Prefactor     1.0490        .19982        .39981E-01   -.91113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1774e-06
Minuit parameter uncertainties:
  1  20.5467
  2  20.4912
  3  0.00060181
  4  7.20744
  5  0.554681
  6  7.38886e-06
  7  4.10841e-06
  8  4.75119e-08
  9  68.2443
  10  20.1511
  11  19.486
  12  15.9767
  13  3.35604e-07
  14  1.83635e-07
  15  1.6763e-06
  16  5.8585e-07
  17  21.991
  18  15.1596
  19  2.85591e-07
  20  0.449743
  21  16.2957
  22  0.223565
  23  0.199958
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.144e+01  2.015e+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:  1.049e+00  2.000e-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:  7.690e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.67
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.22e-08 +/- 2.08e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.45e-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) = 4196.39522706
delta logL = 0.216104570559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4196.38806312
delta logL = 0.223268507458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.832       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4275       1.0000          .0000       5.0000    
     3 'Normalizat'    .77892       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0462       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=   4196.388     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      207 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.832        18.944        .23073E-02   -.85049E-03
   2  alpha         1.4255        .58643        .42499       -.10934E-04
   3  Normalizat    .77905        .21047        .62234E-01    .18287E-04
   4  Prefactor     1.0462        .19704        .40137E-01    .22100E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.8323
  alpha      = 1.42553
  Normalizat = 0.779049
  Prefactor  = 1.04621
 **********
 **   18 **HESSE 
 **********

 FCN=   4196.388     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.832        21.244        .92294E-04   -1.4840    
   2  alpha         1.4255        .74984        .16311E-01   -.44426    
   3  Normalizat    .77905        .24727        .27528E-03   -1.0085    
   4  Prefactor     1.0462        .23220        .22459E-03   -.91205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66717e-09
Minuit parameter uncertainties:
  1  21.2522
  2  0.764367
  3  0.24763
  4  0.232424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353185': 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) = 4196.38805824
delta logL = 0.223273389114

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.883e+01  2.125e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.426e+00  7.644e-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:  1.046e+00  2.324e-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:  7.790e-01  2.476e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.12
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.43 +/- 0.76
Photon Flux (Free Index): 1.15e-08 +/- 1.59e-08
Energy Flux (Free Index): 3.00e-05 +/- 4.62e-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/353185/cmap_HighResolution_483494401_483753601_4FGL_J2234.1-2656_daily_bin942.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.22e-08', energy_flux2='3.00e-05', photon_flux_error='2.08e-08', dlogl='2.23e-01', energy_flux='1.54e-05', photon_flux2='1.15e-08', job_status='DONE', time_completed='2021-09-28 14:32:35.805321', photon_index_error2='0.76', photon_index2='1.43', ts='5.67', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='4.62e-05', EG='0.77', time_epoch_completed='1632864755.81', return_code='0', job_id='353185', GAL2='1.05', EG2='0.78', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='1.59e-08', ts2='6.12', photon_index='1.95' WHERE bin_id='942' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:32:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 353185: <4FGL_J2234.1-2656_daily_bin942> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin942 338.543 -26.9375 483494401 483753601 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 :                                   481.32 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             194.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            720 sec.

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

