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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin860
RA = 338.543, Dec = -26.9375
tmin = 462240001, tmax = 462499201
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='353068', job_status='RUN', time_executed='2021-09-28 14:23:04.131937', time_epoch_executed='1632864184.13' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='860'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353068

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353068/ft1_4FGL_J2234.1-2656_daily_bin860.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353068/ft2_4FGL_J2234.1-2656_daily_bin860.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353068/ft1_4FGL_J2234.1-2656_daily_bin860.fits outfile=/scratch/kocevski/353068/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin860.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=462240001.0 tmax=462499201.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.66
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353068/ft1_filtered_4FGL_J2234.1-2656_daily_bin860.fits" evtable="EVENTS" scfile=/scratch/kocevski/353068/ft2_4FGL_J2234.1-2656_daily_bin860.fits sctable="SC_DATA" outfile=/scratch/kocevski/353068/ltcube_462240001_462499201_4FGL_J2234.1-2656_daily_bin860.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/353068/ft2_4FGL_J2234.1-2656_daily_bin860.fits
.....................!
real 12.04
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353068/ft1_filtered_4FGL_J2234.1-2656_daily_bin860.fits evtable="EVENTS" scfile=/scratch/kocevski/353068/ft2_4FGL_J2234.1-2656_daily_bin860.fits sctable="SC_DATA" expcube=/scratch/kocevski/353068/ltcube_462240001_462499201_4FGL_J2234.1-2656_daily_bin860.fits outfile=/scratch/kocevski/353068/expmap_462240001_462499201_4FGL_J2234.1-2656_daily_bin860.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/353068/ltcube_462240001_462499201_4FGL_J2234.1-2656_daily_bin860.fits
.....................!
real 191.44
user 186.49
sys 4.40

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/353068/ft1_filtered_4FGL_J2234.1-2656_daily_bin860.fits scfile=/scratch/kocevski/353068/ft2_4FGL_J2234.1-2656_daily_bin860.fits outfile=/scratch/kocevski/353068/cmap_462240001_462499201_4FGL_J2234.1-2656_daily_bin860.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353068/ft1_filtered_4FGL_J2234.1-2656_daily_bin860.fits scfile=/scratch/kocevski/353068/ft2_4FGL_J2234.1-2656_daily_bin860.fits outfile=/scratch/kocevski/353068/cmap_HighResolution_462240001_462499201_4FGL_J2234.1-2656_daily_bin860.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353068/ft1_filtered_4FGL_J2234.1-2656_daily_bin860.fits evtable="EVENTS" scfile=/scratch/kocevski/353068/ft2_4FGL_J2234.1-2656_daily_bin860.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353068/Model_4FGL_J2234.1-2656_daily_bin860.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/353068/ft1_filtered_4FGL_J2234.1-2656_daily_bin860.fits.....................!
real 46.38
user 45.01
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30877E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.132       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .39353       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.9514       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.2551       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9640       1.0000         .10000E-03   10000.    
    10 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1277       1.0000         .10000E-03   10000.    
    13 'norm      '    7.3984       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .20447E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8542       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .55548       1.0000         .10000E-03   10000.    
    20 'Prefactor '    35.807       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .73827E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87068       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0655       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=   5766.575     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2256 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6981       -.21964E-05** at limit **
   2  Prefactor     18.138        12.575       -.53406E-07    .45976E-05
   3  Prefactor     .10000E-03    19.154        .42259E-06** at limit **
   4  norm          .10000E-03    1.5432       -.97225E-08** at limit **
   5  norm          .39353        .21145        .13799E-08    .16727E-03
   6  Prefactor     3.9505        8.4807        .58363E-07    .49454E-03
   7  Prefactor     6.2560        10.715        .58241E-07    .42984E-04
   8  Prefactor     .10000E-03    5.5681       -.16158E-06** at limit **
   9  Prefactor     9.0136        120.00       -.11201E-04   -.93869E-04
  10  norm          .10000E-03    12.293       -.39204E-07** at limit **
  11  Prefactor     .10000E-03    4.9169       -.41063E-07** at limit **
  12  Prefactor     9.1264        10.659        .45335E-07    .71775E-04
  13  norm          7.3998        3.0401        .35327E-07    .27310E-03
  14  Prefactor     .10001E-03    140.24       -.53196E-05** at limit **
  15  Prefactor     6.8553        11.313       -.32975E-06   -.95170E-05
  16  norm          .10000E-03    1.1634        .31064E-07** at limit **
  17  Prefactor     .10000E-03    3.8777        .19680E-07** at limit **
  18  Prefactor     .10000E-03    3.5140        .13323E-06** at limit **
  19  norm          .55549        .47581        .89094E-07   -.13121E-02
  20  Prefactor     35.730        37.374        .47975E-05    .46066E-03
  21  Prefactor     .10007E-03    15.104        .57536E-05** at limit **
  22  Normalizat    .87061        .18677        .14064E-05    .86451E-04
  23  Prefactor     1.0657        .17060       -.76803E-06   -.68086E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 18.138
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.393531
  Prefactor  = 3.95052
  Prefactor  = 6.25596
  Prefactor  = 0.0001
  Prefactor  = 9.01359
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.12639
  norm       = 7.39981
  Prefactor  = 0.000100013
  Prefactor  = 6.85534
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.555488
  Prefactor  = 35.7298
  Prefactor  = 0.000100069
  Normalizat = 0.870612
  Prefactor  = 1.06569
 **********
 **   18 **HESSE 
 **********

 FCN=   5766.575     FROM HESSE     STATUS=OK           372 CALLS     2628 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.491        .35148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.138        12.565        .94059E-04   -1.4856    
   3  Prefactor     .10000E-03    19.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5774        .92019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .39353        .21346        .24849E-04   -1.5583    
   6  Prefactor     3.9505        8.6911        .10146E-02   -1.5310    
   7  Prefactor     6.2560        10.707        .16050E-03   -1.5208    
   8  Prefactor     .10000E-03    5.8118        .34987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.0136        124.40        .13387E-03   -1.5107    
  10  norm          .10000E-03    12.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.9214        .16446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.1264        10.674        .13266E-03   -1.5104    
  13  norm          7.3998        3.0318        .81448E-04   -1.5164    
  14  Prefactor     .10001E-03    142.94        .20209E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.8553        11.375        .15325E-03   -1.5184    
  16  norm          .10000E-03    1.1656        .79964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.8803        .14601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.5342        .13866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .55549        .45312        .44348E-04   -1.5559    
  20  Prefactor     35.730        38.997        .33486E-03   -1.4512    
  21  Prefactor     .10007E-03    22.500        .36431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .87061        .21971        .25375E-03   -.97501    
  23  Prefactor     1.0657        .20058        .21585E-03   -.90571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05859e-09
