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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1727
RA = 338.568, Dec = -41.9411
tmin = 686966401, tmax = 687225601
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='214354', job_status='RUN', time_executed='2022-10-12 00:37:02.214160', time_epoch_executed='1665560222.21' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214354

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214354/ft1_4FGL_J2234.2-4156_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214354/ft1_4FGL_J2234.2-4156_daily_bin1727.fits outfile=/scratch/kocevski/214354/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1727.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=686966401.0 tmax=687225601.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 2.93
user 2.71
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 731

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214354/ft1_filtered_4FGL_J2234.2-4156_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/214354/ltcube_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.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/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits
.....................!
real 12.36
user 12.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214354/ft1_filtered_4FGL_J2234.2-4156_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/214354/ltcube_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.fits outfile=/scratch/kocevski/214354/expmap_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.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/214354/ltcube_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.fits
.....................!
real 192.68
user 186.09
sys 6.16

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/214354/ft1_filtered_4FGL_J2234.2-4156_daily_bin1727.fits scfile=/scratch/kocevski/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits outfile=/scratch/kocevski/214354/cmap_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214354/ft1_filtered_4FGL_J2234.2-4156_daily_bin1727.fits scfile=/scratch/kocevski/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits outfile=/scratch/kocevski/214354/cmap_HighResolution_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214354/ft1_filtered_4FGL_J2234.2-4156_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214354/Model_4FGL_J2234.2-4156_daily_bin1727.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/214354/ft1_filtered_4FGL_J2234.2-4156_daily_bin1727.fits.....................!
real 57.92
user 56.47
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/214354/ft1_filtered_4FGL_J2234.2-4156_daily_bin1727.fits', '/scratch/kocevski/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits', expMap='/scratch/kocevski/214354/expmap_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.fits', expCube='/scratch/kocevski/214354/ltcube_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/214354/Model_4FGL_J2234.2-4156_daily_bin1727.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/214354/ft1_filtered_4FGL_J2234.2-4156_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/214354/ft2_4FGL_J2234.2-4156_daily_bin1727.fits
Exposure map: /scratch/kocevski/214354/expmap_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.fits
Exposure cube: /scratch/kocevski/214354/ltcube_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/214354/Model_4FGL_J2234.2-4156_daily_bin1727.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) = 7949.90904647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33014E-03   1.0000          .0000       .10000E+07
     2 'norm      '    34.975       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27764E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    15.714       1.0000          .0000       .10000E+07
     5 'Prefactor '    56.310       1.0000          .0000       .10000E+07
     6 'Prefactor '    .51555E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2930       1.0000          .0000       .10000E+07
     8 'norm      '    5.6520       1.0000          .0000       .10000E+07
     9 'Prefactor '    .51535E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16188E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .28372E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .31511E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .51990E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    16.195       1.0000          .0000       .10000E+07
    16 'Prefactor '    17.120       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21276E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    18.666       1.0000          .0000       .10000E+07
    19 'Prefactor '    .71476E-03   1.0000          .0000       .10000E+07
    20 'norm      '    8.5631       1.0000          .0000       .10000E+07
    21 'norm      '    .30536E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .51727E-03   1.0000          .0000       .10000E+07
    23 'norm      '    10.356       1.0000          .0000       .10000E+07
    24 'Prefactor '    .61248E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .49684E-02   1.0000          .0000       .10000E+07
    26 'norm      '    .35943E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    .24686E-03   1.0000          .0000       .10000E+07
    28 'norm      '    4.4918       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1813       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .88500       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=   7949.907     FROM MIGRAD    STATUS=CONVERGED    194 CALLS     2812 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26812E-07    14.216        .35671E-07** at limit **
   2  norm          34.983        6.8469       -.85100E-08    .69444E-02
   3  Prefactor     .67613E-07    7.0018       -.99386E-07** at limit **
   4  Prefactor     15.724        7.1648        .49917E-07   -.16729E-01
   5  Prefactor     56.145        33.992       -.17083E-06   -.12989E-01
   6  Prefactor      .0000        3.2357       -.29818E-08** at limit **
   7  Prefactor     5.8132        402.42        .51809E-06   -.68945E-03
   8  norm          5.6514        5.3289        .60390E-08    .32157E-03
   9  Prefactor     .43854E-08    15.983       -.24678E-06** at limit **
  10  Prefactor     .57010E-07    2.0417       -.54849E-07** at limit **
  11  Prefactor     .10674E-05    21.283       -.10948E-06** at limit **
  12  Prefactor     .12601E-07    5.3039       -.22409E-07** at limit **
  13  Prefactor     .41078E-08    19.218        .42310E-07** at limit **
  14  Prefactor     .38858E-09    6.6734        .54150E-07** at limit **
  15  Prefactor     16.156        4.4308        .35370E-07   -.15895E-01
  16  Prefactor     17.155        12.116       -.14262E-06   -.64756E-02
  17  Prefactor     .11102E-09    3.2576       -.86647E-07** at limit **
  18  Prefactor     18.637        1.4444       -.69209E-08    .26563E-02
  19  Prefactor     .11102E-09    6.0812       -.20288E-07** at limit **
  20  norm          8.5709        3.2121        .40777E-07    .41100E-01
  21  norm           .0000        1.6466        .54448E-07** at limit **
  22  norm           .0000        4.3016       -.79816E-08** at limit **
  23  norm          10.326        3.4950        .30967E-07    .84502E-02
  24  Prefactor      .0000        1.3590        .82416E-07** at limit **
  25  Prefactor     .41023E-07    9.2872        .11248E-06** at limit **
  26  norm           .0000        1.3171        .37940E-08** at limit **
  27  Prefactor     .22204E-09    3.2432       -.19065E-10** at limit **
  28  norm          4.4958        4.4780        .15162E-07    .63265E-04
  29  Normalizat    1.1813        .19170       -.19616E-06   -.59351E-05
  30  Prefactor     .88501        .18166        .22692E-06    .96613E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.68119e-08
  norm       = 34.9825
  Prefactor  = 6.76126e-08
  Prefactor  = 15.7242
  Prefactor  = 56.1453
  Prefactor  = 0
  Prefactor  = 5.81322
  norm       = 5.65141
  Prefactor  = 4.38538e-09
  Prefactor  = 5.701e-08
  Prefactor  = 1.06742e-06
  Prefactor  = 1.2601e-08
  Prefactor  = 4.10783e-09
  Prefactor  = 3.88578e-10
  Prefactor  = 16.1559
  Prefactor  = 17.1551
  Prefactor  = 1.11022e-10
  Prefactor  = 18.6372
  Prefactor  = 1.11022e-10
  norm       = 8.57086
  norm       = 0
  norm       = 0
  norm       = 10.3262
  Prefactor  = 0
  Prefactor  = 4.10227e-08
  norm       = 0
  Prefactor  = 2.22045e-10
  norm       = 4.49584
  Normalizat = 1.18127
  Prefactor  = 0.885014
 **********
 **   18 **HESSE 
 **********

 FCN=   7949.907     FROM HESSE     STATUS=OK           656 CALLS     3468 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26812E-07    15.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          34.983        6.9462        .16911E-03   -1.5590    
   3  Prefactor     .67613E-07    13.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.724        8.6990        .25239E-03   -1.5629    
   5  Prefactor     56.145        34.899        .13327E-03   -1.5558    
   6  Prefactor      .0000        3.2350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.8132        404.80        .48599E-03   -1.5660    
   8  norm          5.6514        5.3395        .42230E-03   -1.5660    
   9  Prefactor     .43854E-08    3.3807        .10324E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .57010E-07    1.6704        .62625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10674E-05    63.175        .10647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12601E-07    13.098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .41078E-08    19.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .38858E-09    6.6905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.156        24.280        .24861E-03   -1.5628    
  16  Prefactor     17.155        13.024        .24179E-03   -1.5625    
  17  Prefactor     .11102E-09    3.4415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.637        20.701        .23154E-03   -1.5622    
  19  Prefactor     .11102E-09    6.0902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          8.5709        10.187        .34232E-03   -1.5649    
  21  norm           .0000        1.6447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        4.2436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          10.326        8.8974        .31111E-03   -1.5644    
  24  Prefactor      .0000        1.3577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .41023E-07    11.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        1.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .22204E-09    3.5360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          4.4958        4.4905        .47483E-03   -1.5666    
  29  Normalizat    1.1813        .17039        .56078E-01   -.87184    
  30  Prefactor     .88501        .15474        .44814E-01   -.96667    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28537e-08
