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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin941
RA = 338.543, Dec = -26.9375
tmin = 483235201, tmax = 483494401
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='353184', job_status='RUN', time_executed='2021-09-28 14:23:08.454759', time_epoch_executed='1632864188.45' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353184

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353184/ft1_4FGL_J2234.1-2656_daily_bin941.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353184/ft2_4FGL_J2234.1-2656_daily_bin941.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353184/ft1_4FGL_J2234.1-2656_daily_bin941.fits outfile=/scratch/kocevski/353184/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin941.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=483235201.0 tmax=483494401.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.42
user 3.22
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353184/ft1_filtered_4FGL_J2234.1-2656_daily_bin941.fits" evtable="EVENTS" scfile=/scratch/kocevski/353184/ft2_4FGL_J2234.1-2656_daily_bin941.fits sctable="SC_DATA" outfile=/scratch/kocevski/353184/ltcube_483235201_483494401_4FGL_J2234.1-2656_daily_bin941.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/353184/ft2_4FGL_J2234.1-2656_daily_bin941.fits
.....................!
real 11.84
user 11.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353184/ft1_filtered_4FGL_J2234.1-2656_daily_bin941.fits evtable="EVENTS" scfile=/scratch/kocevski/353184/ft2_4FGL_J2234.1-2656_daily_bin941.fits sctable="SC_DATA" expcube=/scratch/kocevski/353184/ltcube_483235201_483494401_4FGL_J2234.1-2656_daily_bin941.fits outfile=/scratch/kocevski/353184/expmap_483235201_483494401_4FGL_J2234.1-2656_daily_bin941.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/353184/ltcube_483235201_483494401_4FGL_J2234.1-2656_daily_bin941.fits
.....................!
real 190.37
user 185.18
sys 4.88

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/353184/ft1_filtered_4FGL_J2234.1-2656_daily_bin941.fits scfile=/scratch/kocevski/353184/ft2_4FGL_J2234.1-2656_daily_bin941.fits outfile=/scratch/kocevski/353184/cmap_483235201_483494401_4FGL_J2234.1-2656_daily_bin941.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353184/ft1_filtered_4FGL_J2234.1-2656_daily_bin941.fits scfile=/scratch/kocevski/353184/ft2_4FGL_J2234.1-2656_daily_bin941.fits outfile=/scratch/kocevski/353184/cmap_HighResolution_483235201_483494401_4FGL_J2234.1-2656_daily_bin941.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/353184/ft1_filtered_4FGL_J2234.1-2656_daily_bin941.fits evtable="EVENTS" scfile=/scratch/kocevski/353184/ft2_4FGL_J2234.1-2656_daily_bin941.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353184/Model_4FGL_J2234.1-2656_daily_bin941.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/353184/ft1_filtered_4FGL_J2234.1-2656_daily_bin941.fits.....................!
real 52.22
user 50.91
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.0728       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .41488E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    3.2464       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5358       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2876       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5658       1.0000         .10000E-03   10000.    
     9 'Prefactor '    78.420       1.0000         .10000E-03   10000.    
    10 'norm      '    49.483       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.987       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    50.042       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23139       1.0000         .10000E-03   10000.    
    16 'norm      '    2.9308       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.259       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .74205       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11558E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.1197       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1812       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .67327       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=   6759.219     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2575 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2801        .31079E-07** at limit **
   2  Prefactor     5.0699        15.545       -.44500E-05   -.20637E-03
   3  Prefactor     .10000E-03    233.23        .26080E-04** at limit **
   4  norm          3.2450        3.9394       -.14640E-06   -.75631E-03
   5  norm          1.5358        .40016        .75818E-08   -.43414E-03
   6  Prefactor     .10000E-03    3.1638       -.16845E-07** at limit **
   7  Prefactor     5.2849        10.707        .18348E-05   -.80099E-04
   8  Prefactor     6.5658        6.5416        .13565E-05   -.13886E-03
   9  Prefactor     78.367        44.921       -.19908E-04    .37055E-07
  10  norm          49.489        23.670       -.39968E-05    .14670E-04
  11  Prefactor     14.986        13.897        .49284E-06    .14283E-04
  12  Prefactor     .10000E-03    5.0380       -.93976E-07** at limit **
  13  norm          .10000E-03    .91822       -.15279E-06** at limit **
  14  Prefactor     50.065        38.478        .55097E-05    .27353E-04
  15  Prefactor     .26709        6.8428       -.11047E-05   -.31750E-04
  16  norm          2.9298        3.6931       -.13169E-06   -.36371E-03
  17  Prefactor     30.263        16.654       -.47672E-06    .28963E-04
  18  Prefactor     .10000E-03    9.5383       -.45922E-07** at limit **
  19  norm          .74189        .60398       -.57188E-07   -.67875E-03
  20  Prefactor     .10000E-03    29.735       -.11421E-06** at limit **
  21  Prefactor     8.1212        9.0840        .55287E-06   -.46594E-04
  22  Normalizat    1.1811        .17356       -.40893E-06    .12532E-03
  23  Prefactor     .67329        .15053        .15235E-05   -.42884E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.06988
  Prefactor  = 0.000100004
  norm       = 3.24497
  norm       = 1.53578
  Prefactor  = 0.0001
  Prefactor  = 5.28491
  Prefactor  = 6.56577
  Prefactor  = 78.3673
  norm       = 49.4889
  Prefactor  = 14.9861
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 50.0646
  Prefactor  = 0.267088
  norm       = 2.92982
  Prefactor  = 30.2627
  Prefactor  = 0.0001
  norm       = 0.741889
  Prefactor  = 0.0001
  Prefactor  = 8.12118
  Normalizat = 1.18109
  Prefactor  = 0.673293
 **********
 **   18 **HESSE 
 **********

 FCN=   6759.219     FROM HESSE     STATUS=OK           374 CALLS     2949 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0699        15.486        .17852E-03   -1.5258    
   3  Prefactor     .10000E-03    238.73        .38897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.2450        3.9350        .16382E-03   -1.5348    
   5  norm          1.5358        .40131        .24793E-04   -1.5460    
   6  Prefactor     .10000E-03    3.1784        .14280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.2849        10.687        .17479E-03   -1.5248    
   8  Prefactor     6.5658        6.5423        .15661E-03   -1.5195    
   9  Prefactor     78.367        44.811        .22674E-03   -1.3935    
  10  norm          49.489        23.660        .57007E-04   -1.4300    
  11  Prefactor     14.986        13.897        .10346E-03   -1.4934    
  12  Prefactor     .10000E-03    5.0600        .18013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .92372        .76573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     50.065        38.441        .56690E-04   -1.4292    
  15  Prefactor     .26709        63.773        .40366E-02   -1.5605    
  16  norm          2.9298        3.6609        .15921E-03   -1.5366    
  17  Prefactor     30.263        16.696        .72837E-04   -1.4607    
  18  Prefactor     .10000E-03    9.6633        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .74189        .58735        .48705E-04   -1.5536    
  20  Prefactor     .10000E-03    29.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.1212        9.0194        .14070E-03   -1.5138    
  22  Normalizat    1.1811        .20913        .22713E-03   -.87189    
  23  Prefactor     .67329        .17954        .26293E-03   -1.0458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96825e-08
