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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1373
RA = 338.543, Dec = -26.9375
tmin = 595209601, tmax = 595468801
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='354750', job_status='RUN', time_executed='2021-09-28 14:28:16.503867', time_epoch_executed='1632864496.5' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354750

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354750/ft1_4FGL_J2234.1-2656_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354750/ft2_4FGL_J2234.1-2656_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354750/ft1_4FGL_J2234.1-2656_daily_bin1373.fits outfile=/scratch/kocevski/354750/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1373.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=595209601.0 tmax=595468801.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 2.89
user 2.67
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354750/ft1_filtered_4FGL_J2234.1-2656_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/354750/ft2_4FGL_J2234.1-2656_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/354750/ltcube_595209601_595468801_4FGL_J2234.1-2656_daily_bin1373.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/354750/ft2_4FGL_J2234.1-2656_daily_bin1373.fits
.....................!
real 12.33
user 11.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354750/ft1_filtered_4FGL_J2234.1-2656_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/354750/ft2_4FGL_J2234.1-2656_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/354750/ltcube_595209601_595468801_4FGL_J2234.1-2656_daily_bin1373.fits outfile=/scratch/kocevski/354750/expmap_595209601_595468801_4FGL_J2234.1-2656_daily_bin1373.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/354750/ltcube_595209601_595468801_4FGL_J2234.1-2656_daily_bin1373.fits
.....................!
real 191.54
user 186.91
sys 4.26

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/354750/ft1_filtered_4FGL_J2234.1-2656_daily_bin1373.fits scfile=/scratch/kocevski/354750/ft2_4FGL_J2234.1-2656_daily_bin1373.fits outfile=/scratch/kocevski/354750/cmap_595209601_595468801_4FGL_J2234.1-2656_daily_bin1373.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354750/ft1_filtered_4FGL_J2234.1-2656_daily_bin1373.fits scfile=/scratch/kocevski/354750/ft2_4FGL_J2234.1-2656_daily_bin1373.fits outfile=/scratch/kocevski/354750/cmap_HighResolution_595209601_595468801_4FGL_J2234.1-2656_daily_bin1373.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/354750/ft1_filtered_4FGL_J2234.1-2656_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/354750/ft2_4FGL_J2234.1-2656_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354750/Model_4FGL_J2234.1-2656_daily_bin1373.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/354750/ft1_filtered_4FGL_J2234.1-2656_daily_bin1373.fits.....................!
real 61.87
user 60.57
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.563       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.831       1.0000         .10000E-03   10000.    
     4 'norm      '    .26016E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8647       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10960E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.633       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .41449       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.650       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3321       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.224       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.054       1.0000         .10000E-03   10000.    
    13 'norm      '    1.4370       1.0000         .10000E-03   10000.    
    14 'Prefactor '    54.147       1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.781       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.605       1.0000         .10000E-03   10000.    
    19 'norm      '    .83309E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .30995E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99727       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0870       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=   8288.678     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2615 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.565        14.425        .15153E-06    .17568E-05
   2  Prefactor     .10000E-03    12.351        .39189E-06** at limit **
   3  Prefactor     30.830        45.225       -.80897E-07   -.34196E-04
   4  norm          .10006E-03    1.7283        .24343E-06** at limit **
   5  norm          1.8648        .40792       -.10419E-07   -.91452E-03
   6  Prefactor     .10000E-03    4.2671       -.12285E-07** at limit **
   7  Prefactor     23.636        16.166        .29122E-06    .64865E-04
   8  Prefactor     .40233        2.5949       -.22692E-06    .18881E-03
   9  Prefactor     24.634        50.709       -.47023E-05   -.76507E-04
  10  norm          1.3288        27.979        .16546E-05   -.78448E-04
  11  Prefactor     26.223        19.571       -.74830E-07    .34599E-04
  12  Prefactor     30.053        13.665        .19793E-06   -.48200E-04
  13  norm          1.4371        1.4909        .62679E-07    .10143E-03
  14  Prefactor     54.136        44.435       -.17680E-05   -.14926E-03
  15  Prefactor     24.781        12.083       -.19814E-07   -.57390E-04
  16  norm          .10000E-03    2.9045        .23744E-07** at limit **
  17  Prefactor     .10000E-03    9.5303        .79800E-07** at limit **
  18  Prefactor     13.596        9.0162       -.12154E-05   -.56567E-03
  19  norm          .83514E-01    .44284        .99442E-06   -.10824E-02
  20  Prefactor     .10000E-03    11.457       -.52445E-06** at limit **
  21  Prefactor     .10000E-03    4.5782       -.13337E-07** at limit **
  22  Normalizat    .99718        .18288        .10098E-06   -.12186E-03
  23  Prefactor     1.0872        .15782       -.14431E-06   -.10303E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5645
  Prefactor  = 0.0001
  Prefactor  = 30.8303
  norm       = 0.000100056
  norm       = 1.8648
  Prefactor  = 0.0001
  Prefactor  = 23.6362
  Prefactor  = 0.40233
  Prefactor  = 24.6342
  norm       = 1.32881
  Prefactor  = 26.2233
  Prefactor  = 30.0531
  norm       = 1.43713
  Prefactor  = 54.1363
  Prefactor  = 24.7808
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.596
  norm       = 0.0835138
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 0.997184
  Prefactor  = 1.08717
 **********
 **   18 **HESSE 
 **********

 FCN=   8288.678     FROM HESSE     STATUS=OK           382 CALLS     2997 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.565        14.420        .10496E-03   -1.4945    
   2  Prefactor     .10000E-03    12.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.830        43.959        .72160E-04   -1.4597    
   4  norm          .10006E-03    26.415        .21337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8648        .39529        .25188E-04   -1.5435    
   6  Prefactor     .10000E-03    23.615        .35793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.636        16.119        .82396E-04   -1.4735    
   8  Prefactor     .40233        11.346        .27823E-02   -1.5581    
   9  Prefactor     24.634        52.041        .80682E-04   -1.4715    
  10  norm          1.3288        28.448        .38038E-03   -1.5477    
  11  Prefactor     26.223        19.530        .78228E-04   -1.4683    
  12  Prefactor     30.053        13.679        .73085E-04   -1.4611    
  13  norm          1.4371        1.4986        .10508E-03   -1.5468    
  14  Prefactor     54.136        44.989        .54509E-04   -1.4235    
  15  Prefactor     24.781        12.131        .80470E-04   -1.4712    
  16  norm          .10000E-03    2.9747        .30167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.5854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.596        8.8478        .10859E-03   -1.4970    
  19  norm          .83514E-01    .47170        .10199E-03   -1.5650    
  20  Prefactor     .10000E-03    11.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    30.663        .36104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .99718        .21833        .27997E-03   -.93125    
  23  Prefactor     1.0872        .18943        .24505E-03   -.89878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89826e-09
