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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin712
RA = 338.543, Dec = -26.9375
tmin = 423878401, tmax = 424137601
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='352834', job_status='RUN', time_executed='2021-09-28 14:23:12.235441', time_epoch_executed='1632864192.24' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352834/ft1_4FGL_J2234.1-2656_daily_bin712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352834/ft2_4FGL_J2234.1-2656_daily_bin712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352834/ft1_4FGL_J2234.1-2656_daily_bin712.fits outfile=/scratch/kocevski/352834/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin712.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=423878401.0 tmax=424137601.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.31
user 5.04
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352834/ft1_filtered_4FGL_J2234.1-2656_daily_bin712.fits" evtable="EVENTS" scfile=/scratch/kocevski/352834/ft2_4FGL_J2234.1-2656_daily_bin712.fits sctable="SC_DATA" outfile=/scratch/kocevski/352834/ltcube_423878401_424137601_4FGL_J2234.1-2656_daily_bin712.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/352834/ft2_4FGL_J2234.1-2656_daily_bin712.fits
.....................!
real 11.67
user 11.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352834/ft1_filtered_4FGL_J2234.1-2656_daily_bin712.fits evtable="EVENTS" scfile=/scratch/kocevski/352834/ft2_4FGL_J2234.1-2656_daily_bin712.fits sctable="SC_DATA" expcube=/scratch/kocevski/352834/ltcube_423878401_424137601_4FGL_J2234.1-2656_daily_bin712.fits outfile=/scratch/kocevski/352834/expmap_423878401_424137601_4FGL_J2234.1-2656_daily_bin712.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/352834/ltcube_423878401_424137601_4FGL_J2234.1-2656_daily_bin712.fits
.....................!
real 190.59
user 184.99
sys 5.27

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/352834/ft1_filtered_4FGL_J2234.1-2656_daily_bin712.fits scfile=/scratch/kocevski/352834/ft2_4FGL_J2234.1-2656_daily_bin712.fits outfile=/scratch/kocevski/352834/cmap_423878401_424137601_4FGL_J2234.1-2656_daily_bin712.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.54
user 0.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/352834/ft1_filtered_4FGL_J2234.1-2656_daily_bin712.fits evtable="EVENTS" scfile=/scratch/kocevski/352834/ft2_4FGL_J2234.1-2656_daily_bin712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352834/Model_4FGL_J2234.1-2656_daily_bin712.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/352834/ft1_filtered_4FGL_J2234.1-2656_daily_bin712.fits.....................!
real 39.51
user 38.14
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8220       1.0000         .10000E-03   10000.    
     4 'norm      '    7.8383       1.0000         .10000E-03   10000.    
     5 'norm      '    1.7895       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7281       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10602E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5812       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10785E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .26992       1.0000         .10000E-03   10000.    
    14 'Prefactor '    97.990       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10600E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .74562E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .54903E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .71963       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .59064       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0551       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=   4639.445     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2592 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2380        .24307E-06** at limit **
   2  Prefactor     .10000E-03    31.079        .10269E-05** at limit **
   3  Prefactor     4.8146        140.91       -.12643E-05   -.27299E-04
   4  norm          7.8414        5.8103       -.15785E-07   -.82367E-04
   5  norm          1.7894        .53643       -.24591E-08   -.20333E-03
   6  Prefactor     .10000E-03    13.012        .87702E-06** at limit **
   7  Prefactor     .10000E-03    20.908       -.13868E-05** at limit **
   8  Prefactor     4.7275        7.5473        .15466E-05   -.46338E-04
   9  Prefactor     .10000E-03    21.665       -.15063E-05** at limit **
  10  norm          .10000E-03    10.272       -.76434E-06** at limit **
  11  Prefactor     7.5749        17.897        .30659E-06   -.14078E-04
  12  Prefactor     .10000E-03    15.537        .74997E-06** at limit **
  13  norm          .26549        2.9732        .57562E-06   -.20487E-04
  14  Prefactor     98.004        55.215       -.21286E-05   -.13611E-03
  15  Prefactor     .10000E-03    3.4221       -.53412E-07** at limit **
  16  norm          .10000E-03    2.0192       -.38347E-07** at limit **
  17  Prefactor     .10000E-03    4.7943       -.24527E-06** at limit **
  18  Prefactor     .10001E-03    4.3003       -.35667E-06** at limit **
  19  norm          .54411E-01    .42982        .59410E-08    .28934E-03
  20  Prefactor     .10000E-03    17.780       -.22472E-06** at limit **
  21  Prefactor     .72078        14.057        .10181E-05    .14602E-04
  22  Normalizat    .59053        .18353       -.14270E-05   -.58981E-04
  23  Prefactor     1.0553        .16743        .61695E-06   -.10674E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.81458
  norm       = 7.84139
  norm       = 1.78935
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.72755
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.57486
  Prefactor  = 0.0001
  norm       = 0.265493
  Prefactor  = 98.0044
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  norm       = 0.0544107
  Prefactor  = 0.0001
  Prefactor  = 0.720782
  Normalizat = 0.590535
  Prefactor  = 1.05534
 **********
 **   18 **HESSE 
 **********

 FCN=   4639.445     FROM HESSE     STATUS=OK           374 CALLS     2966 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2368        .15220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    30.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8146        136.76        .18320E-03   -1.5269    
   4  norm          7.8414        5.8120        .12352E-03   -1.5148    
   5  norm          1.7894        .53941        .24946E-04   -1.5440    
   6  Prefactor     .10000E-03    13.302        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.7275        7.4854        .92526E-03   -1.5273    
   9  Prefactor     .10000E-03    21.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    10.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5749        17.894        .14565E-03   -1.5157    
  12  Prefactor     .10000E-03    15.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .26549        5.3055        .17480E-02   -1.5605    
  14  Prefactor     98.004        56.239        .40608E-04   -1.3725    
  15  Prefactor     .10000E-03    3.4374        .12304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.7599        .18453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.7955        .14546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    18.565        .22635E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .54411E-01    .59992        .71005E-03   -1.5661    
  20  Prefactor     .10000E-03    17.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .72078        13.601        .44113E-02   -1.5538    
  22  Normalizat    .59053        .21267        .26452E-03   -1.0839    
  23  Prefactor     1.0553        .19749        .19472E-03   -.90907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60868e-08
