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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin730
RA = 338.543, Dec = -26.9375
tmin = 428544001, tmax = 428803201
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='352863', job_status='RUN', time_executed='2021-09-28 14:23:10.377092', time_epoch_executed='1632864190.38' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352863

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352863/ft1_4FGL_J2234.1-2656_daily_bin730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352863/ft2_4FGL_J2234.1-2656_daily_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352863/ft1_4FGL_J2234.1-2656_daily_bin730.fits outfile=/scratch/kocevski/352863/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin730.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=428544001.0 tmax=428803201.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 6.22
user 5.88
sys 0.28

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352863/ft1_filtered_4FGL_J2234.1-2656_daily_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/352863/ft2_4FGL_J2234.1-2656_daily_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/352863/ltcube_428544001_428803201_4FGL_J2234.1-2656_daily_bin730.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/352863/ft2_4FGL_J2234.1-2656_daily_bin730.fits
.....................!
real 12.00
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352863/ft1_filtered_4FGL_J2234.1-2656_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/352863/ft2_4FGL_J2234.1-2656_daily_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/352863/ltcube_428544001_428803201_4FGL_J2234.1-2656_daily_bin730.fits outfile=/scratch/kocevski/352863/expmap_428544001_428803201_4FGL_J2234.1-2656_daily_bin730.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/352863/ltcube_428544001_428803201_4FGL_J2234.1-2656_daily_bin730.fits
.....................!
real 190.37
user 185.42
sys 4.57

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/352863/ft1_filtered_4FGL_J2234.1-2656_daily_bin730.fits scfile=/scratch/kocevski/352863/ft2_4FGL_J2234.1-2656_daily_bin730.fits outfile=/scratch/kocevski/352863/cmap_428544001_428803201_4FGL_J2234.1-2656_daily_bin730.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/352863/ft1_filtered_4FGL_J2234.1-2656_daily_bin730.fits scfile=/scratch/kocevski/352863/ft2_4FGL_J2234.1-2656_daily_bin730.fits outfile=/scratch/kocevski/352863/cmap_HighResolution_428544001_428803201_4FGL_J2234.1-2656_daily_bin730.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/352863/ft1_filtered_4FGL_J2234.1-2656_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/352863/ft2_4FGL_J2234.1-2656_daily_bin730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/352863/Model_4FGL_J2234.1-2656_daily_bin730.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/352863/ft1_filtered_4FGL_J2234.1-2656_daily_bin730.fits.....................!
real 33.80
user 32.41
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3950       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .25135E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .68765E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    15.589       1.0000         .10000E-03   10000.    
     5 'norm      '    2.0204       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.4443       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .43910E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.637       1.0000         .10000E-03   10000.    
    10 'norm      '    .20093E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.638       1.0000         .10000E-03   10000.    
    12 'Prefactor '    58.482       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7952       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .58159E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.294       1.0000         .10000E-03   10000.    
    16 'norm      '    .83407E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.1508       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .90092       1.0000         .10000E-03   10000.    
    20 'Prefactor '    82.808       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .64848       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74567       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=   3100.331     FROM MIGRAD    STATUS=CONVERGED    639 CALLS     2398 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6555        16.093       -.41601E-06    .62190E-05
   2  Prefactor     .10000E-03    10.538       -.10327E-06** at limit **
   3  Prefactor     .10000E-03    32.829       -.95948E-07** at limit **
   4  norm          15.570        7.6758       -.11970E-07    .32370E-04
   5  norm          2.0210        .58553        .22749E-08    .20730E-03
   6  Prefactor     5.5183        9.6466        .43393E-07    .42847E-04
   7  Prefactor     .10001E-03    144.01       -.31586E-05** at limit **
   8  Prefactor     .10000E-03    8.0079        .12444E-05** at limit **
   9  Prefactor     19.085        61.796       -.52031E-06   -.80055E-06
  10  norm          .10000E-03    19.590       -.39158E-06** at limit **
  11  Prefactor     27.529        31.399        .18312E-05    .10440E-03
  12  Prefactor     57.736        27.776        .19369E-06    .17995E-04
  13  norm          1.8030        3.2678       -.30624E-06   -.23218E-03
  14  Prefactor     .10000E-03    43.164       -.78766E-06** at limit **
  15  Prefactor     34.027        21.877       -.10051E-06   -.79916E-04
  16  norm          .10327E-03    7.0572        .51989E-06** at limit **
  17  Prefactor     8.7445        20.115        .28445E-05   -.89082E-04
  18  Prefactor     .10000E-03    9.9012        .37869E-06** at limit **
  19  norm          .89157        .79031       -.17463E-06   -.85327E-03
  20  Prefactor     88.417        113.90       -.12888E-06    .12053E-05
  21  Prefactor     .10000E-03    3.6569       -.34690E-07** at limit **
  22  Normalizat    .64599        .26711       -.21514E-05    .73869E-04
  23  Prefactor     .74719        .21640        .27141E-05    .13411E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.65549
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.5699
  norm       = 2.02095
  Prefactor  = 5.51833
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 19.0854
  norm       = 0.0001
  Prefactor  = 27.5289
  Prefactor  = 57.7361
  norm       = 1.80297
  Prefactor  = 0.0001
  Prefactor  = 34.0265
  norm       = 0.000103275
  Prefactor  = 8.74448
  Prefactor  = 0.0001
  norm       = 0.891573
  Prefactor  = 88.4166
  Prefactor  = 0.0001
  Normalizat = 0.645992
  Prefactor  = 0.747186
 **********
 **   18 **HESSE 
 **********

 FCN=   3100.331     FROM HESSE     STATUS=OK           382 CALLS     2780 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6555        16.104        .14749E-03   -1.5155    
   2  Prefactor     .10000E-03    10.562        .17653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.846        .18728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.570        7.7302        .95514E-04   -1.4919    
   5  norm          2.0210        .58831        .21066E-04   -1.5424    
   6  Prefactor     5.5183        9.5756        .17221E-03   -1.5238    
   7  Prefactor     .10001E-03    141.40        .52931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.0401        .15375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.085        61.801        .82391E-04   -1.4834    
  10  norm          .10000E-03    19.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.529        31.624        .76204E-04   -1.4658    
  12  Prefactor     57.736        27.965        .52461E-04   -1.4187    
  13  norm          1.8030        3.2797        .12789E-03   -1.5439    
  14  Prefactor     .10000E-03    43.196        .18620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     34.027        22.161        .69446E-04   -1.4541    
  16  norm          .10327E-03    18.630        .38141E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.7445        22.692        .14043E-03   -1.5116    
  18  Prefactor     .10000E-03    10.119        .17162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .89157        .80424        .40651E-04   -1.5519    
  20  Prefactor     88.417        114.38        .44141E-04   -1.3825    
  21  Prefactor     .10000E-03    3.6616        .10402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .64599        .30867        .27849E-03   -1.0607    
  23  Prefactor     .74719        .24583        .22241E-03   -1.0171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51493e-09
