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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin921
RA = 338.543, Dec = -26.9375
tmin = 478051201, tmax = 478310401
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='353154', job_status='RUN', time_executed='2021-09-28 14:21:51.908860', time_epoch_executed='1632864111.91' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='921'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353154

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353154/ft1_4FGL_J2234.1-2656_daily_bin921.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353154/ft2_4FGL_J2234.1-2656_daily_bin921.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353154/ft1_4FGL_J2234.1-2656_daily_bin921.fits outfile=/scratch/kocevski/353154/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin921.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=478051201.0 tmax=478310401.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.53
user 3.29
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353154/ft2_4FGL_J2234.1-2656_daily_bin921.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/353154/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin921.fits evtable="EVENTS" outfile="/scratch/kocevski/353154/ft1_filtered_4FGL_J2234.1-2656_daily_bin921.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/353154/ft1_filtered_4FGL_J2234.1-2656_daily_bin921.fits" evtable="EVENTS" scfile=/scratch/kocevski/353154/ft2_4FGL_J2234.1-2656_daily_bin921.fits sctable="SC_DATA" outfile=/scratch/kocevski/353154/ltcube_478051201_478310401_4FGL_J2234.1-2656_daily_bin921.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/353154/ft2_4FGL_J2234.1-2656_daily_bin921.fits
.....................!
real 11.84
user 11.46
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353154/ft1_filtered_4FGL_J2234.1-2656_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/353154/ft2_4FGL_J2234.1-2656_daily_bin921.fits sctable="SC_DATA" expcube=/scratch/kocevski/353154/ltcube_478051201_478310401_4FGL_J2234.1-2656_daily_bin921.fits outfile=/scratch/kocevski/353154/expmap_478051201_478310401_4FGL_J2234.1-2656_daily_bin921.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/353154/ltcube_478051201_478310401_4FGL_J2234.1-2656_daily_bin921.fits
.....................!
real 190.30
user 185.24
sys 4.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/353154/ft1_filtered_4FGL_J2234.1-2656_daily_bin921.fits scfile=/scratch/kocevski/353154/ft2_4FGL_J2234.1-2656_daily_bin921.fits outfile=/scratch/kocevski/353154/cmap_478051201_478310401_4FGL_J2234.1-2656_daily_bin921.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=338.543 yref=-26.9375 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353154/ft1_filtered_4FGL_J2234.1-2656_daily_bin921.fits scfile=/scratch/kocevski/353154/ft2_4FGL_J2234.1-2656_daily_bin921.fits outfile=/scratch/kocevski/353154/cmap_HighResolution_478051201_478310401_4FGL_J2234.1-2656_daily_bin921.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/353154/ft1_filtered_4FGL_J2234.1-2656_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/353154/ft2_4FGL_J2234.1-2656_daily_bin921.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353154/Model_4FGL_J2234.1-2656_daily_bin921.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/353154/ft1_filtered_4FGL_J2234.1-2656_daily_bin921.fits.....................!
real 42.39
user 41.12
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.077       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .50371E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .39432E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6568       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5909       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10561E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .25029E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8233       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .74016E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .63249E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8069       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9325       1.0000         .10000E-03   10000.    
    13 'norm      '    2.5435       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1791       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4383       1.0000         .10000E-03   10000.    
    16 'norm      '    .10137E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18990E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7362       1.0000         .10000E-03   10000.    
    19 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.7789       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14720E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2815       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .75393       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=   4598.494     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     1877 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.237        18.975        .28380E-05    .33297E-04
   2  Prefactor     .10000E-03    21.299        .21797E-07** at limit **
   3  Prefactor     .10000E-03    38.344       -.21292E-05** at limit **
   4  norm          2.6377        6.0066        .57291E-05   -.48526E-04
   5  norm          1.5911        .51335       -.19810E-06   -.44284E-04
   6  Prefactor     .10000E-03    7.5964       -.29121E-06** at limit **
   7  Prefactor     .10000E-03    20.126       -.36792E-06** at limit **
   8  Prefactor     8.9738        11.012        .37380E-07    .60148E-04
   9  Prefactor     .10000E-03    50.572        .16778E-05** at limit **
  10  norm          .10000E-03    24.656       -.14495E-05** at limit **
  11  Prefactor     4.0153        30.399       -.66690E-05   -.12646E-04
  12  Prefactor     2.9362        14.702        .24006E-05    .70264E-06
  13  norm          2.5794        2.4099       -.54911E-07   -.41800E-04
  14  Prefactor     3.9515        217.54        .14141E-05   -.78753E-05
  15  Prefactor     4.3854        13.982        .12254E-05    .29476E-04
  16  norm          .10000E-03    3.2230        .18911E-06** at limit **
  17  Prefactor     .10000E-03    8.6383        .25870E-06** at limit **
  18  Prefactor     3.8097        8.4017       -.22872E-06   -.53784E-04
  19  norm          .10000E-03    .21026        .11156E-07** at limit **
  20  Prefactor     1.9602        105.04       -.52685E-06    .17801E-05
  21  Prefactor     .10000E-03    12.015        .32633E-06** at limit **
  22  Normalizat    1.2834        .22764       -.87620E-06    .51389E-04
  23  Prefactor     .75278        .18710       -.24121E-06    .16704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.2368
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.63773
  norm       = 1.59111
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.97376
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.01525
  Prefactor  = 2.93616
  norm       = 2.57935
  Prefactor  = 3.9515
  Prefactor  = 4.38541
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.80969
  norm       = 0.0001
  Prefactor  = 1.96016
  Prefactor  = 0.0001
  Normalizat = 1.28336
  Prefactor  = 0.75278
 **********
 **   18 **HESSE 
 **********

 FCN=   4598.494     FROM HESSE     STATUS=OK           368 CALLS     2245 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.237        18.971        .43622E-03   -1.4786    
   2  Prefactor     .10000E-03    21.406        .19192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    38.453        .18437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6377        6.0167        .11373E-02   -1.5383    
   5  norm          1.5911        .51493        .25453E-04   -1.5456    
   6  Prefactor     .10000E-03    7.6537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.217        .20017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.9738        11.033        .13494E-03   -1.5109    
   9  Prefactor     .10000E-03    50.608        .18773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    24.756        .18669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0153        30.253        .20687E-03   -1.5307    
  12  Prefactor     2.9362        14.274        .23720E-03   -1.5365    
  13  norm          2.5794        2.4050        .90181E-04   -1.5387    
  14  Prefactor     3.9515        212.50        .16150E-03   -1.5310    
  15  Prefactor     4.3854        14.097        .19115E-03   -1.5289    
  16  norm          .10000E-03    3.2593        .11845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.6645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.8097        8.3563        .20890E-03   -1.5318    
  19  norm          .10000E-03    .21027        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.9602        105.44        .24411E-03   -1.5428    
  21  Prefactor     .10000E-03    12.166        .20486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2834        .28135        .23130E-03   -.84064    
  23  Prefactor     .75278        .22875        .25697E-03   -1.0149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.04144e-11
