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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1000
RA = 338.543, Dec = -26.9375
tmin = 498528001, tmax = 498787201
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='353274', job_status='RUN', time_executed='2021-09-28 14:25:08.572536', time_epoch_executed='1632864308.57' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353274

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353274/ft1_4FGL_J2234.1-2656_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353274/ft2_4FGL_J2234.1-2656_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353274/ft1_4FGL_J2234.1-2656_daily_bin1000.fits outfile=/scratch/kocevski/353274/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1000.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=498528001.0 tmax=498787201.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 4.96
user 4.72
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353274/ft1_filtered_4FGL_J2234.1-2656_daily_bin1000.fits" evtable="EVENTS" scfile=/scratch/kocevski/353274/ft2_4FGL_J2234.1-2656_daily_bin1000.fits sctable="SC_DATA" outfile=/scratch/kocevski/353274/ltcube_498528001_498787201_4FGL_J2234.1-2656_daily_bin1000.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/353274/ft2_4FGL_J2234.1-2656_daily_bin1000.fits
.....................!
real 12.10
user 11.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353274/ft1_filtered_4FGL_J2234.1-2656_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/353274/ft2_4FGL_J2234.1-2656_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/353274/ltcube_498528001_498787201_4FGL_J2234.1-2656_daily_bin1000.fits outfile=/scratch/kocevski/353274/expmap_498528001_498787201_4FGL_J2234.1-2656_daily_bin1000.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/353274/ltcube_498528001_498787201_4FGL_J2234.1-2656_daily_bin1000.fits
.....................!
real 191.50
user 186.05
sys 5.12

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/353274/ft1_filtered_4FGL_J2234.1-2656_daily_bin1000.fits scfile=/scratch/kocevski/353274/ft2_4FGL_J2234.1-2656_daily_bin1000.fits outfile=/scratch/kocevski/353274/cmap_498528001_498787201_4FGL_J2234.1-2656_daily_bin1000.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=338.543 yref=-26.9375 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353274/ft1_filtered_4FGL_J2234.1-2656_daily_bin1000.fits scfile=/scratch/kocevski/353274/ft2_4FGL_J2234.1-2656_daily_bin1000.fits outfile=/scratch/kocevski/353274/cmap_HighResolution_498528001_498787201_4FGL_J2234.1-2656_daily_bin1000.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/353274/ft1_filtered_4FGL_J2234.1-2656_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/353274/ft2_4FGL_J2234.1-2656_daily_bin1000.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353274/Model_4FGL_J2234.1-2656_daily_bin1000.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/353274/ft1_filtered_4FGL_J2234.1-2656_daily_bin1000.fits.....................!
real 38.98
user 37.69
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.552       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0945       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.096       1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8176       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.9372       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.359       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.4839       1.0000         .10000E-03   10000.    
     9 'Prefactor '    63.224       1.0000         .10000E-03   10000.    
    10 'norm      '    .16161       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10225E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    83.368       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.8525       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.8287       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.011       1.0000         .10000E-03   10000.    
    19 'norm      '    .66921       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1108       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .50534       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=   4385.879     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2651 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.548        14.696        .58902E-07   -.37836E-04
   2  Prefactor     9.0469        20.279        .36855E-05   -.77395E-04
   3  Prefactor     12.167        82.638       -.11227E-04   -.69977E-04
   4  norm          .10000E-03    3.5979        .11048E-05** at limit **
   5  norm          1.8180        .46764        .56633E-08   -.18715E-02
   6  Prefactor     6.9360        7.4728        .51720E-07   -.14969E-04
   7  Prefactor     31.359        18.301       -.87471E-07   -.51454E-04
   8  Prefactor     6.4850        6.8078        .11213E-06   -.17352E-05
   9  Prefactor     63.223        53.594        .15723E-06    .35683E-05
  10  norm          .11813        20.641        .29949E-05   -.33264E-03
  11  Prefactor     .10000E-03    10.789       -.38491E-07** at limit **
  12  Prefactor     .10000E-03    17.382        .24151E-06** at limit **
  13  norm          .10000E-03    1.5652        .27440E-06** at limit **
  14  Prefactor     83.381        54.923       -.11870E-05   -.10877E-03
  15  Prefactor     .10000E-03    6.9993       -.63573E-07** at limit **
  16  norm          1.8504        3.6506        .11880E-05    .27635E-03
  17  Prefactor     1.8956        70.125        .13942E-05    .23885E-04
  18  Prefactor     16.999        15.153       -.38937E-07   -.60152E-04
  19  norm          .66863        .85526       -.11860E-06   -.28540E-03
  20  Prefactor     .10000E-03    28.229       -.77169E-07** at limit **
  21  Prefactor     .10000E-03    15.452       -.57275E-06** at limit **
  22  Normalizat    1.1106        .20363       -.41269E-06   -.20677E-03
  23  Prefactor     .50561        .17397        .78762E-06   -.11783E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5482
  Prefactor  = 9.04691
  Prefactor  = 12.1672
  norm       = 0.0001
  norm       = 1.81796
  Prefactor  = 6.93598
  Prefactor  = 31.3591
  Prefactor  = 6.48498
  Prefactor  = 63.2229
  norm       = 0.118129
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 83.3808
  Prefactor  = 0.0001
  norm       = 1.85045
  Prefactor  = 1.89562
  Prefactor  = 16.9987
  norm       = 0.668628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11056
  Prefactor  = 0.505609
 **********
 **   18 **HESSE 
 **********

 FCN=   4385.879     FROM HESSE     STATUS=OK           382 CALLS     3033 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.548        14.706        .86278E-04   -1.4779    
   2  Prefactor     9.0469        20.225        .13290E-03   -1.5106    
   3  Prefactor     12.167        83.873        .11518E-03   -1.5010    
   4  norm          .10000E-03    6.3118        .22715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8180        .45680        .21524E-04   -1.5438    
   6  Prefactor     6.9360        7.4664        .15232E-03   -1.5181    
   7  Prefactor     31.359        18.308        .71551E-04   -1.4587    
   8  Prefactor     6.4850        6.8245        .15761E-03   -1.5199    
   9  Prefactor     63.223        53.611        .50467E-04   -1.4116    
  10  norm          .11813        17.519        .86546E-01   -1.5639    
  11  Prefactor     .10000E-03    10.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5867        .16080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     83.381        54.813        .43993E-04   -1.3879    
  15  Prefactor     .10000E-03    7.0708        .17108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8504        3.6881        .81271E-03   -1.5436    
  17  Prefactor     1.8956        59.547        .30866E-03   -1.5433    
  18  Prefactor     16.999        14.272        .97107E-04   -1.4883    
  19  norm          .66863        .79604        .52342E-03   -1.5544    
  20  Prefactor     .10000E-03    28.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    15.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1106        .24111        .21227E-03   -.89413    
  23  Prefactor     .50561        .20441        .26931E-03   -1.1172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17759e-10
