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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1121
RA = 338.543, Dec = -26.9375
tmin = 529891201, tmax = 530150401
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='354357', job_status='RUN', time_executed='2021-09-28 14:26:53.465859', time_epoch_executed='1632864413.47' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354357/ft1_4FGL_J2234.1-2656_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354357/ft2_4FGL_J2234.1-2656_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354357/ft1_4FGL_J2234.1-2656_daily_bin1121.fits outfile=/scratch/kocevski/354357/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1121.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=529891201.0 tmax=530150401.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.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354357/ft1_filtered_4FGL_J2234.1-2656_daily_bin1121.fits" evtable="EVENTS" scfile=/scratch/kocevski/354357/ft2_4FGL_J2234.1-2656_daily_bin1121.fits sctable="SC_DATA" outfile=/scratch/kocevski/354357/ltcube_529891201_530150401_4FGL_J2234.1-2656_daily_bin1121.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/354357/ft2_4FGL_J2234.1-2656_daily_bin1121.fits
.....................!
real 11.77
user 11.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354357/ft1_filtered_4FGL_J2234.1-2656_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/354357/ft2_4FGL_J2234.1-2656_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/354357/ltcube_529891201_530150401_4FGL_J2234.1-2656_daily_bin1121.fits outfile=/scratch/kocevski/354357/expmap_529891201_530150401_4FGL_J2234.1-2656_daily_bin1121.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/354357/ltcube_529891201_530150401_4FGL_J2234.1-2656_daily_bin1121.fits
.....................!
real 190.67
user 185.08
sys 5.21

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/354357/ft1_filtered_4FGL_J2234.1-2656_daily_bin1121.fits scfile=/scratch/kocevski/354357/ft2_4FGL_J2234.1-2656_daily_bin1121.fits outfile=/scratch/kocevski/354357/cmap_529891201_530150401_4FGL_J2234.1-2656_daily_bin1121.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354357/ft1_filtered_4FGL_J2234.1-2656_daily_bin1121.fits scfile=/scratch/kocevski/354357/ft2_4FGL_J2234.1-2656_daily_bin1121.fits outfile=/scratch/kocevski/354357/cmap_HighResolution_529891201_530150401_4FGL_J2234.1-2656_daily_bin1121.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/354357/ft1_filtered_4FGL_J2234.1-2656_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/354357/ft2_4FGL_J2234.1-2656_daily_bin1121.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354357/Model_4FGL_J2234.1-2656_daily_bin1121.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/354357/ft1_filtered_4FGL_J2234.1-2656_daily_bin1121.fits.....................!
real 62.25
user 60.88
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31162E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.572       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2782       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5909       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3508       1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.177       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.837       1.0000         .10000E-03   10000.    
    10 'norm      '    29.377       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7530       1.0000         .10000E-03   10000.    
    13 'norm      '    2.5232       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2438       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.2935       1.0000         .10000E-03   10000.    
    16 'norm      '    2.6114       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .59334E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    2.4188       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11519E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.857       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1585       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .66452       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=   8415.144     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2951 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    8.3684       -.70520E-06** at limit **
   2  Prefactor     .10000E-03    6.9773        .11429E-05** at limit **
   3  Prefactor     23.659        35.288        .63954E-06    .90977E-04
   4  norm          3.2777        2.2993       -.89560E-08    .78816E-04
   5  norm          1.5909        .33138       -.15592E-08    .31865E-03
   6  Prefactor     4.3511        5.5155       -.23672E-06    .13160E-03
   7  Prefactor     19.177        11.439       -.20915E-07    .56397E-04
   8  Prefactor     .10000E-03    1.6513       -.52682E-08** at limit **
   9  Prefactor     60.853        44.103        .50071E-07    .70423E-05
  10  norm          29.388        15.500        .14562E-06    .26164E-04
  11  Prefactor     .10000E-03    7.4074       -.96101E-08** at limit **
  12  Prefactor     1.7539        7.6384        .10007E-05    .17493E-03
  13  norm          2.5229        1.8046       -.28254E-07    .31502E-03
  14  Prefactor     5.2509        20.654        .61929E-06    .37498E-04
  15  Prefactor     9.2938        7.6261        .12724E-06    .18694E-03
  16  norm          2.6184        3.3812        .40177E-06    .87691E-03
  17  Prefactor     .10000E-03    5.0292       -.59642E-07** at limit **
  18  Prefactor     .13873E-03    8.9705       -.25897E-05** at limit **
  19  norm          2.4210        .68980        .13035E-06    .61985E-02
  20  Prefactor     .10000E-03    21.917       -.68043E-07** at limit **
  21  Prefactor     10.879        9.0192        .69413E-06    .82857E-03
  22  Normalizat    1.1587        .15314        .68399E-08    .75065E-03
  23  Prefactor     .66445        .13567       -.51465E-06    .52729E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100054
  Prefactor  = 0.000100001
  Prefactor  = 23.6585
  norm       = 3.2777
  norm       = 1.59095
  Prefactor  = 4.35107
  Prefactor  = 19.177
  Prefactor  = 0.0001
  Prefactor  = 60.853
  norm       = 29.3882
  Prefactor  = 0.0001
  Prefactor  = 1.75389
  norm       = 2.52291
  Prefactor  = 5.25091
  Prefactor  = 9.29385
  norm       = 2.61843
  Prefactor  = 0.0001
  Prefactor  = 0.000138729
  norm       = 2.42101
  Prefactor  = 0.0001
  Prefactor  = 10.8789
  Normalizat = 1.15869
  Prefactor  = 0.66445
 **********
 **   18 **HESSE 
 **********

 FCN=   8415.144     FROM HESSE     STATUS=OK           384 CALLS     3335 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    53.598        .48576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.7339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.659        35.460        .82503E-04   -1.4735    
   4  norm          3.2777        2.2963        .11132E-03   -1.5346    
   5  norm          1.5909        .33213        .23107E-04   -1.5456    
   6  Prefactor     4.3511        5.4933        .19311E-03   -1.5291    
   7  Prefactor     19.177        11.443        .91461E-04   -1.4832    
   8  Prefactor     .10000E-03    1.6594        .11510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     60.853        44.102        .51442E-04   -1.4146    
  10  norm          29.388        15.483        .36960E-03   -1.4623    
  11  Prefactor     .10000E-03    7.4513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7539        7.6749        .15831E-02   -1.5443    
  13  norm          2.5229        1.8155        .89558E-04   -1.5390    
  14  Prefactor     5.2509        20.837        .17553E-03   -1.5250    
  15  Prefactor     9.2938        7.6541        .13146E-03   -1.5098    
  16  norm          2.6184        3.4796        .17579E-03   -1.5384    
  17  Prefactor     .10000E-03    5.0369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13873E-03    15.825        .49588E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.4210        .78691        .35209E-04   -1.5397    
  20  Prefactor     .10000E-03    21.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.879        9.5677        .60795E-03   -1.5048    
  22  Normalizat    1.1587        .17803        .22448E-03   -.87889    
  23  Prefactor     .66445        .15625        .26143E-03   -1.0494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2484e-09
