/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 46 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7442
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1024
RA = 338.543, Dec = -26.9375
tmin = 504748801, tmax = 505008001
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='353311', job_status='RUN', time_executed='2021-09-28 14:22:10.267387', time_epoch_executed='1632864130.27' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1024'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353311

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353311/ft1_4FGL_J2234.1-2656_daily_bin1024.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353311/ft2_4FGL_J2234.1-2656_daily_bin1024.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353311/ft1_4FGL_J2234.1-2656_daily_bin1024.fits outfile=/scratch/kocevski/353311/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1024.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=504748801.0 tmax=505008001.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 6.43
user 6.11
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353311/ft1_filtered_4FGL_J2234.1-2656_daily_bin1024.fits" evtable="EVENTS" scfile=/scratch/kocevski/353311/ft2_4FGL_J2234.1-2656_daily_bin1024.fits sctable="SC_DATA" outfile=/scratch/kocevski/353311/ltcube_504748801_505008001_4FGL_J2234.1-2656_daily_bin1024.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/353311/ft2_4FGL_J2234.1-2656_daily_bin1024.fits
.....................!
real 8.89
user 8.57
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353311/ft1_filtered_4FGL_J2234.1-2656_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/353311/ft2_4FGL_J2234.1-2656_daily_bin1024.fits sctable="SC_DATA" expcube=/scratch/kocevski/353311/ltcube_504748801_505008001_4FGL_J2234.1-2656_daily_bin1024.fits outfile=/scratch/kocevski/353311/expmap_504748801_505008001_4FGL_J2234.1-2656_daily_bin1024.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/353311/ltcube_504748801_505008001_4FGL_J2234.1-2656_daily_bin1024.fits
.....................!
real 144.85
user 140.89
sys 3.74

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/353311/ft1_filtered_4FGL_J2234.1-2656_daily_bin1024.fits scfile=/scratch/kocevski/353311/ft2_4FGL_J2234.1-2656_daily_bin1024.fits outfile=/scratch/kocevski/353311/cmap_504748801_505008001_4FGL_J2234.1-2656_daily_bin1024.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.44
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353311/ft1_filtered_4FGL_J2234.1-2656_daily_bin1024.fits scfile=/scratch/kocevski/353311/ft2_4FGL_J2234.1-2656_daily_bin1024.fits outfile=/scratch/kocevski/353311/cmap_HighResolution_504748801_505008001_4FGL_J2234.1-2656_daily_bin1024.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.46
user 0.30
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353311/ft1_filtered_4FGL_J2234.1-2656_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/353311/ft2_4FGL_J2234.1-2656_daily_bin1024.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353311/Model_4FGL_J2234.1-2656_daily_bin1024.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/353311/ft1_filtered_4FGL_J2234.1-2656_daily_bin1024.fits.....................!
real 59.97
user 58.92
sys 0.95

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.9143       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12119E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3172       1.0000         .10000E-03   10000.    
     5 'norm      '    1.6366       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5577       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8670       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6931       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.071       1.0000         .10000E-03   10000.    
    10 'norm      '    32.965       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4926       1.0000         .10000E-03   10000.    
    13 'norm      '    .89826       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .20497       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.1781       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.753       1.0000         .10000E-03   10000.    
    19 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10692E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.7334       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94050       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99264       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=   10929.25     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2651 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4211        .41490E-07** at limit **
   2  Prefactor     8.9109        10.329        .21964E-06   -.77023E-05
   3  Prefactor     .10000E-03    52.814       -.29527E-06** at limit **
   4  norm          1.3164        3.4346        .20704E-06   -.70539E-04
   5  norm          1.6366        .33606        .40710E-08   -.12694E-03
   6  Prefactor     1.5564        .98893        .61955E-07   -.12792E-02
   7  Prefactor     2.8655        11.919       -.10469E-05   -.73623E-05
   8  Prefactor     1.6893        6.0110       -.60574E-07   -.35593E-04
   9  Prefactor     23.048        33.201        .17469E-04    .23686E-05
  10  norm          32.970        15.299       -.10385E-05   -.16504E-04
  11  Prefactor     .10000E-03    5.7752        .11080E-06** at limit **
  12  Prefactor     5.5022        7.1741        .73716E-07   -.41258E-04
  13  norm          .89932        .74064        .24647E-07   -.78186E-04
  14  Prefactor     .10011E-03    20.112        .23405E-06** at limit **
  15  Prefactor     .10000E-03    3.7796        .27183E-07** at limit **
  16  norm          1.1783        1.9899       -.58085E-07   -.55757E-04
  17  Prefactor     .10000E-03    2.9232        .48415E-07** at limit **
  18  Prefactor     13.771        7.6858        .55263E-06    .75330E-04
  19  norm          .10000E-03    .14243       -.29745E-07** at limit **
  20  Prefactor     .10000E-03    43.869        .11481E-05** at limit **
  21  Prefactor     7.7395        8.6804       -.56805E-06    .17260E-04
  22  Normalizat    .94062        .13976       -.73370E-07   -.77550E-04
  23  Prefactor     .99260        .12166       -.90084E-06    .40483E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.91089
  Prefactor  = 0.0001
  norm       = 1.31644
  norm       = 1.63659
  Prefactor  = 1.55641
  Prefactor  = 2.86547
  Prefactor  = 1.68934
  Prefactor  = 23.0479
  norm       = 32.9701
  Prefactor  = 0.0001
  Prefactor  = 5.50216
  norm       = 0.899319
  Prefactor  = 0.000100113
  Prefactor  = 0.0001
  norm       = 1.17828
  Prefactor  = 0.0001
  Prefactor  = 13.7707
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.73954
  Normalizat = 0.940622
  Prefactor  = 0.992595
 **********
 **   18 **HESSE 
 **********

 FCN=   10929.25     FROM HESSE     STATUS=OK           390 CALLS     3041 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.9109        10.263        .13425E-03   -1.5111    
   3  Prefactor     .10000E-03    53.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3164        3.3920        .27271E-03   -1.5478    
   5  norm          1.6366        .33355        .24898E-04   -1.5452    
   6  Prefactor     1.5564        5.7307        .17052E-02   -1.5458    
   7  Prefactor     2.8655        12.044        .24007E-03   -1.5369    
   8  Prefactor     1.6893        6.0534        .32346E-03   -1.5448    
   9  Prefactor     23.048        33.200        .83393E-04   -1.4747    
  10  norm          32.970        15.301        .69791E-04   -1.4559    
  11  Prefactor     .10000E-03    5.7874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5022        7.1751        .17144E-03   -1.5239    
  13  norm          .89932        .86807        .77659E-03   -1.5518    
  14  Prefactor     .10011E-03    22.932        .11750       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.8195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.1783        1.9283        .17554E-03   -1.5491    
  17  Prefactor     .10000E-03    2.9242        .17441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.771        7.3503        .10800E-03   -1.4966    
  19  norm          .10000E-03    .23193        .70326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    44.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.7395        8.6142        .14420E-03   -1.5151    
  22  Normalizat    .94062        .16923        .24743E-03   -.95047    
  23  Prefactor     .99260        .14719        .22437E-03   -.92977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28954e-09
