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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1009
RA = 338.543, Dec = -26.9375
tmin = 500860801, tmax = 501120001
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='353288', job_status='RUN', time_executed='2021-09-28 14:23:34.158806', time_epoch_executed='1632864214.16' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1009'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353288

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353288/ft1_4FGL_J2234.1-2656_daily_bin1009.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353288/ft2_4FGL_J2234.1-2656_daily_bin1009.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353288/ft1_4FGL_J2234.1-2656_daily_bin1009.fits outfile=/scratch/kocevski/353288/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1009.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=500860801.0 tmax=501120001.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 4.62
user 4.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1009.fits" evtable="EVENTS" scfile=/scratch/kocevski/353288/ft2_4FGL_J2234.1-2656_daily_bin1009.fits sctable="SC_DATA" outfile=/scratch/kocevski/353288/ltcube_500860801_501120001_4FGL_J2234.1-2656_daily_bin1009.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/353288/ft2_4FGL_J2234.1-2656_daily_bin1009.fits
.....................!
real 12.19
user 11.85
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/353288/ft2_4FGL_J2234.1-2656_daily_bin1009.fits sctable="SC_DATA" expcube=/scratch/kocevski/353288/ltcube_500860801_501120001_4FGL_J2234.1-2656_daily_bin1009.fits outfile=/scratch/kocevski/353288/expmap_500860801_501120001_4FGL_J2234.1-2656_daily_bin1009.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/353288/ltcube_500860801_501120001_4FGL_J2234.1-2656_daily_bin1009.fits
.....................!
real 190.78
user 185.92
sys 4.54

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

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

This is gtbin version HEAD
real 0.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1009.fits scfile=/scratch/kocevski/353288/ft2_4FGL_J2234.1-2656_daily_bin1009.fits outfile=/scratch/kocevski/353288/cmap_HighResolution_500860801_501120001_4FGL_J2234.1-2656_daily_bin1009.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.53
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/353288/ft2_4FGL_J2234.1-2656_daily_bin1009.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353288/Model_4FGL_J2234.1-2656_daily_bin1009.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/353288/ft1_filtered_4FGL_J2234.1-2656_daily_bin1009.fits.....................!
real 38.77
user 37.50
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5208       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10728E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.526       1.0000         .10000E-03   10000.    
     4 'norm      '    1.1973       1.0000         .10000E-03   10000.    
     5 'norm      '    .19819       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.484       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1657       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    33.537       1.0000         .10000E-03   10000.    
    11 'Prefactor '    96.415       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.742       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.2485       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5783       1.0000         .10000E-03   10000.    
    19 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90127       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=   3992.449     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2592 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5242        14.159        .26457E-06    .91006E-04
   2  Prefactor     .10000E-03    14.797       -.12501E-06** at limit **
   3  Prefactor     35.386        84.066        .58127E-06    .14869E-04
   4  norm          1.2084        9.3855        .63297E-06   -.32084E-04
   5  norm          .19810        .20166       -.33440E-07   -.11424E-03
   6  Prefactor     .10000E-03    13.764        .42601E-06** at limit **
   7  Prefactor     41.485        30.312       -.12339E-06   -.18370E-04
   8  Prefactor     2.1596        8.5691       -.21649E-06    .24144E-04
   9  Prefactor     .10000E-03    62.723        .30400E-07** at limit **
  10  norm          33.539        29.221       -.95053E-07   -.22904E-04
  11  Prefactor     96.412        40.863       -.15391E-06   -.37331E-05
  12  Prefactor     .10000E-03    26.061        .27654E-06** at limit **
  13  norm          .10000E-03    2.3566       -.31257E-07** at limit **
  14  Prefactor     12.633        105.26        .10610E-05   -.70379E-05
  15  Prefactor     .10000E-03    23.207        .44331E-06** at limit **
  16  norm          6.2521        12.737       -.44037E-06   -.24912E-03
  17  Prefactor     .10000E-03    44.560        .20610E-06** at limit **
  18  Prefactor     3.5793        28.072       -.13619E-05   -.15440E-03
  19  norm          .10000E-03    .62007        .23579E-06** at limit **
  20  Prefactor     .10000E-03    23.024       -.10859E-06** at limit **
  21  Prefactor     .10000E-03    5.8375       -.14786E-07** at limit **
  22  Normalizat    1.2002        .32878        .39774E-05   -.15526E-03
  23  Prefactor     .90077        .27215       -.48095E-05   -.24537E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.52415
  Prefactor  = 0.0001
  Prefactor  = 35.3861
  norm       = 1.2084
  norm       = 0.1981
  Prefactor  = 0.0001
  Prefactor  = 41.4848
  Prefactor  = 2.15961
  Prefactor  = 0.0001
  norm       = 33.5394
  Prefactor  = 96.4124
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.6332
  Prefactor  = 0.0001
  norm       = 6.25208
  Prefactor  = 0.0001
  Prefactor  = 3.57929
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2002
  Prefactor  = 0.900773
 **********
 **   18 **HESSE 
 **********

 FCN=   3992.449     FROM HESSE     STATUS=OK           370 CALLS     2962 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5242        14.027        .10772E-02   -1.5332    
   2  Prefactor     .10000E-03    14.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.386        81.990        .67237E-04   -1.4518    
   4  norm          1.2084        8.8100        .30863E-03   -1.5488    
   5  norm          .19810        .20516        .27194E-03   -1.5619    
   6  Prefactor     .10000E-03    13.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     41.485        30.326        .62238E-04   -1.4419    
   8  Prefactor     2.1596        8.5566        .27986E-03   -1.5414    
   9  Prefactor     .10000E-03    62.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          33.539        29.206        .69196E-04   -1.4549    
  11  Prefactor     96.412        40.832        .40935E-04   -1.3741    
  12  Prefactor     .10000E-03    26.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.3944        .94495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.633        104.46        .11221E-03   -1.4997    
  15  Prefactor     .10000E-03    23.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.2521        12.058        .16059E-03   -1.5208    
  17  Prefactor     .10000E-03    45.403        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5793        23.741        .21364E-03   -1.5330    
  19  norm          .10000E-03    .98748        .90692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.8405        .14898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2002        .33944        .25975E-03   -.86597    
  23  Prefactor     .90077        .27205        .25269E-03   -.96114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28125e-10