Minuit parameter uncertainties:
  1  8.78324e-06
  2  0.000224562
  3  51.4499
  4  5.8124
  5  0.539415
  6  9.33095e-05
  7  0.000102536
  8  7.48684
  9  8.15309e-05
  10  3.59654e-05
  11  17.907
  12  2.38801e-05
  13  2.37346
  14  56.27
  15  1.07032e-06
  16  3.43196e-05
  17  1.15661e-05
  18  0.000918182
  19  0.361016
  20  9.0647e-06
  21  6.26331
  22  0.212965
  23  0.197624
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  3.597e-05  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.055e+00  1.976e-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:  5.905e-01  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/352834/likelihoodResults_423878401_424137601_4FGL_J2234.1-2656_daily_bin712.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) = 4639.44578718
delta logL = -0.000463727807073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4639.44532343
delta logL = 1.75032255356e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9648       1.0000          .0000       5.0000    
     3 'Normalizat'    .59053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0554       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=   4639.445     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.896        .90712E-02** at limit **
   2  alpha         1.9748        3.4202        .42412       -.48016E-05
   3  Normalizat    .59053        .16918        .59795E-01    .23320E-04
   4  Prefactor     1.0553        .16383        .39606E-01    .34564E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.97484
  Normalizat = 0.590535
  Prefactor  = 1.05534
 **********
 **   18 **HESSE 
 **********

 FCN=   4639.445     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9748        3.4088        .50000       -.21164    
   3  Normalizat    .59053        .19988        .26452E-03   -1.0839    
   4  Prefactor     1.0553        .19388        .19472E-03   -.90907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35195e-11
Minuit parameter uncertainties:
  1  5.26482e-06
  2  2.45066
  3  0.200127
  4  0.194014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352834': 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) = 4639.44532341
delta logL = 3.96994437324e-08

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  5.265e-06  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.975e+00  2.451e+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.055e+00  1.940e-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:  5.905e-01  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/352834/cmap_HighResolution_423878401_424137601_4FGL_J2234.1-2656_daily_bin712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-05', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2021-09-28 14:32:23.685481', job_id='352834', GAL2='1.06', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1632864743.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.97e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='712' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:32:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 352834: <4FGL_J2234.1-2656_daily_bin712> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin712 338.543 -26.9375 423878401 424137601 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 :                                   550.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            711 sec.

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

