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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1749
RA = 338.568, Dec = -41.9411
tmin = 692668801, tmax = 692928001
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='964245', job_status='RUN', time_executed='2022-12-17 01:33:16.543073', time_epoch_executed='1671269596.54' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964245

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964245/ft1_4FGL_J2234.2-4156_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964245/ft2_4FGL_J2234.2-4156_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964245/ft1_4FGL_J2234.2-4156_daily_bin1749.fits outfile=/scratch/kocevski/964245/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1749.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=692668801.0 tmax=692928001.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.64
user 3.44
sys 0.19

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

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

Number of photons that the gtmktime cut: 447

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964245/ft1_filtered_4FGL_J2234.2-4156_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/964245/ft2_4FGL_J2234.2-4156_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/964245/ltcube_692668801_692928001_4FGL_J2234.2-4156_daily_bin1749.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/964245/ft2_4FGL_J2234.2-4156_daily_bin1749.fits
.....................!
real 12.11
user 11.77
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964245/ft1_filtered_4FGL_J2234.2-4156_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964245/ft2_4FGL_J2234.2-4156_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/964245/ltcube_692668801_692928001_4FGL_J2234.2-4156_daily_bin1749.fits outfile=/scratch/kocevski/964245/expmap_692668801_692928001_4FGL_J2234.2-4156_daily_bin1749.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/964245/ltcube_692668801_692928001_4FGL_J2234.2-4156_daily_bin1749.fits
.....................!
real 189.65
user 185.03
sys 4.30

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/964245/ft1_filtered_4FGL_J2234.2-4156_daily_bin1749.fits scfile=/scratch/kocevski/964245/ft2_4FGL_J2234.2-4156_daily_bin1749.fits outfile=/scratch/kocevski/964245/cmap_692668801_692928001_4FGL_J2234.2-4156_daily_bin1749.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/964245/ft1_filtered_4FGL_J2234.2-4156_daily_bin1749.fits scfile=/scratch/kocevski/964245/ft2_4FGL_J2234.2-4156_daily_bin1749.fits outfile=/scratch/kocevski/964245/cmap_HighResolution_692668801_692928001_4FGL_J2234.2-4156_daily_bin1749.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/964245/ft1_filtered_4FGL_J2234.2-4156_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964245/ft2_4FGL_J2234.2-4156_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/964245/Model_4FGL_J2234.2-4156_daily_bin1749.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/964245/ft1_filtered_4FGL_J2234.2-4156_daily_bin1749.fits.....................!
real 40.66
user 39.33
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13368E-03   1.0000          .0000       .10000E+07
     2 'norm      '    12.630       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8133       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18947E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10912E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.7649       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.8344       1.0000          .0000       .10000E+07
     8 'norm      '    18.576       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.2244       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.0562       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.628       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.3763       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.2570       1.0000          .0000       .10000E+07
    14 'Prefactor '    10.141       1.0000          .0000       .10000E+07
    15 'Prefactor '    .61721E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.5407       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11485E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.225       1.0000          .0000       .10000E+07
    19 'Prefactor '    26.355       1.0000          .0000       .10000E+07
    20 'norm      '    .36316E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .42343E-03   1.0000          .0000       .10000E+07
    22 'norm      '    4.1403       1.0000          .0000       .10000E+07
    23 'norm      '    5.9432       1.0000          .0000       .10000E+07
    24 'Prefactor '    4.2647       1.0000          .0000       .10000E+07
    25 'Prefactor '    42.455       1.0000          .0000       .10000E+07
    26 'norm      '    .60417E-05   1.0000          .0000       .10000E+07
    27 'Prefactor '    .13540E-02   1.0000          .0000       .10000E+07
    28 'norm      '    2.2310       1.0000          .0000       .10000E+07
    29 'Normalizat'    .76102       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0617       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=   4988.257     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2742 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23315E-08    25.119        .57532E-06** at limit **
   2  norm          12.622        5.7440        .10856E-07    .58679E-03
   3  Prefactor     2.7925        6.0079        .26064E-07   -.20149E-01
   4  Prefactor      .0000        3.4786       -.52250E-07** at limit **
   5  Prefactor     .10499E-05    8.7209        .80576E-07** at limit **
   6  Prefactor     7.7025        9.1052        .32736E-07   -.88805E-02
   7  Prefactor     9.8820        8.0341        .35307E-07   -.37744E-01
   8  norm          18.566        1.7880        .25895E-08    .15845E-01
   9  Prefactor     2.2606        10.369        .70475E-07    .17459E-01
  10  Prefactor     4.0542        4.6660       -.81010E-07   -.43456E-02
  11  Prefactor     14.815        11.476        .18499E-07    .34924E-01
  12  Prefactor     5.3712        5.8778       -.80022E-08   -.96516E-03
  13  Prefactor     7.2203        1.4097        .56043E-08    .44486E-02
  14  Prefactor     10.110        1.4876        .11989E-07    .46142E-02
  15  Prefactor     .63166E-06    7.2907       -.17973E-06** at limit **
  16  Prefactor     4.5648        3.1258        .16065E-07    .93119E-02
  17  Prefactor     .55511E-10    2.4654        .16376E-07** at limit **
  18  Prefactor     21.357        12.981        .29500E-07   -.21633E-01
  19  Prefactor     26.361        1.8081       -.77681E-09   -.22894E-01
  20  norm          .20395E-06    9.0140       -.24095E-06** at limit **
  21  norm          .55511E-10    4.3613        .24870E-07** at limit **
  22  norm          4.1135        4.2536       -.11499E-07   -.16674E-04
  23  norm          5.9366        2.6927        .19242E-07   -.80037E-01
  24  Prefactor     4.2615        4.7007       -.77064E-07   -.38815E-02
  25  Prefactor     42.768        38.041        .57586E-07   -.12608E-01
  26  norm          .10547E-08    2.3261        .15096E-06** at limit **
  27  Prefactor     .60046E-06    13.477        .24028E-06** at limit **
  28  norm          2.2183        5.6621        .46752E-07    .19886E-02
  29  Normalizat    .76022        .24052       -.25083E-06    .16346E-03
  30  Prefactor     1.0624        .21854        .11841E-05    .22482E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33147e-09
  norm       = 12.6225
  Prefactor  = 2.79249
  Prefactor  = 0
  Prefactor  = 1.04994e-06
  Prefactor  = 7.70255
  Prefactor  = 9.88199
  norm       = 18.5661
  Prefactor  = 2.26062
  Prefactor  = 4.05425
  Prefactor  = 14.8155
  Prefactor  = 5.37119
  Prefactor  = 7.22028
  Prefactor  = 10.11
  Prefactor  = 6.31661e-07
  Prefactor  = 4.5648
  Prefactor  = 5.55112e-11
  Prefactor  = 21.3567
  Prefactor  = 26.3615
  norm       = 2.03948e-07
  norm       = 5.55112e-11
  norm       = 4.11354
  norm       = 5.93659
  Prefactor  = 4.26154
  Prefactor  = 42.7685
  norm       = 1.05471e-09
  Prefactor  = 6.00464e-07
  norm       = 2.21832
  Normalizat = 0.760223
  Prefactor  = 1.06242
 **********
 **   18 **HESSE 
 **********

 FCN=   4988.257     FROM HESSE     STATUS=OK           656 CALLS     3398 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23315E-08    25.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          12.622        5.7505        .28160E-03   -1.5637    
   3  Prefactor     2.7925        9.6440        .60618E-03   -1.5675    
   4  Prefactor      .0000        3.4828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10499E-05    13.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.7025        16.933        .35962E-03   -1.5652    
   7  Prefactor     9.8820        828.47        .31929E-03   -1.5645    
   8  norm          18.566        11.693        .23211E-03   -1.5622    
   9  Prefactor     2.2606        13.144        .68914E-03   -1.5678    
  10  Prefactor     4.0542        4.7400        .50040E-03   -1.5668    
  11  Prefactor     14.815        34.129        .26162E-03   -1.5631    
  12  Prefactor     5.3712        5.9726        .43317E-03   -1.5662    
  13  Prefactor     7.2203        17.146        .37210E-03   -1.5654    
  14  Prefactor     10.110        19.567        .31441E-03   -1.5644    
  15  Prefactor     .63166E-06    10.946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5648        15.645        .47220E-03   -1.5665    
  17  Prefactor     .55511E-10    2.4684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.357        45.392        .21712E-03   -1.5616    
  19  Prefactor     26.361        14.745        .19483E-03   -1.5605    
  20  norm          .20395E-06    10.189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .55511E-10    4.3574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.1135        4.2611        .49514E-03   -1.5667    
  23  norm          5.9366        7.4274        .41167E-03   -1.5659    
  24  Prefactor     4.2615        4.7114        .48765E-03   -1.5667    
  25  Prefactor     42.768        42.869        .15349E-03   -1.5577    
  26  norm          .10547E-08    2.3300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .60046E-06    16.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.2183        5.8871        .68800E-03   -1.5678    
  29  Normalizat    .76022        .21289        .61779E-01   -1.0156    
  30  Prefactor     1.0624        .18976        .39266E-01   -.90677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10663e-06
