aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 48 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 = 7446
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1665
RA = 338.543, Dec = -26.9375
tmin = 670896001, tmax = 671155201
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='357074', job_status='RUN', time_executed='2022-04-09 00:36:45.995049', time_epoch_executed='1649489806.0' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357074

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357074/ft1_4FGL_J2234.1-2656_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357074/ft2_4FGL_J2234.1-2656_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357074/ft1_4FGL_J2234.1-2656_daily_bin1665.fits outfile=/scratch/kocevski/357074/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1665.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.38
user 5.13
sys 0.24

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

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

Number of photons that the gtmktime cut: 650

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357074/ft1_filtered_4FGL_J2234.1-2656_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/357074/ft2_4FGL_J2234.1-2656_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/357074/ltcube_670896001_671155201_4FGL_J2234.1-2656_daily_bin1665.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/357074/ft2_4FGL_J2234.1-2656_daily_bin1665.fits
.....................!
real 11.92
user 11.55
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357074/ft1_filtered_4FGL_J2234.1-2656_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/357074/ft2_4FGL_J2234.1-2656_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/357074/ltcube_670896001_671155201_4FGL_J2234.1-2656_daily_bin1665.fits outfile=/scratch/kocevski/357074/expmap_670896001_671155201_4FGL_J2234.1-2656_daily_bin1665.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/357074/ltcube_670896001_671155201_4FGL_J2234.1-2656_daily_bin1665.fits
.....................!
real 190.54
user 185.17
sys 5.04

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/357074/ft1_filtered_4FGL_J2234.1-2656_daily_bin1665.fits scfile=/scratch/kocevski/357074/ft2_4FGL_J2234.1-2656_daily_bin1665.fits outfile=/scratch/kocevski/357074/cmap_670896001_671155201_4FGL_J2234.1-2656_daily_bin1665.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/357074/ft1_filtered_4FGL_J2234.1-2656_daily_bin1665.fits scfile=/scratch/kocevski/357074/ft2_4FGL_J2234.1-2656_daily_bin1665.fits outfile=/scratch/kocevski/357074/cmap_HighResolution_670896001_671155201_4FGL_J2234.1-2656_daily_bin1665.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.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.155       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .58702E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    84.237       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2361       1.0000         .10000E-03   10000.    
     5 'norm      '    .71420       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0380       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.1654       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.6578       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.959       1.0000         .10000E-03   10000.    
    10 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.9584       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .70720E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9762       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.137       1.0000         .10000E-03   10000.    
    19 'norm      '    .57473       1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.532       1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.165       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1160       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .54605       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=   6965.337     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2556 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.154        12.944       -.85343E-06   -.75326E-04
   2  Prefactor     .10002E-03    17.868        .15909E-04** at limit **
   3  Prefactor     84.258        45.399        .14783E-04   -.38568E-03
   4  norm          2.2313        3.9634       -.24128E-05   -.62512E-03
   5  norm          .71424        .28689       -.30296E-07   -.98430E-03
   6  Prefactor     1.0467        1.7581        .64411E-06   -.19563E-02
   7  Prefactor     8.1634        9.5140        .25359E-05   -.11332E-05
   8  Prefactor     8.6561        5.9189       -.23975E-06   -.14551E-04
   9  Prefactor     20.942        40.398       -.23224E-04   -.11719E-04
  10  norm          .10000E-03    11.559       -.36788E-05** at limit **
  11  Prefactor     9.9565        11.237        .29817E-05    .96381E-05
  12  Prefactor     .10000E-03    8.3867        .70847E-06** at limit **
  13  norm          .10000E-03    .87239        .52472E-07** at limit **
  14  Prefactor     .10000E-03    118.72       -.76065E-05** at limit **
  15  Prefactor     6.9736        7.6117        .53498E-06   -.24383E-04
  16  norm          .10000E-03    1.8142        .21815E-06** at limit **
  17  Prefactor     .10000E-03    6.3681        .20944E-06** at limit **
  18  Prefactor     32.138        10.296       -.26267E-05   -.20011E-03
  19  norm          .57475        .53496        .47986E-06    .74102E-03
  20  Prefactor     26.526        29.772       -.39995E-05   -.66715E-05
  21  Prefactor     11.165        7.5850        .17970E-05   -.81304E-04
  22  Normalizat    1.1164        .15895        .19652E-06   -.11533E-03
  23  Prefactor     .54577        .13511        .34142E-07   -.72253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1537
  Prefactor  = 0.00010002
  Prefactor  = 84.258
  norm       = 2.23135
  norm       = 0.714238
  Prefactor  = 1.0467
  Prefactor  = 8.16343
  Prefactor  = 8.65614
  Prefactor  = 20.9417
  norm       = 0.0001
  Prefactor  = 9.95651
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 6.9736
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.1377
  norm       = 0.57475
  Prefactor  = 26.5264
  Prefactor  = 11.1652
  Normalizat = 1.11637
  Prefactor  = 0.545769
 **********
 **   18 **HESSE 
 **********

 FCN=   6965.337     FROM HESSE     STATUS=OK           372 CALLS     2928 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.154        12.947        .87084E-04   -1.4788    
   2  Prefactor     .10002E-03    17.144        .21076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     84.258        44.668        .43768E-04   -1.3870    
   4  norm          2.2313        3.9342        .19498E-03   -1.5409    
   5  norm          .71424        .28724        .26263E-04   -1.5539    
   6  Prefactor     1.0467        11.986        .24659E-02   -1.5503    
   7  Prefactor     8.1634        9.5365        .14030E-03   -1.5136    
   8  Prefactor     8.6561        5.9343        .13623E-03   -1.5119    
   9  Prefactor     20.942        40.660        .87489E-04   -1.4792    
  10  norm          .10000E-03    11.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.9565        11.246        .12698E-03   -1.5077    
  12  Prefactor     .10000E-03    8.6200        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .89500        .15211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    123.12        .41948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9736        7.6255        .15189E-03   -1.5180    
  16  norm          .10000E-03    1.8328        .10961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.3901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.138        10.235        .70682E-04   -1.4574    
  19  norm          .57475        .51903        .48216E-04   -1.5556    
  20  Prefactor     26.526        29.796        .77774E-04   -1.4677    
  21  Prefactor     11.165        7.5735        .11990E-03   -1.5040    
  22  Normalizat    1.1164        .18895        .21337E-03   -.89228    
  23  Prefactor     .54577        .15996        .26188E-03   -1.0992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89801e-08