Minuit parameter uncertainties:
  1  4.20772e-06
  2  15.4983
  3  0.0018972
  4  3.93533
  5  0.401308
  6  3.40821e-06
  7  10.6913
  8  6.54298
  9  44.8306
  10  23.6649
  11  13.8996
  12  2.14885e-05
  13  1.50253e-05
  14  38.4596
  15  8.26157
  16  3.66113
  17  16.6985
  18  1.04462e-05
  19  0.587355
  20  8.20079e-06
  21  9.02091
  22  0.209276
  23  0.179691
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  4.949e+01  2.366e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  6.733e-01  1.797e-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.181e+00  2.093e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.67
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 5.11e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 3.56e-05 +/- 1.70e-05

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) = 6758.97897189
delta logL = 0.240400132828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6758.97296792
delta logL = 0.246404101266

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    42.813       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2253       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68043       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=   6758.973     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      266 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          42.750        383.27        .15317E-02   -.20880E-03
   2  alpha         2.2237        3.6052        .22874       -.14191E-04
   3  Normalizat    1.1659        .11518        .51631E-01   -.87110E-03
   4  Prefactor     .68056        .79897E-01    .42140E-01   -.69762E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 42.7501
  alpha      = 2.22365
  Normalizat = 1.1659
  Prefactor  = 0.680561
 **********
 **   18 **HESSE 
 **********

 FCN=   6758.973     FROM HESSE     STATUS=OK            27 CALLS      293 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          42.750        23.832        .61268E-04   -1.4399    
   2  alpha         2.2237        .39578        .91479E-02   -.11077    
   3  Normalizat    1.1659        .19734        .22828E-03   -.87663    
   4  Prefactor     .68056        .17686        .26153E-03   -1.0429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41735e-10
Minuit parameter uncertainties:
  1  23.8376
  2  0.397476
  3  0.197464
  4  0.177008
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353184': 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) = 6758.97293866
delta logL = 0.246433367186

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  4.275e+01  2.384e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.224e+00  3.975e-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:  6.806e-01  1.770e-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.166e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.14
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.22 +/- 0.40
Photon Flux (Free Index): 6.53e-08 +/- 3.48e-08
Energy Flux (Free Index): 2.85e-05 +/- 1.53e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/353184/cmap_HighResolution_483235201_483494401_4FGL_J2234.1-2656_daily_bin941.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.11e-08', energy_flux2='2.85e-05', photon_flux_error='2.44e-08', dlogl='2.46e-01', energy_flux='3.56e-05', photon_flux2='6.53e-08', job_status='DONE', time_completed='2021-09-28 14:32:58.091329', photon_index_error2='0.40', photon_index2='2.22', ts='14.67', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='1.18', time_epoch_completed='1632864778.09', return_code='0', job_id='353184', GAL2='0.68', EG2='1.17', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='3.48e-08', ts2='15.14', photon_index='1.95' WHERE bin_id='941' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:32:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 353184: <4FGL_J2234.1-2656_daily_bin941> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin941 338.543 -26.9375 483235201 483494401 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 :                                   589.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            712 sec.

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