Minuit parameter uncertainties:
  1  14.4235
  2  9.64958e-06
  3  44.005
  4  0.00243659
  5  0.395295
  6  0.00011916
  7  16.1217
  8  4.27348
  9  52.1373
  10  12.3028
  11  19.5344
  12  13.6808
  13  1.4986
  14  45.0173
  15  12.1318
  16  5.71721e-06
  17  5.87979e-06
  18  8.84861
  19  0.396721
  20  3.14433e-05
  21  0.000647237
  22  0.218521
  23  0.189548
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.329e+00  1.230e+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.087e+00  1.895e-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.972e-01  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/354750/likelihoodResults_595209601_595468801_4FGL_J2234.1-2656_daily_bin1373.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) = 8288.60968729
delta logL = 0.0682026238028

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8288.59485531
delta logL = 0.0830346048715

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6012       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7565       1.0000          .0000       5.0000    
     3 'Normalizat'    .98955       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0893       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=   8288.595     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      265 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6184        13.242        .12648E-02    .45092E-03
   2  alpha         2.7507        2.0341        .32679E-01    .92732E-05
   3  Normalizat    .98974        .20339        .28084E-03    .43719E-05
   4  Prefactor     1.0890        .18492        .24482E-03    .32505E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61844
  alpha      = 2.75074
  Normalizat = 0.989742
  Prefactor  = 1.089
 **********
 **   18 **HESSE 
 **********

 FCN=   8288.595     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .58E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6184        8.5425        .25296E-03   -1.5384    
   2  alpha         2.7507        1.5940        .13072E-02    .10047    
   3  Normalizat    .98974        .20341        .11234E-04   -.93375    
   4  Prefactor     1.0890        .18484        .97930E-05   -.89819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83644e-13
Minuit parameter uncertainties:
  1  8.54645
  2  1.73014
  3  0.20357
  4  0.184948
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354750': 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) = 8288.59484855
delta logL = 0.0830413612875

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.618e+00  8.546e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.751e+00  1.730e+00  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.089e+00  1.849e-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.897e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 338.543 -26.938

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/354750/cmap_HighResolution_595209601_595468801_4FGL_J2234.1-2656_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-05', job_status='DONE', photon_flux_upper_limit='4.08e-08', time_completed='2021-09-28 14:40:43.312771', job_id='354750', GAL2='1.09', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1632865243.31', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='8.30e-02', ts2='0.18', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1373' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:40:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 354750: <4FGL_J2234.1-2656_daily_bin1373> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1373> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:26:01 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:26:03 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:26:03 2021
Terminated at Tue Sep 28 14:40:43 2021
Results reported at Tue Sep 28 14:40:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1373 338.543 -26.9375 595209601 595468801 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 :                                   745.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            882 sec.

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

