/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 187 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 = 7378
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin370
RA = 338.543, Dec = -26.9375
tmin = 335232001, tmax = 335491201
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='351202', job_status='RUN', time_executed='2021-09-28 14:18:45.952384', time_epoch_executed='1632863925.95' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='370'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351202

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351202/ft1_4FGL_J2234.1-2656_daily_bin370.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351202/ft2_4FGL_J2234.1-2656_daily_bin370.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351202/ft1_4FGL_J2234.1-2656_daily_bin370.fits outfile=/scratch/kocevski/351202/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin370.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=335232001.0 tmax=335491201.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.73
user 3.50
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351202/ft1_filtered_4FGL_J2234.1-2656_daily_bin370.fits" evtable="EVENTS" scfile=/scratch/kocevski/351202/ft2_4FGL_J2234.1-2656_daily_bin370.fits sctable="SC_DATA" outfile=/scratch/kocevski/351202/ltcube_335232001_335491201_4FGL_J2234.1-2656_daily_bin370.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/351202/ft2_4FGL_J2234.1-2656_daily_bin370.fits
.....................!
real 11.80
user 11.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351202/ft1_filtered_4FGL_J2234.1-2656_daily_bin370.fits evtable="EVENTS" scfile=/scratch/kocevski/351202/ft2_4FGL_J2234.1-2656_daily_bin370.fits sctable="SC_DATA" expcube=/scratch/kocevski/351202/ltcube_335232001_335491201_4FGL_J2234.1-2656_daily_bin370.fits outfile=/scratch/kocevski/351202/expmap_335232001_335491201_4FGL_J2234.1-2656_daily_bin370.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/351202/ltcube_335232001_335491201_4FGL_J2234.1-2656_daily_bin370.fits
.....................!
real 190.48
user 185.06
sys 5.12

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351202/ft1_filtered_4FGL_J2234.1-2656_daily_bin370.fits scfile=/scratch/kocevski/351202/ft2_4FGL_J2234.1-2656_daily_bin370.fits outfile=/scratch/kocevski/351202/cmap_HighResolution_335232001_335491201_4FGL_J2234.1-2656_daily_bin370.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/351202/ft1_filtered_4FGL_J2234.1-2656_daily_bin370.fits evtable="EVENTS" scfile=/scratch/kocevski/351202/ft2_4FGL_J2234.1-2656_daily_bin370.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351202/Model_4FGL_J2234.1-2656_daily_bin370.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/351202/ft1_filtered_4FGL_J2234.1-2656_daily_bin370.fits.....................!
real 40.53
user 39.19
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.008       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.647       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13658E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.2099       1.0000         .10000E-03   10000.    
     5 'norm      '    1.1838       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12030E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .91031E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.6035       1.0000         .10000E-03   10000.    
    10 'norm      '    26.468       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    50.697       1.0000         .10000E-03   10000.    
    13 'norm      '    3.4572       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .37231E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.941       1.0000         .10000E-03   10000.    
    16 'norm      '    19.846       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .27142E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .43806E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    .78522       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12836E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.3621       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86106       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0228       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=   4492.801     FROM MIGRAD    STATUS=CONVERGED    955 CALLS     2647 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.013        17.574        .10010E-03    .10959E-03
   2  Prefactor     12.647        18.152        .11264E-03    .60356E-04
   3  Prefactor     .10000E-03    30.772        .18142E-02** at limit **
   4  norm          6.1848        5.8328        .14637E-03   -.81553E-05
   5  norm          1.1848        .48230        .27861E-04   -.17138E-03
   6  Prefactor     .10000E-03    3.1247        .11567E-02** at limit **
   7  Prefactor     .10015E-03    118.43        .47304E-02** at limit **
   8  Prefactor     .10004E-03    86.212        .41420E-02** at limit **
   9  Prefactor     10.859        75.416        .12931E-03   -.22506E-04
  10  norm          27.484        34.836        .77867E-04    .58400E-04
  11  Prefactor     .10000E-03    8.5486        .18142E-02** at limit **
  12  Prefactor     50.675        22.723        .56324E-04    .51470E-04
  13  norm          3.4403        3.2013        .54885E-03    .24802E-03
  14  Prefactor     .10002E-03    100.52        .19582E-02** at limit **
  15  Prefactor     11.854        14.631        .11593E-03   -.11405E-03
  16  norm          19.868        7.4251        .89906E-04   -.23209E-03
  17  Prefactor     .10000E-03    9.9512        .20625E-02** at limit **
  18  Prefactor     .10045E-03    94.090        .34038E-02** at limit **
  19  norm          .78093        .70468        .46374E-04   -.57709E-03
  20  Prefactor     .10000E-03    71.607        .18174E-02** at limit **
  21  Prefactor     5.5626        13.479        .17355E-03   -.12446E-03
  22  Normalizat    .86098        .28040        .28778E-03   -.15004E-03
  23  Prefactor     1.0219        .24138        .23631E-03   -.54218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0129
  Prefactor  = 12.6467
  Prefactor  = 0.0001
  norm       = 6.18475
  norm       = 1.1848
  Prefactor  = 0.0001
  Prefactor  = 0.000100148
  Prefactor  = 0.000100045
  Prefactor  = 10.8594
  norm       = 27.4839
  Prefactor  = 0.0001
  Prefactor  = 50.6746
  norm       = 3.44026
  Prefactor  = 0.000100016
  Prefactor  = 11.8543
  norm       = 19.8678
  Prefactor  = 0.0001
  Prefactor  = 0.000100448
  norm       = 0.780931
  Prefactor  = 0.000100003
  Prefactor  = 5.56259
  Normalizat = 0.860978
  Prefactor  = 1.02191
 **********
 **   18 **HESSE 
 **********

 FCN=   4492.801     FROM HESSE     STATUS=OK           346 CALLS     2993 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.013        17.574        .40042E-05   -1.4907    
   2  Prefactor     12.647        18.152        .45056E-05   -1.4997    
   3  Prefactor     .10000E-03    30.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.1848        5.8325        .58549E-05   -1.5211    
   5  norm          1.1848        .48230        .11144E-05   -1.5490    
   6  Prefactor     .10000E-03    3.1247        .23135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10015E-03    120.31        .94607E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10004E-03    88.576        .16568E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.859        75.477        .51726E-05   -1.5049    
  10  norm          27.484        34.833        .31147E-05   -1.4659    
  11  Prefactor     .10000E-03    8.5487        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     50.675        22.722        .22530E-05   -1.4283    
  13  norm          3.4403        3.2006        .21954E-04   -1.5337    
  14  Prefactor     .10002E-03    100.53        .39164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.854        14.632        .46370E-05   -1.5019    
  16  norm          19.868        7.4206        .17981E-04   -1.4816    
  17  Prefactor     .10000E-03    9.9515        .41251E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10045E-03    94.862        .68075E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .78093        .70414        .18549E-05   -1.5531    
  20  Prefactor     .10000E-03    71.610        .36348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.5626        13.455        .69420E-05   -1.5236    
  22  Normalizat    .86098        .28051        .11511E-04   -.97845    
  23  Prefactor     1.0219        .24160        .94526E-05   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.84882e-09