Minuit parameter uncertainties:
  1  16.1129
  2  1.1311e-05
  3  1.45221e-05
  4  7.7307
  5  0.588311
  6  9.57822
  7  0.00254188
  8  5.16498e-05
  9  62.0096
  10  3.61028e-05
  11  31.6428
  12  27.9712
  13  3.28
  14  8.54932e-05
  15  22.1664
  16  0.0156264
  17  22.7139
  18  1.31446e-05
  19  0.804246
  20  114.667
  21  2.19146e-06
  22  0.309503
  23  0.246193
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  3.610e-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.472e-01  2.462e-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:  6.460e-01  3.095e-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: 7.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/352863/likelihoodResults_428544001_428803201_4FGL_J2234.1-2656_daily_bin730.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) = 3100.33160724
delta logL = -0.000242564111431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3100.33136467
delta logL = -1.96405380848e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10277E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0470       1.0000          .0000       5.0000    
     3 'Normalizat'    .64601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74720       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=   3100.331     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      243 TOTAL
                     EDM=   .10E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5641        .67376E-01** at limit **
   2  alpha         2.7476        3.0310        .50000        .35129E-08
   3  Normalizat    .64599        .20771E-02    .27849E-03   -.20677E-04
   4  Prefactor     .74719        .17905E-02    .22241E-03   -.21468E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.74764
  Normalizat = 0.645989
  Prefactor  = 0.747188
 **********
 **   18 **HESSE 
 **********

 FCN=   3100.331     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      274 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    664.82        .36488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7476        2.5209        .50000        .99220E-01
   3  Normalizat    .64599        .31168E-01    .11139E-04   -1.0607    
   4  Prefactor     .74719        .26867E-01    .88965E-05   -1.0171    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.23724e-11
Minuit parameter uncertainties:
  1  9.71989e-06
  2  3196.93
  3  0.0311688
  4  0.0268673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352863': 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) = 3100.33136428
delta logL = 3.95747520088e-07

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  9.720e-06  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.748e+00  3.197e+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.472e-01  2.687e-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:  6.460e-01  3.117e-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/352863/cmap_HighResolution_428544001_428803201_4FGL_J2234.1-2656_daily_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-05', job_status='DONE', photon_flux_upper_limit='7.73e-08', time_completed='2021-09-28 14:31:08.921916', job_id='352863', GAL2='0.75', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1632864668.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='3.96e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='730' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:31:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 352863: <4FGL_J2234.1-2656_daily_bin730> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:20:36 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:20:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 14:20:38 2021
Terminated at Tue Sep 28 14:31:09 2021
Results reported at Tue Sep 28 14:31:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin730 338.543 -26.9375 428544001 428803201 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 :                                   477.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            633 sec.

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

