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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin309
RA = 338.543, Dec = -26.9375
tmin = 319420801, tmax = 319680001
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='351107', job_status='RUN', time_executed='2021-09-28 14:15:31.250607', time_epoch_executed='1632863731.25' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='309'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351107

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351107/ft1_4FGL_J2234.1-2656_daily_bin309.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351107/ft2_4FGL_J2234.1-2656_daily_bin309.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351107/ft1_4FGL_J2234.1-2656_daily_bin309.fits outfile=/scratch/kocevski/351107/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin309.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=319420801.0 tmax=319680001.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.44
user 3.24
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351107/ft1_filtered_4FGL_J2234.1-2656_daily_bin309.fits" evtable="EVENTS" scfile=/scratch/kocevski/351107/ft2_4FGL_J2234.1-2656_daily_bin309.fits sctable="SC_DATA" outfile=/scratch/kocevski/351107/ltcube_319420801_319680001_4FGL_J2234.1-2656_daily_bin309.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/351107/ft2_4FGL_J2234.1-2656_daily_bin309.fits
.....................!
real 12.06
user 11.69
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351107/ft1_filtered_4FGL_J2234.1-2656_daily_bin309.fits evtable="EVENTS" scfile=/scratch/kocevski/351107/ft2_4FGL_J2234.1-2656_daily_bin309.fits sctable="SC_DATA" expcube=/scratch/kocevski/351107/ltcube_319420801_319680001_4FGL_J2234.1-2656_daily_bin309.fits outfile=/scratch/kocevski/351107/expmap_319420801_319680001_4FGL_J2234.1-2656_daily_bin309.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/351107/ltcube_319420801_319680001_4FGL_J2234.1-2656_daily_bin309.fits
.....................!
real 192.01
user 187.49
sys 4.20

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/351107/ft1_filtered_4FGL_J2234.1-2656_daily_bin309.fits scfile=/scratch/kocevski/351107/ft2_4FGL_J2234.1-2656_daily_bin309.fits outfile=/scratch/kocevski/351107/cmap_319420801_319680001_4FGL_J2234.1-2656_daily_bin309.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/351107/ft1_filtered_4FGL_J2234.1-2656_daily_bin309.fits scfile=/scratch/kocevski/351107/ft2_4FGL_J2234.1-2656_daily_bin309.fits outfile=/scratch/kocevski/351107/cmap_HighResolution_319420801_319680001_4FGL_J2234.1-2656_daily_bin309.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=338.543 yref=-26.9375 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351107/ft1_filtered_4FGL_J2234.1-2656_daily_bin309.fits evtable="EVENTS" scfile=/scratch/kocevski/351107/ft2_4FGL_J2234.1-2656_daily_bin309.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351107/Model_4FGL_J2234.1-2656_daily_bin309.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/351107/ft1_filtered_4FGL_J2234.1-2656_daily_bin309.fits.....................!
real 60.70
user 59.49
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.266       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    45.957       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2021       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0287       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6621       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.1641       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26164E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.547       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5788       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.791       1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.170       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11141E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.1339       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.562       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.159       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .61246       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3447       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=   7833.889     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2188 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.266        11.240        .79197E-07   -.14098E-05
   2  Prefactor     .10000E-03    5.4910       -.19498E-07** at limit **
   3  Prefactor     .10000E-03    31.558       -.25292E-06** at limit **
   4  norm          45.958        7.0092        .36338E-07   -.29335E-05
   5  norm          2.2021        .47738        .49599E-08   -.10102E-04
   6  Prefactor     2.0285        5.3822        .28123E-06    .17850E-05
   7  Prefactor     2.6601        8.4706        .32617E-05   -.82191E-05
   8  Prefactor     9.1668        6.8733       -.27461E-06   -.60583E-04
   9  Prefactor     .10000E-03    299.18        .14957E-04** at limit **
  10  norm          10.547        11.117        .49095E-07   -.25103E-05
  11  Prefactor     4.5578        26.445        .54029E-05    .99577E-07
  12  Prefactor     13.790        12.034        .16070E-06   -.24434E-04
  13  norm          .10000E-03    .61907        .11716E-07** at limit **
  14  Prefactor     29.170        29.288       -.21979E-07   -.65195E-05
  15  Prefactor     .10000E-03    3.5083       -.44058E-07** at limit **
  16  norm          .10000E-03    1.3836        .45174E-08** at limit **
  17  Prefactor     .10000E-03    5.0218        .23242E-07** at limit **
  18  Prefactor     .10000E-03    11.498        .41733E-07** at limit **
  19  norm          1.1338        .60894        .12347E-07   -.31625E-04
  20  Prefactor     16.565        39.335       -.62485E-06   -.44366E-05
  21  Prefactor     10.158        10.683        .17088E-06   -.76705E-05
  22  Normalizat    .61245        .18092       -.45088E-06   -.10276E-03
  23  Prefactor     1.3447        .16196       -.53531E-06   -.13865E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2665
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 45.9578
  norm       = 2.20214
  Prefactor  = 2.02846
  Prefactor  = 2.66013
  Prefactor  = 9.16685
  Prefactor  = 0.000100002
  norm       = 10.5475
  Prefactor  = 4.55784
  Prefactor  = 13.7905
  norm       = 0.0001
  Prefactor  = 29.1703
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.13379
  Prefactor  = 16.5651
  Prefactor  = 10.1576
  Normalizat = 0.612446
  Prefactor  = 1.3447
 **********
 **   18 **HESSE 
 **********

 FCN=   7833.889     FROM HESSE     STATUS=OK           376 CALLS     2564 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.266        11.243        .10997E-03   -1.4979    
   2  Prefactor     .10000E-03    5.4943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          45.958        7.0136        .59144E-04   -1.4351    
   5  norm          2.2021        .47827        .26644E-04   -1.5411    
   6  Prefactor     2.0285        5.3510        .29046E-03   -1.5423    
   7  Prefactor     2.6601        8.4724        .12491E-02   -1.5382    
   8  Prefactor     9.1668        6.8854        .13239E-03   -1.5102    
   9  Prefactor     .10000E-03    302.92        .42893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.547        11.117        .12337E-03   -1.5058    
  11  Prefactor     4.5578        26.761        .18811E-03   -1.5281    
  12  Prefactor     13.790        12.059        .10786E-03   -1.4965    
  13  norm          .10000E-03    .62005        .67836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.170        29.221        .74181E-04   -1.4627    
  15  Prefactor     .10000E-03    3.5236        .16187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.3927        .10159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.0280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.763        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1338        .59687        .44810E-04   -1.5495    
  20  Prefactor     16.565        39.343        .98416E-04   -1.4894    
  21  Prefactor     10.158        10.659        .12571E-03   -1.5070    
  22  Normalizat    .61245        .21272        .33562E-03   -1.0746    
  23  Prefactor     1.3447        .19156        .22343E-03   -.81987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7081e-10