Minuit parameter uncertainties:
  1  0.000330985
  2  12.5667
  3  7.41617e-05
  4  1.77535e-06
  5  0.21346
  6  8.69385
  7  10.7098
  8  2.20091e-05
  9  67.1418
  10  1.03669e-05
  11  6.52526e-06
  12  10.6759
  13  3.0319
  14  0.00272504
  15  11.3781
  16  7.15926e-07
  17  6.46983e-06
  18  1.21461e-05
  19  0.453126
  20  39.025
  21  0.00248906
  22  0.219934
  23  0.20072
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  1.037e-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:  1.066e+00  2.007e-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.706e-01  2.199e-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: 4.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/353068/likelihoodResults_462240001_462499201_4FGL_J2234.1-2656_daily_bin860.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) = 5766.5758637
delta logL = -0.000386442314266

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5766.57547702
delta logL = 2.32140337175e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9946       1.0000          .0000       5.0000    
     3 'Normalizat'    .87062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0657       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=   5766.575     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      192 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.650        .90712E-02** at limit **
   2  alpha         2.0375        3.4931        .42268       -.16360E-04
   3  Normalizat    .87061        .17653        .44525E-01   -.12789E-03
   4  Prefactor     1.0657        .16536        .39068E-01   -.15221E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.03745
  Normalizat = 0.870609
  Prefactor  = 1.06569
 **********
 **   18 **HESSE 
 **********

 FCN=   5766.575     FROM HESSE     STATUS=OK            25 CALLS      217 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0375        3.4281        .16907E-01   -.18609    
   3  Normalizat    .87061        .20786        .25374E-03   -.97501    
   4  Prefactor     1.0657        .19480        .21585E-03   -.90571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01872e-10
Minuit parameter uncertainties:
  1  0.000118985
  2  2.46079
  3  0.20805
  4  0.194933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353068': 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) = 5766.57547672
delta logL = 5.37882442586e-07

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  1.190e-04  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.037e+00  2.461e+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:  1.066e+00  1.949e-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.706e-01  2.080e-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/353068/cmap_HighResolution_462240001_462499201_4FGL_J2234.1-2656_daily_bin860.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-05', job_status='DONE', photon_flux_upper_limit='4.59e-08', time_completed='2021-09-28 14:32:47.156551', job_id='353068', GAL2='1.07', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632864767.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='5.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='860' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:32:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 353068: <4FGL_J2234.1-2656_daily_bin860> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin860 338.543 -26.9375 462240001 462499201 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 :                                   582.50 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            714 sec.

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

