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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin548
RA = 338.543, Dec = -26.9375
tmin = 381369601, tmax = 381628801
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='351481', job_status='RUN', time_executed='2021-09-28 14:19:37.938895', time_epoch_executed='1632863977.94' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351481

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351481/ft1_4FGL_J2234.1-2656_daily_bin548.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351481/ft2_4FGL_J2234.1-2656_daily_bin548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351481/ft1_4FGL_J2234.1-2656_daily_bin548.fits outfile=/scratch/kocevski/351481/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin548.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=381369601.0 tmax=381628801.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.57
user 3.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/351481/ft2_4FGL_J2234.1-2656_daily_bin548.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/351481/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin548.fits evtable="EVENTS" outfile="/scratch/kocevski/351481/ft1_filtered_4FGL_J2234.1-2656_daily_bin548.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351481/ft1_filtered_4FGL_J2234.1-2656_daily_bin548.fits" evtable="EVENTS" scfile=/scratch/kocevski/351481/ft2_4FGL_J2234.1-2656_daily_bin548.fits sctable="SC_DATA" outfile=/scratch/kocevski/351481/ltcube_381369601_381628801_4FGL_J2234.1-2656_daily_bin548.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/351481/ft2_4FGL_J2234.1-2656_daily_bin548.fits
.....................!
real 11.96
user 11.62
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351481/ft1_filtered_4FGL_J2234.1-2656_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/351481/ft2_4FGL_J2234.1-2656_daily_bin548.fits sctable="SC_DATA" expcube=/scratch/kocevski/351481/ltcube_381369601_381628801_4FGL_J2234.1-2656_daily_bin548.fits outfile=/scratch/kocevski/351481/expmap_381369601_381628801_4FGL_J2234.1-2656_daily_bin548.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/351481/ltcube_381369601_381628801_4FGL_J2234.1-2656_daily_bin548.fits
.....................!
real 190.69
user 185.69
sys 4.62

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

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

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351481/ft1_filtered_4FGL_J2234.1-2656_daily_bin548.fits scfile=/scratch/kocevski/351481/ft2_4FGL_J2234.1-2656_daily_bin548.fits outfile=/scratch/kocevski/351481/cmap_HighResolution_381369601_381628801_4FGL_J2234.1-2656_daily_bin548.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351481/ft1_filtered_4FGL_J2234.1-2656_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/351481/ft2_4FGL_J2234.1-2656_daily_bin548.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351481/Model_4FGL_J2234.1-2656_daily_bin548.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/351481/ft1_filtered_4FGL_J2234.1-2656_daily_bin548.fits.....................!
real 42.89
user 41.55
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.492       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10707E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.302       1.0000         .10000E-03   10000.    
     4 'norm      '    42.319       1.0000         .10000E-03   10000.    
     5 'norm      '    1.8327       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1988       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.316       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0180       1.0000         .10000E-03   10000.    
    13 'norm      '    .12066E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    148.97       1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.386       1.0000         .10000E-03   10000.    
    16 'norm      '    .10234E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.2557       1.0000         .10000E-03   10000.    
    19 'norm      '    .11956E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    43.105       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1141       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74815       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=   4654.047     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2633 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.483        26.573       -.17559E-05   -.46235E-04
   2  Prefactor     .10000E-03    35.023        .91834E-06** at limit **
   3  Prefactor     46.311        78.965        .15355E-05    .34016E-04
   4  norm          42.320        11.191       -.21737E-06    .24933E-04
   5  norm          1.8327        .60436       -.19175E-07   -.33762E-04
   6  Prefactor     2.1983        5.8551       -.77704E-07   -.78873E-04
   7  Prefactor     13.316        15.431        .17424E-06    .58347E-05
   8  Prefactor     .10000E-03    10.333       -.61117E-08** at limit **
   9  Prefactor     .10000E-03    14.091        .45413E-07** at limit **
  10  norm          .10000E-03    20.123       -.92781E-06** at limit **
  11  Prefactor     .10000E-03    51.903        .93823E-06** at limit **
  12  Prefactor     1.0267        21.145        .53997E-05   -.60669E-03
  13  norm          .10000E-03    3.4850       -.59127E-05** at limit **
  14  Prefactor     148.88        81.684       -.16261E-05   -.22789E-03
  15  Prefactor     26.388        16.644       -.46760E-06    .11702E-03
  16  norm          .10000E-03    6.7704       -.66472E-06** at limit **
  17  Prefactor     .10000E-03    9.1332       -.39366E-07** at limit **
  18  Prefactor     6.2735        17.565        .35151E-06    .36228E-03
  19  norm          .11826E-01    .63062       -.40064E-06    .87387E-03
  20  Prefactor     .10000E-03    32.658       -.71576E-06** at limit **
  21  Prefactor     43.117        24.285        .15798E-06    .55067E-03
  22  Normalizat    1.1139        .24409        .45126E-05    .19993E-03
  23  Prefactor     .74834        .19601       -.85977E-06    .36006E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4833
  Prefactor  = 0.0001
  Prefactor  = 46.311
  norm       = 42.3199
  norm       = 1.83266
  Prefactor  = 2.19828
  Prefactor  = 13.3157
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.02669
  norm       = 0.000100001
  Prefactor  = 148.877
  Prefactor  = 26.3882
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.27346
  norm       = 0.0118259
  Prefactor  = 0.0001
  Prefactor  = 43.1175
  Normalizat = 1.11386
  Prefactor  = 0.748343
 **********
 **   18 **HESSE 
 **********

 FCN=   4654.047     FROM HESSE     STATUS=OK           368 CALLS     3001 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.483        26.640        .11333E-03   -1.5001    
   2  Prefactor     .10000E-03    35.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.311        78.754        .58924E-04   -1.4346    
   4  norm          42.320        11.208        .61623E-04   -1.4406    
   5  norm          1.8327        .60576        .28498E-04   -1.5437    
   6  Prefactor     2.1983        5.8358        .26153E-03   -1.5411    
   7  Prefactor     13.316        15.429        .10977E-03   -1.4978    
   8  Prefactor     .10000E-03    10.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    20.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    52.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.0267        58.923        .48529E-02   -1.5505    
  13  norm          .10000E-03    3.5595        .24705E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     148.88        82.666        .16510E-03   -1.3262    
  15  Prefactor     26.388        16.717        .77988E-04   -1.4680    
  16  norm          .10000E-03    6.9301        .34472E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.1380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.2735        18.930        .16050E-03   -1.5207    
  19  norm          .11826E-01    19.830        .85227E-03   -1.5686    
  20  Prefactor     .10000E-03    32.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     43.117        23.999        .61061E-04   -1.4394    
  22  Normalizat    1.1139        .30182        .27019E-03   -.89308    
  23  Prefactor     .74834        .24549        .27523E-03   -1.0166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15243e-08
