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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin874
RA = 338.543, Dec = -26.9375
tmin = 465868801, tmax = 466128001
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='353089', job_status='RUN', time_executed='2021-09-28 14:24:40.605073', time_epoch_executed='1632864280.61' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='874'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353089

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353089/ft1_4FGL_J2234.1-2656_daily_bin874.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353089/ft2_4FGL_J2234.1-2656_daily_bin874.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353089/ft1_4FGL_J2234.1-2656_daily_bin874.fits outfile=/scratch/kocevski/353089/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin874.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=465868801.0 tmax=466128001.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.93
user 3.71
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353089/ft1_filtered_4FGL_J2234.1-2656_daily_bin874.fits" evtable="EVENTS" scfile=/scratch/kocevski/353089/ft2_4FGL_J2234.1-2656_daily_bin874.fits sctable="SC_DATA" outfile=/scratch/kocevski/353089/ltcube_465868801_466128001_4FGL_J2234.1-2656_daily_bin874.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/353089/ft2_4FGL_J2234.1-2656_daily_bin874.fits
.....................!
real 11.75
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353089/ft1_filtered_4FGL_J2234.1-2656_daily_bin874.fits evtable="EVENTS" scfile=/scratch/kocevski/353089/ft2_4FGL_J2234.1-2656_daily_bin874.fits sctable="SC_DATA" expcube=/scratch/kocevski/353089/ltcube_465868801_466128001_4FGL_J2234.1-2656_daily_bin874.fits outfile=/scratch/kocevski/353089/expmap_465868801_466128001_4FGL_J2234.1-2656_daily_bin874.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/353089/ltcube_465868801_466128001_4FGL_J2234.1-2656_daily_bin874.fits
.....................!
real 190.94
user 185.74
sys 4.89

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/353089/ft1_filtered_4FGL_J2234.1-2656_daily_bin874.fits scfile=/scratch/kocevski/353089/ft2_4FGL_J2234.1-2656_daily_bin874.fits outfile=/scratch/kocevski/353089/cmap_465868801_466128001_4FGL_J2234.1-2656_daily_bin874.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.78
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353089/ft1_filtered_4FGL_J2234.1-2656_daily_bin874.fits scfile=/scratch/kocevski/353089/ft2_4FGL_J2234.1-2656_daily_bin874.fits outfile=/scratch/kocevski/353089/cmap_HighResolution_465868801_466128001_4FGL_J2234.1-2656_daily_bin874.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353089/ft1_filtered_4FGL_J2234.1-2656_daily_bin874.fits evtable="EVENTS" scfile=/scratch/kocevski/353089/ft2_4FGL_J2234.1-2656_daily_bin874.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353089/Model_4FGL_J2234.1-2656_daily_bin874.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/353089/ft1_filtered_4FGL_J2234.1-2656_daily_bin874.fits.....................!
real 56.96
user 55.64
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.500       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.265       1.0000         .10000E-03   10000.    
     4 'norm      '    .12941       1.0000         .10000E-03   10000.    
     5 'norm      '    1.6999       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .28240E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19776E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    25.044       1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.649       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0622       1.0000         .10000E-03   10000.    
    13 'norm      '    .27920       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11350E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13046E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    1.5349       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.6544       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10958E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .73907E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1631       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .59001       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=   7468.461     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2285 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2157       -.36934E-06** at limit **
   2  Prefactor     14.493        16.621       -.54128E-07    .14286E-04
   3  Prefactor     15.188        46.210        .18842E-05   -.26959E-04
   4  norm          .12243        1.4826        .13237E-06   -.53928E-03
   5  norm          1.6999        .36900        .52979E-07    .37294E-03
   6  Prefactor     .10020E-03    5.2926        .90637E-06** at limit **
   7  Prefactor     .10000E-03    3.9998       -.58338E-07** at limit **
   8  Prefactor     .10000E-03    3.1951       -.33046E-06** at limit **
   9  Prefactor     .10000E-03    17.829        .80713E-07** at limit **
  10  norm          25.042        16.424       -.28453E-06   -.70295E-04
  11  Prefactor     31.637        17.341       -.13588E-06   -.27116E-04
  12  Prefactor     2.0624        7.4272        .10172E-05    .15434E-04
  13  norm          .27933        .83776        .47947E-06    .28814E-03
  14  Prefactor     .10000E-03    30.256       -.43883E-06** at limit **
  15  Prefactor     .10002E-03    5.8659        .91932E-06** at limit **
  16  norm          1.5355        1.9678       -.69873E-07   -.13467E-03
  17  Prefactor     6.6540        7.3173       -.24232E-06    .22950E-03
  18  Prefactor     .10000E-03    2.4702       -.50437E-06** at limit **
  19  norm          .74039E-01    .21016        .35584E-06    .16414E-02
  20  Prefactor     .10000E-03    52.674        .31400E-06** at limit **
  21  Prefactor     .10000E-03    4.4837        .40414E-07** at limit **
  22  Normalizat    1.1631        .14853        .60567E-06   -.24374E-03
  23  Prefactor     .59006        .13180       -.73592E-06   -.13426E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.4933
  Prefactor  = 15.1877
  norm       = 0.122428
  norm       = 1.69991
  Prefactor  = 0.000100195
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 25.0423
  Prefactor  = 31.6367
  Prefactor  = 2.06243
  norm       = 0.279329
  Prefactor  = 0.0001
  Prefactor  = 0.000100019
  norm       = 1.53555
  Prefactor  = 6.65402
  Prefactor  = 0.000100004
  norm       = 0.0740392
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.16308
  Prefactor  = 0.590063
 **********
 **   18 **HESSE 
 **********

 FCN=   7468.461     FROM HESSE     STATUS=OK           384 CALLS     2669 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2139        .15123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.493        16.566        .10519E-03   -1.4946    
   3  Prefactor     15.188        45.941        .10251E-03   -1.4928    
   4  norm          .12243        24.350        .19012E-02   -1.5638    
   5  norm          1.6999        .38454        .22761E-04   -1.5447    
   6  Prefactor     .10020E-03    48.698        .36611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.0068        .16879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.547        .29544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          25.042        16.392        .80045E-04   -1.4707    
  11  Prefactor     31.637        17.286        .71223E-04   -1.4582    
  12  Prefactor     2.0624        7.3313        .28775E-03   -1.5421    
  13  norm          .27933        .80123        .13145E-02   -1.5602    
  14  Prefactor     .10000E-03    30.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    20.872        .38533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5355        1.9249        .12980E-03   -1.5460    
  17  Prefactor     6.6540        7.1974        .15556E-03   -1.5192    
  18  Prefactor     .10000E-03    10.972        .24031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .74039E-01    .20693        .61762E-04   -1.5654    
  20  Prefactor     .10000E-03    52.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.5383        .17848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1631        .16644        .20211E-03   -.87752    
  23  Prefactor     .59006        .15031        .25082E-03   -1.0801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59684e-09
