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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1771
RA = 338.568, Dec = -41.9411
tmin = 698371201, tmax = 698630401
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='572078', job_status='RUN', time_executed='2023-02-21 02:28:06.278367', time_epoch_executed='1676975286.28' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/572078

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/572078/ft1_4FGL_J2234.2-4156_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/572078/ft2_4FGL_J2234.2-4156_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/572078/ft1_4FGL_J2234.2-4156_daily_bin1771.fits outfile=/scratch/kocevski/572078/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1771.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=698371201.0 tmax=698630401.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.18
user 2.87
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/572078/ft2_4FGL_J2234.2-4156_daily_bin1771.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/572078/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/572078/ft1_filtered_4FGL_J2234.2-4156_daily_bin1771.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.64
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 28

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/572078/ft1_filtered_4FGL_J2234.2-4156_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/572078/ft2_4FGL_J2234.2-4156_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/572078/ltcube_698371201_698630401_4FGL_J2234.2-4156_daily_bin1771.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/572078/ft2_4FGL_J2234.2-4156_daily_bin1771.fits
.....................!
real 12.87
user 12.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/572078/ft1_filtered_4FGL_J2234.2-4156_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/572078/ft2_4FGL_J2234.2-4156_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/572078/ltcube_698371201_698630401_4FGL_J2234.2-4156_daily_bin1771.fits outfile=/scratch/kocevski/572078/expmap_698371201_698630401_4FGL_J2234.2-4156_daily_bin1771.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/572078/ltcube_698371201_698630401_4FGL_J2234.2-4156_daily_bin1771.fits
.....................!
real 190.22
user 184.96
sys 4.90

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/572078/ft1_filtered_4FGL_J2234.2-4156_daily_bin1771.fits scfile=/scratch/kocevski/572078/ft2_4FGL_J2234.2-4156_daily_bin1771.fits outfile=/scratch/kocevski/572078/cmap_698371201_698630401_4FGL_J2234.2-4156_daily_bin1771.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/572078/ft1_filtered_4FGL_J2234.2-4156_daily_bin1771.fits scfile=/scratch/kocevski/572078/ft2_4FGL_J2234.2-4156_daily_bin1771.fits outfile=/scratch/kocevski/572078/cmap_HighResolution_698371201_698630401_4FGL_J2234.2-4156_daily_bin1771.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.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/572078/ft1_filtered_4FGL_J2234.2-4156_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/572078/ft2_4FGL_J2234.2-4156_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/572078/Model_4FGL_J2234.2-4156_daily_bin1771.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/572078/ft1_filtered_4FGL_J2234.2-4156_daily_bin1771.fits............................!
real 15.27
user 13.99
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1159       1.0000          .0000       .10000E+07
     2 'norm      '    .11542E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87774E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12863E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .50851E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19967E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .41568E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .96669E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .64509E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .40707E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.2117       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18416E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .99256E+06   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7088       1.0000          .0000       .10000E+07
    15 'Prefactor '    .45098E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    22.836       1.0000          .0000       .10000E+07
    17 'Prefactor '    .99972E+06   1.0000          .0000       .10000E+07
    18 'Prefactor '    .40608E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    12.854       1.0000          .0000       .10000E+07
    20 'norm      '    5.6206       1.0000          .0000       .10000E+07
    21 'norm      '    .71424E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .28990E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .10002E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .21171       1.0000          .0000       .10000E+07
    25 'Prefactor '    .20577E-01   1.0000          .0000       .10000E+07
    26 'norm      '    .88213E-06   1.0000          .0000       .10000E+07
    27 'Prefactor '    .35132       1.0000          .0000       .10000E+07
    28 'norm      '    .19318E-07   1.0000          .0000       .10000E+07
    29 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    .12809       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.

 FCN=   226.4174     FROM MIGRAD    STATUS=CONVERGED    943 CALLS     3609 TOTAL
                     EDM=   .67E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    560.57       -.10530E-05** at limit **
   2  norm           .0000        12.112        .23204E-06** at limit **
   3  Prefactor      .0000        10.548        .15856E-09** at limit **
   4  Prefactor      .0000        9.9519        .16561E-08** at limit **
   5  Prefactor      .0000        30.983        .18040E-08** at limit **
   6  Prefactor      .0000        4.9486        .10621E-09** at limit **
   7  Prefactor      .0000        61.084        .12189E-09** at limit **
   8  norm           .0000        9.9309        .14400E-08** at limit **
   9  Prefactor      .0000        383.37        .15507E-09** at limit **
  10  Prefactor      .0000        13.692        .42276E-10** at limit **
  11  Prefactor      .0000        691.90       -.69641E-09** at limit **
  12  Prefactor      .0000        10.130        .61795E-10** at limit **
  13  Prefactor     .10000E+07    .11898E+06    .52130E-05** at limit **
  14  Prefactor      .0000        2873.7        .12254E-07** at limit **
  15  Prefactor      .0000        34.164        .10389E-08** at limit **
  16  Prefactor      .0000        10212.        .16214E-06** at limit **
  17  Prefactor     .10000E+07    40328.        .77030E-06** at limit **
  18  Prefactor      .0000        193.75        .11036E-09** at limit **
  19  Prefactor      .0000        3878.2       -.44118E-07** at limit **
  20  norm           .0000        728.06        .16128E-08** at limit **
  21  norm           .0000        643.30       -.20528E-08** at limit **
  22  norm           .0000        20.510        .96692E-12** at limit **
  23  norm           .0000        19.683        .26229E-12** at limit **
  24  Prefactor      .0000        150.18        .47421E-10** at limit **
  25  Prefactor      .0000        83.589        .77798E-11** at limit **
  26  norm           .0000        7.9940        .78701E-12** at limit **
  27  Prefactor      .0000        114.08        .10485E-10** at limit **
  28  norm           .0000        6.9580        .61426E-12** at limit **
  29  Normalizat    .10000E-01    .68905E-01    .88794E-05** at limit **
  30  Prefactor     .12836        .11294       -.44034E-06   -.31218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1e+06
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1e+06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Normalizat = 0.01
  Prefactor  = 0.128362
 **********
 **   18 **HESSE 
 **********

 FCN=   226.4174     FROM HESSE     STATUS=OK           566 CALLS     4175 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    539.72        .99329E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        12.095        .51140E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        10.547        .47780E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        9.9501        .46411E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        30.972        .81889E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.9485        .65454E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        61.083        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        9.9301        .46362E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        383.36        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        13.692        .54437E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        691.89        .69924E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.130        .46825E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E+07    .11818E+06    .23271E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2873.4        .77433E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        34.159        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        10211.        .41863E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E+07    40366.        .12056E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        193.75        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        3877.7        .55826E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        728.05        .84699E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        643.29        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        20.510        .66628E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        19.683        .65270E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        150.18        .18030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        83.589        .13451E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        7.9940        .41596E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        114.08        .15714E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm           .0000        6.9580        .38807E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .10000E-01    .68710E-01    .12189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .12836        .11302        .14803E-03   -1.3437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34503e-11
