/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 42 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 = 7232
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin400
RA = 338.543, Dec = -26.9375
tmin = 343008001, tmax = 343267201
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='351248', job_status='RUN', time_executed='2021-09-28 14:16:23.297383', time_epoch_executed='1632863783.3' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351248

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351248/ft1_4FGL_J2234.1-2656_daily_bin400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351248/ft2_4FGL_J2234.1-2656_daily_bin400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351248/ft1_4FGL_J2234.1-2656_daily_bin400.fits outfile=/scratch/kocevski/351248/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin400.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=343008001.0 tmax=343267201.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.83
user 3.59
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351248/ft1_filtered_4FGL_J2234.1-2656_daily_bin400.fits" evtable="EVENTS" scfile=/scratch/kocevski/351248/ft2_4FGL_J2234.1-2656_daily_bin400.fits sctable="SC_DATA" outfile=/scratch/kocevski/351248/ltcube_343008001_343267201_4FGL_J2234.1-2656_daily_bin400.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/351248/ft2_4FGL_J2234.1-2656_daily_bin400.fits
.....................!
real 11.62
user 11.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351248/ft1_filtered_4FGL_J2234.1-2656_daily_bin400.fits evtable="EVENTS" scfile=/scratch/kocevski/351248/ft2_4FGL_J2234.1-2656_daily_bin400.fits sctable="SC_DATA" expcube=/scratch/kocevski/351248/ltcube_343008001_343267201_4FGL_J2234.1-2656_daily_bin400.fits outfile=/scratch/kocevski/351248/expmap_343008001_343267201_4FGL_J2234.1-2656_daily_bin400.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/351248/ltcube_343008001_343267201_4FGL_J2234.1-2656_daily_bin400.fits
.....................!
real 190.43
user 185.78
sys 4.33

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/351248/ft1_filtered_4FGL_J2234.1-2656_daily_bin400.fits scfile=/scratch/kocevski/351248/ft2_4FGL_J2234.1-2656_daily_bin400.fits outfile=/scratch/kocevski/351248/cmap_343008001_343267201_4FGL_J2234.1-2656_daily_bin400.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=338.543 yref=-26.9375 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351248/ft1_filtered_4FGL_J2234.1-2656_daily_bin400.fits scfile=/scratch/kocevski/351248/ft2_4FGL_J2234.1-2656_daily_bin400.fits outfile=/scratch/kocevski/351248/cmap_HighResolution_343008001_343267201_4FGL_J2234.1-2656_daily_bin400.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351248/ft1_filtered_4FGL_J2234.1-2656_daily_bin400.fits evtable="EVENTS" scfile=/scratch/kocevski/351248/ft2_4FGL_J2234.1-2656_daily_bin400.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351248/Model_4FGL_J2234.1-2656_daily_bin400.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/351248/ft1_filtered_4FGL_J2234.1-2656_daily_bin400.fits.....................!
real 45.34
user 44.09
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5531       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.873       1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.839       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7586       1.0000         .10000E-03   10000.    
     5 'norm      '    .93238       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .41645       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20333E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.566       1.0000         .10000E-03   10000.    
    10 'norm      '    17.905       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.245       1.0000         .10000E-03   10000.    
    13 'norm      '    4.2636       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4947       1.0000         .10000E-03   10000.    
    16 'norm      '    3.7267       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .79436       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92644       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1111       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=   5372.453     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2549 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5526        7.0615       -.80916E-06   -.10163E-03
   2  Prefactor     10.880        20.050       -.14967E-05   -.34216E-04
   3  Prefactor     35.782        60.385        .53069E-05    .37843E-04
   4  norm          3.7604        4.9191       -.10058E-05   -.32895E-03
   5  norm          .93242        .40801        .97706E-07    .59402E-04
   6  Prefactor     .43409        70.458        .88707E-05   -.15814E-03
   7  Prefactor     .10033E-03    26.003       -.24418E-06** at limit **
   8  Prefactor     .10000E-03    3.1246       -.22741E-06** at limit **
   9  Prefactor     10.557        73.702        .26609E-05    .82653E-05
  10  norm          17.904        17.277        .25061E-06   -.15857E-04
  11  Prefactor     .10000E-03    5.3434       -.53529E-07** at limit **
  12  Prefactor     20.238        15.554        .10765E-05   -.16771E-04
  13  norm          4.2581        2.9610        .17853E-06   -.45526E-04
  14  Prefactor     .10000E-03    111.80        .48194E-05** at limit **
  15  Prefactor     7.4938        9.9906        .36627E-06   -.20191E-04
  16  norm          3.7260        3.4268        .17276E-06    .25700E-04
  17  Prefactor     .10000E-03    9.0843       -.13103E-06** at limit **
  18  Prefactor     .10000E-03    8.5047        .32034E-06** at limit **
  19  norm          .79416        .60370        .31023E-07   -.37839E-04
  20  Prefactor     .10000E-03    75.180       -.31983E-05** at limit **
  21  Prefactor     .10000E-03    6.6805       -.13786E-06** at limit **
  22  Normalizat    .92597        .23126       -.36918E-05   -.31751E-03
  23  Prefactor     1.1114        .20360        .11163E-05   -.55369E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.55259
  Prefactor  = 10.8798
  Prefactor  = 35.7823
  norm       = 3.76043
  norm       = 0.932417
  Prefactor  = 0.434094
  Prefactor  = 0.000100331
  Prefactor  = 0.0001
  Prefactor  = 10.5568
  norm       = 17.9044
  Prefactor  = 0.0001
  Prefactor  = 20.2379
  norm       = 4.25805
  Prefactor  = 0.000100001
  Prefactor  = 7.49382
  norm       = 3.72602
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.794158
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.925972
  Prefactor  = 1.11144
 **********
 **   18 **HESSE 
 **********

 FCN=   5372.453     FROM HESSE     STATUS=OK           374 CALLS     2923 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5526        7.0497        .21442E-03   -1.5331    
   2  Prefactor     10.880        20.052        .12150E-03   -1.5048    
   3  Prefactor     35.782        60.892        .66943E-04   -1.4511    
   4  norm          3.7604        4.9469        .16521E-03   -1.5320    
   5  norm          .93242        .40741        .28640E-04   -1.5515    
   6  Prefactor     .43409        77.338        .43741E-02   -1.5576    
   7  Prefactor     .10033E-03    86.332        .58724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.1514        .12640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.557        74.119        .12326E-03   -1.5058    
  10  norm          17.904        17.274        .94652E-04   -1.4861    
  11  Prefactor     .10000E-03    5.3465        .16548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.238        15.525        .89018E-04   -1.4808    
  13  norm          4.2581        2.9484        .10032E-03   -1.5295    
  14  Prefactor     .10000E-03    112.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.4938        9.9956        .14649E-03   -1.5160    
  16  norm          3.7260        3.4208        .12414E-03   -1.5322    
  17  Prefactor     .10000E-03    9.1139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.6502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .79416        .58639        .46835E-04   -1.5530    
  20  Prefactor     .10000E-03    75.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.7005        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .92597        .25941        .27215E-03   -.95553    
  23  Prefactor     1.1114        .23248        .22979E-03   -.89102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39862e-09
