/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 218 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 = 7413
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin265
RA = 338.543, Dec = -26.9375
tmin = 308016001, tmax = 308275201
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='350016', job_status='RUN', time_executed='2021-09-28 14:14:38.876325', time_epoch_executed='1632863678.88' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350016

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350016/ft1_4FGL_J2234.1-2656_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350016/ft2_4FGL_J2234.1-2656_daily_bin265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350016/ft1_4FGL_J2234.1-2656_daily_bin265.fits outfile=/scratch/kocevski/350016/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin265.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=308016001.0 tmax=308275201.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.39
user 3.18
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350016/ft1_filtered_4FGL_J2234.1-2656_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/350016/ft2_4FGL_J2234.1-2656_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/350016/ltcube_308016001_308275201_4FGL_J2234.1-2656_daily_bin265.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/350016/ft2_4FGL_J2234.1-2656_daily_bin265.fits
.....................!
real 11.52
user 11.18
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350016/ft1_filtered_4FGL_J2234.1-2656_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/350016/ft2_4FGL_J2234.1-2656_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/350016/ltcube_308016001_308275201_4FGL_J2234.1-2656_daily_bin265.fits outfile=/scratch/kocevski/350016/expmap_308016001_308275201_4FGL_J2234.1-2656_daily_bin265.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/350016/ltcube_308016001_308275201_4FGL_J2234.1-2656_daily_bin265.fits
.....................!
real 189.89
user 184.92
sys 4.62

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/350016/ft1_filtered_4FGL_J2234.1-2656_daily_bin265.fits scfile=/scratch/kocevski/350016/ft2_4FGL_J2234.1-2656_daily_bin265.fits outfile=/scratch/kocevski/350016/cmap_308016001_308275201_4FGL_J2234.1-2656_daily_bin265.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/350016/ft1_filtered_4FGL_J2234.1-2656_daily_bin265.fits scfile=/scratch/kocevski/350016/ft2_4FGL_J2234.1-2656_daily_bin265.fits outfile=/scratch/kocevski/350016/cmap_HighResolution_308016001_308275201_4FGL_J2234.1-2656_daily_bin265.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/350016/ft1_filtered_4FGL_J2234.1-2656_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/350016/ft2_4FGL_J2234.1-2656_daily_bin265.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/350016/Model_4FGL_J2234.1-2656_daily_bin265.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/350016/ft1_filtered_4FGL_J2234.1-2656_daily_bin265.fits.....................!
real 45.73
user 43.83
sys 1.62

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.4524       1.0000         .10000E-03   10000.    
     5 'norm      '    1.4733       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.230       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.312       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9591       1.0000         .10000E-03   10000.    
     9 'Prefactor '    47.463       1.0000         .10000E-03   10000.    
    10 'norm      '    23.938       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.920       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11191E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .18668E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    90.168       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.444       1.0000         .10000E-03   10000.    
    16 'norm      '    4.4536       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.311       1.0000         .10000E-03   10000.    
    19 'norm      '    2.7390       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .33550E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1095       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70018       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=   5317.963     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2626 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4156       -.72030E-07** at limit **
   2  Prefactor     .10000E-03    5.7507        .14417E-07** at limit **
   3  Prefactor     .10000E-03    14.885       -.90526E-08** at limit **
   4  norm          7.4528        5.6962       -.10552E-06   -.22803E-03
   5  norm          1.4732        .49291        .92610E-08   -.43340E-04
   6  Prefactor     19.230        13.002       -.21424E-05   -.30754E-04
   7  Prefactor     16.306        21.356        .11252E-04    .29429E-05
   8  Prefactor     5.9584        10.087       -.15270E-05   -.13260E-03
   9  Prefactor     47.460        48.341        .46552E-05    .11634E-05
  10  norm          23.941        21.017       -.10409E-04    .54471E-04
  11  Prefactor     21.919        21.311        .31806E-05    .40801E-05
  12  Prefactor     .10000E-03    23.017        .91514E-08** at limit **
  13  norm          .10000E-03    1.8865       -.43597E-06** at limit **
  14  Prefactor     90.345        69.334        .45625E-05    .26058E-03
  15  Prefactor     25.443        13.643       -.13860E-05    .82308E-04
  16  norm          4.4544        4.7242       -.20990E-06    .13604E-03
  17  Prefactor     .10000E-03    5.1118       -.85184E-07** at limit **
  18  Prefactor     20.305        17.878        .22376E-05    .99328E-03
  19  norm          2.7393        1.1402       -.14799E-06    .35257E-02
  20  Prefactor     .10000E-03    30.818        .68605E-06** at limit **
  21  Prefactor     .10001E-03    13.871       -.27139E-05** at limit **
  22  Normalizat    1.1095        .21829       -.26728E-06    .31641E-03
  23  Prefactor     .70017        .17795       -.85776E-06    .22804E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.45285
  norm       = 1.47322
  Prefactor  = 19.2298
  Prefactor  = 16.3057
  Prefactor  = 5.95843
  Prefactor  = 47.4598
  norm       = 23.9405
  Prefactor  = 21.9193
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 90.3449
  Prefactor  = 25.4426
  norm       = 4.45436
  Prefactor  = 0.0001
  Prefactor  = 20.3053
  norm       = 2.73929
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Normalizat = 1.10955
  Prefactor  = 0.700173
 **********
 **   18 **HESSE 
 **********

 FCN=   5317.963     FROM HESSE     STATUS=OK           368 CALLS     2994 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4166        .14966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.7543        .17079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.4528        5.7300        .13755E-03   -1.5162    
   5  norm          1.4732        .49614        .26995E-04   -1.5465    
   6  Prefactor     19.230        13.014        .91334E-04   -1.4831    
   7  Prefactor     16.306        21.206        .99166E-04   -1.4900    
   8  Prefactor     5.9584        10.210        .16449E-03   -1.5220    
   9  Prefactor     47.460        48.305        .58202E-04   -1.4329    
  10  norm          23.941        20.886        .81871E-04   -1.4729    
  11  Prefactor     21.919        21.290        .85551E-04   -1.4771    
  12  Prefactor     .10000E-03    23.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.900        .17164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     90.345        62.331        .42316E-04   -1.3804    
  15  Prefactor     25.443        13.685        .79416E-04   -1.4699    
  16  norm          4.4544        4.6914        .15008E-03   -1.5286    
  17  Prefactor     .10000E-03    5.1125        .16100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.305        16.649        .88873E-04   -1.4806    
  19  norm          2.7393        1.1523        .39497E-04   -1.5377    
  20  Prefactor     .10000E-03    30.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    75.245        .43078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1095        .27251        .25592E-03   -.89446    
  23  Prefactor     .70017        .21940        .27203E-03   -1.0352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09343e-09
