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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1298
RA = 338.543, Dec = -26.9375
tmin = 575769601, tmax = 576028801
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='354632', job_status='RUN', time_executed='2021-09-28 14:26:54.043483', time_epoch_executed='1632864414.04' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1298'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354632

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354632/ft1_4FGL_J2234.1-2656_daily_bin1298.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354632/ft2_4FGL_J2234.1-2656_daily_bin1298.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354632/ft1_4FGL_J2234.1-2656_daily_bin1298.fits outfile=/scratch/kocevski/354632/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1298.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=575769601.0 tmax=576028801.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.85
user 3.63
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/354632/ft2_4FGL_J2234.1-2656_daily_bin1298.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/354632/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1298.fits evtable="EVENTS" outfile="/scratch/kocevski/354632/ft1_filtered_4FGL_J2234.1-2656_daily_bin1298.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354632/ft1_filtered_4FGL_J2234.1-2656_daily_bin1298.fits" evtable="EVENTS" scfile=/scratch/kocevski/354632/ft2_4FGL_J2234.1-2656_daily_bin1298.fits sctable="SC_DATA" outfile=/scratch/kocevski/354632/ltcube_575769601_576028801_4FGL_J2234.1-2656_daily_bin1298.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/354632/ft2_4FGL_J2234.1-2656_daily_bin1298.fits
.....................!
real 11.73
user 11.37
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354632/ft1_filtered_4FGL_J2234.1-2656_daily_bin1298.fits evtable="EVENTS" scfile=/scratch/kocevski/354632/ft2_4FGL_J2234.1-2656_daily_bin1298.fits sctable="SC_DATA" expcube=/scratch/kocevski/354632/ltcube_575769601_576028801_4FGL_J2234.1-2656_daily_bin1298.fits outfile=/scratch/kocevski/354632/expmap_575769601_576028801_4FGL_J2234.1-2656_daily_bin1298.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/354632/ltcube_575769601_576028801_4FGL_J2234.1-2656_daily_bin1298.fits
.....................!
real 190.07
user 184.77
sys 4.95

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/354632/ft1_filtered_4FGL_J2234.1-2656_daily_bin1298.fits scfile=/scratch/kocevski/354632/ft2_4FGL_J2234.1-2656_daily_bin1298.fits outfile=/scratch/kocevski/354632/cmap_575769601_576028801_4FGL_J2234.1-2656_daily_bin1298.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.58
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354632/ft1_filtered_4FGL_J2234.1-2656_daily_bin1298.fits scfile=/scratch/kocevski/354632/ft2_4FGL_J2234.1-2656_daily_bin1298.fits outfile=/scratch/kocevski/354632/cmap_HighResolution_575769601_576028801_4FGL_J2234.1-2656_daily_bin1298.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0343       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .66166       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2154       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8242       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    63.403       1.0000         .10000E-03   10000.    
    10 'norm      '    21.530       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1264       1.0000         .10000E-03   10000.    
    13 'norm      '    .72388       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.7348       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .86921E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.704       1.0000         .10000E-03   10000.    
    19 'norm      '    .54433       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0197       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83481       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=   7347.748     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2635 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0347        6.7839       -.12458E-06   -.81048E-04
   2  Prefactor     .10000E-03    7.1561       -.27269E-06** at limit **
   3  Prefactor     .10000E-03    35.118        .38893E-06** at limit **
   4  norm          .66881        2.6284       -.37283E-07   -.15371E-03
   5  norm          1.2154        .35321        .12105E-08    .22433E-03
   6  Prefactor     4.8244        5.2326        .10892E-06   -.69418E-03
   7  Prefactor     .10000E-03    5.8588       -.40863E-05** at limit **
   8  Prefactor     .10000E-03    3.8123        .99974E-07** at limit **
   9  Prefactor     63.403        43.242        .52232E-07    .95065E-07
  10  norm          21.530        14.395        .12900E-07   -.26099E-04
  11  Prefactor     .10000E-03    14.810       -.12966E-05** at limit **
  12  Prefactor     3.1274        4.5545        .61722E-06   -.11710E-02
  13  norm          .72337        1.2785       -.73132E-07   -.37451E-03
  14  Prefactor     .10000E-03    14.173        .14536E-05** at limit **
  15  Prefactor     .10000E-03    5.8672        .43241E-05** at limit **
  16  norm          1.7321        3.6082        .16854E-06   -.66728E-03
  17  Prefactor     .10022E-03    13.672        .20334E-05** at limit **
  18  Prefactor     18.675        9.7487       -.76002E-06   -.15627E-02
  19  norm          .54455        .63191        .93140E-07   -.23435E-02
  20  Prefactor     .10000E-03    115.72       -.12786E-04** at limit **
  21  Prefactor     .10000E-03    4.6679        .35565E-07** at limit **
  22  Normalizat    1.0197        .15515        .22156E-06   -.20959E-03
  23  Prefactor     .83487        .14101       -.25206E-06   -.13537E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.03469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.668815
  norm       = 1.21538
  Prefactor  = 4.82436
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 63.4029
  norm       = 21.5301
  Prefactor  = 0.0001
  Prefactor  = 3.12742
  norm       = 0.723366
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.73208
  Prefactor  = 0.000100223
  Prefactor  = 18.675
  norm       = 0.544548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01965
  Prefactor  = 0.834875
 **********
 **   18 **HESSE 
 **********

 FCN=   7347.748     FROM HESSE     STATUS=OK           374 CALLS     3009 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0347        6.7701        .29000E-03   -1.5423    
   2  Prefactor     .10000E-03    7.1727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    35.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .66881        4.5834        .24138E-02   -1.5544    
   5  norm          1.2154        .34850        .24764E-04   -1.5487    
   6  Prefactor     4.8244        5.4480        .91579E-03   -1.5269    
   7  Prefactor     .10000E-03    5.8071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.8597        .16336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     63.403        43.240        .50397E-04   -1.4114    
  10  norm          21.530        14.381        .86322E-04   -1.4780    
  11  Prefactor     .10000E-03    15.000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1274        8.9338        .11465E-02   -1.5354    
  13  norm          .72337        .98979        .12444E-02   -1.5538    
  14  Prefactor     .10000E-03    14.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.8474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7321        3.5142        .20871E-03   -1.5445    
  17  Prefactor     .10022E-03    112.66        .49028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.675        8.8130        .92609E-04   -1.4843    
  19  norm          .54455        .57977        .55883E-03   -1.5560    
  20  Prefactor     .10000E-03    116.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.7115        .18065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0197        .18610        .22937E-03   -.92375    
  23  Prefactor     .83487        .16825        .23132E-03   -.98455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52286e-08
