/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 75 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 = 7422
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin621
RA = 338.543, Dec = -26.9375
tmin = 400291201, tmax = 400550401
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='352691', job_status='RUN', time_executed='2021-09-28 14:21:50.740155', time_epoch_executed='1632864110.74' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='621'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352691/ft1_4FGL_J2234.1-2656_daily_bin621.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352691/ft2_4FGL_J2234.1-2656_daily_bin621.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352691/ft1_4FGL_J2234.1-2656_daily_bin621.fits outfile=/scratch/kocevski/352691/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin621.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=400291201.0 tmax=400550401.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.41
user 3.17
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352691/ft2_4FGL_J2234.1-2656_daily_bin621.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/352691/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin621.fits evtable="EVENTS" outfile="/scratch/kocevski/352691/ft1_filtered_4FGL_J2234.1-2656_daily_bin621.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.52
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352691/ft1_filtered_4FGL_J2234.1-2656_daily_bin621.fits" evtable="EVENTS" scfile=/scratch/kocevski/352691/ft2_4FGL_J2234.1-2656_daily_bin621.fits sctable="SC_DATA" outfile=/scratch/kocevski/352691/ltcube_400291201_400550401_4FGL_J2234.1-2656_daily_bin621.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/352691/ft2_4FGL_J2234.1-2656_daily_bin621.fits
.....................!
real 15.23
user 14.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352691/ft1_filtered_4FGL_J2234.1-2656_daily_bin621.fits evtable="EVENTS" scfile=/scratch/kocevski/352691/ft2_4FGL_J2234.1-2656_daily_bin621.fits sctable="SC_DATA" expcube=/scratch/kocevski/352691/ltcube_400291201_400550401_4FGL_J2234.1-2656_daily_bin621.fits outfile=/scratch/kocevski/352691/expmap_400291201_400550401_4FGL_J2234.1-2656_daily_bin621.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/352691/ltcube_400291201_400550401_4FGL_J2234.1-2656_daily_bin621.fits
.....................!
real 190.31
user 184.68
sys 5.22

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/352691/ft1_filtered_4FGL_J2234.1-2656_daily_bin621.fits scfile=/scratch/kocevski/352691/ft2_4FGL_J2234.1-2656_daily_bin621.fits outfile=/scratch/kocevski/352691/cmap_400291201_400550401_4FGL_J2234.1-2656_daily_bin621.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352691/ft1_filtered_4FGL_J2234.1-2656_daily_bin621.fits scfile=/scratch/kocevski/352691/ft2_4FGL_J2234.1-2656_daily_bin621.fits outfile=/scratch/kocevski/352691/cmap_HighResolution_400291201_400550401_4FGL_J2234.1-2656_daily_bin621.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/352691/ft1_filtered_4FGL_J2234.1-2656_daily_bin621.fits evtable="EVENTS" scfile=/scratch/kocevski/352691/ft2_4FGL_J2234.1-2656_daily_bin621.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352691/Model_4FGL_J2234.1-2656_daily_bin621.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/352691/ft1_filtered_4FGL_J2234.1-2656_daily_bin621.fits.....................!
real 44.30
user 42.97
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.0584       1.0000         .10000E-03   10000.    
     5 'norm      '    .89487       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.938       1.0000         .10000E-03   10000.    
    10 'norm      '    .11827E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13871E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .11325E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    146.65       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5169       1.0000         .10000E-03   10000.    
    16 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.0351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10981E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0953       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94670       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=   4944.145     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2535 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6486        .28455E-06** at limit **
   2  Prefactor     .10000E-03    9.7519       -.46172E-06** at limit **
   3  Prefactor     .10000E-03    42.045        .59597E-06** at limit **
   4  norm          3.0610        6.5803        .50333E-05   -.85883E-04
   5  norm          .89483        .39951       -.18329E-06    .19082E-03
   6  Prefactor     .10000E-03    17.789       -.23202E-05** at limit **
   7  Prefactor     .10000E-03    6.2429       -.67014E-07** at limit **
   8  Prefactor     .10000E-03    3.5244       -.28842E-06** at limit **
   9  Prefactor     14.072        106.72       -.38159E-04    .46868E-05
  10  norm          .10000E-03    37.287        .25821E-05** at limit **
  11  Prefactor     .10000E-03    14.224        .55828E-06** at limit **
  12  Prefactor     .10000E-03    15.575        .21434E-05** at limit **
  13  norm          .10000E-03    1.2742        .13525E-05** at limit **
  14  Prefactor     146.75        64.619       -.68038E-05   -.36086E-04
  15  Prefactor     1.5186        8.9695        .13636E-04   -.83559E-04
  16  norm          .10000E-03    1.5951        .21154E-06** at limit **
  17  Prefactor     9.0361        9.0363        .41284E-06   -.26784E-04
  18  Prefactor     .10000E-03    6.9205        .89702E-06** at limit **
  19  norm          .10000E-03    .20608        .69287E-07** at limit **
  20  Prefactor     .10000E-03    56.433       -.45411E-05** at limit **
  21  Prefactor     .10000E-03    4.1352        .12088E-06** at limit **
  22  Normalizat    1.0945        .20619       -.28146E-05    .84320E-04
  23  Prefactor     .94733        .18043        .35554E-05   -.17793E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.06101
  norm       = 0.894829
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.072
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100001
  Prefactor  = 146.745
  Prefactor  = 1.51857
  norm       = 0.0001
  Prefactor  = 9.03612
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09452
  Prefactor  = 0.947333
 **********
 **   18 **HESSE 
 **********

 FCN=   4944.145     FROM HESSE     STATUS=OK           364 CALLS     2899 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.7661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    42.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.0610        6.5863        .11599E-02   -1.5358    
   5  norm          .89483        .40005        .27408E-04   -1.5519    
   6  Prefactor     .10000E-03    18.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.2476        .17159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.5418        .12891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.072        105.78        .10729E-03   -1.4958    
  10  norm          .10000E-03    37.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.2905        .77649E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     146.75        65.022        .16638E-03   -1.3279    
  15  Prefactor     1.5186        8.9640        .17352E-02   -1.5462    
  16  norm          .10000E-03    1.6081        .86674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.0361        8.9814        .13334E-03   -1.5107    
  18  Prefactor     .10000E-03    7.0380        .18017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .24925        .61644E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    56.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.1466        .13960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0945        .24690        .24605E-03   -.89928    
  23  Prefactor     .94733        .21670        .23604E-03   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.82772e-10
