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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1561
RA = 338.543, Dec = -26.9375
tmin = 643939201, tmax = 644198401
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='355561', job_status='RUN', time_executed='2021-09-28 14:31:04.857699', time_epoch_executed='1632864664.86' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1561'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/355561

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/355561/ft1_4FGL_J2234.1-2656_daily_bin1561.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/355561/ft2_4FGL_J2234.1-2656_daily_bin1561.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/355561/ft1_4FGL_J2234.1-2656_daily_bin1561.fits outfile=/scratch/kocevski/355561/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1561.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=643939201.0 tmax=644198401.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 4.47
user 4.18
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/355561/ft1_filtered_4FGL_J2234.1-2656_daily_bin1561.fits" evtable="EVENTS" scfile=/scratch/kocevski/355561/ft2_4FGL_J2234.1-2656_daily_bin1561.fits sctable="SC_DATA" outfile=/scratch/kocevski/355561/ltcube_643939201_644198401_4FGL_J2234.1-2656_daily_bin1561.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/355561/ft2_4FGL_J2234.1-2656_daily_bin1561.fits
.....................!
real 11.97
user 11.61
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/355561/ft1_filtered_4FGL_J2234.1-2656_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/355561/ft2_4FGL_J2234.1-2656_daily_bin1561.fits sctable="SC_DATA" expcube=/scratch/kocevski/355561/ltcube_643939201_644198401_4FGL_J2234.1-2656_daily_bin1561.fits outfile=/scratch/kocevski/355561/expmap_643939201_644198401_4FGL_J2234.1-2656_daily_bin1561.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/355561/ltcube_643939201_644198401_4FGL_J2234.1-2656_daily_bin1561.fits
.....................!
real 190.89
user 185.52
sys 4.88

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/355561/ft1_filtered_4FGL_J2234.1-2656_daily_bin1561.fits scfile=/scratch/kocevski/355561/ft2_4FGL_J2234.1-2656_daily_bin1561.fits outfile=/scratch/kocevski/355561/cmap_643939201_644198401_4FGL_J2234.1-2656_daily_bin1561.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/355561/ft1_filtered_4FGL_J2234.1-2656_daily_bin1561.fits scfile=/scratch/kocevski/355561/ft2_4FGL_J2234.1-2656_daily_bin1561.fits outfile=/scratch/kocevski/355561/cmap_HighResolution_643939201_644198401_4FGL_J2234.1-2656_daily_bin1561.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10188E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    110.12       1.0000         .10000E-03   10000.    
     4 'norm      '    4.2761       1.0000         .10000E-03   10000.    
     5 'norm      '    .74972       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16473E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.4932       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .12946       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.864       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1871       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.0425       1.0000         .10000E-03   10000.    
    19 'norm      '    .26068       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89613       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98762       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=   7976.781     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2565 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5185       -.53159E-07** at limit **
   2  Prefactor     .10000E-03    25.015       -.35576E-05** at limit **
   3  Prefactor     110.09        44.606       -.84595E-06   -.39674E-03
   4  norm          4.2784        4.0652        .26108E-06   -.10618E-03
   5  norm          .74975        .29159       -.56364E-08    .33265E-03
   6  Prefactor     .10001E-03    3.3771       -.72966E-07** at limit **
   7  Prefactor     .10000E-03    7.1612       -.95679E-08** at limit **
   8  Prefactor     .10000E-03    3.5007        .57061E-07** at limit **
   9  Prefactor     .10000E-03    43.539       -.85399E-07** at limit **
  10  norm          9.4928        15.186       -.14178E-06   -.15954E-04
  11  Prefactor     .10000E-03    8.4142        .29197E-07** at limit **
  12  Prefactor     .10000E-03    3.8518        .78171E-08** at limit **
  13  norm          .13206        .91194        .11564E-06   -.71545E-03
  14  Prefactor     .10000E-03    29.749        .29664E-06** at limit **
  15  Prefactor     28.865        11.382       -.11248E-06   -.50654E-04
  16  norm          1.1871        2.0627       -.42995E-06   -.52993E-03
  17  Prefactor     .10000E-03    2.7676       -.17036E-06** at limit **
  18  Prefactor     1.0442        6.4071        .46146E-05   -.36210E-03
  19  norm          .26055        .32282       -.42552E-06   -.38450E-02
  20  Prefactor     .10000E-03    16.897        .12291E-06** at limit **
  21  Prefactor     .10000E-03    1.8043       -.15323E-06** at limit **
  22  Normalizat    .89609        .15265       -.76638E-06   -.67736E-04
  23  Prefactor     .98766        .13706        .32499E-06   -.91379E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 110.086
  norm       = 4.27842
  norm       = 0.749751
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.49279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.132061
  Prefactor  = 0.000100001
  Prefactor  = 28.8645
  norm       = 1.1871
  Prefactor  = 0.0001
  Prefactor  = 1.04422
  norm       = 0.260554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.896094
  Prefactor  = 0.987658
 **********
 **   18 **HESSE 
 **********

 FCN=   7976.781     FROM HESSE     STATUS=OK           372 CALLS     2937 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5192        .13842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     110.09        44.760        .19165E-03   -1.3606    
   4  norm          4.2784        4.0355        .15634E-03   -1.5294    
   5  norm          .74975        .29029        .27994E-04   -1.5535    
   6  Prefactor     .10001E-03    25.930        .31489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.1931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.5740        .16313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    43.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.4928        15.103        .13007E-03   -1.5092    
  11  Prefactor     .10000E-03    8.4710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.8850        .17113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .13206        1.9553        .16262E-02   -1.5635    
  14  Prefactor     .10000E-03    30.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.865        11.458        .74572E-04   -1.4633    
  16  norm          1.1871        1.9783        .15454E-03   -1.5490    
  17  Prefactor     .10000E-03    2.7724        .14510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.0442        6.6595        .37226E-03   -1.5504    
  19  norm          .26055        .31342        .52948E-03   -1.5606    
  20  Prefactor     .10000E-03    16.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.8107        .11719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89609        .18222        .24471E-03   -.96597    
  23  Prefactor     .98766        .16431        .21863E-03   -.93142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50725e-09
