/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 50 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 = 7381
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin880
RA = 338.543, Dec = -26.9375
tmin = 467424001, tmax = 467683201
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='353098', job_status='RUN', time_executed='2021-09-28 14:22:02.382618', time_epoch_executed='1632864122.38' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='880'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353098

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353098/ft1_4FGL_J2234.1-2656_daily_bin880.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353098/ft2_4FGL_J2234.1-2656_daily_bin880.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353098/ft1_4FGL_J2234.1-2656_daily_bin880.fits outfile=/scratch/kocevski/353098/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin880.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=467424001.0 tmax=467683201.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.57
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353098/ft1_filtered_4FGL_J2234.1-2656_daily_bin880.fits" evtable="EVENTS" scfile=/scratch/kocevski/353098/ft2_4FGL_J2234.1-2656_daily_bin880.fits sctable="SC_DATA" outfile=/scratch/kocevski/353098/ltcube_467424001_467683201_4FGL_J2234.1-2656_daily_bin880.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/353098/ft2_4FGL_J2234.1-2656_daily_bin880.fits
.....................!
real 11.70
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353098/ft1_filtered_4FGL_J2234.1-2656_daily_bin880.fits evtable="EVENTS" scfile=/scratch/kocevski/353098/ft2_4FGL_J2234.1-2656_daily_bin880.fits sctable="SC_DATA" expcube=/scratch/kocevski/353098/ltcube_467424001_467683201_4FGL_J2234.1-2656_daily_bin880.fits outfile=/scratch/kocevski/353098/expmap_467424001_467683201_4FGL_J2234.1-2656_daily_bin880.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/353098/ltcube_467424001_467683201_4FGL_J2234.1-2656_daily_bin880.fits
.....................!
real 190.56
user 185.18
sys 5.02

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/353098/ft1_filtered_4FGL_J2234.1-2656_daily_bin880.fits scfile=/scratch/kocevski/353098/ft2_4FGL_J2234.1-2656_daily_bin880.fits outfile=/scratch/kocevski/353098/cmap_467424001_467683201_4FGL_J2234.1-2656_daily_bin880.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353098/ft1_filtered_4FGL_J2234.1-2656_daily_bin880.fits scfile=/scratch/kocevski/353098/ft2_4FGL_J2234.1-2656_daily_bin880.fits outfile=/scratch/kocevski/353098/cmap_HighResolution_467424001_467683201_4FGL_J2234.1-2656_daily_bin880.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353098/ft1_filtered_4FGL_J2234.1-2656_daily_bin880.fits evtable="EVENTS" scfile=/scratch/kocevski/353098/ft2_4FGL_J2234.1-2656_daily_bin880.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353098/Model_4FGL_J2234.1-2656_daily_bin880.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/353098/ft1_filtered_4FGL_J2234.1-2656_daily_bin880.fits.....................!
real 41.59
user 40.27
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10348E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    20.641       1.0000         .10000E-03   10000.    
     5 'norm      '    1.3254       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13274E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    79.864       1.0000         .10000E-03   10000.    
    10 'norm      '    16.137       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13716E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.650       1.0000         .10000E-03   10000.    
    13 'norm      '    5.8340       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10359E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3409       1.0000         .10000E-03   10000.    
    16 'norm      '    .15359E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.152       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.717       1.0000         .10000E-03   10000.    
    19 'norm      '    .23437       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12875E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .18273E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0102       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0080       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=   4457.708     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2594 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.1582        .19986E-07** at limit **
   2  Prefactor     .10000E-03    7.5904       -.23399E-07** at limit **
   3  Prefactor     .10000E-03    24.057        .22974E-05** at limit **
   4  norm          20.644        7.5611       -.54229E-06   -.97435E-03
   5  norm          1.3254        .51147        .49016E-07   -.81454E-04
   6  Prefactor     .10000E-03    4.7290        .61263E-07** at limit **
   7  Prefactor     .10021E-03    25.926        .12523E-05** at limit **
   8  Prefactor     .10000E-03    5.5578        .51042E-07** at limit **
   9  Prefactor     79.792        65.783       -.74665E-05   -.51949E-03
  10  norm          16.124        18.833        .12707E-05    .24154E-03
  11  Prefactor     .10000E-03    38.988       -.14503E-05** at limit **
  12  Prefactor     11.666        16.542       -.23129E-06   -.67517E-04
  13  norm          5.8330        3.3974        .24410E-07    .24437E-03
  14  Prefactor     .10000E-03    46.358        .85414E-06** at limit **
  15  Prefactor     3.3353        14.593        .11431E-04   -.38912E-03
  16  norm          .10000E-03    4.9681       -.72570E-06** at limit **
  17  Prefactor     11.202        41.144       -.25541E-05    .24410E-03
  18  Prefactor     13.698        22.411        .27974E-05    .43341E-03
  19  norm          .23444        1.0124       -.17910E-06    .24571E-03
  20  Prefactor     .10000E-03    22.946       -.19432E-05** at limit **
  21  Prefactor     .10002E-03    24.617       -.19525E-05** at limit **
  22  Normalizat    1.0104        .25325       -.25568E-05    .18033E-03
  23  Prefactor     1.0077        .21298        .10292E-05    .53252E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 20.6437
  norm       = 1.32538
  Prefactor  = 0.0001
  Prefactor  = 0.000100212
  Prefactor  = 0.0001
  Prefactor  = 79.7917
  norm       = 16.1245
  Prefactor  = 0.000100001
  Prefactor  = 11.6657
  norm       = 5.833
  Prefactor  = 0.0001
  Prefactor  = 3.3353
  norm       = 0.000100001
  Prefactor  = 11.2019
  Prefactor  = 13.6978
  norm       = 0.234438
  Prefactor  = 0.000100002
  Prefactor  = 0.00010002
  Normalizat = 1.01039
  Prefactor  = 1.00775
 **********
 **   18 **HESSE 
 **********

 FCN=   4457.708     FROM HESSE     STATUS=OK           382 CALLS     2976 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.1618        .16182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.5946        .17966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          20.644        7.6675        .88160E-04   -1.4799    
   5  norm          1.3254        .51245        .27721E-04   -1.5478    
   6  Prefactor     .10000E-03    4.7382        .14179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10021E-03    30.946        .91549E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.5814        .15367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     79.792        69.728        .22470E-03   -1.3919    
  10  norm          16.124        18.883        .99704E-04   -1.4905    
  11  Prefactor     .10000E-03    39.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.666        16.610        .11737E-03   -1.5025    
  13  norm          5.8330        3.3953        .89786E-04   -1.5225    
  14  Prefactor     .10000E-03    46.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3353        15.548        .11072E-02   -1.5343    
  16  norm          .10000E-03    10.580        .25449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.202        37.265        .11997E-03   -1.5038    
  18  Prefactor     13.698        22.177        .54074E-03   -1.4968    
  19  norm          .23444        .81767        .83183E-04   -1.5611    
  20  Prefactor     .10000E-03    23.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    38.997        .69426E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0104        .30639        .27406E-03   -.92683    
  23  Prefactor     1.0077        .25659        .24316E-03   -.92472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37402e-09
