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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1061
RA = 338.543, Dec = -26.9375
tmin = 514339201, tmax = 514598401
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='354263', job_status='RUN', time_executed='2021-09-28 14:28:12.759280', time_epoch_executed='1632864492.76' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1061'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354263

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354263/ft1_4FGL_J2234.1-2656_daily_bin1061.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354263/ft2_4FGL_J2234.1-2656_daily_bin1061.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354263/ft1_4FGL_J2234.1-2656_daily_bin1061.fits outfile=/scratch/kocevski/354263/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1061.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=514339201.0 tmax=514598401.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.18
user 3.94
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354263/ft1_filtered_4FGL_J2234.1-2656_daily_bin1061.fits" evtable="EVENTS" scfile=/scratch/kocevski/354263/ft2_4FGL_J2234.1-2656_daily_bin1061.fits sctable="SC_DATA" outfile=/scratch/kocevski/354263/ltcube_514339201_514598401_4FGL_J2234.1-2656_daily_bin1061.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/354263/ft2_4FGL_J2234.1-2656_daily_bin1061.fits
.....................!
real 11.78
user 11.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354263/ft1_filtered_4FGL_J2234.1-2656_daily_bin1061.fits evtable="EVENTS" scfile=/scratch/kocevski/354263/ft2_4FGL_J2234.1-2656_daily_bin1061.fits sctable="SC_DATA" expcube=/scratch/kocevski/354263/ltcube_514339201_514598401_4FGL_J2234.1-2656_daily_bin1061.fits outfile=/scratch/kocevski/354263/expmap_514339201_514598401_4FGL_J2234.1-2656_daily_bin1061.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/354263/ltcube_514339201_514598401_4FGL_J2234.1-2656_daily_bin1061.fits
.....................!
real 190.81
user 186.24
sys 4.25

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/354263/ft1_filtered_4FGL_J2234.1-2656_daily_bin1061.fits scfile=/scratch/kocevski/354263/ft2_4FGL_J2234.1-2656_daily_bin1061.fits outfile=/scratch/kocevski/354263/cmap_514339201_514598401_4FGL_J2234.1-2656_daily_bin1061.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=338.543 yref=-26.9375 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.39
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/354263/ft1_filtered_4FGL_J2234.1-2656_daily_bin1061.fits evtable="EVENTS" scfile=/scratch/kocevski/354263/ft2_4FGL_J2234.1-2656_daily_bin1061.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354263/Model_4FGL_J2234.1-2656_daily_bin1061.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/354263/ft1_filtered_4FGL_J2234.1-2656_daily_bin1061.fits.....................!
real 42.98
user 41.71
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.550       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.1439       1.0000         .10000E-03   10000.    
     5 'norm      '    1.3481       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    66.828       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2927       1.0000         .10000E-03   10000.    
    10 'norm      '    11.045       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10215E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9724       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.9511       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.831       1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2154       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .67919       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=   4845.958     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2544 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.141        .79686E-06** at limit **
   2  Prefactor     13.543        23.769        .10216E-06   -.12962E-04
   3  Prefactor     .10000E-03    70.281       -.13067E-06** at limit **
   4  norm          9.1429        6.9062        .15363E-06   -.76611E-04
   5  norm          1.3481        .49003        .10599E-08    .25882E-04
   6  Prefactor     .10000E-03    8.4964        .33559E-06** at limit **
   7  Prefactor     66.842        26.947        .15450E-06    .22807E-04
   8  Prefactor     .10000E-03    3.1971        .98073E-07** at limit **
   9  Prefactor     2.1970        684.16       -.13437E-04    .18359E-05
  10  norm          11.045        19.286        .35130E-07   -.20296E-04
  11  Prefactor     .10003E-03    10.151       -.60377E-06** at limit **
  12  Prefactor     7.9727        13.103        .12328E-06   -.20076E-04
  13  norm          .10000E-03    1.0753        .35113E-06** at limit **
  14  Prefactor     .10000E-03    21.846        .78051E-07** at limit **
  15  Prefactor     .10000E-03    3.3831        .92281E-07** at limit **
  16  norm          8.9542        6.9405       -.11374E-06   -.58896E-03
  17  Prefactor     .10000E-03    9.6280        .43098E-06** at limit **
  18  Prefactor     29.848        12.562       -.12787E-05   -.10437E-02
  19  norm          .10000E-03    .39362        .89048E-06** at limit **
  20  Prefactor     .10000E-03    16.407        .89356E-07** at limit **
  21  Prefactor     .10000E-03    6.3274        .28963E-06** at limit **
  22  Normalizat    1.2154        .21691       -.84226E-06    .29377E-04
  23  Prefactor     .67922        .18492       -.11133E-06   -.21984E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.5432
  Prefactor  = 0.0001
  norm       = 9.14286
  norm       = 1.3481
  Prefactor  = 0.0001
  Prefactor  = 66.8417
  Prefactor  = 0.0001
  Prefactor  = 2.19698
  norm       = 11.0453
  Prefactor  = 0.000100033
  Prefactor  = 7.97273
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.95418
  Prefactor  = 0.0001
  Prefactor  = 29.848
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21544
  Prefactor  = 0.679218
 **********
 **   18 **HESSE 
 **********

 FCN=   4845.958     FROM HESSE     STATUS=OK           372 CALLS     2916 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.222        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.543        23.746        .10881E-03   -1.4972    
   3  Prefactor     .10000E-03    70.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.1429        6.9177        .13254E-03   -1.5103    
   5  norm          1.3481        .49066        .27261E-04   -1.5476    
   6  Prefactor     .10000E-03    8.5656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     66.842        26.952        .49096E-04   -1.4071    
   8  Prefactor     .10000E-03    3.2044        .12154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1970        707.47        .27108E-02   -1.5412    
  10  norm          11.045        19.267        .12055E-03   -1.5043    
  11  Prefactor     .10003E-03    41.678        .42901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.9727        13.129        .14200E-03   -1.5143    
  13  norm          .10000E-03    1.8240        .13933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.3858        .12505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.9542        6.9415        .13397E-03   -1.5109    
  17  Prefactor     .10000E-03    9.6519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.848        13.362        .73356E-04   -1.4615    
  19  norm          .10000E-03    .56552        .79396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    16.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.3499        .17100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2154        .26714        .23992E-03   -.86127    
  23  Prefactor     .67922        .22702        .27166E-03   -1.0435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73288e-09
