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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin876
RA = 338.543, Dec = -26.9375
tmin = 466387201, tmax = 466646401
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='353093', job_status='RUN', time_executed='2021-09-28 14:21:12.879271', time_epoch_executed='1632864072.88' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='876'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353093

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353093/ft1_4FGL_J2234.1-2656_daily_bin876.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353093/ft2_4FGL_J2234.1-2656_daily_bin876.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353093/ft1_4FGL_J2234.1-2656_daily_bin876.fits outfile=/scratch/kocevski/353093/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin876.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=466387201.0 tmax=466646401.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.41
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353093/ft1_filtered_4FGL_J2234.1-2656_daily_bin876.fits" evtable="EVENTS" scfile=/scratch/kocevski/353093/ft2_4FGL_J2234.1-2656_daily_bin876.fits sctable="SC_DATA" outfile=/scratch/kocevski/353093/ltcube_466387201_466646401_4FGL_J2234.1-2656_daily_bin876.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/353093/ft2_4FGL_J2234.1-2656_daily_bin876.fits
.....................!
real 11.71
user 11.35
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353093/ft1_filtered_4FGL_J2234.1-2656_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/353093/ft2_4FGL_J2234.1-2656_daily_bin876.fits sctable="SC_DATA" expcube=/scratch/kocevski/353093/ltcube_466387201_466646401_4FGL_J2234.1-2656_daily_bin876.fits outfile=/scratch/kocevski/353093/expmap_466387201_466646401_4FGL_J2234.1-2656_daily_bin876.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/353093/ltcube_466387201_466646401_4FGL_J2234.1-2656_daily_bin876.fits
.....................!
real 192.31
user 187.14
sys 4.85

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/353093/ft1_filtered_4FGL_J2234.1-2656_daily_bin876.fits scfile=/scratch/kocevski/353093/ft2_4FGL_J2234.1-2656_daily_bin876.fits outfile=/scratch/kocevski/353093/cmap_466387201_466646401_4FGL_J2234.1-2656_daily_bin876.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353093/ft1_filtered_4FGL_J2234.1-2656_daily_bin876.fits scfile=/scratch/kocevski/353093/ft2_4FGL_J2234.1-2656_daily_bin876.fits outfile=/scratch/kocevski/353093/cmap_HighResolution_466387201_466646401_4FGL_J2234.1-2656_daily_bin876.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353093/ft1_filtered_4FGL_J2234.1-2656_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/353093/ft2_4FGL_J2234.1-2656_daily_bin876.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353093/Model_4FGL_J2234.1-2656_daily_bin876.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/353093/ft1_filtered_4FGL_J2234.1-2656_daily_bin876.fits.....................!
real 54.78
user 53.59
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29271E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .74369E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.4157       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    35.155       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.2755       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4734       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4322       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7815       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.6815       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0472       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96986       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=   7002.190     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2291 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .87790E-01    13.286        .37780E-05   -.48674E-03
   2  Prefactor     .10000E-03    6.5347       -.76121E-06** at limit **
   3  Prefactor     .10000E-03    310.46       -.19966E-04** at limit **
   4  norm          .10000E-03    1.7089        .35882E-07** at limit **
   5  norm          1.4156        .34678        .38788E-07    .16253E-02
   6  Prefactor     .10000E-03    5.7515        .29212E-06** at limit **
   7  Prefactor     .10000E-03    6.6967        .35513E-06** at limit **
   8  Prefactor     .10000E-03    6.1691        .40107E-06** at limit **
   9  Prefactor     .10000E-03    19.534       -.72124E-07** at limit **
  10  norm          35.164        21.224       -.28583E-05   -.56883E-04
  11  Prefactor     .10000E-03    5.8270       -.45999E-06** at limit **
  12  Prefactor     .10000E-03    11.669        .21167E-06** at limit **
  13  norm          2.2757        2.2651        .23984E-06    .18938E-03
  14  Prefactor     4.4767        85.241       -.15581E-05    .17243E-05
  15  Prefactor     2.4325        7.7249        .70559E-05    .24249E-03
  16  norm          2.7825        3.0502        .60948E-07    .96486E-04
  17  Prefactor     .10000E-03    6.4270       -.16483E-06** at limit **
  18  Prefactor     .10000E-03    3.5096        .29683E-07** at limit **
  19  norm          .10000E-03    .15321       -.47001E-07** at limit **
  20  Prefactor     .10000E-03    30.833       -.59694E-07** at limit **
  21  Prefactor     2.6830        4.3376        .65789E-07    .31103E-04
  22  Normalizat    1.0472        .17096       -.92772E-06    .16699E-03
  23  Prefactor     .96983        .15753        .99819E-06    .14835E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0877898
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 1.41563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 35.1641
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.27573
  Prefactor  = 4.47675
  Prefactor  = 2.43249
  norm       = 2.78251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.68302
  Normalizat = 1.04723
  Prefactor  = 0.969825
 **********
 **   18 **HESSE 
 **********

 FCN=   7002.190     FROM HESSE     STATUS=OK           376 CALLS     2667 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .87790E-01    13.221        .82086E-01   -1.5649    
   2  Prefactor     .10000E-03    6.5416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    317.60        .41890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.7430        .10668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4156        .34756        .23581E-04   -1.5470    
   6  Prefactor     .10000E-03    5.8059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.7116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.4138        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          35.164        21.294        .67589E-04   -1.4521    
  11  Prefactor     .10000E-03    5.8369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.012        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.2757        2.2295        .10585E-03   -1.5406    
  14  Prefactor     4.4767        82.481        .19037E-03   -1.5285    
  15  Prefactor     2.4325        7.7319        .13119E-02   -1.5396    
  16  norm          2.7825        2.9916        .14476E-03   -1.5374    
  17  Prefactor     .10000E-03    6.4715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.6325        .30441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .31453        .62251E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    30.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.6830        4.2918        .21328E-03   -1.5380    
  22  Normalizat    1.0472        .20766        .23557E-03   -.91465    
  23  Prefactor     .96983        .19251        .22796E-03   -.93742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.87191e-10