Minuit parameter uncertainties:
  1  17.5795
  2  18.1598
  3  3.58365e-05
  4  5.83306
  5  0.482303
  6  2.34709e-06
  7  0.00844914
  8  0.00398328
  9  57.3619
  10  34.8587
  11  7.74671e-06
  12  22.7261
  13  3.20071
  14  0.00251694
  15  14.6369
  16  7.42094
  17  4.41124e-06
  18  0.0130534
  19  0.704148
  20  0.000999429
  21  13.4618
  22  0.280982
  23  0.241857
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.748e+01  3.486e+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:  1.022e+00  2.419e-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:  8.610e-01  2.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.89
Ra Dec: 338.543 -26.938
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351202/likelihoodResults_335232001_335491201_4FGL_J2234.1-2656_daily_bin370.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) = 4492.02108052
delta logL = 0.780199490097

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4491.97934984
delta logL = 0.821930172781

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1346       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5360       1.0000          .0000       5.0000    
     3 'Normalizat'    .75352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0847       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=   4491.979     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      289 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1428        167.88        .12049E-03    .69843E-03
   2  alpha         3.5360        4.2222        .93331E-02    .67919E-04
   3  Normalizat    .75364        .30051        .30456E-03   -.38295E-03
   4  Prefactor     1.0847        .26652        .22992E-03   -.89991E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 7.14278
  alpha      = 3.53602
  Normalizat = 0.753643
  Prefactor  = 1.08465
 **********
 **   18 **HESSE 
 **********

 FCN=   4491.979     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1428        17.913        .48194E-05   -1.5173    
   2  alpha         3.5360        1.2575        .37333E-03    .42729    
   3  Normalizat    .75364        .27554        .60912E-04   -1.0181    
   4  Prefactor     1.0847        .24066        .91969E-05   -.89959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0001e-09
Minuit parameter uncertainties:
  1  17.9268
  2  1.33235
  3  0.276053
  4  0.240898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351202': 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) = 4491.97934787
delta logL = 0.821932140991

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  7.143e+00  1.793e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  3.536e+00  1.332e+00  0.000e+00  5.000e+00 ( 1.000e+00)
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.085e+00  2.409e-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:  7.536e-01  2.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 3.54 +/- 1.33
Photon Flux (Free Index): 1.22e-07 +/- 9.59e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.57e-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/351202/cmap_HighResolution_335232001_335491201_4FGL_J2234.1-2656_daily_bin370.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.94e-05', comment='SUCCESS', energy_flux2='2.13e-05', dlogl='8.22e-01', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-09-28 14:27:41.047457', photon_index_error2='1.33', photon_index2='3.54', ts='0.89', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.57e-05', EG='0.86', time_epoch_completed='1632864461.05', return_code='0', job_id='351202', GAL2='1.08', EG2='0.75', return_code2='0', photon_flux_error2='9.59e-08', ts2='2.67', photon_index='1.95' WHERE bin_id='370' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:27:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 351202: <4FGL_J2234.1-2656_daily_bin370> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin370> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep 28 14:15:27 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:15:29 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:15:29 2021
Terminated at Tue Sep 28 14:27:41 2021
Results reported at Tue Sep 28 14:27:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin370 338.543 -26.9375 335232001 335491201 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 :                                   535.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

