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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1390
RA = 338.543, Dec = -26.9375
tmin = 599616001, tmax = 599875201
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='354771', job_status='RUN', time_executed='2021-09-28 14:28:30.593768', time_epoch_executed='1632864510.59' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1390'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354771

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354771/ft1_4FGL_J2234.1-2656_daily_bin1390.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354771/ft2_4FGL_J2234.1-2656_daily_bin1390.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354771/ft1_4FGL_J2234.1-2656_daily_bin1390.fits outfile=/scratch/kocevski/354771/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1390.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=599616001.0 tmax=599875201.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 2.52
user 2.33
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354771/ft1_filtered_4FGL_J2234.1-2656_daily_bin1390.fits" evtable="EVENTS" scfile=/scratch/kocevski/354771/ft2_4FGL_J2234.1-2656_daily_bin1390.fits sctable="SC_DATA" outfile=/scratch/kocevski/354771/ltcube_599616001_599875201_4FGL_J2234.1-2656_daily_bin1390.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/354771/ft2_4FGL_J2234.1-2656_daily_bin1390.fits
.....................!
real 12.57
user 12.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354771/ft1_filtered_4FGL_J2234.1-2656_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/354771/ft2_4FGL_J2234.1-2656_daily_bin1390.fits sctable="SC_DATA" expcube=/scratch/kocevski/354771/ltcube_599616001_599875201_4FGL_J2234.1-2656_daily_bin1390.fits outfile=/scratch/kocevski/354771/expmap_599616001_599875201_4FGL_J2234.1-2656_daily_bin1390.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/354771/ltcube_599616001_599875201_4FGL_J2234.1-2656_daily_bin1390.fits
.....................!
real 190.52
user 186.09
sys 4.06

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/354771/ft1_filtered_4FGL_J2234.1-2656_daily_bin1390.fits scfile=/scratch/kocevski/354771/ft2_4FGL_J2234.1-2656_daily_bin1390.fits outfile=/scratch/kocevski/354771/cmap_599616001_599875201_4FGL_J2234.1-2656_daily_bin1390.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354771/ft1_filtered_4FGL_J2234.1-2656_daily_bin1390.fits scfile=/scratch/kocevski/354771/ft2_4FGL_J2234.1-2656_daily_bin1390.fits outfile=/scratch/kocevski/354771/cmap_HighResolution_599616001_599875201_4FGL_J2234.1-2656_daily_bin1390.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/354771/ft1_filtered_4FGL_J2234.1-2656_daily_bin1390.fits evtable="EVENTS" scfile=/scratch/kocevski/354771/ft2_4FGL_J2234.1-2656_daily_bin1390.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354771/Model_4FGL_J2234.1-2656_daily_bin1390.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/354771/ft1_filtered_4FGL_J2234.1-2656_daily_bin1390.fits.....................!
real 43.77
user 42.44
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .32119E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.818       1.0000         .10000E-03   10000.    
     4 'norm      '    7.0664       1.0000         .10000E-03   10000.    
     5 'norm      '    .44704       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.535       1.0000         .10000E-03   10000.    
    10 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.952       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .38287E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .11424E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    68.350       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.965       1.0000         .10000E-03   10000.    
    16 'norm      '    2.3964       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.4108       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .71100E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1694       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87075       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=   5219.628     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2979 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.864       -.53885E-07** at limit **
   2  Prefactor     .10010E-03    38.760        .11810E-05** at limit **
   3  Prefactor     18.914        91.582       -.27900E-05   -.63389E-04
   4  norm          7.0664        7.2697       -.68817E-06   -.21487E-03
   5  norm          .44703        .32619        .43761E-07   -.54860E-03
   6  Prefactor     .10000E-03    3.3435        .59681E-07** at limit **
   7  Prefactor     .10000E-03    5.8409        .86068E-07** at limit **
   8  Prefactor     .10000E-03    7.5536        .30337E-06** at limit **
   9  Prefactor     11.523        44.173       -.38135E-06    .41481E-05
  10  norm          .10000E-03    9.6871        .81731E-08** at limit **
  11  Prefactor     11.930        25.257        .69875E-07    .13244E-05
  12  Prefactor     .10001E-03    293.30        .17527E-04** at limit **
  13  norm          .10000E-03    5.4622       -.18145E-05** at limit **
  14  Prefactor     68.502        55.066       -.23161E-05   -.10211E-03
  15  Prefactor     20.962        14.323       -.19893E-06    .48856E-04
  16  norm          2.3964        2.4128        .57204E-07   -.94664E-04
  17  Prefactor     .10000E-03    5.4083        .90663E-07** at limit **
  18  Prefactor     .10000E-03    6.9623       -.30873E-07** at limit **
  19  norm          2.4108        .77966       -.34202E-07    .13145E-04
  20  Prefactor     .10000E-03    327.85        .86823E-07** at limit **
  21  Prefactor     .10000E-03    7.1115        .58102E-06** at limit **
  22  Normalizat    1.1693        .26087       -.29661E-05   -.91184E-04
  23  Prefactor     .87083        .22104        .37503E-05   -.10389E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001001
  Prefactor  = 18.9142
  norm       = 7.06645
  norm       = 0.447034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5231
  norm       = 0.0001
  Prefactor  = 11.93
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 68.5021
  Prefactor  = 20.962
  norm       = 2.39643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.41084
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Normalizat = 1.1693
  Prefactor  = 0.870834
 **********
 **   18 **HESSE 
 **********

 FCN=   5219.628     FROM HESSE     STATUS=OK           380 CALLS     3359 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10010E-03    171.90        .69312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.914        102.60        .92329E-04   -1.4838    
   4  norm          7.0664        7.4521        .75454E-03   -1.5176    
   5  norm          .44703        .32712        .33082E-04   -1.5574    
   6  Prefactor     .10000E-03    3.3474        .12901E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8426        .17052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.6134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.523        44.174        .11796E-03   -1.5029    
  10  norm          .10000E-03    9.6942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.930        25.294        .11587E-03   -1.5017    
  12  Prefactor     .10001E-03    31.192        .72404E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.4619        .18905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     68.502        60.300        .24275E-03   -1.4051    
  15  Prefactor     20.962        14.336        .87477E-04   -1.4792    
  16  norm          2.3964        2.4208        .10911E-03   -1.5398    
  17  Prefactor     .10000E-03    5.4136        .16407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.0371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.4108        .77810        .34537E-04   -1.5397    
  20  Prefactor     .10000E-03    333.04        .20971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.1361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1693        .26800        .24749E-03   -.87557    
  23  Prefactor     .87083        .22250        .25070E-03   -.97168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.26687e-10
