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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1077
RA = 338.543, Dec = -26.9375
tmin = 518486401, tmax = 518745601
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='354288', job_status='RUN', time_executed='2021-09-28 14:26:46.806384', time_epoch_executed='1632864406.81' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1077'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354288

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354288/ft1_4FGL_J2234.1-2656_daily_bin1077.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354288/ft2_4FGL_J2234.1-2656_daily_bin1077.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354288/ft1_4FGL_J2234.1-2656_daily_bin1077.fits outfile=/scratch/kocevski/354288/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1077.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=518486401.0 tmax=518745601.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 6.81
user 6.56
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1077.fits" evtable="EVENTS" scfile=/scratch/kocevski/354288/ft2_4FGL_J2234.1-2656_daily_bin1077.fits sctable="SC_DATA" outfile=/scratch/kocevski/354288/ltcube_518486401_518745601_4FGL_J2234.1-2656_daily_bin1077.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/354288/ft2_4FGL_J2234.1-2656_daily_bin1077.fits
.....................!
real 11.48
user 11.11
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1077.fits evtable="EVENTS" scfile=/scratch/kocevski/354288/ft2_4FGL_J2234.1-2656_daily_bin1077.fits sctable="SC_DATA" expcube=/scratch/kocevski/354288/ltcube_518486401_518745601_4FGL_J2234.1-2656_daily_bin1077.fits outfile=/scratch/kocevski/354288/expmap_518486401_518745601_4FGL_J2234.1-2656_daily_bin1077.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/354288/ltcube_518486401_518745601_4FGL_J2234.1-2656_daily_bin1077.fits
.....................!
real 189.77
user 185.11
sys 4.29

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/354288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1077.fits scfile=/scratch/kocevski/354288/ft2_4FGL_J2234.1-2656_daily_bin1077.fits outfile=/scratch/kocevski/354288/cmap_518486401_518745601_4FGL_J2234.1-2656_daily_bin1077.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1077.fits scfile=/scratch/kocevski/354288/ft2_4FGL_J2234.1-2656_daily_bin1077.fits outfile=/scratch/kocevski/354288/cmap_HighResolution_518486401_518745601_4FGL_J2234.1-2656_daily_bin1077.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.048       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13471E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0689       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.503       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    20.567       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.648       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.0321       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.6091       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92299       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94686       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=   3053.154     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2523 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.055        30.851        .73765E-06    .37513E-04
   2  Prefactor     .10000E-03    14.437       -.30792E-06** at limit **
   3  Prefactor     .10000E-03    179.72       -.46960E-06** at limit **
   4  norm          .10000E-03    3.0197        .13883E-07** at limit **
   5  norm          2.0689        .63696        .52824E-09    .36749E-04
   6  Prefactor     .10000E-03    29.818       -.28198E-05** at limit **
   7  Prefactor     25.502        25.178        .16000E-06    .30914E-04
   8  Prefactor     .10000E-03    11.188        .19705E-05** at limit **
   9  Prefactor     .10000E-03    42.105        .11480E-05** at limit **
  10  norm          20.565        24.596        .36712E-06    .32581E-04
  11  Prefactor     .10000E-03    9.6633        .13201E-06** at limit **
  12  Prefactor     13.649        17.117        .28336E-07   -.11973E-04
  13  norm          .10000E-03    1.0769        .16523E-08** at limit **
  14  Prefactor     .10000E-03    26.791        .21951E-05** at limit **
  15  Prefactor     6.0324        13.487        .21246E-05   -.36412E-03
  16  norm          .10000E-03    4.2179       -.80322E-08** at limit **
  17  Prefactor     .10000E-03    9.6651        .99294E-07** at limit **
  18  Prefactor     .10000E-03    10.956       -.18738E-05** at limit **
  19  norm          2.6091        1.0744       -.96854E-08    .31127E-03
  20  Prefactor     .10000E-03    22.944       -.18099E-06** at limit **
  21  Prefactor     .10000E-03    9.2635       -.97012E-07** at limit **
  22  Normalizat    .92294        .26828       -.32142E-06    .18022E-04
  23  Prefactor     .94693        .23324       -.18928E-06    .19887E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.0548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.06891
  Prefactor  = 0.000100001
  Prefactor  = 25.5017
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 20.5647
  Prefactor  = 0.0001
  Prefactor  = 13.6493
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.03243
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.60911
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.922935
  Prefactor  = 0.946928
 **********
 **   18 **HESSE 
 **********

 FCN=   3053.154     FROM HESSE     STATUS=OK           362 CALLS     2885 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.055        30.916        .10325E-03   -1.4932    
   2  Prefactor     .10000E-03    14.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    180.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.0337        .93738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0689        .63809        .23726E-04   -1.5420    
   6  Prefactor     .10000E-03    31.230        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.502        25.193        .79324E-04   -1.4698    
   8  Prefactor     .10000E-03    11.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    42.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          20.565        24.616        .88318E-04   -1.4801    
  11  Prefactor     .10000E-03    9.6699        .16779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.649        17.229        .10842E-03   -1.4969    
  13  norm          .10000E-03    1.0788        .55990E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.0324        17.353        .81740E-03   -1.5217    
  16  norm          .10000E-03    4.2608        .11066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.6729        .16776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.388        .18106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.6091        1.0717        .35133E-04   -1.5385    
  20  Prefactor     .10000E-03    22.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.2902        .16418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .92294        .32202        .26443E-03   -.95659    
  23  Prefactor     .94693        .27934        .23204E-03   -.94520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.66483e-10