Minuit parameter uncertainties:
  1  11.2445
  2  5.52611e-07
  3  4.81118e-06
  4  7.01376
  5  0.478268
  6  5.3523
  7  8.47621
  8  6.88604
  9  0.00155846
  10  11.1193
  11  22.103
  12  12.0615
  13  3.8902e-07
  14  29.2351
  15  1.62569e-06
  16  5.84821e-07
  17  4.54631e-07
  18  3.92264e-06
  19  0.596873
  20  39.4046
  21  10.6607
  22  0.213
  23  0.191665
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.055e+01  1.112e+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:  1.345e+00  1.917e-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:  6.124e-01  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.95
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.09e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 7.59e-06 +/- 8.01e-06

TS (Fixed Index): 2.95
Ra Dec: 338.543 -26.938
Photon Flux Upper Limit: 4.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351107/likelihoodResults_319420801_319680001_4FGL_J2234.1-2656_daily_bin309.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) = 7833.87173129
delta logL = 0.0168628344982

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7833.87158307
delta logL = 0.0170110466943

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.595       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7815       1.0000          .0000       5.0000    
     3 'Normalizat'    .61481       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3438       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7833.872     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      266 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.611        11.432        .12309E-03   -.64098E-04
   2  alpha         1.7829        .88838        .13106        .74841E-05
   3  Normalizat    .61475        .19715        .33503E-03   -.34256E-03
   4  Prefactor     1.3438        .18838        .22350E-03   -.55671E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6112
  alpha      = 1.78292
  Normalizat = 0.614755
  Prefactor  = 1.3438
 **********
 **   18 **HESSE 
 **********

 FCN=   7833.872     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.611        11.353        .49236E-05   -1.5056    
   2  alpha         1.7829        .89790        .32332E-02   -.29092    
   3  Normalizat    .61475        .19709        .13401E-04   -1.0736    
   4  Prefactor     1.3438        .18846        .44700E-04   -.82014    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64439e-10
Minuit parameter uncertainties:
  1  11.3552
  2  0.920389
  3  0.197313
  4  0.188558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351107': 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) = 7833.87158094
delta logL = 0.0170131801951

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.061e+01  1.136e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.783e+00  9.204e-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.344e+00  1.886e-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:  6.148e-01  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.99
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.78 +/- 0.92
Photon Flux (Free Index): 8.86e-09 +/- 1.38e-08
Energy Flux (Free Index): 9.01e-06 +/- 1.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/351107/cmap_HighResolution_319420801_319680001_4FGL_J2234.1-2656_daily_bin309.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-05', comment='SUCCESS', photon_flux='1.09e-08', energy_flux2='9.01e-06', photon_flux_error='1.15e-08', dlogl='1.70e-02', energy_flux='7.59e-06', photon_flux2='8.86e-09', job_status='DONE', time_completed='2021-09-28 14:27:05.588675', photon_index_error2='0.92', photon_index2='1.78', ts='2.95', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='4.75e-08', energy_flux_error2='1.35e-05', EG='0.61', time_epoch_completed='1632864425.59', return_code='0', job_id='351107', GAL2='1.34', EG2='0.61', return_code2='0', energy_flux_error='8.01e-06', photon_flux_error2='1.38e-08', ts2='2.99', photon_index='1.95' WHERE bin_id='309' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:27:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 351107: <4FGL_J2234.1-2656_daily_bin309> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin309> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep 28 14:15:18 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:15:20 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:15:20 2021
Terminated at Tue Sep 28 14:27:06 2021
Results reported at Tue Sep 28 14:27:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin309 338.543 -26.9375 319420801 319680001 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 :                                   693.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             337.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            708 sec.

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