Minuit parameter uncertainties:
  1  0.00127803
  2  6.94617
  3  0.00191635
  4  8.69904
  5  34.8987
  6  8.44484e-06
  7  97.0261
  8  5.33947
  9  0.000243298
  10  0.000617309
  11  0.0164237
  12  0.000812601
  13  0.000567452
  14  0.000105037
  15  24.2805
  16  13.0242
  17  3.3967e-05
  18  20.7007
  19  5.0723e-05
  20  10.1867
  21  4.82356e-07
  22  1.48154e-05
  23  8.89738
  24  2.93742e-06
  25  0.00135929
  26  1.2662e-06
  27  5.35245e-05
  28  4.49047
  29  0.170469
  30  0.154813
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.067e-06  1.642e-02  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:  8.850e-01  1.548e-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:  1.181e+00  1.705e-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: 4.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214354/likelihoodResults_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.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) = 7949.91505408
delta logL = -0.00810269547492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7949.90695138
delta logL = 7.86712917034e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7949.907     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      240 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10936E-07    16.834        .42118E-03** at limit **
   2  Index         1.3936        8.8636        .50000       -.11141E-08
   3  Normalizat    1.1813        .31090E-02    .56078E-01   -.13233E-03
   4  Prefactor     .88501        .29322E-02    .44814E-01   -.27596E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09357e-08
  Index      = 1.39359
  Normalizat = 1.18127
  Prefactor  = 0.885012
 **********
 **   18 **HESSE 
 **********

 FCN=   7949.907     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10936E-07    69.086        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3936        6.5450        .50000       -.80565    
   3  Normalizat    1.1813        .63013E-02    .24797E-03   -.87184    
   4  Prefactor     .88501        .59443E-02    .26465E-03   -.96667    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.29027e-10
Minuit parameter uncertainties:
  1  0.00174045
  2  57574.4
  3  0.00630129
  4  0.00594435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214354': 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) = 7949.90695138
delta logL = 7.92624632595e-09

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.094e-08  1.740e-03  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.394e+00  5.757e+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:  8.850e-01  5.944e-03  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:  1.181e+00  6.301e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/214354/cmap_HighResolution_686966401_687225601_4FGL_J2234.2-4156_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='4.05e-08', time_completed='2022-10-12 00:50:44.777945', job_id='214354', GAL2='0.89', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1665561044.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='7.93e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1727' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:50:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0193>
Subject: Job 214354: <4FGL_J2234.2-4156_daily_bin1727> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:35:56 2022
Job was executed on host(s) <bullet0193>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:35:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:35:57 2022
Terminated at Wed Oct 12 00:50:45 2022
Results reported at Wed Oct 12 00:50:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1727 338.568 -41.9411 686966401 687225601 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 :                                   824.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            889 sec.

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