Minuit parameter uncertainties:
  1  18.9761
  2  0.000138126
  3  0.000184447
  4  6.01809
  5  0.514931
  6  3.26177e-05
  7  5.20801e-05
  8  11.0359
  9  8.5233e-06
  10  4.14103e-05
  11  22.0583
  12  12.9525
  13  2.40507
  14  58.1727
  15  14.1076
  16  1.47535e-05
  17  3.24201e-05
  18  8.35887
  19  1.90492e-07
  20  28.8053
  21  5.16658e-05
  22  0.281683
  23  0.22904
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  4.141e-05  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:  7.528e-01  2.290e-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.283e+00  2.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/353154/likelihoodResults_478051201_478310401_4FGL_J2234.1-2656_daily_bin921.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): 102
logL (Free Index) = 4598.49449033
delta logL = -0.000192407982468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4598.48944933
delta logL = 0.00484859128119

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0222       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0034       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75466       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=   4598.489     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      283 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0222        59.450        .93251E-01    .37402E-03
   2  alpha         3.0034        3.5344        .42259        .52508E-04
   3  Normalizat    1.2774        .16937E-01    .52418E-01    .46522E-05
   4  Prefactor     .75466        .14905E-01    .43124E-01    .11764E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0222
  alpha      = 3.00343
  Normalizat = 1.27742
  Prefactor  = 0.754657
 **********
 **   18 **HESSE 
 **********

 FCN=   4598.489     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      318 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0222        7038.3        .31752E-02   -1.5506    
   2  alpha         3.0034        2.6203        .54872E-01    .20276    
   3  Normalizat    1.2774        .29233        .23176E-03   -.84243    
   4  Prefactor     .75466        .17075        .25668E-03   -1.0142    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.5237e-08
Minuit parameter uncertainties:
  1  142.084
  2  39.702
  3  0.292713
  4  0.17087
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353154': 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): 102
logL (Free Index) = 4598.48944933
delta logL = 0.0048485920679

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.022e+00  1.421e+02  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  3.003e+00  3.970e+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:  7.547e-01  1.709e-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.277e+00  2.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/353154/cmap_HighResolution_478051201_478310401_4FGL_J2234.1-2656_daily_bin921.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-05', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-09-28 14:30:23.001899', job_id='353154', GAL2='0.75', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1632864623.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='4.85e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='921' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:30:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 353154: <4FGL_J2234.1-2656_daily_bin921> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin921> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:21:03 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:21:05 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:05 2021
Terminated at Tue Sep 28 14:30:23 2021
Results reported at Tue Sep 28 14:30:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin921 338.543 -26.9375 478051201 478310401 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 :                                   511.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            560 sec.

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

