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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin875
RA = 338.543, Dec = -26.9375
tmin = 466128001, tmax = 466387201
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='353091', job_status='RUN', time_executed='2021-09-28 14:24:04.853371', time_epoch_executed='1632864244.85' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='875'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353091

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353091/ft1_4FGL_J2234.1-2656_daily_bin875.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353091/ft2_4FGL_J2234.1-2656_daily_bin875.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353091/ft1_4FGL_J2234.1-2656_daily_bin875.fits outfile=/scratch/kocevski/353091/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin875.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=466128001.0 tmax=466387201.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.52
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353091/ft1_filtered_4FGL_J2234.1-2656_daily_bin875.fits" evtable="EVENTS" scfile=/scratch/kocevski/353091/ft2_4FGL_J2234.1-2656_daily_bin875.fits sctable="SC_DATA" outfile=/scratch/kocevski/353091/ltcube_466128001_466387201_4FGL_J2234.1-2656_daily_bin875.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/353091/ft2_4FGL_J2234.1-2656_daily_bin875.fits
.....................!
real 11.98
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353091/ft1_filtered_4FGL_J2234.1-2656_daily_bin875.fits evtable="EVENTS" scfile=/scratch/kocevski/353091/ft2_4FGL_J2234.1-2656_daily_bin875.fits sctable="SC_DATA" expcube=/scratch/kocevski/353091/ltcube_466128001_466387201_4FGL_J2234.1-2656_daily_bin875.fits outfile=/scratch/kocevski/353091/expmap_466128001_466387201_4FGL_J2234.1-2656_daily_bin875.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/353091/ltcube_466128001_466387201_4FGL_J2234.1-2656_daily_bin875.fits
.....................!
real 190.51
user 185.22
sys 4.99

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/353091/ft1_filtered_4FGL_J2234.1-2656_daily_bin875.fits scfile=/scratch/kocevski/353091/ft2_4FGL_J2234.1-2656_daily_bin875.fits outfile=/scratch/kocevski/353091/cmap_466128001_466387201_4FGL_J2234.1-2656_daily_bin875.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.52
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353091/ft1_filtered_4FGL_J2234.1-2656_daily_bin875.fits evtable="EVENTS" scfile=/scratch/kocevski/353091/ft2_4FGL_J2234.1-2656_daily_bin875.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353091/Model_4FGL_J2234.1-2656_daily_bin875.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/353091/ft1_filtered_4FGL_J2234.1-2656_daily_bin875.fits.....................!
real 57.12
user 55.79
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    71.866       1.0000         .10000E-03   10000.    
     4 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.3212       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3695       1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.357       1.0000         .10000E-03   10000.    
    10 'norm      '    10.900       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13524E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.456       1.0000         .10000E-03   10000.    
    13 'norm      '    .13714       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.598       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3782       1.0000         .10000E-03   10000.    
    16 'norm      '    .66579       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .63334E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87946       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90805       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=   7571.141     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2651 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.1060        .18702E-05** at limit **
   2  Prefactor     .10000E-03    7.1774        .65522E-06** at limit **
   3  Prefactor     71.886        44.266       -.37018E-06    .74729E-04
   4  norm          .10000E-03    1.6496        .96037E-06** at limit **
   5  norm          1.3212        .33174        .27324E-07    .10976E-02
   6  Prefactor     .10000E-03    2.1672        .21284E-06** at limit **
   7  Prefactor     .10000E-03    9.0113       -.74512E-08** at limit **
   8  Prefactor     2.3681        4.1796        .34659E-06    .75434E-04
   9  Prefactor     60.358        38.519        .98469E-07   -.10323E-05
  10  norm          10.895        14.172        .12229E-06   -.29002E-04
  11  Prefactor     .10000E-03    42.219       -.78842E-06** at limit **
  12  Prefactor     16.452        9.7668        .98626E-07   -.72122E-04
  13  norm          .12294        1.3850       -.14087E-05    .18980E-03
  14  Prefactor     12.657        28.963        .30343E-08   -.12427E-03
  15  Prefactor     2.3783        5.5315        .54372E-05   -.10971E-03
  16  norm          .66857        1.7626       -.81268E-06   -.14284E-02
  17  Prefactor     .10000E-03    4.0480       -.57835E-07** at limit **
  18  Prefactor     .10001E-03    5.9908       -.67170E-05** at limit **
  19  norm          .10000E-03    .12208        .45153E-08** at limit **
  20  Prefactor     .10000E-03    14.264        .54829E-07** at limit **
  21  Prefactor     .10000E-03    4.3551       -.70604E-07** at limit **
  22  Normalizat    .87916        .15041       -.17143E-05   -.94990E-04
  23  Prefactor     .90829        .13542        .59466E-06   -.17017E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  Prefactor  = 71.8856
  norm       = 0.000100001
  norm       = 1.32119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.36808
  Prefactor  = 60.3581
  norm       = 10.895
  Prefactor  = 0.000100001
  Prefactor  = 16.4521
  norm       = 0.122937
  Prefactor  = 12.6575
  Prefactor  = 2.37829
  norm       = 0.668572
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.879162
  Prefactor  = 0.90829
 **********
 **   18 **HESSE 
 **********

 FCN=   7571.141     FROM HESSE     STATUS=OK           372 CALLS     3023 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.2679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.1359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     71.886        44.054        .47356E-04   -1.4010    
   4  norm          .10000E-03    1.7291        .11044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3212        .33193        .24027E-04   -1.5478    
   6  Prefactor     .10000E-03    2.1761        .12516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.0734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3681        4.1664        .22729E-03   -1.5400    
   9  Prefactor     60.358        38.522        .51645E-04   -1.4153    
  10  norm          10.895        14.132        .12135E-03   -1.5048    
  11  Prefactor     .10000E-03    43.419        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.452        9.8009        .98733E-04   -1.4897    
  13  norm          .12294        8.3093        .15441E-02   -1.5638    
  14  Prefactor     12.657        33.728        .11286E-03   -1.4996    
  15  Prefactor     2.3783        7.1219        .13282E-02   -1.5400    
  16  norm          .66857        1.5249        .17752E-02   -1.5544    
  17  Prefactor     .10000E-03    4.0601        .17076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    10.306        .22268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .14213        .57732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.4379        .17692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .87916        .17906        .23467E-03   -.97196    
  23  Prefactor     .90829        .16335        .21682E-03   -.95852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48779e-09
