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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1127
RA = 338.543, Dec = -26.9375
tmin = 531446401, tmax = 531705601
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='354367', job_status='RUN', time_executed='2021-09-28 14:26:40.179899', time_epoch_executed='1632864400.18' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1127'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354367

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354367/ft1_4FGL_J2234.1-2656_daily_bin1127.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354367/ft2_4FGL_J2234.1-2656_daily_bin1127.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354367/ft1_4FGL_J2234.1-2656_daily_bin1127.fits outfile=/scratch/kocevski/354367/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1127.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=531446401.0 tmax=531705601.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.64
user 3.40
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354367/ft1_filtered_4FGL_J2234.1-2656_daily_bin1127.fits" evtable="EVENTS" scfile=/scratch/kocevski/354367/ft2_4FGL_J2234.1-2656_daily_bin1127.fits sctable="SC_DATA" outfile=/scratch/kocevski/354367/ltcube_531446401_531705601_4FGL_J2234.1-2656_daily_bin1127.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/354367/ft2_4FGL_J2234.1-2656_daily_bin1127.fits
.....................!
real 12.59
user 12.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354367/ft1_filtered_4FGL_J2234.1-2656_daily_bin1127.fits evtable="EVENTS" scfile=/scratch/kocevski/354367/ft2_4FGL_J2234.1-2656_daily_bin1127.fits sctable="SC_DATA" expcube=/scratch/kocevski/354367/ltcube_531446401_531705601_4FGL_J2234.1-2656_daily_bin1127.fits outfile=/scratch/kocevski/354367/expmap_531446401_531705601_4FGL_J2234.1-2656_daily_bin1127.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/354367/ltcube_531446401_531705601_4FGL_J2234.1-2656_daily_bin1127.fits
.....................!
real 191.43
user 185.67
sys 5.43

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/354367/ft1_filtered_4FGL_J2234.1-2656_daily_bin1127.fits scfile=/scratch/kocevski/354367/ft2_4FGL_J2234.1-2656_daily_bin1127.fits outfile=/scratch/kocevski/354367/cmap_531446401_531705601_4FGL_J2234.1-2656_daily_bin1127.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354367/ft1_filtered_4FGL_J2234.1-2656_daily_bin1127.fits scfile=/scratch/kocevski/354367/ft2_4FGL_J2234.1-2656_daily_bin1127.fits outfile=/scratch/kocevski/354367/cmap_HighResolution_531446401_531705601_4FGL_J2234.1-2656_daily_bin1127.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/354367/ft1_filtered_4FGL_J2234.1-2656_daily_bin1127.fits evtable="EVENTS" scfile=/scratch/kocevski/354367/ft2_4FGL_J2234.1-2656_daily_bin1127.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354367/Model_4FGL_J2234.1-2656_daily_bin1127.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/354367/ft1_filtered_4FGL_J2234.1-2656_daily_bin1127.fits.....................!
real 44.47
user 43.23
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.116       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10333E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.8244       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.687       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.083       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.184       1.0000         .10000E-03   10000.    
    11 'Prefactor '    47.102       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.335       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.384       1.0000         .10000E-03   10000.    
    16 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8217       1.0000         .10000E-03   10000.    
    19 'norm      '    6.8174       1.0000         .10000E-03   10000.    
    20 'Prefactor '    129.57       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1445       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74347       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=   5004.832     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2571 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.110        17.014       -.87868E-07   -.70724E-06
   2  Prefactor     .10000E-03    36.218       -.24551E-05** at limit **
   3  Prefactor     .10001E-03    145.58       -.90839E-05** at limit **
   4  norm          .10000E-03    3.7966        .78290E-06** at limit **
   5  norm          2.8239        .67496       -.60385E-07   -.14010E-02
   6  Prefactor     13.681        12.110        .10841E-06   -.26978E-04
   7  Prefactor     .10000E-03    28.798        .18696E-05** at limit **
   8  Prefactor     16.082        12.427        .12087E-06   -.65798E-04
   9  Prefactor     .10000E-03    25.454       -.17057E-05** at limit **
  10  norm          14.184        16.662       -.15400E-06   -.33653E-04
  11  Prefactor     47.106        33.341        .73662E-06    .36549E-05
  12  Prefactor     12.334        12.168       -.26524E-06   -.11505E-03
  13  norm          .10000E-03    1.2822       -.97944E-07** at limit **
  14  Prefactor     .10000E-03    104.61        .67080E-05** at limit **
  15  Prefactor     15.363        21.097       -.71547E-06   -.65422E-04
  16  norm          .10000E-03    2.9929       -.43810E-06** at limit **
  17  Prefactor     .10000E-03    28.788       -.10880E-05** at limit **
  18  Prefactor     3.8408        37.633        .29664E-04   -.22469E-03
  19  norm          6.8162        2.0077       -.12898E-05   -.11120E-03
  20  Prefactor     129.42        89.195       -.10674E-04   -.45662E-03
  21  Prefactor     .10000E-03    27.343       -.13821E-05** at limit **
  22  Normalizat    1.1445        .25198       -.21972E-05   -.23785E-03
  23  Prefactor     .74339        .19888        .90071E-07   -.25332E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.1099
  Prefactor  = 0.000100001
  Prefactor  = 0.000100014
  norm       = 0.000100001
  norm       = 2.82388
  Prefactor  = 13.6805
  Prefactor  = 0.0001
  Prefactor  = 16.0825
  Prefactor  = 0.000100001
  norm       = 14.1841
  Prefactor  = 47.1058
  Prefactor  = 12.3345
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 15.3626
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.84078
  norm       = 6.8162
  Prefactor  = 129.421
  Prefactor  = 0.000100002
  Normalizat = 1.14455
  Prefactor  = 0.74339
 **********
 **   18 **HESSE 
 **********

 FCN=   5004.832     FROM HESSE     STATUS=OK           364 CALLS     2935 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.110        17.007        .83313E-04   -1.4746    
   2  Prefactor     .10000E-03    36.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    147.01        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    19.509        .25037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.8239        .64926        .26063E-04   -1.5372    
   6  Prefactor     13.681        12.115        .10826E-03   -1.4968    
   7  Prefactor     .10000E-03    29.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.082        12.493        .99872E-04   -1.4906    
   9  Prefactor     .10000E-03    25.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.184        16.660        .10635E-03   -1.4955    
  11  Prefactor     47.106        33.371        .58424E-04   -1.4334    
  12  Prefactor     12.334        12.186        .57029E-03   -1.5005    
  13  norm          .10000E-03    1.2971        .78207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    105.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.363        21.318        .10211E-03   -1.4924    
  16  norm          .10000E-03    3.0180        .11955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    29.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.8408        41.622        .10323E-02   -1.5316    
  19  norm          6.8162        2.0596        .34884E-04   -1.5186    
  20  Prefactor     129.42        93.263        .17685E-03   -1.3428    
  21  Prefactor     .10000E-03    27.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1445        .31511        .27476E-03   -.88334    
  23  Prefactor     .74339        .24783        .28565E-03   -1.0185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62068e-09