Minuit parameter uncertainties:
  1  0.000485497
  2  5.75048
  3  9.64402
  4  1.23387e-05
  5  0.0075177
  6  16.9329
  7  180.989
  8  11.6927
  9  10.902
  10  4.73999
  11  34.129
  12  5.97262
  13  17.1459
  14  19.567
  15  0.005259
  16  15.645
  17  1.67675e-05
  18  45.3931
  19  14.7453
  20  0.00288316
  21  3.10549e-05
  22  4.26115
  23  7.42745
  24  4.71139
  25  42.8696
  26  9.84063e-05
  27  0.00623165
  28  5.88709
  29  0.213126
  30  0.189883
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.482e+01  3.413e+01  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.062e+00  1.899e-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:  7.602e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/964245/likelihoodResults_692668801_692928001_4FGL_J2234.2-4156_daily_bin1749.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) = 4988.24482062
delta logL = 0.0118111705387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4988.23753934
delta logL = 0.019092449802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.296       1.0000          .0000       .10000E+07
     2 'Index     '    1.7555       1.0000          .0000       10.000    
     3 'Normalizat'    .76190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0612       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4988.238     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      267 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.301        49.943        .88817E-05   -.14316E-02
   2  Index         1.7548        1.1391        .11184E-01   -.87962E-04
   3  Normalizat    .76256        .22061        .27287E-03    .30547E-03
   4  Prefactor     1.0606        .21590        .22805E-03    .43522E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.3015
  Index      = 1.75482
  Normalizat = 0.762557
  Prefactor  = 1.06058
 **********
 **   18 **HESSE 
 **********

 FCN=   4988.238     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.301        48.257        .17763E-05   -1.5618    
   2  Index         1.7548        1.1021        .44737E-03   -.70632    
   3  Normalizat    .76256        .22075        .10915E-04   -1.0147    
   4  Prefactor     1.0606        .21605        .45611E-04   -.90737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.7925e-10
Minuit parameter uncertainties:
  1  48.2575
  2  1.11816
  3  0.221012
  4  0.216226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964245': 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) = 4988.23753454
delta logL = 0.0190972570481

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  2.030e+01  4.826e+01  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.755e+00  1.118e+00  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.061e+00  2.162e-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:  7.626e-01  2.210e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.27
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/964245/cmap_HighResolution_692668801_692928001_4FGL_J2234.2-4156_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.93e-08', time_completed='2022-12-17 01:44:06.966131', job_id='964245', GAL2='1.06', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1671270246.97', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.91e-02', ts2='0.31', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1749' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:44:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 964245: <4FGL_J2234.2-4156_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1749> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Dec 17 01:30:20 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:30:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:30:21 2022
Terminated at Sat Dec 17 01:44:07 2022
Results reported at Sat Dec 17 01:44:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1749 338.568 -41.9411 692668801 692928001 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 :                                   652.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            827 sec.

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