Minuit parameter uncertainties:
  1  0.000309405
  2  4.84401e-06
  3  7.0835e-08
  4  2.2048e-07
  5  8.72876e-07
  6  2.62477e-08
  7  7.94878e-08
  8  9.42222e-08
  9  2.64624e-07
  10  1.98833e-08
  11  3.07084e-07
  12  1.52372e-08
  13  0.440966
  14  5.2864e-06
  15  3.18687e-07
  16  7.01205e-05
  17  0.025891
  18  9.22193e-08
  19  9.63991e-06
  20  1.11921e-07
  21  2.11717e-07
  22  8.40967e-10
  23  3.90377e-10
  24  4.57632e-08
  25  1.59978e-08
  26  5.0116e-10
  27  1.88366e-08
  28  2.50259e-10
  29  5.67417e-08
  30  0.113207
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  3.071e-07  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.284e-01  1.132e-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.000e-02  5.674e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 338.568 -41.941
Photon Flux Upper Limit: 2.31e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/572078/likelihoodResults_698371201_698630401_4FGL_J2234.2-4156_daily_bin1771.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) = 226.418108908
delta logL = -0.000688692169234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 226.417420219
delta logL = -3.1744775697e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33307E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.2109       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .12837       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=   226.4174     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      216 TOTAL
                     EDM=   .16E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1333.7        .51855E-06** at limit **
   2  Index         1.2849        9.3465        .16617E-05     .0000    
   3  Normalizat    .10000E-01    .68696E-01    .80271E-05** at limit **
   4  Prefactor     .12836        .11300       -.39276E-05    .18491E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.28489
  Normalizat = 0.01
  Prefactor  = 0.128362
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   226.4174     FROM HESSE     STATUS=FAILED        11 CALLS      227 TOTAL
                     EDM=   .16E-14  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1328.0        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .12405        1.2736        .16617E-05   -.83757    
   3  Normalizat    .10000E-01    .25505        .80271E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12836        .37709       -.39276E-05   -1.3437    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.5632e-15
Minuit parameter uncertainties:
  1  9.53242e-05
  2  0.826604
  3  9.65935e-09
  4  0.384527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/572078': 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): 101
logL (Free Index) = 226.417420216
delta logL = 4.91695573146e-12

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  9.532e-05  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.285e+00  8.266e-01  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.284e-01  3.845e-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.000e-02  9.659e-09  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/572078/cmap_HighResolution_698371201_698630401_4FGL_J2234.2-4156_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-01', job_status='DONE', photon_flux_upper_limit='2.31e-06', time_completed='2023-02-21 02:33:52.359867', job_id='572078', GAL2='0.13', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1676975632.36', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.13', dlogl='4.92e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1771' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:33:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 572078: <4FGL_J2234.2-4156_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 02:25:19 2023
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:25:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:25:20 2023
Terminated at Tue Feb 21 02:33:53 2023
Results reported at Tue Feb 21 02:33:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1771 338.568 -41.9411 698371201 698630401 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 :                                   348.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             244.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            514 sec.

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

