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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin650
RA = 338.543, Dec = -26.9375
tmin = 407808001, tmax = 408067201
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='352736', job_status='RUN', time_executed='2021-09-28 14:22:33.204468', time_epoch_executed='1632864153.2' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352736

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352736/ft1_4FGL_J2234.1-2656_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352736/ft2_4FGL_J2234.1-2656_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352736/ft1_4FGL_J2234.1-2656_daily_bin650.fits outfile=/scratch/kocevski/352736/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin650.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=407808001.0 tmax=408067201.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.10
user 3.87
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352736/ft1_filtered_4FGL_J2234.1-2656_daily_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/352736/ft2_4FGL_J2234.1-2656_daily_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/352736/ltcube_407808001_408067201_4FGL_J2234.1-2656_daily_bin650.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/352736/ft2_4FGL_J2234.1-2656_daily_bin650.fits
.....................!
real 12.41
user 12.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352736/ft1_filtered_4FGL_J2234.1-2656_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/352736/ft2_4FGL_J2234.1-2656_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/352736/ltcube_407808001_408067201_4FGL_J2234.1-2656_daily_bin650.fits outfile=/scratch/kocevski/352736/expmap_407808001_408067201_4FGL_J2234.1-2656_daily_bin650.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/352736/ltcube_407808001_408067201_4FGL_J2234.1-2656_daily_bin650.fits
.....................!
real 191.48
user 186.09
sys 4.83

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/352736/ft1_filtered_4FGL_J2234.1-2656_daily_bin650.fits scfile=/scratch/kocevski/352736/ft2_4FGL_J2234.1-2656_daily_bin650.fits outfile=/scratch/kocevski/352736/cmap_407808001_408067201_4FGL_J2234.1-2656_daily_bin650.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352736/ft1_filtered_4FGL_J2234.1-2656_daily_bin650.fits scfile=/scratch/kocevski/352736/ft2_4FGL_J2234.1-2656_daily_bin650.fits outfile=/scratch/kocevski/352736/cmap_HighResolution_407808001_408067201_4FGL_J2234.1-2656_daily_bin650.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/352736/ft1_filtered_4FGL_J2234.1-2656_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/352736/ft2_4FGL_J2234.1-2656_daily_bin650.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352736/Model_4FGL_J2234.1-2656_daily_bin650.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/352736/ft1_filtered_4FGL_J2234.1-2656_daily_bin650.fits.....................!
real 44.23
user 42.71
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.594       1.0000         .10000E-03   10000.    
     3 'Prefactor '    54.434       1.0000         .10000E-03   10000.    
     4 'norm      '    3.8898       1.0000         .10000E-03   10000.    
     5 'norm      '    .98446       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4268       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8460       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.263       1.0000         .10000E-03   10000.    
    10 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .57775       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.966       1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.9945       1.0000         .10000E-03   10000.    
    19 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0426       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0807       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=   5159.522     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     3231 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.4728       -.24840E-06** at limit **
   2  Prefactor     10.637        32.164        .43137E-05    .24309E-04
   3  Prefactor     54.360        92.699       -.79910E-05   -.17742E-03
   4  norm          3.8888        4.7691        .44193E-06   -.14638E-04
   5  norm          .98444        .38487       -.53384E-08   -.28884E-04
   6  Prefactor     4.4281        8.2642        .45008E-05   -.13802E-03
   7  Prefactor     .10000E-03    28.014       -.24190E-06** at limit **
   8  Prefactor     6.8456        6.2986        .47499E-07   -.86206E-05
   9  Prefactor     35.260        69.402        .29786E-06   -.12679E-04
  10  norm          .10000E-03    11.736       -.90408E-07** at limit **
  11  Prefactor     .10000E-03    10.690        .58678E-07** at limit **
  12  Prefactor     .10000E-03    18.000       -.32106E-07** at limit **
  13  norm          .57751        3.2796        .17318E-05   -.12446E-03
  14  Prefactor     .10000E-03    29.139       -.35089E-06** at limit **
  15  Prefactor     25.958        16.391        .12649E-07   -.30728E-04
  16  norm          .10000E-03    1.6988       -.33212E-07** at limit **
  17  Prefactor     .10000E-03    7.5440       -.91290E-08** at limit **
  18  Prefactor     9.9881        14.717       -.85705E-06   -.34981E-03
  19  norm          .10000E-03    .30312        .32549E-07** at limit **
  20  Prefactor     .10000E-03    47.164       -.12124E-07** at limit **
  21  Prefactor     .10001E-03    16.425        .10405E-05** at limit **
  22  Normalizat    1.0430        .23560        .17148E-05   -.25481E-03
  23  Prefactor     1.0804        .20229       -.22923E-05   -.65860E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.637
  Prefactor  = 54.3599
  norm       = 3.88882
  norm       = 0.984442
  Prefactor  = 4.42811
  Prefactor  = 0.0001
  Prefactor  = 6.84563
  Prefactor  = 35.2598
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.577506
  Prefactor  = 0.0001
  Prefactor  = 25.9583
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.98813
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Normalizat = 1.04303
  Prefactor  = 1.08037
 **********
 **   18 **HESSE 
 **********

 FCN=   5159.522     FROM HESSE     STATUS=OK           372 CALLS     3603 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.4812        .17846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.637        32.915        .12310E-03   -1.5056    
   3  Prefactor     54.360        96.870        .54366E-04   -1.4232    
   4  norm          3.8888        4.7573        .15398E-03   -1.5314    
   5  norm          .98444        .38466        .26001E-04   -1.5510    
   6  Prefactor     4.4281        8.3089        .95700E-03   -1.5287    
   7  Prefactor     .10000E-03    28.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.8456        6.3015        .15334E-03   -1.5185    
   9  Prefactor     35.260        69.634        .67485E-04   -1.4520    
  10  norm          .10000E-03    11.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .57751        3.3716        .24515E-03   -1.5556    
  14  Prefactor     .10000E-03    29.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.958        16.476        .78614E-04   -1.4689    
  16  norm          .10000E-03    1.7022        .91335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.5479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.9881        12.084        .12675E-03   -1.5076    
  19  norm          .10000E-03    .35379        .73164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    47.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    90.516        .44945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0430        .28733        .27547E-03   -.91602    
  23  Prefactor     1.0804        .24420        .23853E-03   -.90096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03859e-09