Minuit parameter uncertainties:
  1  4.70577e-05
  2  23.7628
  3  9.37671e-06
  4  6.91833
  5  0.49066
  6  9.48024e-06
  7  26.9571
  8  1.44069e-06
  9  79.817
  10  19.2777
  11  0.0023415
  12  13.1338
  13  3.49615e-05
  14  4.54154e-05
  15  2.04615e-06
  16  6.94209
  17  2.22584e-05
  18  13.363
  19  2.04473e-05
  20  2.01065e-05
  21  3.92891e-07
  22  0.26744
  23  0.227333
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.105e+01  1.928e+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:  6.792e-01  2.273e-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.215e+00  2.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/354263/likelihoodResults_514339201_514598401_4FGL_J2234.1-2656_daily_bin1061.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4844.69563329
delta logL = 1.2622551467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4844.68933584
delta logL = 1.26855259616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.429       1.0000         .10000E-03   10000.    
     2 'alpha     '    .94479       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67215       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.

 FCN=   4844.689     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      208 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.429        12.790        .28406E-02    .44902E-03
   2  alpha         .94473        .40096        .32137       -.27142E-04
   3  Normalizat    1.2218        .20728        .54086E-01   -.16507E-04
   4  Prefactor     .67215        .18168        .61669E-01    .31687E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.4285
  alpha      = 0.944729
  Normalizat = 1.22184
  Prefactor  = 0.672149
 **********
 **   18 **HESSE 
 **********

 FCN=   4844.689     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.429        17.444        .11363E-03   -1.5003    
   2  alpha         .94473        .55707        .13862E-01   -.67143    
   3  Normalizat    1.2218        .25321        .23915E-03   -.85931    
   4  Prefactor     .67215        .22186        .27280E-03   -1.0463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87802e-10
Minuit parameter uncertainties:
  1  17.4512
  2  0.564883
  3  0.253468
  4  0.222151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354263': 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) = 4844.68933582
delta logL = 1.26855260934

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.243e+01  1.745e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  9.447e-01  5.649e-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:  6.721e-01  2.222e-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.222e+00  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 0.94 +/- 0.56
Photon Flux (Free Index): 7.73e-09 +/- 8.98e-09
Energy Flux (Free Index): 7.36e-05 +/- 9.51e-05

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/354263/cmap_HighResolution_514339201_514598401_4FGL_J2234.1-2656_daily_bin1061.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.92e-05', comment='SUCCESS', energy_flux2='7.36e-05', dlogl='1.27e+00', photon_flux2='7.73e-09', job_status='DONE', time_completed='2021-09-28 14:37:28.047864', photon_index_error2='0.56', photon_index2='0.94', ts='0.49', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', photon_flux_upper_limit='7.06e-08', energy_flux_error2='9.51e-05', EG='1.22', time_epoch_completed='1632865048.05', return_code='0', job_id='354263', GAL2='0.67', EG2='1.22', return_code2='0', photon_flux_error2='8.98e-09', ts2='3.03', photon_index='1.95' WHERE bin_id='1061' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:37:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 354263: <4FGL_J2234.1-2656_daily_bin1061> in cluster <slac> Done

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

Your job looked like:

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

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

