/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 143 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin589
RA = 338.543, Dec = -26.9375
tmin = 391996801, tmax = 392256001
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='352642', job_status='RUN', time_executed='2021-09-28 14:22:50.863818', time_epoch_executed='1632864170.86' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352642

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352642/ft1_4FGL_J2234.1-2656_daily_bin589.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352642/ft2_4FGL_J2234.1-2656_daily_bin589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352642/ft1_4FGL_J2234.1-2656_daily_bin589.fits outfile=/scratch/kocevski/352642/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin589.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=391996801.0 tmax=392256001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.36
user 5.10
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352642/ft2_4FGL_J2234.1-2656_daily_bin589.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/352642/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin589.fits evtable="EVENTS" outfile="/scratch/kocevski/352642/ft1_filtered_4FGL_J2234.1-2656_daily_bin589.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/352642/ft1_filtered_4FGL_J2234.1-2656_daily_bin589.fits" evtable="EVENTS" scfile=/scratch/kocevski/352642/ft2_4FGL_J2234.1-2656_daily_bin589.fits sctable="SC_DATA" outfile=/scratch/kocevski/352642/ltcube_391996801_392256001_4FGL_J2234.1-2656_daily_bin589.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/352642/ft2_4FGL_J2234.1-2656_daily_bin589.fits
.....................!
real 11.77
user 11.33
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352642/ft1_filtered_4FGL_J2234.1-2656_daily_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/352642/ft2_4FGL_J2234.1-2656_daily_bin589.fits sctable="SC_DATA" expcube=/scratch/kocevski/352642/ltcube_391996801_392256001_4FGL_J2234.1-2656_daily_bin589.fits outfile=/scratch/kocevski/352642/expmap_391996801_392256001_4FGL_J2234.1-2656_daily_bin589.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/352642/ltcube_391996801_392256001_4FGL_J2234.1-2656_daily_bin589.fits
.....................!
real 191.26
user 185.66
sys 5.01

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/352642/ft1_filtered_4FGL_J2234.1-2656_daily_bin589.fits scfile=/scratch/kocevski/352642/ft2_4FGL_J2234.1-2656_daily_bin589.fits outfile=/scratch/kocevski/352642/cmap_391996801_392256001_4FGL_J2234.1-2656_daily_bin589.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352642/ft1_filtered_4FGL_J2234.1-2656_daily_bin589.fits scfile=/scratch/kocevski/352642/ft2_4FGL_J2234.1-2656_daily_bin589.fits outfile=/scratch/kocevski/352642/cmap_HighResolution_391996801_392256001_4FGL_J2234.1-2656_daily_bin589.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/352642/ft1_filtered_4FGL_J2234.1-2656_daily_bin589.fits evtable="EVENTS" scfile=/scratch/kocevski/352642/ft2_4FGL_J2234.1-2656_daily_bin589.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352642/Model_4FGL_J2234.1-2656_daily_bin589.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/352642/ft1_filtered_4FGL_J2234.1-2656_daily_bin589.fits.....................!
real 55.33
user 54.04
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.894       1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.296       1.0000         .10000E-03   10000.    
     4 'norm      '    11.884       1.0000         .10000E-03   10000.    
     5 'norm      '    .55787       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4246       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8196       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.7764       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6623       1.0000         .10000E-03   10000.    
    10 'norm      '    4.7028       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2651       1.0000         .10000E-03   10000.    
    13 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.811       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .49196       1.0000         .10000E-03   10000.    
    16 'norm      '    14.125       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.8685       1.0000         .10000E-03   10000.    
    19 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.938       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.3340       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .86044       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93967       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=   7179.480     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2973 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7569       -.36644E-06** at limit **
   2  Prefactor     12.002        36.132       -.82023E-05   -.39914E-05
   3  Prefactor     38.132        93.610        .11341E-04   -.10317E-04
   4  norm          11.881        5.3271        .96271E-07   -.95338E-05
   5  norm          .55798        .27881       -.30106E-07   -.53521E-05
   6  Prefactor     2.4279        4.1054        .54670E-08   -.19003E-04
   7  Prefactor     6.8089        11.444       -.16183E-07   -.69162E-05
   8  Prefactor     6.7737        7.0589        .36928E-07   -.20327E-04
   9  Prefactor     7.5969        60.923        .67869E-06   -.13652E-05
  10  norm          4.7136        15.142        .44333E-06   -.92455E-05
  11  Prefactor     .10000E-03    10.385       -.30644E-08** at limit **
  12  Prefactor     6.2677        9.3984        .28234E-06   -.16395E-04
  13  norm          .10000E-03    .63226        .52560E-06** at limit **
  14  Prefactor     41.765        33.693       -.49801E-06   -.36439E-04
  15  Prefactor     .47629        7.2303        .30889E-06   -.11602E-03
  16  norm          14.123        4.9004       -.34220E-07    .10561E-03
  17  Prefactor     .10000E-03    4.9291       -.29009E-07** at limit **
  18  Prefactor     6.8668        7.4439        .35332E-06    .21463E-03
  19  norm          .10000E-03    .31421       -.11993E-06** at limit **
  20  Prefactor     17.925        24.677       -.45813E-07    .13595E-05
  21  Prefactor     3.3323        4.6953        .85961E-07    .43374E-04
  22  Normalizat    .86077        .17135        .62613E-06   -.67627E-04
  23  Prefactor     .93944        .14861       -.96380E-06    .61220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.0015
  Prefactor  = 38.1321
  norm       = 11.8811
  norm       = 0.557978
  Prefactor  = 2.42794
  Prefactor  = 6.80888
  Prefactor  = 6.77375
  Prefactor  = 7.59687
  norm       = 4.71358
  Prefactor  = 0.0001
  Prefactor  = 6.2677
  norm       = 0.0001
  Prefactor  = 41.7652
  Prefactor  = 0.476286
  norm       = 14.1229
  Prefactor  = 0.0001
  Prefactor  = 6.86679
  norm       = 0.0001
  Prefactor  = 17.9255
  Prefactor  = 3.33229
  Normalizat = 0.860771
  Prefactor  = 0.939437
 **********
 **   18 **HESSE 
 **********

 FCN=   7179.480     FROM HESSE     STATUS=OK           386 CALLS     3359 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7619        .16037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.002        36.115        .11615E-03   -1.5015    
   3  Prefactor     38.132        93.546        .64767E-04   -1.4472    
   4  norm          11.881        5.3201        .11266E-03   -1.5018    
   5  norm          .55798        .27866        .29563E-04   -1.5559    
   6  Prefactor     2.4279        4.0823        .21626E-03   -1.5396    
   7  Prefactor     6.8089        11.432        .15364E-03   -1.5186    
   8  Prefactor     6.7737        7.0988        .15414E-03   -1.5187    
   9  Prefactor     7.5969        60.937        .14487E-03   -1.5157    
  10  norm          4.7136        15.108        .18556E-03   -1.5274    
  11  Prefactor     .10000E-03    10.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.2677        9.3926        .16037E-03   -1.5207    
  13  norm          .10000E-03    .62868        .65331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.765        33.664        .61995E-04   -1.4415    
  15  Prefactor     .47629        36.883        .41592E-02   -1.5570    
  16  norm          14.123        4.8957        .99382E-04   -1.4956    
  17  Prefactor     .10000E-03    4.9337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.8668        6.6846        .15309E-03   -1.5184    
  19  norm          .10000E-03    .63794        .80270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.925        24.671        .94565E-04   -1.4861    
  21  Prefactor     3.3323        4.6650        .20314E-03   -1.5343    
  22  Normalizat    .86077        .20568        .24864E-03   -.97853    
  23  Prefactor     .93944        .17692        .22285E-03   -.94776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48709e-08
