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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin381
RA = 338.543, Dec = -26.9375
tmin = 338083201, tmax = 338342401
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='351219', job_status='RUN', time_executed='2021-09-28 14:18:20.870418', time_epoch_executed='1632863900.87' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351219

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351219/ft1_4FGL_J2234.1-2656_daily_bin381.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351219/ft2_4FGL_J2234.1-2656_daily_bin381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351219/ft1_4FGL_J2234.1-2656_daily_bin381.fits outfile=/scratch/kocevski/351219/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin381.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=338083201.0 tmax=338342401.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.67
user 6.42
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351219/ft1_filtered_4FGL_J2234.1-2656_daily_bin381.fits" evtable="EVENTS" scfile=/scratch/kocevski/351219/ft2_4FGL_J2234.1-2656_daily_bin381.fits sctable="SC_DATA" outfile=/scratch/kocevski/351219/ltcube_338083201_338342401_4FGL_J2234.1-2656_daily_bin381.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/351219/ft2_4FGL_J2234.1-2656_daily_bin381.fits
.....................!
real 11.74
user 11.42
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351219/ft1_filtered_4FGL_J2234.1-2656_daily_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/351219/ft2_4FGL_J2234.1-2656_daily_bin381.fits sctable="SC_DATA" expcube=/scratch/kocevski/351219/ltcube_338083201_338342401_4FGL_J2234.1-2656_daily_bin381.fits outfile=/scratch/kocevski/351219/expmap_338083201_338342401_4FGL_J2234.1-2656_daily_bin381.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/351219/ltcube_338083201_338342401_4FGL_J2234.1-2656_daily_bin381.fits
.....................!
real 189.99
user 185.43
sys 4.24

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/351219/ft1_filtered_4FGL_J2234.1-2656_daily_bin381.fits scfile=/scratch/kocevski/351219/ft2_4FGL_J2234.1-2656_daily_bin381.fits outfile=/scratch/kocevski/351219/cmap_338083201_338342401_4FGL_J2234.1-2656_daily_bin381.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351219/ft1_filtered_4FGL_J2234.1-2656_daily_bin381.fits scfile=/scratch/kocevski/351219/ft2_4FGL_J2234.1-2656_daily_bin381.fits outfile=/scratch/kocevski/351219/cmap_HighResolution_338083201_338342401_4FGL_J2234.1-2656_daily_bin381.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351219/ft1_filtered_4FGL_J2234.1-2656_daily_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/351219/ft2_4FGL_J2234.1-2656_daily_bin381.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351219/Model_4FGL_J2234.1-2656_daily_bin381.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/351219/ft1_filtered_4FGL_J2234.1-2656_daily_bin381.fits.....................!
real 47.87
user 46.60
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13282E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.718       1.0000         .10000E-03   10000.    
     4 'norm      '    9.5250       1.0000         .10000E-03   10000.    
     5 'norm      '    .86117       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2792       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6086       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6682       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.241       1.0000         .10000E-03   10000.    
    10 'norm      '    .10237E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.445       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.852       1.0000         .10000E-03   10000.    
    13 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.675       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4626       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.9432       1.0000         .10000E-03   10000.    
    19 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.1643       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96930       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82003       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=   6003.156     FROM MIGRAD    STATUS=CONVERGED    940 CALLS     3367 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8101        .16585E-02** at limit **
   2  Prefactor     .10001E-03    38.705        .82851E-01** at limit **
   3  Prefactor     36.686        60.840        .66139E-04   -.11688E-04
   4  norm          9.5262        4.5663        .51038E-03    .11717E-04
   5  norm          .86108        .32449        .25322E-04   -.37444E-03
   6  Prefactor     5.2762        8.0622        .17493E-03   -.45492E-05
   7  Prefactor     1.6074        16.910        .33403E-03    .20999E-04
   8  Prefactor     2.6668        5.1972        .23601E-03    .59779E-04
   9  Prefactor     14.191        49.139        .10614E-03    .14032E-04
  10  norm          .10000E-03    27.947        .18142E-02** at limit **
  11  Prefactor     29.445        16.933        .73834E-04    .12010E-04
  12  Prefactor     19.855        13.762        .89893E-04    .48564E-04
  13  norm          .10000E-03    1.5119        .18165E-02** at limit **
  14  Prefactor     39.675        40.530        .63635E-04    .15264E-03
  15  Prefactor     .10000E-03    10.710        .18142E-02** at limit **
  16  norm          3.4630        3.4653        .13346E-03    .97113E-04
  17  Prefactor     .10000E-03    7.1006        .18142E-02** at limit **
  18  Prefactor     6.9343        9.0532        .15225E-03    .10073E-03
  19  norm          .10000E-03    .24253        .66022E-03** at limit **
  20  Prefactor     .10000E-03    21.149        .18142E-02** at limit **
  21  Prefactor     6.1600        10.504        .16170E-03    .39162E-04
  22  Normalizat    .96935        .20681        .23811E-03    .53284E-04
  23  Prefactor     .82003        .18254        .23475E-03    .90223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 36.6859
  norm       = 9.52617
  norm       = 0.861082
  Prefactor  = 5.27618
  Prefactor  = 1.60735
  Prefactor  = 2.66681
  Prefactor  = 14.1905
  norm       = 0.0001
  Prefactor  = 29.4449
  Prefactor  = 19.8554
  norm       = 0.0001
  Prefactor  = 39.6751
  Prefactor  = 0.0001
  norm       = 3.46299
  Prefactor  = 0.0001
  Prefactor  = 6.93426
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.16001
  Normalizat = 0.969346
  Prefactor  = 0.820031
 **********
 **   18 **HESSE 
 **********

 FCN=   6003.156     FROM HESSE     STATUS=OK           358 CALLS     3725 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8103        .33171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    33.384        .89061E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.686        59.693        .26456E-05   -1.4496    
   4  norm          9.5262        4.5673        .20415E-04   -1.5091    
   5  norm          .86108        .32452        .10129E-05   -1.5522    
   6  Prefactor     5.2762        8.0611        .69973E-05   -1.5249    
   7  Prefactor     1.6074        16.903        .13361E-04   -1.5454    
   8  Prefactor     2.6668        5.1966        .94404E-05   -1.5381    
   9  Prefactor     14.191        49.131        .42455E-05   -1.4954    
  10  norm          .10000E-03    27.957        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     29.445        16.933        .29533E-05   -1.4622    
  12  Prefactor     19.855        13.761        .35957E-05   -1.4816    
  13  norm          .10000E-03    1.5138        .36329E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.675        40.514        .12727E-04   -1.4447    
  15  Prefactor     .10000E-03    10.714        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4630        3.4649        .53382E-05   -1.5336    
  17  Prefactor     .10000E-03    7.1008        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.9343        9.0477        .60902E-05   -1.5181    
  19  norm          .10000E-03    .24255        .13204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    21.150        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.1600        10.499        .64678E-05   -1.5212    
  22  Normalizat    .96935        .20696        .95245E-05   -.94065    
  23  Prefactor     .82003        .18270        .93900E-05   -.98994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22193e-10
