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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1284
RA = 338.543, Dec = -26.9375
tmin = 572140801, tmax = 572400001
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='354609', job_status='RUN', time_executed='2021-09-28 14:26:17.592772', time_epoch_executed='1632864377.59' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354609

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354609/ft1_4FGL_J2234.1-2656_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354609/ft2_4FGL_J2234.1-2656_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354609/ft1_4FGL_J2234.1-2656_daily_bin1284.fits outfile=/scratch/kocevski/354609/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1284.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=572140801.0 tmax=572400001.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.20
user 3.00
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/354609/ft2_4FGL_J2234.1-2656_daily_bin1284.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/354609/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1284.fits evtable="EVENTS" outfile="/scratch/kocevski/354609/ft1_filtered_4FGL_J2234.1-2656_daily_bin1284.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/354609/ft1_filtered_4FGL_J2234.1-2656_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/354609/ft2_4FGL_J2234.1-2656_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/354609/ltcube_572140801_572400001_4FGL_J2234.1-2656_daily_bin1284.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/354609/ft2_4FGL_J2234.1-2656_daily_bin1284.fits
.....................!
real 12.24
user 11.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354609/ft1_filtered_4FGL_J2234.1-2656_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/354609/ft2_4FGL_J2234.1-2656_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/354609/ltcube_572140801_572400001_4FGL_J2234.1-2656_daily_bin1284.fits outfile=/scratch/kocevski/354609/expmap_572140801_572400001_4FGL_J2234.1-2656_daily_bin1284.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/354609/ltcube_572140801_572400001_4FGL_J2234.1-2656_daily_bin1284.fits
.....................!
real 192.43
user 187.13
sys 4.98

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/354609/ft1_filtered_4FGL_J2234.1-2656_daily_bin1284.fits scfile=/scratch/kocevski/354609/ft2_4FGL_J2234.1-2656_daily_bin1284.fits outfile=/scratch/kocevski/354609/cmap_572140801_572400001_4FGL_J2234.1-2656_daily_bin1284.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.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/354609/ft1_filtered_4FGL_J2234.1-2656_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/354609/ft2_4FGL_J2234.1-2656_daily_bin1284.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354609/Model_4FGL_J2234.1-2656_daily_bin1284.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/354609/ft1_filtered_4FGL_J2234.1-2656_daily_bin1284.fits.....................!
real 40.60
user 39.38
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12882E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5842       1.0000         .10000E-03   10000.    
     4 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .88052       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.843       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    47.985       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .84637       1.0000         .10000E-03   10000.    
    13 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.013       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.7622       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.330       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91819       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3102       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=   4346.041     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2562 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.075       -.24782E-06** at limit **
   2  Prefactor     .10000E-03    22.209       -.38844E-05** at limit **
   3  Prefactor     2.5183        186.88       -.11819E-04   -.50292E-04
   4  norm          .10000E-03    4.5945       -.43745E-06** at limit **
   5  norm          .88050        .42865        .17995E-08    .26916E-04
   6  Prefactor     .10000E-03    6.6331       -.15726E-06** at limit **
   7  Prefactor     20.846        28.570       -.15922E-06   -.18999E-04
   8  Prefactor     .10000E-03    3.8051        .82492E-07** at limit **
   9  Prefactor     .10000E-03    105.47        .29265E-05** at limit **
  10  norm          47.981        38.949       -.50295E-06   -.55443E-04
  11  Prefactor     .10000E-03    59.079        .94162E-06** at limit **
  12  Prefactor     .78970        20.806       -.29221E-05    .49113E-03
  13  norm          .10000E-03    1.2082        .44047E-06** at limit **
  14  Prefactor     20.037        68.097       -.49463E-05   -.31527E-05
  15  Prefactor     .10000E-03    30.702       -.34712E-06** at limit **
  16  norm          1.7635        5.1926        .97695E-06    .11112E-03
  17  Prefactor     .10000E-03    18.850       -.18907E-05** at limit **
  18  Prefactor     19.334        12.887       -.60594E-06   -.25141E-03
  19  norm          .10000E-03    .32515        .59271E-07** at limit **
  20  Prefactor     .10000E-03    117.78       -.11293E-05** at limit **
  21  Prefactor     .10000E-03    4.7718        .12655E-06** at limit **
  22  Normalizat    .91804        .25033       -.31992E-05   -.11136E-03
  23  Prefactor     1.3103        .22029        .13397E-05   -.22606E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.51826
  norm       = 0.0001
  norm       = 0.880495
  Prefactor  = 0.0001
  Prefactor  = 20.8459
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 47.9814
  Prefactor  = 0.0001
  Prefactor  = 0.789699
  norm       = 0.0001
  Prefactor  = 20.0368
  Prefactor  = 0.0001
  norm       = 1.76351
  Prefactor  = 0.000100001
  Prefactor  = 19.3338
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.91804
  Prefactor  = 1.31028
 **********
 **   18 **HESSE 
 **********

 FCN=   4346.041     FROM HESSE     STATUS=OK           366 CALLS     2928 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.5183        192.96        .25386E-03   -1.5391    
   4  norm          .10000E-03    4.7390        .27486E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .88050        .42636        .29085E-04   -1.5520    
   6  Prefactor     .10000E-03    6.6503        .16576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.846        28.595        .87731E-04   -1.4795    
   8  Prefactor     .10000E-03    3.8133        .12560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    106.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          47.981        38.940        .57886E-04   -1.4321    
  11  Prefactor     .10000E-03    59.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .78970        83.776        .48160E-02   -1.5530    
  13  norm          .10000E-03    1.2251        .71096E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.037        70.457        .89532E-04   -1.4812    
  15  Prefactor     .10000E-03    31.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.7635        5.1094        .22215E-03   -1.5442    
  17  Prefactor     .10000E-03    18.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.334        12.446        .91097E-04   -1.4828    
  19  norm          .10000E-03    .35760        .70796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    118.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.7823        .14064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91804        .30235        .29170E-03   -.95829    
  23  Prefactor     1.3103        .26809        .22788E-03   -.83002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00767e-08