Minuit parameter uncertainties:
  1  14.7086
  2  20.2404
  3  64.0192
  4  4.03433e-05
  5  0.456805
  6  7.4674
  7  18.3109
  8  6.82531
  9  53.6519
  10  2.8768
  11  5.44152e-06
  12  3.31083e-05
  13  1.12602e-05
  14  54.846
  15  6.79252e-06
  16  3.68851
  17  21.2715
  18  14.2751
  19  0.796053
  20  8.29476e-06
  21  6.62766e-05
  22  0.241347
  23  0.204704
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.181e-01  2.877e+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

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  5.056e-01  2.047e-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.111e+00  2.413e-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: 5.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/353274/likelihoodResults_498528001_498787201_4FGL_J2234.1-2656_daily_bin1000.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) = 4385.87773872
delta logL = 0.00147522600946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4385.72308562
delta logL = 0.156128325671

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7136       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4021       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51779       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=   4385.723     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      237 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7172        90.730        .80265E-02    .40686E-03
   2  alpha         3.4007        4.1405        .45189        .22022E-04
   3  Normalizat    1.0839        .39073E-01    .38697E-01   -.55406E-04
   4  Prefactor     .51780        .34087E-01    .60169E-01    .19761E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.71716
  alpha      = 3.40069
  Normalizat = 1.08394
  Prefactor  = 0.517799
 **********
 **   18 **HESSE 
 **********

 FCN=   4385.723     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7172        58.416        .15908E-03   -1.5446    
   2  alpha         3.4007        3.8172        .18749E-01    .36856    
   3  Normalizat    1.0839        .23793        .21443E-03   -.90269    
   4  Prefactor     .51780        .20583        .26621E-03   -1.1117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9328e-10
Minuit parameter uncertainties:
  1  20.0517
  2  6.39897
  3  0.238161
  4  0.206132
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353274': 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) = 4385.72308527
delta logL = 0.156128675843

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.717e+00  2.005e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  3.401e+00  6.399e+00  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:  5.178e-01  2.061e-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.084e+00  2.382e-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/353274/cmap_HighResolution_498528001_498787201_4FGL_J2234.1-2656_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.56e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2021-09-28 14:34:26.003595', job_id='353274', GAL2='0.52', fit_tolerance='1e-08', EG2='1.08', EG='1.11', time_epoch_completed='1632864866.0', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='1.56e-01', ts2='0.32', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1000' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:34:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 353274: <4FGL_J2234.1-2656_daily_bin1000> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1000 338.543 -26.9375 498528001 498787201 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 :                                   557.17 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             229.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            792 sec.

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