Minuit parameter uncertainties:
  1  2.67231e-05
  2  1.50525e-05
  3  9.96e-05
  4  6.58783
  5  0.40005
  6  0.000170564
  7  6.51873e-06
  8  2.11085e-05
  9  77.3542
  10  1.26182e-05
  11  8.19184e-05
  12  0.000347871
  13  5.52455e-05
  14  65.0542
  15  7.38044
  16  8.54569e-06
  17  8.98278
  18  8.87205e-05
  19  1.46689e-07
  20  9.42487e-05
  21  9.19938e-06
  22  0.247158
  23  0.216895
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  1.262e-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:  9.473e-01  2.169e-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.095e+00  2.472e-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.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/352691/likelihoodResults_400291201_400550401_4FGL_J2234.1-2656_daily_bin621.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) = 4944.14468571
delta logL = -0.000125994314658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4944.14456045
delta logL = -7.31831278244e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11070E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4054       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0945       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94734       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=   4944.145     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      297 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.8179        .94916E-01** at limit **
   2  alpha         2.0769        3.9614        .50000        .19568E-06
   3  Normalizat    1.0945        .32157E-02    .24606E-03   -.32490E-03
   4  Prefactor     .94733        .29077E-02    .23604E-03   -.33669E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.07689
  Normalizat = 1.09452
  Prefactor  = 0.947334
 **********
 **   18 **HESSE 
 **********

 FCN=   4944.145     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      328 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    336.69        .55467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0769        3.7807        .50000       -.17006    
   3  Normalizat    1.0945        .14758E-01    .49212E-04   -.89928    
   4  Prefactor     .94733        .13345E-01    .47208E-04   -.94506    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.84699e-09
Minuit parameter uncertainties:
  1  0.000157744
  2  755.639
  3  0.0147579
  4  0.0133446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352691': 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) = 4944.14455966
delta logL = 5.74418663746e-08

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  1.577e-04  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.077e+00  7.556e+02  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.473e-01  1.334e-02  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.095e+00  1.476e-02  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/352691/cmap_HighResolution_400291201_400550401_4FGL_J2234.1-2656_daily_bin621.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-05', job_status='DONE', photon_flux_upper_limit='5.85e-08', time_completed='2021-09-28 14:31:16.166787', job_id='352691', GAL2='0.95', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632864676.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='5.74e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='621' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:31:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 352691: <4FGL_J2234.1-2656_daily_bin621> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin621 338.543 -26.9375 400291201 400550401 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 :                                   565.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             292.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            655 sec.

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