Minuit parameter uncertainties:
  1  5.2825e-05
  2  9.57897e-05
  3  44.2351
  4  5.4368e-06
  5  0.42636
  6  4.37212e-06
  7  28.6136
  8  8.28797e-06
  9  0.000980372
  10  38.9608
  11  0.000272858
  12  16.2899
  13  1.74875e-05
  14  70.7522
  15  2.39195e-05
  16  5.11065
  17  0.000213902
  18  12.4481
  19  6.11104e-06
  20  0.000348838
  21  1.63901e-05
  22  0.30291
  23  0.268373
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  4.798e+01  3.896e+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.310e+00  2.684e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.180e-01  3.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.27
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 4.96e-08 +/- 4.03e-08
Energy Flux (Fixed Index): 3.45e-05 +/- 2.80e-05

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

Saving results to:
/scratch/kocevski/354609/likelihoodResults_572140801_572400001_4FGL_J2234.1-2656_daily_bin1284.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) = 4345.98754427
delta logL = 0.0537879956291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4345.9770416
delta logL = 0.0642906623807

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    42.209       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2107       1.0000          .0000       5.0000    
     3 'Normalizat'    .90116       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3199       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=   4345.977     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      252 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          42.208        42.800        .61703E-04    .18034E-03
   2  alpha         2.2107        .77404        .12677E-01    .30829E-04
   3  Normalizat    .90122        .29286        .29407E-03   -.38853E-04
   4  Prefactor     1.3198        .26646        .22715E-03   -.75763E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 42.2083
  alpha      = 2.2107
  Normalizat = 0.901219
  Prefactor  = 1.31984
 **********
 **   18 **HESSE 
 **********

 FCN=   4345.977     FROM HESSE     STATUS=OK            25 CALLS      277 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          42.208        40.880        .12341E-04   -1.4408    
   2  alpha         2.2107        .73949        .50707E-03   -.11598    
   3  Normalizat    .90122        .29257        .11763E-04   -.96417    
   4  Prefactor     1.3198        .26633        .45431E-04   -.82719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.93533e-11
Minuit parameter uncertainties:
  1  40.9072
  2  0.75088
  3  0.293084
  4  0.266608
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354609': 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) = 4345.97704156
delta logL = 0.0642906960547

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  4.221e+01  4.091e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.211e+00  7.509e-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:  1.320e+00  2.666e-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:  9.012e-01  2.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.21 +/- 0.75
Photon Flux (Free Index): 6.32e-08 +/- 6.08e-08
Energy Flux (Free Index): 2.81e-05 +/- 2.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/354609/cmap_HighResolution_572140801_572400001_4FGL_J2234.1-2656_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.53e-05', comment='SUCCESS', photon_flux='4.96e-08', energy_flux2='2.81e-05', photon_flux_error='4.03e-08', dlogl='6.43e-02', energy_flux='3.45e-05', photon_flux2='6.32e-08', job_status='DONE', time_completed='2021-09-28 14:35:09.804221', photon_index_error2='0.75', photon_index2='2.21', ts='2.27', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='2.66e-05', EG='0.92', time_epoch_completed='1632864909.8', return_code='0', job_id='354609', GAL2='1.32', EG2='0.90', return_code2='0', energy_flux_error='2.80e-05', photon_flux_error2='6.08e-08', ts2='2.40', photon_index='1.95' WHERE bin_id='1284' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:35:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 354609: <4FGL_J2234.1-2656_daily_bin1284> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1284 338.543 -26.9375 572140801 572400001 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 :                                   531.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             337.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   561 sec.
    Turnaround time :                            565 sec.

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