Minuit parameter uncertainties:
  1  7.05134
  2  20.0647
  3  60.9976
  4  4.94742
  5  0.407413
  6  11.6021
  7  0.0107087
  8  3.18002e-06
  9  56.0438
  10  17.2786
  11  1.16902e-06
  12  15.5284
  13  2.94853
  14  0.000607358
  15  9.99778
  16  3.42098
  17  8.32312e-06
  18  3.3359e-05
  19  0.586397
  20  0.000364849
  21  3.78019e-06
  22  0.259766
  23  0.232692
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.260e-01  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.75
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 1.85e-08 +/- 1.79e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.24e-05

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

Saving results to:
/scratch/kocevski/351248/likelihoodResults_343008001_343267201_4FGL_J2234.1-2656_daily_bin400.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) = 5372.32110784
delta logL = 0.132352192849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5372.32058845
delta logL = 0.132871581635

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.406       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5646       1.0000          .0000       5.0000    
     3 'Normalizat'    .93223       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1095       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=   5372.321     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      251 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.396        18.469        .96000E-04    .20132E-05
   2  alpha         1.5644        .73928        .17625E-01   -.46433E-04
   3  Normalizat    .93240        .24728        .27135E-03    .47888E-04
   4  Prefactor     1.1092        .22771        .23003E-03   -.28419E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.3963
  alpha      = 1.56438
  Normalizat = 0.932402
  Prefactor  = 1.10922
 **********
 **   18 **HESSE 
 **********

 FCN=   5372.321     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.396        18.642        .38400E-05   -1.4874    
   2  alpha         1.5644        .74624        .35250E-02   -.38359    
   3  Normalizat    .93240        .24760        .10854E-04   -.95331    
   4  Prefactor     1.1092        .22801        .92010E-05   -.89173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6356e-11
Minuit parameter uncertainties:
  1  18.6481
  2  0.759769
  3  0.247903
  4  0.228207
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351248': 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) = 5372.32058689
delta logL = 0.132873137549

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.740e+01  1.865e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.564e+00  7.598e-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:  1.109e+00  2.282e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.324e-01  2.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.02
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.56 +/- 0.76
Photon Flux (Free Index): 1.17e-08 +/- 1.65e-08
Energy Flux (Free Index): 2.08e-05 +/- 3.04e-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/351248/cmap_HighResolution_343008001_343267201_4FGL_J2234.1-2656_daily_bin400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.89e-05', comment='SUCCESS', photon_flux='1.85e-08', energy_flux2='2.08e-05', photon_flux_error='1.79e-08', dlogl='1.33e-01', energy_flux='1.29e-05', photon_flux2='1.17e-08', job_status='DONE', time_completed='2021-09-28 14:26:01.978345', photon_index_error2='0.76', photon_index2='1.56', ts='3.75', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='7.02e-08', energy_flux_error2='3.04e-05', EG='0.93', time_epoch_completed='1632864361.98', return_code='0', job_id='351248', GAL2='1.11', EG2='0.93', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='1.65e-08', ts2='4.02', photon_index='1.95' WHERE bin_id='400' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:26:01 PDT 2021


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

Job <4FGL_J2234.1-2656_daily_bin400> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep 28 14:15:31 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:15:33 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:15:33 2021
Terminated at Tue Sep 28 14:26:02 2021
Results reported at Tue Sep 28 14:26:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin400 338.543 -26.9375 343008001 343267201 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 :                                   578.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             292.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            631 sec.

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