Minuit parameter uncertainties:
  1  3.47281e-06
  2  10.2654
  3  2.88765e-05
  4  3.39248
  5  0.333547
  6  5.73273
  7  11.7533
  8  6.05563
  9  33.2268
  10  15.3026
  11  4.44121e-06
  12  7.17622
  13  0.868085
  14  0.00321683
  15  3.51068e-06
  16  1.92835
  17  2.33671e-06
  18  7.35073
  19  8.59043e-07
  20  2.65511e-05
  21  8.61554
  22  0.169322
  23  0.14725
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.297e+01  1.530e+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:  9.926e-01  1.473e-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.406e-01  1.693e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.89
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 3.41e-08 +/- 1.58e-08
Energy Flux (Fixed Index): 2.37e-05 +/- 1.10e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10928.9051299
delta logL = 0.343513443127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10928.9008888
delta logL = 0.347754521095

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    27.732       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3094       1.0000          .0000       5.0000    
     3 'Normalizat'    .92192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0021       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=   10928.90     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      261 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          27.718        186.49        .19019E-02    .13251E-03
   2  alpha         2.3085        3.6358        .30489        .81817E-04
   3  Normalizat    .92196        .76773E-01    .45181E-01    .22147E-04
   4  Prefactor     1.0022        .49251E-01    .44949E-01    .88081E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 27.7175
  alpha      = 2.30853
  Normalizat = 0.921962
  Prefactor  = 1.00224
 **********
 **   18 **HESSE 
 **********

 FCN=   10928.90     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          27.718        15.684        .38038E-03   -1.4655    
   2  alpha         2.3085        .44623        .10883E-01   -.76663E-01
   3  Normalizat    .92196        .15572        .24956E-03   -.95693    
   4  Prefactor     1.0022        .14368        .22334E-03   -.92655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52684e-09
Minuit parameter uncertainties:
  1  15.6859
  2  0.448644
  3  0.155801
  4  0.143739
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353311': 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) = 10928.9008805
delta logL = 0.347762863874

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.772e+01  1.569e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.309e+00  4.486e-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.002e+00  1.437e-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.220e-01  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.57
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.31 +/- 0.45
Photon Flux (Free Index): 4.84e-08 +/- 2.69e-08
Energy Flux (Free Index): 1.88e-05 +/- 9.18e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/353311/cmap_HighResolution_504748801_505008001_4FGL_J2234.1-2656_daily_bin1024.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.41e-08', energy_flux2='1.88e-05', photon_flux_error='1.58e-08', dlogl='3.48e-01', energy_flux='2.37e-05', photon_flux2='4.84e-08', job_status='DONE', time_completed='2021-09-28 14:32:48.111207', photon_index_error2='0.45', photon_index2='2.31', ts='12.89', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='9.18e-06', EG='0.94', time_epoch_completed='1632864768.11', return_code='0', job_id='353311', GAL2='1.00', EG2='0.92', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='2.69e-08', ts2='13.57', photon_index='1.95' WHERE bin_id='1024' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:32:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 353311: <4FGL_J2234.1-2656_daily_bin1024> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1024> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:21:17 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:21:18 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:21:18 2021
Terminated at Tue Sep 28 14:32:48 2021
Results reported at Tue Sep 28 14:32:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1024 338.543 -26.9375 504748801 505008001 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 :                                   633.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            691 sec.

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