Minuit parameter uncertainties:
  1  1.28317e-06
  2  0.00129419
  3  59.7906
  4  4.56745
  5  0.324519
  6  8.06274
  7  10.4284
  8  5.19751
  9  49.2713
  10  2.47966e-05
  11  16.9356
  12  13.7635
  13  4.36888e-06
  14  40.5423
  15  3.96122e-06
  16  3.46512
  17  7.02876e-06
  18  9.04951
  19  1.41433e-06
  20  2.92632e-06
  21  10.5022
  22  0.207132
  23  0.182838
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.693e-01  2.071e-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: 5.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351219/likelihoodResults_338083201_338342401_4FGL_J2234.1-2656_daily_bin381.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) = 6003.15590955
delta logL = -0.000170463245013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6003.15573926
delta logL = -1.79440576176e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .96937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82005       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=   6003.156     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      191 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    33.044        .90712E-02** at limit **
   2  alpha         1.9611        3.4387        .42591       -.55245E-05
   3  Normalizat    .96935        .16489        .45782E-01   -.11604E-04
   4  Prefactor     .82003        .15154        .43978E-01   -.28075E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.96114
  Normalizat = 0.969346
  Prefactor  = 0.820031
 **********
 **   18 **HESSE 
 **********

 FCN=   6003.156     FROM HESSE     STATUS=OK            33 CALLS      224 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    28.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9611        3.4060        .50000       -.21725    
   3  Normalizat    .96935        .19261        .23811E-03   -.94065    
   4  Prefactor     .82003        .17702        .23475E-03   -.98994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71813e-11
Minuit parameter uncertainties:
  1  0.000178548
  2  2.45699
  3  0.192751
  4  0.177143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351219': 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) = 6003.15573907
delta logL = 1.46683305502e-08

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  1.785e-04  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.961e+00  2.457e+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.200e-01  1.771e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.693e-01  1.928e-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/351219/cmap_HighResolution_338083201_338342401_4FGL_J2234.1-2656_daily_bin381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.83e-05', job_status='DONE', photon_flux_upper_limit='5.50e-08', time_completed='2021-09-28 14:29:39.140833', job_id='351219', GAL2='0.82', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632864579.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='381' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:29:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 351219: <4FGL_J2234.1-2656_daily_bin381> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin381 338.543 -26.9375 338083201 338342401 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 :                                   677.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