Minuit parameter uncertainties:
  1  1.54794e-06
  2  36.1812
  3  93.9087
  4  5.3203
  5  0.278665
  6  4.08278
  7  11.4354
  8  7.09967
  9  43.0916
  10  15.12
  11  5.21663e-07
  12  9.39481
  13  1.80338e-06
  14  33.6791
  15  8.387
  16  4.89585
  17  4.06152e-06
  18  6.6853
  19  1.7551e-06
  20  24.6847
  21  4.66554
  22  0.205866
  23  0.177026
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  4.714e+00  1.512e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.394e-01  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  8.608e-01  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/352642/likelihoodResults_391996801_392256001_4FGL_J2234.1-2656_daily_bin589.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) = 7179.29722227
delta logL = 0.183045943533

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7179.27756997
delta logL = 0.20269823553

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8805       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1481       1.0000          .0000       5.0000    
     3 'Normalizat'    .83740       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95173       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7179.278     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      246 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8804        315.46        .20764E-03   -.88273E-03
   2  alpha         3.1497        3.4248        .17852E-01   -.68354E-04
   3  Normalizat    .83757        .23601        .25162E-03   -.30204E-03
   4  Prefactor     .95161        .20880        .22151E-03   -.30111E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.88035
  alpha      = 3.14972
  Normalizat = 0.837574
  Prefactor  = 0.95161
 **********
 **   18 **HESSE 
 **********

 FCN=   7179.278     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8804        9.8977        .83054E-05   -1.5369    
   2  alpha         3.1497        1.7586        .71409E-03    .26291    
   3  Normalizat    .83757        .18797        .10065E-04   -.98690    
   4  Prefactor     .95161        .17303        .44303E-04   -.94360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.34628e-10
Minuit parameter uncertainties:
  1  9.90334
  2  1.97006
  3  0.188119
  4  0.173128
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352642': 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) = 7179.27756702
delta logL = 0.202701190297

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.880e+00  9.903e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  3.150e+00  1.970e+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:  9.516e-01  1.731e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  8.376e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/352642/cmap_HighResolution_391996801_392256001_4FGL_J2234.1-2656_daily_bin589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-05', job_status='DONE', photon_flux_upper_limit='4.87e-08', time_completed='2021-09-28 14:34:57.301495', job_id='352642', GAL2='0.95', fit_tolerance='1e-08', EG2='0.84', EG='0.86', time_epoch_completed='1632864897.3', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.03e-01', ts2='0.55', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='589' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:34:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 352642: <4FGL_J2234.1-2656_daily_bin589> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin589> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:20:17 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:20:19 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:20:19 2021
Terminated at Tue Sep 28 14:35:00 2021
Results reported at Tue Sep 28 14:35:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin589 338.543 -26.9375 391996801 392256001 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 :                                   725.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            883 sec.

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