Minuit parameter uncertainties:
  1  17.0101
  2  0.000342367
  3  0.00284773
  4  0.000252122
  5  0.649262
  6  12.1176
  7  0.000196053
  8  12.4949
  9  0.000242287
  10  16.6655
  11  33.3839
  12  12.1883
  13  1.2435e-05
  14  0.00104806
  15  21.3283
  16  4.2931e-05
  17  0.000432988
  18  25.3094
  19  2.05962
  20  93.3691
  21  0.000526205
  22  0.315628
  23  0.248204
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.418e+01  1.667e+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:  7.434e-01  2.482e-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.145e+00  3.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.85
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.47e-08 +/- 1.72e-08
Energy Flux (Fixed Index): 1.02e-05 +/- 1.20e-05

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

Saving results to:
/scratch/kocevski/354367/likelihoodResults_531446401_531705601_4FGL_J2234.1-2656_daily_bin1127.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) = 5004.83084808
delta logL = 0.00136440406459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5004.83080759
delta logL = 0.00140489213391

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.297       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9024       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74308       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=   5004.831     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      227 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.353        958.16        .26482E-02   -.27819E-05
   2  alpha         1.9057        4.0396        .42746        .58132E-05
   3  Normalizat    1.1454        .19556        .62098E-01   -.73128E-05
   4  Prefactor     .74303        .11734        .64585E-01    .67643E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 14.353
  alpha      = 1.90566
  Normalizat = 1.14536
  Prefactor  = 0.743031
 **********
 **   18 **HESSE 
 **********

 FCN=   5004.831     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .63E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.353        17.191        .10593E-03   -1.4950    
   2  alpha         1.9057        .89928        .21132E-01   -.24003    
   3  Normalizat    1.1454        .27447        .27467E-03   -.88309    
   4  Prefactor     .74303        .23580        .28572E-03   -1.0186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25325e-13
Minuit parameter uncertainties:
  1  17.1966
  2  0.921213
  3  0.274816
  4  0.236118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354367': 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) = 5004.83079379
delta logL = 0.00141869251001

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.435e+01  1.720e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.906e+00  9.212e-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:  7.430e-01  2.361e-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.145e+00  2.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.91 +/- 0.92
Photon Flux (Free Index): 1.39e-08 +/- 2.11e-08
Energy Flux (Free Index): 1.07e-05 +/- 1.66e-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/354367/cmap_HighResolution_531446401_531705601_4FGL_J2234.1-2656_daily_bin1127.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.94e-05', comment='SUCCESS', photon_flux='1.47e-08', energy_flux2='1.07e-05', photon_flux_error='1.72e-08', dlogl='1.42e-03', energy_flux='1.02e-05', photon_flux2='1.39e-08', job_status='DONE', time_completed='2021-09-28 14:36:06.560520', photon_index_error2='0.92', photon_index2='1.91', ts='1.85', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='7.09e-08', energy_flux_error2='1.66e-05', EG='1.14', time_epoch_completed='1632864966.56', return_code='0', job_id='354367', GAL2='0.74', EG2='1.15', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='2.11e-08', ts2='1.85', photon_index='1.95' WHERE bin_id='1127' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:36:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 354367: <4FGL_J2234.1-2656_daily_bin1127> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1127 338.543 -26.9375 531446401 531705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.1-2656 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   565.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             268.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            643 sec.

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