Minuit parameter uncertainties:
  1  2.18071e-06
  2  8.02616e-06
  3  0.000490085
  4  7.66789
  5  0.512452
  6  1.9976e-06
  7  0.00512798
  8  3.06116e-06
  9  69.7998
  10  18.89
  11  0.000441931
  12  16.617
  13  3.39545
  14  0.000230816
  15  14.4082
  16  0.000237058
  17  37.3426
  18  22.1898
  19  0.817708
  20  0.000387327
  21  0.00176288
  22  0.306926
  23  0.256904
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.612e+01  1.889e+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.008e+00  2.569e-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.010e+00  3.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.67e-08 +/- 1.95e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/353098/likelihoodResults_467424001_467683201_4FGL_J2234.1-2656_daily_bin880.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) = 4454.82132105
delta logL = 2.88664778819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4453.43615372
delta logL = 4.27181512761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0105       1.0000         .10000E-03   10000.    
     2 'alpha     '    .10824E-03   1.0000          .0000       5.0000    
     3 'Normalizat'    1.0118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0130       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=   4453.436     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      230 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0059        1.3023        .13159E-01   -.43709E-03
   2  alpha         .89956E-12    .52797        .46270    ** at limit **
   3  Normalizat    1.0099        .23276        .45059E-01    .79484E-05
   4  Prefactor     1.0146        .20760        .42916E-01    .38758E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.00592
  alpha      = 8.99558e-13
  Normalizat = 1.0099
  Prefactor  = 1.01462
 **********
 **   18 **HESSE 
 **********

 FCN=   4453.436     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0059        1.0122        .61121E-03   -1.5507    
   2  alpha         .89956E-12    .66316        .31154E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0099        .27466        .27376E-03   -.92699    
   4  Prefactor     1.0146        .24503        .24241E-03   -.92244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.26964e-12
Minuit parameter uncertainties:
  1  1.01224
  2  1.58102e-06
  3  0.275045
  4  0.245299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353098': 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) = 4453.43604243
delta logL = 4.27192641603

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.006e+00  1.012e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  8.996e-13  1.581e-06  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.015e+00  2.453e-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.010e+00  2.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.25
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 4.31e-09 +/- 4.34e-09
Energy Flux (Free Index): 1.67e-04 +/- 1.68e-04

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/353098/cmap_HighResolution_467424001_467683201_4FGL_J2234.1-2656_daily_bin880.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-05', comment='SUCCESS', photon_flux='1.67e-08', energy_flux2='1.67e-04', photon_flux_error='1.95e-08', dlogl='4.27e+00', energy_flux='1.16e-05', photon_flux2='4.31e-09', job_status='DONE', time_completed='2021-09-28 14:30:56.177164', photon_index_error2='0.00', photon_index2='0.00', ts='1.71', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='7.79e-08', energy_flux_error2='1.68e-04', EG='1.01', time_epoch_completed='1632864656.18', return_code='0', job_id='353098', GAL2='1.01', EG2='1.01', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='4.34e-09', ts2='10.25', photon_index='1.95' WHERE bin_id='880' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:30:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 353098: <4FGL_J2234.1-2656_daily_bin880> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin880> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:20:58 2021
Job was executed on host(s) <bullet0219>, 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:30:56 2021
Results reported at Tue Sep 28 14:30:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin880 338.543 -26.9375 467424001 467683201 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 :                                   534.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             270.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            598 sec.

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

