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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1633
RA = 338.543, Dec = -26.9375
tmin = 662601601, tmax = 662860801
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='693017', job_status='RUN', time_executed='2022-01-03 00:36:43.164760', time_epoch_executed='1641199003.16' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1633'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693017

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693017/ft1_4FGL_J2234.1-2656_daily_bin1633.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693017/ft2_4FGL_J2234.1-2656_daily_bin1633.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693017/ft1_4FGL_J2234.1-2656_daily_bin1633.fits outfile=/scratch/kocevski/693017/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1633.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=662601601.0 tmax=662860801.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 2.91
user 2.70
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/693017/ft2_4FGL_J2234.1-2656_daily_bin1633.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/693017/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1633.fits evtable="EVENTS" outfile="/scratch/kocevski/693017/ft1_filtered_4FGL_J2234.1-2656_daily_bin1633.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/693017/ft1_filtered_4FGL_J2234.1-2656_daily_bin1633.fits" evtable="EVENTS" scfile=/scratch/kocevski/693017/ft2_4FGL_J2234.1-2656_daily_bin1633.fits sctable="SC_DATA" outfile=/scratch/kocevski/693017/ltcube_662601601_662860801_4FGL_J2234.1-2656_daily_bin1633.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/693017/ft2_4FGL_J2234.1-2656_daily_bin1633.fits
.....................!
real 12.79
user 12.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693017/ft1_filtered_4FGL_J2234.1-2656_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/693017/ft2_4FGL_J2234.1-2656_daily_bin1633.fits sctable="SC_DATA" expcube=/scratch/kocevski/693017/ltcube_662601601_662860801_4FGL_J2234.1-2656_daily_bin1633.fits outfile=/scratch/kocevski/693017/expmap_662601601_662860801_4FGL_J2234.1-2656_daily_bin1633.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/693017/ltcube_662601601_662860801_4FGL_J2234.1-2656_daily_bin1633.fits
.....................!
real 191.51
user 186.65
sys 4.50

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/693017/ft1_filtered_4FGL_J2234.1-2656_daily_bin1633.fits scfile=/scratch/kocevski/693017/ft2_4FGL_J2234.1-2656_daily_bin1633.fits outfile=/scratch/kocevski/693017/cmap_662601601_662860801_4FGL_J2234.1-2656_daily_bin1633.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693017/ft1_filtered_4FGL_J2234.1-2656_daily_bin1633.fits scfile=/scratch/kocevski/693017/ft2_4FGL_J2234.1-2656_daily_bin1633.fits outfile=/scratch/kocevski/693017/cmap_HighResolution_662601601_662860801_4FGL_J2234.1-2656_daily_bin1633.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/693017/ft1_filtered_4FGL_J2234.1-2656_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/693017/ft2_4FGL_J2234.1-2656_daily_bin1633.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693017/Model_4FGL_J2234.1-2656_daily_bin1633.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/693017/ft1_filtered_4FGL_J2234.1-2656_daily_bin1633.fits.....................!
real 53.24
user 51.97
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.443       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.7630       1.0000         .10000E-03   10000.    
     5 'norm      '    .44968       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .25766E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.707       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.1129       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0508       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.329       1.0000         .10000E-03   10000.    
    13 'norm      '    2.7414       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16675E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.803       1.0000         .10000E-03   10000.    
    16 'norm      '    .41929E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.412       1.0000         .10000E-03   10000.    
    19 'norm      '    .49207       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.741       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .80980       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0737       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=   7023.342     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2554 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.450        15.855       -.21116E-06   -.30214E-03
   2  Prefactor     .10000E-03    9.6838        .17355E-06** at limit **
   3  Prefactor     .10000E-03    44.938        .69017E-06** at limit **
   4  norm          6.7631        4.5563        .69151E-07   -.26070E-03
   5  norm          .44967        .26217       -.19185E-07   -.14358E-02
   6  Prefactor     .10006E-03    15.506        .61346E-05** at limit **
   7  Prefactor     12.709        20.273       -.12800E-06   -.36834E-03
   8  Prefactor     .10000E-03    1.8935        .59512E-08** at limit **
   9  Prefactor     .10000E-03    28.025       -.11984E-05** at limit **
  10  norm          8.1120        16.823        .21939E-06    .28662E-04
  11  Prefactor     7.0496        11.380        .28458E-05   -.23265E-04
  12  Prefactor     13.332        11.338       -.33165E-07   -.13390E-03
  13  norm          2.7425        1.9284        .93017E-07    .61226E-03
  14  Prefactor     .10000E-03    106.20       -.17898E-06** at limit **
  15  Prefactor     10.801        10.113        .26077E-06    .20841E-03
  16  norm          .10000E-03    1.9388       -.65278E-07** at limit **
  17  Prefactor     .10000E-03    14.063       -.85479E-06** at limit **
  18  Prefactor     15.415        12.115       -.73394E-06    .12421E-04
  19  norm          .49139        .86949        .35879E-06    .57545E-03
  20  Prefactor     19.730        36.377       -.45428E-05   -.56899E-03
  21  Prefactor     .10000E-03    4.2585       -.14714E-06** at limit **
  22  Normalizat    .80977        .18014        .21550E-06   -.31208E-03
  23  Prefactor     1.0738        .15878       -.21069E-06   -.35034E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.45
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.76313
  norm       = 0.449667
  Prefactor  = 0.000100056
  Prefactor  = 12.709
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 8.11202
  Prefactor  = 7.04956
  Prefactor  = 13.3318
  norm       = 2.74247
  Prefactor  = 0.000100001
  Prefactor  = 10.8011
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 15.4146
  norm       = 0.491389
  Prefactor  = 19.7302
  Prefactor  = 0.0001
  Normalizat = 0.809772
  Prefactor  = 1.07378
 **********
 **   18 **HESSE 
 **********

 FCN=   7023.342     FROM HESSE     STATUS=OK           370 CALLS     2924 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.450        15.886        .88585E-04   -1.4803    
   2  Prefactor     .10000E-03    9.7081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    45.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.7631        4.5512        .13735E-03   -1.5188    
   5  norm          .44967        .26449        .31060E-04   -1.5574    
   6  Prefactor     .10006E-03    22.033        .39340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.709        20.139        .11237E-03   -1.4995    
   8  Prefactor     .10000E-03    1.9001        .11261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.1120        16.817        .14076E-03   -1.5138    
  11  Prefactor     7.0496        12.523        .75538E-03   -1.5177    
  12  Prefactor     13.332        11.380        .10971E-03   -1.4978    
  13  norm          2.7425        1.9220        .93250E-04   -1.5377    
  14  Prefactor     .10000E-03    107.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.801        10.189        .12190E-03   -1.5051    
  16  norm          .10000E-03    12.223        .21050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.415        11.434        .10202E-03   -1.4923    
  19  norm          .49139        .80871        .61943E-04   -1.5568    
  20  Prefactor     19.730        39.316        .90145E-04   -1.4819    
  21  Prefactor     .10000E-03    4.2832        .16870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .80977        .21590        .26487E-03   -.99707    
  23  Prefactor     1.0738        .18930        .21807E-03   -.90309    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96166e-09