Minuit parameter uncertainties:
  1  2.15393
  2  1.86994e-06
  3  0.00146773
  4  8.36947e-07
  5  0.347564
  6  1.25842e-05
  7  1.99645e-06
  8  3.62649e-05
  9  1.05467e-05
  10  21.2984
  11  8.23421e-06
  12  3.07489e-05
  13  2.22955
  14  38.4929
  15  7.73511
  16  2.99172
  17  4.65257e-06
  18  1.89545e-07
  19  1.06839e-06
  20  2.17817e-05
  21  4.29224
  22  0.207818
  23  0.192643
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.516e+01  2.130e+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.698e-01  1.926e-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.047e+00  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.90
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 3.63e-08 +/- 2.20e-08
Energy Flux (Fixed Index): 2.53e-05 +/- 1.53e-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) = 7001.4064976
delta logL = 0.78361558826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7001.40321051
delta logL = 0.78690267412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.886       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6565       1.0000          .0000       5.0000    
     3 'Normalizat'    .99075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0038       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=   7001.403     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      285 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.893        20.596        .83729E-04   -.74383E-03
   2  alpha         2.6567        .60739        .89469E-02   -.15045E-03
   3  Normalizat    .99089        .21179        .24120E-03    .84088E-03
   4  Prefactor     1.0035        .19493        .22441E-03    .13302E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 22.8926
  alpha      = 2.65675
  Normalizat = 0.990889
  Prefactor  = 1.00347
 **********
 **   18 **HESSE 
 **********

 FCN=   7001.403     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.893        18.737        .16746E-04   -1.4751    
   2  alpha         2.6567        .55284        .35787E-03    .62740E-01
   3  Normalizat    .99089        .21128        .48240E-04   -.93336    
   4  Prefactor     1.0035        .19471        .44883E-04   -.92614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28406e-09
Minuit parameter uncertainties:
  1  18.7422
  2  0.557464
  3  0.211459
  4  0.194848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353093': 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) = 7001.40320705
delta logL = 0.786906134175

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.289e+01  1.874e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.657e+00  5.575e-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.003e+00  1.948e-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.909e-01  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.51
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.66 +/- 0.56
Photon Flux (Free Index): 7.24e-08 +/- 4.36e-08
Energy Flux (Free Index): 1.95e-05 +/- 9.90e-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/353093/cmap_HighResolution_466387201_466646401_4FGL_J2234.1-2656_daily_bin876.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.63e-08', energy_flux2='1.95e-05', photon_flux_error='2.20e-08', dlogl='7.87e-01', energy_flux='2.53e-05', photon_flux2='7.24e-08', job_status='DONE', time_completed='2021-09-28 14:31:04.338666', photon_index_error2='0.56', photon_index2='2.66', ts='6.90', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='9.90e-06', EG='1.05', time_epoch_completed='1632864664.34', return_code='0', job_id='353093', GAL2='1.00', EG2='0.99', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='4.36e-08', ts2='8.51', photon_index='1.95' WHERE bin_id='876' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:31:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 353093: <4FGL_J2234.1-2656_daily_bin876> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin876> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:20:57 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:20:59 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:20:59 2021
Terminated at Tue Sep 28 14:31:05 2021
Results reported at Tue Sep 28 14:31:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin876 338.543 -26.9375 466387201 466646401 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 :                                   591.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             322.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   605 sec.
    Turnaround time :                            608 sec.

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

