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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1632
RA = 338.543, Dec = -26.9375
tmin = 662342401, tmax = 662601601
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='628573', job_status='RUN', time_executed='2021-12-31 00:36:09.303873', time_epoch_executed='1640939769.3' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/628573

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/628573/ft1_4FGL_J2234.1-2656_daily_bin1632.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/628573/ft2_4FGL_J2234.1-2656_daily_bin1632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/628573/ft1_4FGL_J2234.1-2656_daily_bin1632.fits outfile=/scratch/kocevski/628573/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1632.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=662342401.0 tmax=662601601.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.00
user 2.71
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/628573/ft1_filtered_4FGL_J2234.1-2656_daily_bin1632.fits" evtable="EVENTS" scfile=/scratch/kocevski/628573/ft2_4FGL_J2234.1-2656_daily_bin1632.fits sctable="SC_DATA" outfile=/scratch/kocevski/628573/ltcube_662342401_662601601_4FGL_J2234.1-2656_daily_bin1632.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/628573/ft2_4FGL_J2234.1-2656_daily_bin1632.fits
.....................!
real 12.19
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/628573/ft1_filtered_4FGL_J2234.1-2656_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/628573/ft2_4FGL_J2234.1-2656_daily_bin1632.fits sctable="SC_DATA" expcube=/scratch/kocevski/628573/ltcube_662342401_662601601_4FGL_J2234.1-2656_daily_bin1632.fits outfile=/scratch/kocevski/628573/expmap_662342401_662601601_4FGL_J2234.1-2656_daily_bin1632.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/628573/ltcube_662342401_662601601_4FGL_J2234.1-2656_daily_bin1632.fits
.....................!
real 190.03
user 184.54
sys 5.15

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/628573/ft1_filtered_4FGL_J2234.1-2656_daily_bin1632.fits scfile=/scratch/kocevski/628573/ft2_4FGL_J2234.1-2656_daily_bin1632.fits outfile=/scratch/kocevski/628573/cmap_662342401_662601601_4FGL_J2234.1-2656_daily_bin1632.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/628573/ft1_filtered_4FGL_J2234.1-2656_daily_bin1632.fits scfile=/scratch/kocevski/628573/ft2_4FGL_J2234.1-2656_daily_bin1632.fits outfile=/scratch/kocevski/628573/cmap_HighResolution_662342401_662601601_4FGL_J2234.1-2656_daily_bin1632.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/628573/ft1_filtered_4FGL_J2234.1-2656_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/628573/ft2_4FGL_J2234.1-2656_daily_bin1632.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/628573/Model_4FGL_J2234.1-2656_daily_bin1632.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/628573/ft1_filtered_4FGL_J2234.1-2656_daily_bin1632.fits....................!
real 44.47
user 43.22
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10152E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .56441       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .37692       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2694       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11162E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.381       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.134       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5935       1.0000         .10000E-03   10000.    
    13 'norm      '    .29850E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.589       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.5394       1.0000         .10000E-03   10000.    
    16 'norm      '    3.2404       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.411       1.0000         .10000E-03   10000.    
    19 'norm      '    .25026       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20416E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.9866       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .94457       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87692       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=   5569.601     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2247 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0324       -.69384E-08** at limit **
   2  Prefactor     .10000E-03    8.0390       -.26039E-07** at limit **
   3  Prefactor     .10000E-03    27.257        .15132E-06** at limit **
   4  norm          .10000E-03    4.6238        .11046E-07** at limit **
   5  norm          .56445        .35969        .21630E-07    .68033E-04
   6  Prefactor     .37665        7.1784        .20536E-06   -.40809E-04
   7  Prefactor     2.2693        10.693        .54389E-06   -.23592E-05
   8  Prefactor     .10000E-03    2.5297       -.92008E-08** at limit **
   9  Prefactor     .10000E-03    45.859       -.20547E-06** at limit **
  10  norm          14.392        15.833       -.12169E-05   -.29987E-03
  11  Prefactor     14.130        16.183        .96462E-07   -.13753E-04
  12  Prefactor     3.5929        6.2726        .74204E-06    .74856E-04
  13  norm          .10001E-03    2.2583        .15774E-05** at limit **
  14  Prefactor     10.706        32.111       -.80224E-06   -.22360E-03
  15  Prefactor     5.5299        13.301        .38459E-07   -.85974E-04
  16  norm          3.2397        3.7263        .11020E-07   -.33093E-03
  17  Prefactor     .10000E-03    4.3418        .31064E-08** at limit **
  18  Prefactor     10.424        12.610       -.60843E-06   -.42346E-03
  19  norm          .24984        .49095        .87653E-07    .11273E-03
  20  Prefactor     .10004E-03    169.36        .14352E-04** at limit **
  21  Prefactor     9.9831        12.504        .43752E-06   -.12171E-03
  22  Normalizat    .94461        .18252       -.41605E-06   -.38086E-03
  23  Prefactor     .87688        .15690       -.27577E-06   -.36308E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.564445
  Prefactor  = 0.376651
  Prefactor  = 2.26927
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.3916
  Prefactor  = 14.1303
  Prefactor  = 3.59285
  norm       = 0.000100008
  Prefactor  = 10.7061
  Prefactor  = 5.52991
  norm       = 3.23972
  Prefactor  = 0.0001
  Prefactor  = 10.4237
  norm       = 0.249842
  Prefactor  = 0.000100044
  Prefactor  = 9.98314
  Normalizat = 0.944608
  Prefactor  = 0.876878
 **********
 **   18 **HESSE 
 **********

 FCN=   5569.601     FROM HESSE     STATUS=OK           374 CALLS     2621 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0339        .17902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.0437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    27.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    10.883        .30003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .56445        .34778        .33641E-04   -1.5558    
   6  Prefactor     .37665        33.550        .38215E-02   -1.5585    
   7  Prefactor     2.2693        10.650        .27263E-03   -1.5407    
   8  Prefactor     .10000E-03    2.5361        .11591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.392        15.948        .10562E-03   -1.4949    
  11  Prefactor     14.130        16.180        .10654E-03   -1.4956    
  12  Prefactor     3.5929        6.2879        .21317E-03   -1.5329    
  13  norm          .10001E-03    3.7954        .16207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.706        33.137        .12312E-03   -1.5053    
  15  Prefactor     5.5299        13.370        .17070E-03   -1.5238    
  16  norm          3.2397        3.6945        .13697E-03   -1.5348    
  17  Prefactor     .10000E-03    4.3427        .15179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.424        12.238        .12418E-03   -1.5062    
  19  norm          .24984        .41169        .58937E-03   -1.5608    
  20  Prefactor     .10004E-03    178.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.9831        12.369        .12680E-03   -1.5076    
  22  Normalizat    .94461        .21905        .23529E-03   -.94910    
  23  Prefactor     .87688        .18910        .22337E-03   -.96954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11561e-08