Minuit parameter uncertainties:
  1  26.6649
  2  7.59674e-06
  3  78.9313
  4  11.2088
  5  0.605766
  6  5.83735
  7  15.4333
  8  5.80517e-05
  9  2.96056e-07
  10  5.03072e-05
  11  6.48035e-05
  12  15.5712
  13  0.000105452
  14  82.7305
  15  16.7195
  16  2.75777e-05
  17  2.90113e-06
  18  18.9479
  19  0.964724
  20  0.000134693
  21  24.0039
  22  0.302294
  23  0.245849
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  7.483e-01  2.458e-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.114e+00  3.023e-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: 6.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351481/likelihoodResults_381369601_381628801_4FGL_J2234.1-2656_daily_bin548.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): 102
logL (Free Index) = 4654.04758355
delta logL = -0.000235761081967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4654.0473497
delta logL = -1.91360959434e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5860       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1139       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74834       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=   4654.047     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      282 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    98.573        .18142E-01** at limit **
   2  alpha         1.9395        2.7612        .50000        .69440E-07
   3  Normalizat    1.1139        .12693E-01    .27019E-03    .27721E-02
   4  Prefactor     .74834        .10859E-01    .27523E-03    .26705E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100004
  alpha      = 1.93952
  Normalizat = 1.11387
  Prefactor  = 0.748344
 **********
 **   18 **HESSE 
 **********

 FCN=   4654.047     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    578.86        .29739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9395        3.9308        .50000       -.22611    
   3  Normalizat    1.1139        .31611E-01    .54037E-04   -.89308    
   4  Prefactor     .74834        .27041E-01    .55046E-04   -1.0166    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.61071e-09
Minuit parameter uncertainties:
  1  0.00317858
  2  1558.03
  3  0.0316113
  4  0.027042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351481': 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): 102
logL (Free Index) = 4654.04734779
delta logL = -5.22686605109e-09

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  3.179e-03  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.940e+00  1.558e+03  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.483e-01  2.704e-02  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.114e+00  3.161e-02  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/351481/cmap_HighResolution_381369601_381628801_4FGL_J2234.1-2656_daily_bin548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-05', job_status='DONE', photon_flux_upper_limit='6.53e-08', time_completed='2021-09-28 14:28:46.283624', job_id='351481', GAL2='0.75', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1632864526.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-5.23e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='548' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:28:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 351481: <4FGL_J2234.1-2656_daily_bin548> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin548 338.543 -26.9375 381369601 381628801 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 :                                   546.37 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             259.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

