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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin839
RA = 338.543, Dec = -26.9375
tmin = 456796801, tmax = 457056001
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='353035', job_status='RUN', time_executed='2021-09-28 14:22:36.924486', time_epoch_executed='1632864156.92' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='839'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353035

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353035/ft1_4FGL_J2234.1-2656_daily_bin839.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353035/ft2_4FGL_J2234.1-2656_daily_bin839.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353035/ft1_4FGL_J2234.1-2656_daily_bin839.fits outfile=/scratch/kocevski/353035/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin839.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=456796801.0 tmax=457056001.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.32
user 3.09
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353035/ft1_filtered_4FGL_J2234.1-2656_daily_bin839.fits" evtable="EVENTS" scfile=/scratch/kocevski/353035/ft2_4FGL_J2234.1-2656_daily_bin839.fits sctable="SC_DATA" outfile=/scratch/kocevski/353035/ltcube_456796801_457056001_4FGL_J2234.1-2656_daily_bin839.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/353035/ft2_4FGL_J2234.1-2656_daily_bin839.fits
.....................!
real 11.97
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353035/ft1_filtered_4FGL_J2234.1-2656_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/353035/ft2_4FGL_J2234.1-2656_daily_bin839.fits sctable="SC_DATA" expcube=/scratch/kocevski/353035/ltcube_456796801_457056001_4FGL_J2234.1-2656_daily_bin839.fits outfile=/scratch/kocevski/353035/expmap_456796801_457056001_4FGL_J2234.1-2656_daily_bin839.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/353035/ltcube_456796801_457056001_4FGL_J2234.1-2656_daily_bin839.fits
.....................!
real 191.75
user 186.89
sys 4.46

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/353035/ft1_filtered_4FGL_J2234.1-2656_daily_bin839.fits scfile=/scratch/kocevski/353035/ft2_4FGL_J2234.1-2656_daily_bin839.fits outfile=/scratch/kocevski/353035/cmap_456796801_457056001_4FGL_J2234.1-2656_daily_bin839.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353035/ft1_filtered_4FGL_J2234.1-2656_daily_bin839.fits scfile=/scratch/kocevski/353035/ft2_4FGL_J2234.1-2656_daily_bin839.fits outfile=/scratch/kocevski/353035/cmap_HighResolution_456796801_457056001_4FGL_J2234.1-2656_daily_bin839.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353035/ft1_filtered_4FGL_J2234.1-2656_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/353035/ft2_4FGL_J2234.1-2656_daily_bin839.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353035/Model_4FGL_J2234.1-2656_daily_bin839.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/353035/ft1_filtered_4FGL_J2234.1-2656_daily_bin839.fits.....................!
real 55.30
user 53.96
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4417       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.8505       1.0000         .10000E-03   10000.    
     5 'norm      '    1.4933       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5291       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5355       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.834       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.847       1.0000         .10000E-03   10000.    
    13 'norm      '    6.1479       1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.707       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10167E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8010       1.0000         .10000E-03   10000.    
    19 'norm      '    .51919       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.566       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85531       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71807       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=   7325.023     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2522 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4417        6.8159       -.85841E-07    .31311E-05
   2  Prefactor     .10000E-03    4.7895       -.36865E-05** at limit **
   3  Prefactor     .10000E-03    11.627        .10002E-04** at limit **
   4  norm          3.8502        3.6264       -.19792E-05   -.43795E-04
   5  norm          1.4933        .34871        .96652E-07   -.51076E-03
   6  Prefactor     3.5287        6.1424       -.24208E-06   -.30658E-04
   7  Prefactor     .10000E-03    6.5512        .15747E-05** at limit **
   8  Prefactor     4.5352        4.4727       -.11699E-06    .55114E-04
   9  Prefactor     29.827        23.086       -.75084E-05   -.49782E-05
  10  norm          .10000E-03    5.2461        .32209E-05** at limit **
  11  Prefactor     .10000E-03    16.860       -.52756E-05** at limit **
  12  Prefactor     10.846        9.8141        .37190E-06   -.79792E-04
  13  norm          6.1481        2.5874        .33067E-06    .54093E-04
  14  Prefactor     31.704        40.196       -.51278E-05    .40879E-04
  15  Prefactor     .10000E-03    5.0455        .10712E-05** at limit **
  16  norm          .10000E-03    1.5285       -.11815E-06** at limit **
  17  Prefactor     .10000E-03    8.4363       -.78376E-05** at limit **
  18  Prefactor     1.8053        1.3798        .14146E-06   -.98585E-03
  19  norm          .51915        .40895        .29612E-07    .18339E-02
  20  Prefactor     12.563        51.181       -.85572E-05    .48190E-05
  21  Prefactor     .10000E-03    3.9910        .31207E-06** at limit **
  22  Normalizat    .85540        .13780        .13685E-05    .64558E-04
  23  Prefactor     .71800        .12147        .11333E-08    .19748E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.44173
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.85016
  norm       = 1.49334
  Prefactor  = 3.52874
  Prefactor  = 0.0001
  Prefactor  = 4.53516
  Prefactor  = 29.8271
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8459
  norm       = 6.14813
  Prefactor  = 31.704
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.80531
  norm       = 0.519152
  Prefactor  = 12.5626
  Prefactor  = 0.0001
  Normalizat = 0.855403
  Prefactor  = 0.717999
 **********
 **   18 **HESSE 
 **********

 FCN=   7325.023     FROM HESSE     STATUS=OK           374 CALLS     2896 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4417        6.8156        .15813E-03   -1.5200    
   2  Prefactor     .10000E-03    4.7894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.8502        3.6410        .14200E-03   -1.5316    
   5  norm          1.4933        .35070        .22225E-04   -1.5464    
   6  Prefactor     3.5287        6.1343        .21518E-03   -1.5332    
   7  Prefactor     .10000E-03    6.5775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.5352        4.4849        .17280E-03   -1.5282    
   9  Prefactor     29.827        23.097        .73353E-04   -1.4615    
  10  norm          .10000E-03    5.2521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.846        9.8665        .60824E-03   -1.5049    
  13  norm          6.1481        2.6072        .74683E-04   -1.5212    
  14  Prefactor     31.704        40.896        .71158E-04   -1.4581    
  15  Prefactor     .10000E-03    5.0880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.9649        .20076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.4993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.8053        7.1872        .15575E-02   -1.5439    
  19  norm          .51915        .49686        .44671E-03   -1.5564    
  20  Prefactor     12.563        51.571        .11300E-03   -1.4999    
  21  Prefactor     .10000E-03    4.0335        .16674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .85540        .16858        .22100E-03   -.98045    
  23  Prefactor     .71800        .14558        .21958E-03   -1.0283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69213e-09