Minuit parameter uncertainties:
  1  4.68712e-06
  2  0.000618764
  3  44.7738
  4  4.03577
  5  0.290293
  6  0.00103244
  7  8.9696e-06
  8  5.77997e-07
  9  0.000120117
  10  15.1093
  11  5.38018e-06
  12  2.70657e-06
  13  1.01595
  14  0.000255566
  15  11.4589
  16  1.97837
  17  1.01648e-05
  18  5.27469
  19  0.313422
  20  3.93405e-05
  21  8.34779e-06
  22  0.182343
  23  0.164397
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  9.493e+00  1.511e+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.877e-01  1.644e-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.961e-01  1.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/355561/likelihoodResults_643939201_644198401_4FGL_J2234.1-2656_daily_bin1561.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) = 7976.76711696
delta logL = 0.0140252842011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7976.76625376
delta logL = 0.0148884810133

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9036       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1141       1.0000          .0000       5.0000    
     3 'Normalizat'    .89398       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98868       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=   7976.766     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      265 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9028        15.437        .13433E-03    .37197E-03
   2  alpha         2.1143        .95921        .22301E-01    .56817E-04
   3  Normalizat    .89388        .17127        .24499E-03   -.16200E-03
   4  Prefactor     .98877        .16061        .21852E-03   -.23380E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.90285
  alpha      = 2.11426
  Normalizat = 0.893883
  Prefactor  = 0.988766
 **********
 **   18 **HESSE 
 **********

 FCN=   7976.766     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9028        14.829        .53730E-05   -1.5111    
   2  alpha         2.1143        .92347        .89203E-03   -.15491    
   3  Normalizat    .89388        .17135        .97995E-05   -.96675    
   4  Prefactor     .98877        .16068        .43705E-04   -.93105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.18618e-10
Minuit parameter uncertainties:
  1  14.8348
  2  0.94646
  3  0.171453
  4  0.160761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/355561': 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) = 7976.76625358
delta logL = 0.01488866421

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  8.903e+00  1.483e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.114e+00  9.465e-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.888e-01  1.608e-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.939e-01  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
Ra Dec: 338.543 -26.938

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/355561/cmap_HighResolution_643939201_644198401_4FGL_J2234.1-2656_daily_bin1561.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-05', job_status='DONE', photon_flux_upper_limit='4.80e-08', time_completed='2021-09-28 14:43:10.621756', job_id='355561', GAL2='0.99', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1632865390.62', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.49e-02', ts2='0.53', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1561' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:43:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 355561: <4FGL_J2234.1-2656_daily_bin1561> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1561> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 14:30:27 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:30:30 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:30:30 2021
Terminated at Tue Sep 28 14:43:11 2021
Results reported at Tue Sep 28 14:43:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1561 338.543 -26.9375 643939201 644198401 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 :                                   723.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             308.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            764 sec.

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