Minuit parameter uncertainties:
  1  15.8894
  2  5.04426e-05
  3  0.000436491
  4  4.55148
  5  0.264492
  6  0.00222898
  7  20.1499
  8  7.33874e-07
  9  0.000649137
  10  16.8265
  11  12.5272
  12  11.3814
  13  1.92206
  14  0.000523218
  15  10.1909
  16  1.39807e-05
  17  0.000314047
  18  11.4357
  19  0.808727
  20  39.3676
  21  2.85964e-05
  22  0.216131
  23  0.189415
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  8.112e+00  1.683e+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.074e+00  1.894e-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.098e-01  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/693017/likelihoodResults_662601601_662860801_4FGL_J2234.1-2656_daily_bin1633.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) = 7023.33291382
delta logL = 0.00936819007984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7023.33251304
delta logL = 0.00976897745932

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5797       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8070       1.0000          .0000       5.0000    
     3 'Normalizat'    .81121       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0729       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=   7023.333     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      224 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5863        17.356        .13685E-03   -.49096E-04
   2  alpha         1.8107        .97602        .27805E-01    .48381E-05
   3  Normalizat    .81126        .19331        .26465E-03   -.10013E-03
   4  Prefactor     1.0728        .18223        .21815E-03    .29862E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.58633
  alpha      = 1.81067
  Normalizat = 0.811264
  Prefactor  = 1.07284
 **********
 **   18 **HESSE 
 **********

 FCN=   7023.333     FROM HESSE     STATUS=OK            25 CALLS      249 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5863        17.255        .54741E-05   -1.5122    
   2  alpha         1.8107        .97120        .11122E-02   -.27935    
   3  Normalizat    .81126        .19350        .10586E-04   -.99652    
   4  Prefactor     1.0728        .18242        .87258E-05   -.90339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.41957e-11
Minuit parameter uncertainties:
  1  17.2651
  2  0.99979
  3  0.193666
  4  0.182524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693017': 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) = 7023.33250615
delta logL = 0.00977586938097

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  8.586e+00  1.727e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.811e+00  9.998e-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.073e+00  1.825e-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.113e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 338.543 -26.938

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/693017/cmap_HighResolution_662601601_662860801_4FGL_J2234.1-2656_daily_bin1633.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.86e-05', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2022-01-03 00:47:42.605208', job_id='693017', GAL2='1.07', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1641199662.61', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='9.78e-03', ts2='0.32', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1633' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan  3 00:47:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 693017: <4FGL_J2234.1-2656_daily_bin1633> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1633> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Jan  3 00:35:33 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan  3 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan  3 00:35:35 2022
Terminated at Mon Jan  3 00:47:43 2022
Results reported at Mon Jan  3 00:47:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1633 338.543 -26.9375 662601601 662860801 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 :                                   661.43 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            730 sec.

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