Minuit parameter uncertainties:
  1  30.9487
  2  3.43472e-05
  3  0.000235743
  4  5.05133e-08
  5  0.638092
  6  0.000388979
  7  25.2036
  8  0.000170955
  9  0.000203925
  10  24.6279
  11  1.08325e-05
  12  17.2351
  13  4.09507e-08
  14  0.000312631
  15  17.3673
  16  1.21575e-06
  17  1.03493e-05
  18  0.000163459
  19  1.0717
  20  2.33713e-05
  21  4.73588e-06
  22  0.32269
  23  0.279768
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.056e+01  2.463e+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:  9.469e-01  2.798e-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:  9.229e-01  3.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.63
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.12e-08 +/- 2.54e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.77e-05

TS (Fixed Index): 1.63
Ra Dec: 338.543 -26.938
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/354288/likelihoodResults_518486401_518745601_4FGL_J2234.1-2656_daily_bin1077.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) = 3053.14117227
delta logL = 0.0127585385553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3053.13790751
delta logL = 0.016023293937

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.440       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1170       1.0000          .0000       5.0000    
     3 'Normalizat'    .91977       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94889       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=   3053.138     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      249 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.439        26.839        .93269E-04    .36326E-03
   2  alpha         2.1172        .93918        .14228E-01    .62521E-04
   3  Normalizat    .91943        .31018        .26488E-03   -.83245E-04
   4  Prefactor     .94920        .27682        .23178E-03   -.12162E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.439
  alpha      = 2.11723
  Normalizat = 0.919429
  Prefactor  = 0.949197
 **********
 **   18 **HESSE 
 **********

 FCN=   3053.138     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.439        26.110        .18654E-04   -1.4849    
   2  alpha         2.1172        .91489        .56913E-03   -.15371    
   3  Normalizat    .91943        .31044        .10595E-04   -.95781    
   4  Prefactor     .94920        .27707        .46356E-04   -.94443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10983e-10
Minuit parameter uncertainties:
  1  26.1264
  2  0.937205
  3  0.311049
  4  0.277485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354288': 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) = 3053.13790687
delta logL = 0.0160239314423

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.844e+01  2.613e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.117e+00  9.372e-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:  9.492e-01  2.775e-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:  9.194e-01  3.110e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.12 +/- 0.94
Photon Flux (Free Index): 2.40e-08 +/- 3.20e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.89e-05

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/354288/cmap_HighResolution_518486401_518745601_4FGL_J2234.1-2656_daily_bin1077.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-05', comment='SUCCESS', photon_flux='2.12e-08', energy_flux2='1.23e-05', photon_flux_error='2.54e-08', dlogl='1.60e-02', energy_flux='1.48e-05', photon_flux2='2.40e-08', job_status='DONE', time_completed='2021-09-28 14:34:44.091261', photon_index_error2='0.94', photon_index2='2.12', ts='1.63', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.89e-05', EG='0.92', time_epoch_completed='1632864884.09', return_code='0', job_id='354288', GAL2='0.95', EG2='0.92', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='3.20e-08', ts2='1.66', photon_index='1.95' WHERE bin_id='1077' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:34:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 354288: <4FGL_J2234.1-2656_daily_bin1077> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1077 338.543 -26.9375 518486401 518745601 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 :                                   475.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            567 sec.

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