Minuit parameter uncertainties:
  1  0.000190394
  2  0.000343567
  3  44.0739
  4  9.74441e-05
  5  0.331927
  6  2.37506e-05
  7  5.46984e-05
  8  4.16688
  9  38.5374
  10  14.1365
  11  0.00032457
  12  9.80183
  13  2.02087
  14  33.7792
  15  7.12446
  16  1.52504
  17  2.38826e-05
  18  0.000706859
  19  4.56558e-06
  20  3.97458e-06
  21  1.61239e-05
  22  0.179183
  23  0.163442
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.089e+01  1.414e+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.083e-01  1.634e-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.792e-01  1.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/353091/likelihoodResults_466128001_466387201_4FGL_J2234.1-2656_daily_bin875.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) = 7571.04261212
delta logL = 0.0986627330394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7571.03661731
delta logL = 0.1046575428

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6431       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3439       1.0000          .0000       5.0000    
     3 'Normalizat'    .87096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91215       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=   7571.037     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6349        300.64        .32262E-02    .18289E-03
   2  alpha         2.3440        3.5602        .41253        .61971E-04
   3  Normalizat    .87126        .44628E-01    .44529E-01    .62597E-03
   4  Prefactor     .91191        .38510E-01    .45160E-01    .54769E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.63492
  alpha      = 2.34401
  Normalizat = 0.871265
  Prefactor  = 0.911906
 **********
 **   18 **HESSE 
 **********

 FCN=   7571.037     FROM HESSE     STATUS=OK            29 CALLS      242 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6349        13.605        .12905E-03   -1.5087    
   2  alpha         2.3440        .87590        .16196E-01   -.62437E-01
   3  Normalizat    .87126        .17222        .23559E-03   -.97477    
   4  Prefactor     .91191        .16155        .21641E-03   -.95726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12738e-10
Minuit parameter uncertainties:
  1  13.6095
  2  0.89497
  3  0.172327
  4  0.161633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353091': 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) = 7571.03661558
delta logL = 0.104659270683

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  9.635e+00  1.361e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.344e+00  8.950e-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.119e-01  1.616e-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.713e-01  1.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.34 +/- 0.89
Photon Flux (Free Index): 1.78e-08 +/- 2.27e-08
Energy Flux (Free Index): 6.60e-06 +/- 8.15e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/353091/cmap_HighResolution_466128001_466387201_4FGL_J2234.1-2656_daily_bin875.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.42e-05', comment='SUCCESS', energy_flux2='6.60e-06', dlogl='1.05e-01', photon_flux2='1.78e-08', job_status='DONE', time_completed='2021-09-28 14:35:51.954742', photon_index_error2='0.89', photon_index2='2.34', ts='0.96', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='4.92e-08', energy_flux_error2='8.15e-06', EG='0.88', time_epoch_completed='1632864951.95', return_code='0', job_id='353091', GAL2='0.91', EG2='0.87', return_code2='0', photon_flux_error2='2.27e-08', ts2='1.17', photon_index='1.95' WHERE bin_id='875' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:35:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 353091: <4FGL_J2234.1-2656_daily_bin875> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin875> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:20:57 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:20:58 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:20:58 2021
Terminated at Tue Sep 28 14:35:52 2021
Results reported at Tue Sep 28 14:35:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin875 338.543 -26.9375 466128001 466387201 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 :                                   707.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            895 sec.

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

