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 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7682
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1764
RA = 338.568, Dec = -41.9411
tmin = 696556801, tmax = 696816001
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='466080', job_status='RUN', time_executed='2023-01-31 02:05:15.720757', time_epoch_executed='1675159515.72' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/466080

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/466080/ft1_4FGL_J2234.2-4156_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/466080/ft1_4FGL_J2234.2-4156_daily_bin1764.fits outfile=/scratch/kocevski/466080/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1764.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=696556801.0 tmax=696816001.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.82
user 3.46
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.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/466080/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.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.16

Number of photons that the gtmktime cut: 395

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/466080/ltcube_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.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/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits
.....................!
real 13.26
user 12.80
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/466080/ltcube_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.fits outfile=/scratch/kocevski/466080/expmap_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.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/466080/ltcube_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.fits
.....................!
real 192.34
user 186.15
sys 5.63

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J2234.2-4156 @ 338.568 -41.9411

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.fits scfile=/scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits outfile=/scratch/kocevski/466080/cmap_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.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.568 yref=-41.9411 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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.fits scfile=/scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits outfile=/scratch/kocevski/466080/cmap_HighResolution_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.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.568 yref=-41.9411 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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/466080/Model_4FGL_J2234.2-4156_daily_bin1764.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/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.fits.....................!
real 38.90
user 37.43
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.fits', '/scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits', expMap='/scratch/kocevski/466080/expmap_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.fits', expCube='/scratch/kocevski/466080/ltcube_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/466080/Model_4FGL_J2234.2-4156_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.2-4156'

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  4.331e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.992e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/466080/ft1_filtered_4FGL_J2234.2-4156_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/466080/ft2_4FGL_J2234.2-4156_daily_bin1764.fits
Exposure map: /scratch/kocevski/466080/expmap_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.fits
Exposure cube: /scratch/kocevski/466080/ltcube_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/466080/Model_4FGL_J2234.2-4156_daily_bin1764.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) = 4459.80037387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7440       1.0000          .0000       .10000E+07
     2 'norm      '    11.112       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15712E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5258       1.0000          .0000       .10000E+07
     5 'Prefactor '    54.314       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.636       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18219E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .28601E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.321       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14997E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14501E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.7765       1.0000          .0000       .10000E+07
    13 'Prefactor '    43.736       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.6260       1.0000          .0000       .10000E+07
    15 'Prefactor '    .62973E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    29.221       1.0000          .0000       .10000E+07
    17 'Prefactor '    .79292E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    12.400       1.0000          .0000       .10000E+07
    19 'Prefactor '    .86248E-06   1.0000          .0000       .10000E+07
    20 'norm      '    .37408E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .93259E-08   1.0000          .0000       .10000E+07
    22 'norm      '    .16252E-05   1.0000          .0000       .10000E+07
    23 'norm      '    6.1356       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9821       1.0000          .0000       .10000E+07
    25 'Prefactor '    .31963       1.0000          .0000       .10000E+07
    26 'norm      '    8.6769       1.0000          .0000       .10000E+07
    27 'Prefactor '    3.1114       1.0000          .0000       .10000E+07
    28 'norm      '    .10719E-05   1.0000          .0000       .10000E+07
    29 'Normalizat'    .36458       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.4945       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4459.586     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2873 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7612        102.22       -.22216E-05   -.10201E-01
   2  norm          11.018        6.8418       -.80818E-07    .92009E-03
   3  Prefactor     .73108E-07    13.807       -.36503E-06** at limit **
   4  Prefactor     5.4954        3.5905       -.46792E-07   -.57348E-02
   5  Prefactor     57.231        58.170        .76907E-07   -.19854E-01
   6  Prefactor     21.416        11.762       -.19417E-06   -.67019E-01
   7  Prefactor     .74696E-06    3.5055       -.18073E-07** at limit **
   8  norm          .20794E-06    9.3196        .39852E-06** at limit **
   9  Prefactor     10.388        12.645       -.93311E-07   -.11925E-01
  10  Prefactor     .78149E-06    6.3766        .48493E-06** at limit **
  11  Prefactor     .74402E-06    19.405       -.31237E-06** at limit **
  12  Prefactor     1.7767        2.7188       -.14041E-06   -.35722E-03
  13  Prefactor     42.719        23.195        .24291E-06   -.65265E-01
  14  Prefactor     7.7753        16.122       -.12631E-06    .10873E-01
  15  Prefactor     .27756E-09    7.7422       -.32532E-07** at limit **
  16  Prefactor     29.171        4.4344       -.10803E-06    .58355E-02
  17  Prefactor     .23176E-06    14.406       -.11394E-05** at limit **
  18  Prefactor     12.853        9.9180       -.10858E-06    .18922E-01
  19  Prefactor     .12634E-05    20.555        .45324E-06** at limit **
  20  norm          .45519E-08    6.9636        .34913E-06** at limit **
  21  norm          .38858E-09    2.7189       -.82038E-07** at limit **
  22  norm          .27756E-09    2.4251       -.18690E-06** at limit **
  23  norm          6.2986        10.284        .11135E-06   -.20533E-02
  24  Prefactor     4.9230        7.9749        .23364E-06   -.13564E-02
  25  Prefactor     .27500E-05    30.214        .11868E-05** at limit **
  26  norm          8.7089        5.0331       -.85166E-07   -.71817E-03
  27  Prefactor     3.2746        3.2719        .19062E-06   -.81657E-03
  28  norm          .55511E-10    1.8714        .11020E-06** at limit **
  29  Normalizat    .36437        .26353        .14919E-04    .14651E-04
  30  Prefactor     1.4932        .25643       -.47417E-05    .11001E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.76117
  norm       = 11.0181
  Prefactor  = 7.31082e-08
  Prefactor  = 5.49537
  Prefactor  = 57.2311
  Prefactor  = 21.4165
  Prefactor  = 7.46958e-07
  norm       = 2.07945e-07
  Prefactor  = 10.3881
  Prefactor  = 7.81486e-07
  Prefactor  = 7.44016e-07
  Prefactor  = 1.77672
  Prefactor  = 42.7195
  Prefactor  = 7.77525
  Prefactor  = 2.77556e-10
  Prefactor  = 29.1714
  Prefactor  = 2.31759e-07
  Prefactor  = 12.8526
  Prefactor  = 1.26343e-06
  norm       = 4.55191e-09
  norm       = 3.88578e-10
  norm       = 2.77556e-10
  norm       = 6.29857
  Prefactor  = 4.92295
  Prefactor  = 2.74997e-06
  norm       = 8.70886
  Prefactor  = 3.2746
  norm       = 5.55112e-11
  Normalizat = 0.364373
  Prefactor  = 1.49325
 **********
 **   18 **HESSE 
 **********

 FCN=   4459.586     FROM HESSE     STATUS=OK           654 CALLS     3527 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7612        152.58        .79396E-03   -1.5669    
   2  norm          11.018        7.0763        .30030E-03   -1.5642    
   3  Prefactor     .73108E-07    14.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.4954        13.533        .42717E-03   -1.5661    
   5  Prefactor     57.231        58.546        .13570E-03   -1.5557    
   6  Prefactor     21.416        16.323        .21505E-03   -1.5615    
   7  Prefactor     .74696E-06    120.93        .17157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .20794E-06    10.837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.388        13.555        .31164E-03   -1.5644    
  10  Prefactor     .78149E-06    13.919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .74402E-06    25.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.7767        2.7466        .78508E-03   -1.5681    
  13  Prefactor     42.719        36.764        .15122E-03   -1.5577    
  14  Prefactor     7.7753        30.855        .36291E-03   -1.5652    
  15  Prefactor     .27756E-09    11.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.171        19.520        .18502E-03   -1.5600    
  17  Prefactor     .23176E-06    18.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.853        40.327        .28421E-03   -1.5636    
  19  Prefactor     .12634E-05    29.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .45519E-08    7.0428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .38858E-09    2.7251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .27756E-09    2.4276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.2986        10.345        .40507E-03   -1.5658    
  24  Prefactor     4.9230        11.290        .45031E-03   -1.5664    
  25  Prefactor     .27500E-05    227.49        .99459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          8.7089        5.0905        .34005E-03   -1.5649    
  27  Prefactor     3.2746        43.125        .57459E-03   -1.5672    
  28  norm          .55511E-10    1.8721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .36437        .26720        .92796E-01   -1.1918    
  30  Prefactor     1.4932        .24197        .47512E-01   -.77729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20024e-07