Minuit parameter uncertainties:
  1  6.77267
  2  1.40725e-06
  3  1.59332e-05
  4  3.50179
  5  0.348498
  6  5.44858
  7  3.52416e-05
  8  4.27271e-07
  9  43.2611
  10  14.3829
  11  1.575e-05
  12  8.93765
  13  0.989813
  14  2.42943e-05
  15  2.65491e-05
  16  3.51462
  17  0.0100361
  18  8.81361
  19  0.579779
  20  0.000272791
  21  4.8662e-06
  22  0.18622
  23  0.168358
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.153e+01  1.438e+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:  8.349e-01  1.684e-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.020e+00  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.90
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.22e-08 +/- 1.49e-08
Energy Flux (Fixed Index): 1.55e-05 +/- 1.04e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7347.73375505
delta logL = 0.0143212733747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7347.73254195
delta logL = 0.0155343782553

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.235       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8661       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0212       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83432       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=   7347.733     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      234 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.235        15.338        .84945E-04    .29586E-03
   2  alpha         1.8661        .49972        .13986E-01    .41646E-04
   3  Normalizat    1.0213        .17846        .22920E-03   -.31844E-04
   4  Prefactor     .83422        .16513        .23141E-03   -.33996E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.2347
  alpha      = 1.86614
  Normalizat = 1.02133
  Prefactor  = 0.83422
 **********
 **   18 **HESSE 
 **********

 FCN=   7347.733     FROM HESSE     STATUS=OK            25 CALLS      259 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.235        15.242        .16989E-04   -1.4765    
   2  alpha         1.8661        .49663        .55942E-03   -.25634    
   3  Normalizat    1.0213        .17865        .91681E-05   -.92319    
   4  Prefactor     .83422        .16532        .92564E-05   -.98479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27007e-10
Minuit parameter uncertainties:
  1  15.2443
  2  0.500192
  3  0.178759
  4  0.165416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354632': 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) = 7347.73254164
delta logL = 0.0155346873498

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.223e+01  1.524e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.866e+00  5.002e-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:  8.342e-01  1.654e-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.021e+00  1.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.93
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.87 +/- 0.50
Photon Flux (Free Index): 2.05e-08 +/- 1.69e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.58e-05

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/354632/cmap_HighResolution_575769601_576028801_4FGL_J2234.1-2656_daily_bin1298.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.22e-08', energy_flux2='1.72e-05', photon_flux_error='1.49e-08', dlogl='1.55e-02', energy_flux='1.55e-05', photon_flux2='2.05e-08', job_status='DONE', time_completed='2021-09-28 14:37:27.134635', photon_index_error2='0.50', photon_index2='1.87', ts='5.90', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='1.02', time_epoch_completed='1632865047.13', return_code='0', job_id='354632', GAL2='0.83', EG2='1.02', return_code2='0', energy_flux_error='1.04e-05', photon_flux_error2='1.69e-08', ts2='5.93', photon_index='1.95' WHERE bin_id='1298' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:37:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 354632: <4FGL_J2234.1-2656_daily_bin1298> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1298 338.543 -26.9375 575769601 576028801 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 :                                   631.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            698 sec.

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