Minuit parameter uncertainties:
  1  1.62501e-07
  2  1.11039e-06
  3  2.74946e-05
  4  4.7728e-05
  5  0.347779
  6  7.11279
  7  9.835
  8  7.02002e-07
  9  2.68393e-05
  10  15.9525
  11  16.1851
  12  6.28902
  13  0.000356339
  14  33.1939
  15  13.3771
  16  3.69472
  17  1.47312e-06
  18  12.2412
  19  0.411691
  20  0.00561459
  21  12.3717
  22  0.219261
  23  0.189244
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.439e+01  1.595e+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:  8.769e-01  1.892e-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.446e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.71
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.49e-08 +/- 1.65e-08
Energy Flux (Fixed Index): 1.04e-05 +/- 1.15e-05

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

Saving results to:
/scratch/kocevski/628573/likelihoodResults_662342401_662601601_4FGL_J2234.1-2656_daily_bin1632.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) = 5569.48639149
delta logL = 0.115099118821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5569.47592675
delta logL = 0.12556385513

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.349       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3842       1.0000          .0000       5.0000    
     3 'Normalizat'    .93440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88131       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=   5569.476     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      217 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.334        336.26        .28498E-02    .48905E-03
   2  alpha         2.3848        3.5043        .41208        .30448E-04
   3  Normalizat    .93468        .62978E-01    .45340E-01    .95780E-05
   4  Prefactor     .88110        .49908E-01    .44766E-01    .15122E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.3335
  alpha      = 2.38476
  Normalizat = 0.934683
  Prefactor  = 0.881096
 **********
 **   18 **HESSE 
 **********

 FCN=   5569.476     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.334        15.449        .56996E-03   -1.5005    
   2  alpha         2.3848        .87136        .14106E-01   -.46112E-01
   3  Normalizat    .93468        .19831        .23635E-03   -.95252    
   4  Prefactor     .88110        .18186        .22284E-03   -.96805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04901e-09
Minuit parameter uncertainties:
  1  15.4537
  2  0.890086
  3  0.198468
  4  0.181987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/628573': 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) = 5569.47592517
delta logL = 0.125565437433

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.233e+01  1.545e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.385e+00  8.901e-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:  8.811e-01  1.820e-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.347e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.38 +/- 0.89
Photon Flux (Free Index): 2.44e-08 +/- 2.96e-08
Energy Flux (Free Index): 8.59e-06 +/- 9.02e-06

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/628573/cmap_HighResolution_662342401_662601601_4FGL_J2234.1-2656_daily_bin1632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', comment='SUCCESS', photon_flux='1.49e-08', energy_flux2='8.59e-06', photon_flux_error='1.65e-08', dlogl='1.26e-01', energy_flux='1.04e-05', photon_flux2='2.44e-08', job_status='DONE', time_completed='2021-12-31 00:45:30.445508', photon_index_error2='0.89', photon_index2='2.38', ts='1.71', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='6.06e-08', energy_flux_error2='9.02e-06', EG='0.94', time_epoch_completed='1640940330.45', return_code='0', job_id='628573', GAL2='0.88', EG2='0.93', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='2.96e-08', ts2='1.96', photon_index='1.95' WHERE bin_id='1632' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 31 00:45:30 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 628573: <4FGL_J2234.1-2656_daily_bin1632> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1632> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 31 00:35:34 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 31 00:35:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 31 00:35:35 2021
Terminated at Fri Dec 31 00:45:31 2021
Results reported at Fri Dec 31 00:45:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1632 338.543 -26.9375 662342401 662601601 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 :                                   563.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            597 sec.

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