Minuit parameter uncertainties:
  1  14.0397
  2  8.70822e-05
  3  82.2527
  4  6.52672
  5  0.205161
  6  7.39672e-07
  7  30.3372
  8  8.56144
  9  5.0547e-05
  10  29.2185
  11  40.8437
  12  0.00014467
  13  2.08042e-05
  14  72.8273
  15  4.44213e-05
  16  12.0627
  17  0.000256015
  18  18.447
  19  2.69461e-05
  20  1.13769e-06
  21  5.56419e-06
  22  0.340062
  23  0.272463
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.008e-01  2.725e-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.200e+00  3.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.83
Ra Dec: 338.543 -26.938
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 3.47e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 2.10e-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) = 3992.44865236
delta logL = 9.44602061281e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3992.44865232
delta logL = 9.48980687099e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.539       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9518       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2002       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90080       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=   3992.449     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      224 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.548        29.028        .34596E-03    .66215E-05
   2  alpha         1.9517        .65855        .13675E-01    .34999E-04
   3  Normalizat    1.2003        .30466        .25972E-03    .12497E-04
   4  Prefactor     .90074        .26162        .25270E-03   -.10100E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 33.5475
  alpha      = 1.95173
  Normalizat = 1.20031
  Prefactor  = 0.90074
 **********
 **   18 **HESSE 
 **********

 FCN=   3992.449     FROM HESSE     STATUS=OK            25 CALLS      249 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.548        28.971        .13839E-04   -1.4549    
   2  alpha         1.9517        .65720        .27349E-02   -.22110    
   3  Normalizat    1.2003        .30501        .10389E-04   -.86593    
   4  Prefactor     .90074        .26194        .10108E-04   -.96115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43073e-12
Minuit parameter uncertainties:
  1  28.9833
  2  0.665427
  3  0.305464
  4  0.262312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353288': 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) = 3992.44865226
delta logL = 9.55396671998e-06

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.355e+01  2.898e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.952e+00  6.654e-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:  9.007e-01  2.623e-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.200e+00  3.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.83
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 1.95 +/- 0.67
Photon Flux (Free Index): 3.45e-08 +/- 4.13e-08
Energy Flux (Free Index): 2.42e-05 +/- 2.44e-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/353288/cmap_HighResolution_500860801_501120001_4FGL_J2234.1-2656_daily_bin1009.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.47e-08', energy_flux2='2.42e-05', photon_flux_error='3.02e-08', dlogl='9.55e-06', energy_flux='2.41e-05', photon_flux2='3.45e-08', job_status='DONE', time_completed='2021-09-28 14:31:35.544945', photon_index_error2='0.67', photon_index2='1.95', ts='5.83', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='2.44e-05', EG='1.20', time_epoch_completed='1632864695.55', return_code='0', job_id='353288', GAL2='0.90', EG2='1.20', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='4.13e-08', ts2='5.83', photon_index='1.95' WHERE bin_id='1009' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:31:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 353288: <4FGL_J2234.1-2656_daily_bin1009> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1009> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:21:15 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:21:16 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:21:16 2021
Terminated at Tue Sep 28 14:31:36 2021
Results reported at Tue Sep 28 14:31:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1009 338.543 -26.9375 500860801 501120001 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 :                                   480.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            621 sec.

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