Minuit parameter uncertainties:
  1  9.72697e-06
  2  16.5714
  3  46.0487
  4  3.45321
  5  0.384543
  6  0.00616919
  7  4.30482e-06
  8  0.000269201
  9  7.43636e-06
  10  16.3948
  11  17.2889
  12  7.33445
  13  0.801262
  14  0.000155693
  15  0.00126005
  16  1.925
  17  7.19831
  18  0.000423545
  19  0.206929
  20  3.79009e-05
  21  1.0372e-05
  22  0.166518
  23  0.150417
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.504e+01  1.639e+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:  5.901e-01  1.504e-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.163e+00  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.07
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.80e-05 +/- 1.18e-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) = 7468.32123665
delta logL = 0.139298366698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7468.32017582
delta logL = 0.140359198404

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.752       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7023       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58787       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=   7468.320     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      265 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.751        17.967        .78940E-04    .16130E-04
   2  alpha         1.7023        .47461        .13930E-01    .36155E-05
   3  Normalizat    1.1693        .16378        .20167E-03   -.46159E-04
   4  Prefactor     .58785        .14984        .25132E-03    .11219E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 25.7506
  alpha      = 1.70232
  Normalizat = 1.16932
  Prefactor  = 0.587852
 **********
 **   18 **HESSE 
 **********

 FCN=   7468.320     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.751        18.046        .31576E-05   -1.4693    
   2  alpha         1.7023        .47669        .55720E-03   -.32475    
   3  Normalizat    1.1693        .16391        .40333E-04   -.87556    
   4  Prefactor     .58785        .14998        .10053E-04   -1.0810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02908e-11
Minuit parameter uncertainties:
  1  18.0502
  2  0.479964
  3  0.163985
  4  0.150081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353089': 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) = 7468.3201758
delta logL = 0.140359215338

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.575e+01  1.805e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.702e+00  4.800e-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:  5.879e-01  1.501e-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.169e+00  1.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.35
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.70 +/- 0.48
Photon Flux (Free Index): 1.97e-08 +/- 1.81e-08
Energy Flux (Free Index): 2.44e-05 +/- 2.23e-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/353089/cmap_HighResolution_465868801_466128001_4FGL_J2234.1-2656_daily_bin874.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='2.44e-05', photon_flux_error='1.69e-08', dlogl='1.40e-01', energy_flux='1.80e-05', photon_flux2='1.97e-08', job_status='DONE', time_completed='2021-09-28 14:34:45.789326', photon_index_error2='0.48', photon_index2='1.70', ts='8.07', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='2.23e-05', EG='1.16', time_epoch_completed='1632864885.79', return_code='0', job_id='353089', GAL2='0.59', EG2='1.17', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='1.81e-08', ts2='8.35', photon_index='1.95' WHERE bin_id='874' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:34:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 353089: <4FGL_J2234.1-2656_daily_bin874> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin874> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:20:57 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:20:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 14:20:58 2021
Terminated at Tue Sep 28 14:34:48 2021
Results reported at Tue Sep 28 14:34:48 2021

Your job looked like:

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

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