Minuit parameter uncertainties:
  1  0.00340348
  2  0.000131625
  3  35.4916
  4  2.29637
  5  0.332134
  6  5.49397
  7  11.444
  8  1.35471e-06
  9  44.1261
  10  15.4847
  11  5.22962e-06
  12  7.33922
  13  1.81556
  14  20.8656
  15  7.65495
  16  3.47982
  17  4.17458e-06
  18  0.0495264
  19  0.786916
  20  1.30753e-05
  21  9.56902
  22  0.178119
  23  0.156355
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.939e+01  1.548e+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:  6.644e-01  1.564e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.159e+00  1.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.42
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 3.04e-08 +/- 1.60e-08
Energy Flux (Fixed Index): 2.12e-05 +/- 1.11e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8414.97027817
delta logL = 0.17411744241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8414.96706651
delta logL = 0.177329102889

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    31.165       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7138       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1648       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66211       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=   8414.967     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      251 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.165        14.597        .40612E-06   -.50663E-04
   2  alpha         1.7138        .31456       -.19483E-05   -.17662E-04
   3  Normalizat    1.1648        .14669        .47030E-07    .67329E-04
   4  Prefactor     .66211        .13338       -.37347E-07   -.29926E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 31.1652
  alpha      = 1.71376
  Normalizat = 1.16478
  Prefactor  = 0.662111
 **********
 **   18 **HESSE 
 **********

 FCN=   8414.967     FROM HESSE     STATUS=OK            31 CALLS      282 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.165        16.906        .71773E-04   -1.4591    
   2  alpha         1.7138        .40096        .12919E-01   -.31993    
   3  Normalizat    1.1648        .16804        .22400E-03   -.87698    
   4  Prefactor     .66211        .15265        .26189E-03   -1.0503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47775e-11
Minuit parameter uncertainties:
  1  16.9089
  2  0.402889
  3  0.168114
  4  0.152747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354357': 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) = 8414.96706651
delta logL = 0.177329103148

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.165e+00  1.681e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.77
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.71 +/- 0.40
Photon Flux (Free Index): 2.41e-08 +/- 1.65e-08
Energy Flux (Free Index): 2.90e-05 +/- 2.32e-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/354357/cmap_HighResolution_529891201_530150401_4FGL_J2234.1-2656_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.04e-08', energy_flux2='2.90e-05', photon_flux_error='1.60e-08', dlogl='1.77e-01', energy_flux='2.12e-05', photon_flux2='2.41e-08', job_status='DONE', time_completed='2021-09-28 14:38:43.136224', photon_index_error2='0.40', photon_index2='1.71', ts='13.42', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', energy_flux_error2='2.32e-05', EG='1.16', time_epoch_completed='1632865123.14', return_code='0', job_id='354357', GAL2='0.66', EG2='1.16', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='1.65e-08', ts2='13.77', photon_index='1.95' WHERE bin_id='1121' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:38:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 354357: <4FGL_J2234.1-2656_daily_bin1121> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1121 338.543 -26.9375 529891201 530150401 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 :                                   708.37 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             320.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            800 sec.

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