Minuit parameter uncertainties:
  1  6.81645
  2  1.30974e-05
  3  2.70297e-05
  4  3.64117
  5  0.350702
  6  6.13537
  7  5.94309e-06
  8  4.48528
  9  23.1037
  10  4.30374e-07
  11  1.08183e-05
  12  9.86801
  13  2.60725
  14  40.932
  15  4.03208e-06
  16  3.61172e-05
  17  2.06538e-05
  18  7.19064
  19  0.496866
  20  50.9823
  21  1.70116e-06
  22  0.168687
  23  0.14566
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  4.304e-07  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.180e-01  1.457e-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.554e-01  1.687e-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: 2.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/353035/likelihoodResults_456796801_457056001_4FGL_J2234.1-2656_daily_bin839.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) = 7325.02417743
delta logL = -0.000905810830773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7325.0232716
delta logL = 1.74813976628e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9460       1.0000          .0000       5.0000    
     3 'Normalizat'    .85540       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71799       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=   7325.023     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      235 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    434.99        .18142E-02** at limit **
   2  alpha         1.7273        4.0657        .50000       -.46089E-07
   3  Normalizat    .85540        .32671E-01    .22100E-03    .28448E-04
   4  Prefactor     .71800        .30140E-01    .21958E-03    .34689E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.72728
  Normalizat = 0.855404
  Prefactor  = 0.717998
 **********
 **   18 **HESSE 
 **********

 FCN=   7325.023     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1282.2        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7273        3.3531        .50000       -.31423    
   3  Normalizat    .85540        .13360        .88399E-05   -.98045    
   4  Prefactor     .71800        .12325        .87832E-05   -1.0283    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.94291e-08
Minuit parameter uncertainties:
  1  0.00147835
  2  3274.28
  3  0.133653
  4  0.123296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353035': 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) = 7325.02327125
delta logL = 3.74029696104e-07

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  1.478e-03  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.727e+00  3.274e+03  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.180e-01  1.233e-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.554e-01  1.337e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/353035/cmap_HighResolution_456796801_457056001_4FGL_J2234.1-2656_daily_bin839.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.88e-05', job_status='DONE', photon_flux_upper_limit='2.70e-08', time_completed='2021-09-28 14:33:56.039676', job_id='353035', GAL2='0.72', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632864836.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='3.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='839' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:33:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 353035: <4FGL_J2234.1-2656_daily_bin839> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin839> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:20:53 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:20:54 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:54 2021
Terminated at Tue Sep 28 14:33:56 2021
Results reported at Tue Sep 28 14:33:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin839 338.543 -26.9375 456796801 457056001 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 :                                   676.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             293.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            783 sec.

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