Minuit parameter uncertainties:
  1  12.9486
  2  0.00117383
  3  44.6854
  4  3.93462
  5  0.287236
  6  7.08538
  7  9.5383
  8  5.93465
  9  40.7137
  10  9.89772e-06
  11  11.248
  12  2.3814e-05
  13  5.84211e-06
  14  0.00140704
  15  7.62655
  16  2.15062e-05
  17  7.82419e-05
  18  10.2354
  19  0.519035
  20  29.8131
  21  7.57415
  22  0.189067
  23  0.160091
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  9.898e-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:  5.458e-01  1.601e-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.116e+00  1.891e-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: 3.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/357074/likelihoodResults_670896001_671155201_4FGL_J2234.1-2656_daily_bin1665.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) = 6965.33693072
delta logL = -0.000409991770539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6965.3365207
delta logL = 2.97332007904e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10349E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9871       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1164       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54576       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=   6965.312     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      297 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36171        153.84        .30027E-01    .14072E-02
   2  alpha         3.7552        2.9796        .50000       -.49335E-04
   3  Normalizat    1.1044        .18352        .21337E-03   -.34314E-04
   4  Prefactor     .55150        .73156E-01    .26188E-03   -.24832E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.361714
  alpha      = 3.75519
  Normalizat = 1.1044
  Prefactor  = 0.551504
 **********
 **   18 **HESSE 
 **********

 FCN=   6965.312     FROM HESSE     STATUS=OK            31 CALLS      328 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36171        10.697        .15539E-02   -1.5588    
   2  alpha         3.7552        2.7590        .50062E-01    34.032    
   3  Normalizat    1.1044        .18458        .85347E-05   -.89611    
   4  Prefactor     .55150        .15817        .10475E-04   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36178e-11
Minuit parameter uncertainties:
  1  3.93424
  2  5.008
  3  0.184689
  4  0.158298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357074': 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) = 6965.31204599
delta logL = 0.0244747442121

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.617e-01  3.934e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  3.755e+00  5.008e+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:  5.515e-01  1.583e-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.104e+00  1.847e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/357074/cmap_HighResolution_670896001_671155201_4FGL_J2234.1-2656_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', job_status='DONE', photon_flux_upper_limit='3.75e-08', time_completed='2022-04-09 00:48:04.416264', job_id='357074', GAL2='0.55', fit_tolerance='1e-08', EG2='1.10', EG='1.12', time_epoch_completed='1649490484.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='2.45e-02', ts2='0.06', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1665' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:48:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 357074: <4FGL_J2234.1-2656_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:35:49 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:35:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:35:50 2022
Terminated at Sat Apr  9 00:48:05 2022
Results reported at Sat Apr  9 00:48:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1665 338.543 -26.9375 670896001 671155201 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 :                                   680.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

