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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin970
RA = 338.543, Dec = -26.9375
tmin = 490752001, tmax = 491011201
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='353228', job_status='RUN', time_executed='2021-09-28 14:21:22.623737', time_epoch_executed='1632864082.62' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='970'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353228

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353228/ft1_4FGL_J2234.1-2656_daily_bin970.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353228/ft2_4FGL_J2234.1-2656_daily_bin970.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353228/ft1_4FGL_J2234.1-2656_daily_bin970.fits outfile=/scratch/kocevski/353228/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin970.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=490752001.0 tmax=491011201.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 5.88
user 5.61
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353228/ft2_4FGL_J2234.1-2656_daily_bin970.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/353228/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin970.fits evtable="EVENTS" outfile="/scratch/kocevski/353228/ft1_filtered_4FGL_J2234.1-2656_daily_bin970.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.54
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353228/ft1_filtered_4FGL_J2234.1-2656_daily_bin970.fits" evtable="EVENTS" scfile=/scratch/kocevski/353228/ft2_4FGL_J2234.1-2656_daily_bin970.fits sctable="SC_DATA" outfile=/scratch/kocevski/353228/ltcube_490752001_491011201_4FGL_J2234.1-2656_daily_bin970.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/353228/ft2_4FGL_J2234.1-2656_daily_bin970.fits
.....................!
real 15.53
user 15.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353228/ft1_filtered_4FGL_J2234.1-2656_daily_bin970.fits evtable="EVENTS" scfile=/scratch/kocevski/353228/ft2_4FGL_J2234.1-2656_daily_bin970.fits sctable="SC_DATA" expcube=/scratch/kocevski/353228/ltcube_490752001_491011201_4FGL_J2234.1-2656_daily_bin970.fits outfile=/scratch/kocevski/353228/expmap_490752001_491011201_4FGL_J2234.1-2656_daily_bin970.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/353228/ltcube_490752001_491011201_4FGL_J2234.1-2656_daily_bin970.fits
.....................!
real 189.90
user 185.63
sys 3.94

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/353228/ft1_filtered_4FGL_J2234.1-2656_daily_bin970.fits scfile=/scratch/kocevski/353228/ft2_4FGL_J2234.1-2656_daily_bin970.fits outfile=/scratch/kocevski/353228/cmap_490752001_491011201_4FGL_J2234.1-2656_daily_bin970.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/353228/ft1_filtered_4FGL_J2234.1-2656_daily_bin970.fits scfile=/scratch/kocevski/353228/ft2_4FGL_J2234.1-2656_daily_bin970.fits outfile=/scratch/kocevski/353228/cmap_HighResolution_490752001_491011201_4FGL_J2234.1-2656_daily_bin970.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/353228/ft1_filtered_4FGL_J2234.1-2656_daily_bin970.fits evtable="EVENTS" scfile=/scratch/kocevski/353228/ft2_4FGL_J2234.1-2656_daily_bin970.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353228/Model_4FGL_J2234.1-2656_daily_bin970.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/353228/ft1_filtered_4FGL_J2234.1-2656_daily_bin970.fits.....................!
real 35.60
user 34.37
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.670       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10366E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.059       1.0000         .10000E-03   10000.    
     4 'norm      '    6.9419       1.0000         .10000E-03   10000.    
     5 'norm      '    .35910       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0138       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    32.316       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .64465E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10853E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    72.240       1.0000         .10000E-03   10000.    
    16 'norm      '    3.6136       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .76439       1.0000         .10000E-03   10000.    
    20 'Prefactor '    68.612       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99737       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96138       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=   3298.220     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2550 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.658        22.678        .84122E-06    .37401E-04
   2  Prefactor     .10000E-03    14.886        .64576E-05** at limit **
   3  Prefactor     16.288        109.06       -.10595E-04   -.31460E-04
   4  norm          6.9374        6.7735        .11184E-05    .16770E-03
   5  norm          .35908        .27182        .87906E-07    .10875E-02
   6  Prefactor     .10000E-03    11.355        .12682E-05** at limit **
   7  Prefactor     .10000E-03    13.770        .20365E-06** at limit **
   8  Prefactor     3.0188        17.092        .49456E-06    .85016E-06
   9  Prefactor     .10000E-03    33.530       -.12811E-06** at limit **
  10  norm          32.299        45.582        .13291E-05   -.28555E-04
  11  Prefactor     .10000E-03    18.133       -.36345E-06** at limit **
  12  Prefactor     .10569E-03    23.533        .37826E-05** at limit **
  13  norm          .10000E-03    2.3069       -.17751E-06** at limit **
  14  Prefactor     .10000E-03    163.08       -.12613E-05** at limit **
  15  Prefactor     72.260        38.749        .57029E-06   -.77623E-06
  16  norm          3.6136        5.4880        .15846E-06    .42307E-05
  17  Prefactor     .10000E-03    14.460       -.18124E-06** at limit **
  18  Prefactor     .10000E-03    16.334       -.65089E-06** at limit **
  19  norm          .76432        .79950       -.50807E-07   -.18534E-03
  20  Prefactor     68.565        116.38       -.16477E-06   -.72597E-05
  21  Prefactor     .10000E-03    8.8133       -.23708E-06** at limit **
  22  Normalizat    .99700        .33534       -.49427E-05   -.51340E-04
  23  Prefactor     .96154        .25101        .51698E-05   -.11869E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.6578
  Prefactor  = 0.000100004
  Prefactor  = 16.2875
  norm       = 6.9374
  norm       = 0.359083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.01885
  Prefactor  = 0.0001
  norm       = 32.299
  Prefactor  = 0.0001
  Prefactor  = 0.000105688
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 72.2595
  norm       = 3.61359
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.764321
  Prefactor  = 68.5648
  Prefactor  = 0.0001
  Normalizat = 0.996997
  Prefactor  = 0.961538
 **********
 **   18 **HESSE 
 **********

 FCN=   3298.220     FROM HESSE     STATUS=OK           370 CALLS     2920 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.658        22.710        .88098E-04   -1.4799    
   2  Prefactor     .10000E-03    15.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.288        111.01        .99944E-04   -1.4901    
   4  norm          6.9374        6.7211        .12288E-03   -1.5181    
   5  norm          .35908        .27245        .24736E-04   -1.5588    
   6  Prefactor     .10000E-03    11.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0188        17.011        .23378E-03   -1.5360    
   9  Prefactor     .10000E-03    33.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          32.299        45.394        .70487E-04   -1.4571    
  11  Prefactor     .10000E-03    18.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10569E-03    266.84        .45884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.3151        .85116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    163.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     72.260        39.043        .47234E-04   -1.4006    
  16  norm          3.6136        5.4591        .15848E-03   -1.5328    
  17  Prefactor     .10000E-03    14.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .76432        .80667        .50322E-04   -1.5533    
  20  Prefactor     68.565        116.33        .24229E-03   -1.4050    
  21  Prefactor     .10000E-03    8.8225        .16652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99700        .37601        .27970E-03   -.93131    
  23  Prefactor     .96154        .28291        .23481E-03   -.94023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06513e-08