Minuit parameter uncertainties:
  1  2.22621e-05
  2  0.00830484
  3  88.3399
  4  7.45305
  5  0.327125
  6  1.23489e-05
  7  1.53335e-05
  8  6.79216e-05
  9  44.3002
  10  5.38845e-06
  11  25.3169
  12  0.000966779
  13  6.93994e-06
  14  60.3543
  15  14.338
  16  2.42089
  17  3.53352e-06
  18  2.93783e-06
  19  0.778105
  20  0.00257509
  21  4.66738e-05
  22  0.268315
  23  0.22273
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  5.388e-06  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:  8.708e-01  2.227e-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.169e+00  2.683e-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.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/354771/likelihoodResults_599616001_599875201_4FGL_J2234.1-2656_daily_bin1390.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) = 5219.62887626
delta logL = -0.000489834581458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5219.62838684
delta logL = -4.08471350966e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10501E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9706       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1695       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87070       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=   5219.628     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      199 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.478        .90712E-02** at limit **
   2  alpha         1.9863        3.4249        .42383       -.78715E-05
   3  Normalizat    1.1693        .20207        .55968E-01    .83579E-04
   4  Prefactor     .87083        .18036        .44631E-01    .72186E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  alpha      = 1.98635
  Normalizat = 1.1693
  Prefactor  = 0.870835
 **********
 **   18 **HESSE 
 **********

 FCN=   5219.628     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.8907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9863        3.4122        .50000       -.20694    
   3  Normalizat    1.1693        .24293        .24749E-03   -.87557    
   4  Prefactor     .87083        .21688        .25070E-03   -.97168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77715e-10
Minuit parameter uncertainties:
  1  0.000409756
  2  2.45166
  3  0.243161
  4  0.217097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354771': 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) = 5219.62838633
delta logL = 1.01628756966e-07

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  4.098e-04  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.986e+00  2.452e+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:  8.708e-01  2.171e-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.169e+00  2.432e-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/354771/cmap_HighResolution_599616001_599875201_4FGL_J2234.1-2656_daily_bin1390.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-05', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2021-09-28 14:38:22.856997', job_id='354771', GAL2='0.87', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632865102.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1390' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:38:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 354771: <4FGL_J2234.1-2656_daily_bin1390> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1390 338.543 -26.9375 599616001 599875201 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 :                                   591.22 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             319.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