Minuit parameter uncertainties:
  1  5.76933e-06
  2  32.9715
  3  97.1522
  4  4.75781
  5  0.384658
  6  8.31109
  7  4.05782e-06
  8  6.30214
  9  69.7952
  10  1.74818e-05
  11  2.52603e-07
  12  3.5864e-05
  13  2.7908
  14  8.46789e-05
  15  16.4793
  16  1.69147e-06
  17  1.16124e-06
  18  12.0866
  19  8.21079e-07
  20  2.0642e-05
  21  0.00203825
  22  0.287761
  23  0.244448
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  1.748e-05  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.080e+00  2.444e-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:  1.043e+00  2.878e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/352736/likelihoodResults_407808001_408067201_4FGL_J2234.1-2656_daily_bin650.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): 102
logL (Free Index) = 5159.52249071
delta logL = -0.000404885105127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5159.52208582
delta logL = 3.35148797603e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9596       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0430       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0804       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=   5159.522     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      238 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10029E-03    854.92        .18142E-02** at limit **
   2  alpha         2.0183        2.8272        .50000       -.11147E-05
   3  Normalizat    1.0430        .50363E-01    .27547E-03    .65207E-05
   4  Prefactor     1.0804        .44547E-01    .23853E-03    .94846E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100293
  alpha      = 2.01834
  Normalizat = 1.04304
  Prefactor  = 1.08037
 **********
 **   18 **HESSE 
 **********

 FCN=   5159.522     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10029E-03    6289.9        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0183        3.4723        .50000       -.19388    
   3  Normalizat    1.0430        .19639        .11019E-04   -.91602    
   4  Prefactor     1.0804        .17373        .95412E-05   -.90096    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.88719e-08
Minuit parameter uncertainties:
  1  0.0576752
  2  4982.59
  3  0.196527
  4  0.173824
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352736': 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): 102
logL (Free Index) = 5159.5220858
delta logL = 2.89464878733e-08

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.003e-04  5.768e-02  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.018e+00  4.983e+03  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.080e+00  1.738e-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:  1.043e+00  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/352736/cmap_HighResolution_407808001_408067201_4FGL_J2234.1-2656_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-05', job_status='DONE', photon_flux_upper_limit='5.52e-08', time_completed='2021-09-28 14:32:39.529740', job_id='352736', GAL2='1.08', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1632864759.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.89e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='650' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:32:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 352736: <4FGL_J2234.1-2656_daily_bin650> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin650> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:20:25 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:20:27 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:27 2021
Terminated at Tue Sep 28 14:32:40 2021
Results reported at Tue Sep 28 14:32:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin650 338.543 -26.9375 407808001 408067201 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 :                                   604.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             311.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            735 sec.

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