Minuit parameter uncertainties:
  1  22.7197
  2  0.000475777
  3  85.2695
  4  6.72181
  5  0.272449
  6  5.11526e-05
  7  7.52019e-06
  8  14.3382
  9  2.23868e-05
  10  45.4429
  11  2.88664e-05
  12  0.0782681
  13  1.18647e-05
  14  0.000845367
  15  39.0571
  16  5.45981
  17  1.34865e-05
  18  6.94249e-05
  19  0.806678
  20  116.721
  21  1.51361e-05
  22  0.377014
  23  0.283342
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.230e+01  4.544e+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.615e-01  2.833e-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.970e-01  3.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.69
Ra Dec: 338.543 -26.938
Photon Flux Upper Limit: 1.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/353228/likelihoodResults_490752001_491011201_4FGL_J2234.1-2656_daily_bin970.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) = 3296.60815917
delta logL = 1.61227228571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3296.60463958
delta logL = 1.61579187992

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.201       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4620       1.0000          .0000       5.0000    
     3 'Normalizat'    .82596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0504       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=   3296.605     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      308 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.196        27.541        .11024E-03    .65128E-03
   2  alpha         3.4622        1.0580        .72597E-02    .89244E-04
   3  Normalizat    .82568        .34197        .30388E-03   -.60307E-04
   4  Prefactor     1.0506        .27853        .22544E-03   -.12278E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.196
  alpha      = 3.4622
  Normalizat = 0.825683
  Prefactor  = 1.05055
 **********
 **   18 **HESSE 
 **********

 FCN=   3296.605     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.196        20.997        .44097E-05   -1.4981    
   2  alpha         3.4622        .81873        .29039E-03    .39508    
   3  Normalizat    .82568        .34193        .12155E-04   -.99123    
   4  Prefactor     1.0506        .27811        .45088E-04   -.91063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86178e-10
Minuit parameter uncertainties:
  1  21.0089
  2  0.83696
  3  0.342828
  4  0.278489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353228': 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) = 3296.60463915
delta logL = 1.61579231253

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.320e+01  2.101e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  3.462e+00  8.370e-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:  1.051e+00  2.785e-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.257e-01  3.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.17
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 3.46 +/- 0.84
Photon Flux (Free Index): 1.95e-07 +/- 1.28e-07
Energy Flux (Free Index): 3.46e-05 +/- 2.17e-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/353228/cmap_HighResolution_490752001_491011201_4FGL_J2234.1-2656_daily_bin970.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-04', comment='SUCCESS', energy_flux2='3.46e-05', dlogl='1.62e+00', photon_flux2='1.95e-07', job_status='DONE', time_completed='2021-09-28 14:29:27.746220', photon_index_error2='0.84', photon_index2='3.46', ts='0.69', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.46e-07', energy_flux_error2='2.17e-05', EG='1.00', time_epoch_completed='1632864567.75', return_code='0', job_id='353228', GAL2='1.05', EG2='0.83', return_code2='0', photon_flux_error2='1.28e-07', ts2='4.17', photon_index='1.95' WHERE bin_id='970' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:29:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 353228: <4FGL_J2234.1-2656_daily_bin970> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin970 338.543 -26.9375 490752001 491011201 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 :                                   483.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             353.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   496 sec.
    Turnaround time :                            498 sec.

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

