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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin652
RA = 338.543, Dec = -26.9375
tmin = 408326401, tmax = 408585601
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='352742', job_status='RUN', time_executed='2021-09-28 14:24:11.831386', time_epoch_executed='1632864251.83' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='652'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352742

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352742/ft1_4FGL_J2234.1-2656_daily_bin652.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352742/ft2_4FGL_J2234.1-2656_daily_bin652.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352742/ft1_4FGL_J2234.1-2656_daily_bin652.fits outfile=/scratch/kocevski/352742/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin652.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=408326401.0 tmax=408585601.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.00
user 4.74
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352742/ft2_4FGL_J2234.1-2656_daily_bin652.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/352742/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin652.fits evtable="EVENTS" outfile="/scratch/kocevski/352742/ft1_filtered_4FGL_J2234.1-2656_daily_bin652.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.50
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352742/ft1_filtered_4FGL_J2234.1-2656_daily_bin652.fits" evtable="EVENTS" scfile=/scratch/kocevski/352742/ft2_4FGL_J2234.1-2656_daily_bin652.fits sctable="SC_DATA" outfile=/scratch/kocevski/352742/ltcube_408326401_408585601_4FGL_J2234.1-2656_daily_bin652.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/352742/ft2_4FGL_J2234.1-2656_daily_bin652.fits
.....................!
real 11.90
user 11.59
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352742/ft1_filtered_4FGL_J2234.1-2656_daily_bin652.fits evtable="EVENTS" scfile=/scratch/kocevski/352742/ft2_4FGL_J2234.1-2656_daily_bin652.fits sctable="SC_DATA" expcube=/scratch/kocevski/352742/ltcube_408326401_408585601_4FGL_J2234.1-2656_daily_bin652.fits outfile=/scratch/kocevski/352742/expmap_408326401_408585601_4FGL_J2234.1-2656_daily_bin652.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/352742/ltcube_408326401_408585601_4FGL_J2234.1-2656_daily_bin652.fits
.....................!
real 190.73
user 185.93
sys 4.49

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/352742/ft1_filtered_4FGL_J2234.1-2656_daily_bin652.fits scfile=/scratch/kocevski/352742/ft2_4FGL_J2234.1-2656_daily_bin652.fits outfile=/scratch/kocevski/352742/cmap_408326401_408585601_4FGL_J2234.1-2656_daily_bin652.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352742/ft1_filtered_4FGL_J2234.1-2656_daily_bin652.fits scfile=/scratch/kocevski/352742/ft2_4FGL_J2234.1-2656_daily_bin652.fits outfile=/scratch/kocevski/352742/cmap_HighResolution_408326401_408585601_4FGL_J2234.1-2656_daily_bin652.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/352742/ft1_filtered_4FGL_J2234.1-2656_daily_bin652.fits evtable="EVENTS" scfile=/scratch/kocevski/352742/ft2_4FGL_J2234.1-2656_daily_bin652.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352742/Model_4FGL_J2234.1-2656_daily_bin652.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/352742/ft1_filtered_4FGL_J2234.1-2656_daily_bin652.fits.....................!
real 39.09
user 37.86
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0880       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10940E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.9534       1.0000         .10000E-03   10000.    
     5 'norm      '    .74523       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.743       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13260E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    23.011       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.261       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1634       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.543       1.0000         .10000E-03   10000.    
    16 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10504E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10252E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    34.515       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2171       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71597       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=   3943.090     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2574 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0724        18.577       -.24669E-05   -.12056E-03
   2  Prefactor     .10000E-03    8.2586        .44030E-06** at limit **
   3  Prefactor     .10000E-03    58.684        .50551E-04** at limit **
   4  norm          5.9531        5.0658       -.10849E-05   -.36549E-03
   5  norm          .74517        .37479       -.46948E-07   -.63281E-03
   6  Prefactor     .10000E-03    3.3108       -.65887E-07** at limit **
   7  Prefactor     37.744        24.320       -.17696E-05    .33814E-04
   8  Prefactor     .10001E-03    12.454        .67655E-05** at limit **
   9  Prefactor     .10000E-03    103.00       -.13612E-04** at limit **
  10  norm          23.011        22.685       -.10593E-05    .60531E-04
  11  Prefactor     13.194        36.761       -.72180E-04   -.20457E-04
  12  Prefactor     .10000E-03    8.7133       -.11150E-05** at limit **
  13  norm          1.1624        2.6362       -.48690E-06   -.31355E-03
  14  Prefactor     .10000E-03    41.828       -.34084E-04** at limit **
  15  Prefactor     26.557        21.986        .53860E-05    .11149E-03
  16  norm          .10000E-03    3.0376       -.81575E-07** at limit **
  17  Prefactor     .10000E-03    14.248       -.87211E-05** at limit **
  18  Prefactor     .10000E-03    12.875        .61860E-06** at limit **
  19  norm          .10000E-03    .42401        .65570E-07** at limit **
  20  Prefactor     .10000E-03    20.922        .82295E-05** at limit **
  21  Prefactor     34.532        23.096       -.27504E-05    .18666E-03
  22  Normalizat    1.2168        .25786        .10470E-04   -.38722E-03
  23  Prefactor     .71627        .20402       -.22667E-05    .22893E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.07241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.95306
  norm       = 0.745169
  Prefactor  = 0.0001
  Prefactor  = 37.7443
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 23.0113
  Prefactor  = 13.1939
  Prefactor  = 0.0001
  norm       = 1.16237
  Prefactor  = 0.0001
  Prefactor  = 26.5573
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.5322
  Normalizat = 1.21675
  Prefactor  = 0.716275
 **********
 **   18 **HESSE 
 **********

 FCN=   3943.090     FROM HESSE     STATUS=OK           364 CALLS     2938 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0724        18.566        .17825E-03   -1.5257    
   2  Prefactor     .10000E-03    8.2689        .17623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    58.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.9531        5.0615        .11941E-03   -1.5220    
   5  norm          .74517        .37426        .25413E-04   -1.5535    
   6  Prefactor     .10000E-03    3.3146        .11158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.744        24.399        .65238E-04   -1.4478    
   8  Prefactor     .10001E-03    12.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    103.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          23.011        22.668        .83503E-04   -1.4748    
  11  Prefactor     13.194        36.976        .11000E-03   -1.4981    
  12  Prefactor     .10000E-03    8.7276        .18103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1624        2.5690        .14698E-03   -1.5492    
  14  Prefactor     .10000E-03    41.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.557        22.236        .77757E-04   -1.4677    
  16  norm          .10000E-03    3.0485        .10680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .48463        .76323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     34.532        22.218        .68211E-04   -1.4532    
  22  Normalizat    1.2168        .31767        .24506E-03   -.86087    
  23  Prefactor     .71627        .24941        .25968E-03   -1.0289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41016e-09