Minuit parameter uncertainties:
  1  47.9134
  2  7.07635
  3  0.00207005
  4  13.5334
  5  58.5466
  6  16.3231
  7  0.0190089
  8  0.0030022
  9  13.5552
  10  0.00659614
  11  0.00870016
  12  2.74659
  13  36.7645
  14  30.8555
  15  0.000115226
  16  19.5198
  17  0.00417274
  18  40.3283
  19  0.0123007
  20  0.000358851
  21  6.70196e-05
  22  5.24362e-05
  23  10.3446
  24  11.2902
  25  0.0500256
  26  5.09054
  27  23.767
  28  1.87755e-05
  29  0.268137
  30  0.242159
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  7.440e-07  8.700e-03  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.992e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.493e+00  2.422e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  3.644e-01  2.681e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.568 -41.941
Photon Flux Upper Limit: 5.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/466080/likelihoodResults_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.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) = 4459.60446876
delta logL = -0.018805610126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4459.58566333
delta logL = -1.80709321285e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16553E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .42175       1.0000          .0000       10.000    
     3 'Normalizat'    .36423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4934       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4459.586     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      214 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    26.521       -.21124E-05** at limit **
   2  Index         1.3445        5.0848       -.89589E-04   -.11902E-10
   3  Normalizat    .36437        .25327       -.38354E-04   -.11339E-03
   4  Prefactor     1.4933        .24912        .98705E-05   -.15952E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 1.34451
  Normalizat = 0.364371
  Prefactor  = 1.49325
 **********
 **   18 **HESSE 
 **********

 FCN=   4459.586     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      249 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .97241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3445        8.6317        .38564       -.81993    
   3  Normalizat    .36437        .99372E-03    .92796E-01   -1.1918    
   4  Prefactor     1.4933        .97926E-03    .47512E-01   -.77729    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.51638e-13
Minuit parameter uncertainties:
  1  3.34351e-05
  2  37247.1
  3  0.000993719
  4  0.000979258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/466080': 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) = 4459.58566313
delta logL = 1.45901140058e-08

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  2.776e-10  3.344e-05  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.345e+00  3.725e+04  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.380e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  1.493e+00  9.793e-04  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  3.644e-01  9.937e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.568 -41.941

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/466080/cmap_HighResolution_696556801_696816001_4FGL_J2234.2-4156_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.46e-03', job_status='DONE', photon_flux_upper_limit='5.95e-08', time_completed='2023-01-31 02:15:56.945834', job_id='466080', GAL2='1.49', fit_tolerance='1e-08', EG2='0.36', EG='0.36', time_epoch_completed='1675160156.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.49', dlogl='1.46e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1764' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 02:15:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 466080: <4FGL_J2234.2-4156_daily_bin1764> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 02:00:33 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:01:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:01:33 2023
Terminated at Tue Jan 31 02:15:57 2023
Results reported at Tue Jan 31 02:15:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1764 338.568 -41.9411 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.2-4156 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   642.56 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            924 sec.

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