Minuit parameter uncertainties:
  1  1.51329e-06
  2  8.2251e-07
  3  6.33771e-07
  4  5.73045
  5  0.496141
  6  13.0163
  7  21.2157
  8  10.2127
  9  48.3446
  10  20.892
  11  21.2975
  12  0.000149866
  13  0.000179912
  14  62.3766
  15  13.6863
  16  4.69174
  17  5.73044e-06
  18  16.6528
  19  1.1523
  20  8.90591e-06
  21  0.00161535
  22  0.272858
  23  0.219668
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.394e+01  2.089e+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:  7.002e-01  2.197e-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.110e+00  2.729e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.99
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.47e-08 +/- 2.16e-08
Energy Flux (Fixed Index): 1.72e-05 +/- 1.50e-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) = 5317.70859403
delta logL = 0.254658681902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5317.5920778
delta logL = 0.371174913738

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.866       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1132       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1270       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69582       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=   5317.592     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      217 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.866        12.626        .29073E-02   -.15758E-03
   2  alpha         1.1128        .51971        .40776       -.33233E-04
   3  Normalizat    1.1273        .20025        .57501E-01    .15652E-04
   4  Prefactor     .69557        .17365        .61715E-01    .53654E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 11.8664
  alpha      = 1.11276
  Normalizat = 1.12728
  Prefactor  = 0.695574
 **********
 **   18 **HESSE 
 **********

 FCN=   5317.592     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.866        18.455        .11629E-03   -1.5019    
   2  alpha         1.1128        .80369        .16788E-01   -.58824    
   3  Normalizat    1.1273        .24112        .25428E-03   -.88881    
   4  Prefactor     .69557        .20898        .27300E-03   -1.0370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17303e-11
Minuit parameter uncertainties:
  1  18.4635
  2  0.825169
  3  0.241358
  4  0.209215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350016': 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) = 5317.59207646
delta logL = 0.371176252223

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.187e+01  1.846e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.113e+00  8.252e-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.956e-01  2.092e-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.127e+00  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.72
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.11 +/- 0.83
Photon Flux (Free Index): 6.82e-09 +/- 9.71e-09
Energy Flux (Free Index): 4.24e-05 +/- 6.54e-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/350016/cmap_HighResolution_308016001_308275201_4FGL_J2234.1-2656_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.47e-08', energy_flux2='4.24e-05', photon_flux_error='2.16e-08', dlogl='3.71e-01', energy_flux='1.72e-05', photon_flux2='6.82e-09', job_status='DONE', time_completed='2021-09-28 14:23:30.267467', photon_index_error2='0.83', photon_index2='1.11', ts='6.99', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='6.54e-05', EG='1.11', time_epoch_completed='1632864210.27', return_code='0', job_id='350016', GAL2='0.70', EG2='1.13', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='9.71e-09', ts2='7.72', photon_index='1.95' WHERE bin_id='265' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:23:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 350016: <4FGL_J2234.1-2656_daily_bin265> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin265 338.543 -26.9375 308016001 308275201 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 :                                   531.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             209.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            763 sec.

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