Minuit parameter uncertainties:
  1  18.5876
  2  2.49251e-05
  3  0.000289063
  4  5.06187
  5  0.374264
  6  1.29474e-05
  7  24.4052
  8  0.000600865
  9  0.000269864
  10  22.6769
  11  37.0407
  12  3.67498e-05
  13  2.56923
  14  5.10878e-05
  15  22.2427
  16  4.07603e-06
  17  1.89379e-05
  18  1.0353e-05
  19  4.30199e-06
  20  4.32471e-05
  21  22.2231
  22  0.318177
  23  0.249802
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.301e+01  2.268e+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:  7.163e-01  2.498e-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.217e+00  3.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.78
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.38e-08 +/- 2.34e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 1.63e-05

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

Saving results to:
/scratch/kocevski/352742/likelihoodResults_408326401_408585601_4FGL_J2234.1-2656_daily_bin652.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) = 3943.07285921
delta logL = 0.0173248162037

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3943.07185154
delta logL = 0.01833249218

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.011       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1677       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2063       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72106       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=   3943.072     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      194 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.830        22.914        .20875E-02    .18435E-05
   2  alpha         2.1696        1.1167        .41621E-01    .26384E-03
   3  Normalizat    1.2064        .24402        .55617E-01    .44775E-05
   4  Prefactor     .72107        .20151        .42681E-01    .12291E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.8296
  alpha      = 2.16962
  Normalizat = 1.20636
  Prefactor  = 0.721072
 **********
 **   18 **HESSE 
 **********

 FCN=   3943.072     FROM HESSE     STATUS=OK            31 CALLS      225 TOTAL
                     EDM=   .65E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.830        22.119        .83502E-04   -1.4752    
   2  alpha         2.1696        1.0898        .83241E-02   -.13254    
   3  Normalizat    1.2064        .29626        .24594E-03   -.86406    
   4  Prefactor     .72107        .24439        .25886E-03   -1.0271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5212e-14
Minuit parameter uncertainties:
  1  22.1269
  2  1.12837
  3  0.296677
  4  0.244757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352742': 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) = 3943.07181774
delta logL = 0.0183662861045

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  2.283e+01  2.213e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.170e+00  1.128e+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:  7.211e-01  2.448e-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.206e+00  2.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.82
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.17 +/- 1.13
Photon Flux (Free Index): 3.21e-08 +/- 5.63e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.50e-05

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/352742/cmap_HighResolution_408326401_408585601_4FGL_J2234.1-2656_daily_bin652.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-05', comment='SUCCESS', photon_flux='2.38e-08', energy_flux2='1.52e-05', photon_flux_error='2.34e-08', dlogl='1.84e-02', energy_flux='1.66e-05', photon_flux2='3.21e-08', job_status='DONE', time_completed='2021-09-28 14:32:41.110260', photon_index_error2='1.13', photon_index2='2.17', ts='2.78', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='9.07e-08', energy_flux_error2='1.50e-05', EG='1.22', time_epoch_completed='1632864761.11', return_code='0', job_id='352742', GAL2='0.72', EG2='1.21', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='5.63e-08', ts2='2.82', photon_index='1.95' WHERE bin_id='652' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:32:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 352742: <4FGL_J2234.1-2656_daily_bin652> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin652 338.543 -26.9375 408326401 408585601 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 :                                   509.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

