/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 87 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7609
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1225
RA = 338.568, Dec = -41.9411
tmin = 556848001, tmax = 557107201
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='361482', job_status='RUN', time_executed='2021-09-28 14:51:55.809292', time_epoch_executed='1632865915.81' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361482

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361482/ft1_4FGL_J2234.2-4156_daily_bin1225.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361482/ft1_4FGL_J2234.2-4156_daily_bin1225.fits outfile=/scratch/kocevski/361482/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1225.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=556848001.0 tmax=557107201.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.58
user 3.36
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.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/361482/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1225.fits evtable="EVENTS" outfile="/scratch/kocevski/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.fits" evtable="EVENTS" scfile=/scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits sctable="SC_DATA" outfile=/scratch/kocevski/361482/ltcube_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.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/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits
.....................!
real 15.58
user 15.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits sctable="SC_DATA" expcube=/scratch/kocevski/361482/ltcube_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.fits outfile=/scratch/kocevski/361482/expmap_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.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/361482/ltcube_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.fits
.....................!
real 190.42
user 185.54
sys 4.49

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/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.fits scfile=/scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits outfile=/scratch/kocevski/361482/cmap_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.fits scfile=/scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits outfile=/scratch/kocevski/361482/cmap_HighResolution_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/361482/Model_4FGL_J2234.2-4156_daily_bin1225.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/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.fits.............!
real 14.80
user 13.50
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.fits', '/scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits', expMap='/scratch/kocevski/361482/expmap_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.fits', expCube='/scratch/kocevski/361482/ltcube_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/361482/Model_4FGL_J2234.2-4156_daily_bin1225.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  1.000e-04  1.000e+04 ( 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/361482/ft1_filtered_4FGL_J2234.2-4156_daily_bin1225.fits
Spacecraft file(s): /scratch/kocevski/361482/ft2_4FGL_J2234.2-4156_daily_bin1225.fits
Exposure map: /scratch/kocevski/361482/expmap_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.fits
Exposure cube: /scratch/kocevski/361482/ltcube_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/361482/Model_4FGL_J2234.2-4156_daily_bin1225.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 154.193095929

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 148.295916905

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10410E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22640E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    133.93       1.0000         .10000E-03   10000.    
     5 'Prefactor '    160.62       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.330       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.725       1.0000         .10000E-03   10000.    
     8 'norm      '    .11555E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13716       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .60587E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .25405E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .36671E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.6770       1.0000         .10000E-03   10000.    
    14 'Prefactor '    80.603       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2274       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .78797E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0051       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2114       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9999.0       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .80308       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.8139       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9905.0       1.0000         .10000E-03   10000.    
    23 'norm      '    12.589       1.0000         .10000E-03   10000.    
    24 'norm      '    1404.2       1.0000         .10000E-03   10000.    
    25 'norm      '    1.6031       1.0000         .10000E-03   10000.    
    26 'norm      '    7.1966       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3176.0       1.0000         .10000E-03   10000.    
    28 'Prefactor '    7.3359       1.0000         .10000E-03   10000.    
    29 'norm      '    5.8937       1.0000         .10000E-03   10000.    
    30 'Prefactor '    97.365       1.0000         .10000E-03   10000.    
    31 'norm      '    .19013E-02   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .22114       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .31281       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=   146.4058     FROM MIGRAD    STATUS=CONVERGED   1452 CALLS     2741 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    93.050       -.41012E-06** at limit **
   2  norm          .10000E-03    13.901        .41654E-06** at limit **
   3  Prefactor     .10000E-03    124.11       -.57471E-07** at limit **
   4  Prefactor     135.95        101.77        .32362E-05    .26604E-03
   5  Prefactor     100.63        894.43        .78636E-05    .21938E-02
   6  Prefactor     11.771        121.13        .52847E-05    .17323E-04
   7  Prefactor     .10000E-03    467.32        .11553E-05** at limit **
   8  norm          .10000E-03    23.832       -.10440E-06** at limit **
   9  Prefactor     .64539E-03    9970.0       -.13527E-05** at limit **
  10  Prefactor     .10000E-03    196.47       -.14775E-05** at limit **
  11  Prefactor     .10003E-03    8497.8        .56987E-05** at limit **
  12  Prefactor     .10000E-03    148.65       -.16251E-05** at limit **
  13  Prefactor     5485.7        6795.1       -.48655E-03   -.10642E-01
  14  Prefactor     9999.2        8892.9       -.34944E-05   -.37693E-02
  15  Prefactor     .10000E-03    642.80       -.72727E-06** at limit **
  16  Prefactor     .10000E-03    127.10       -.32477E-05** at limit **
  17  Prefactor     .10000E-03    1071.4        .43014E-05** at limit **
  18  Prefactor     4.2114        1.0072         .0000         .0000    
  19  Prefactor    10000.0        6742.1        .24554E-06** at limit **
  20  Prefactor     .10000E-03    1438.6       -.36501E-05** at limit **
  21  Prefactor     6.8139        1.0027         .0000         .0000    
  22  Prefactor    10000.0        6201.5       -.26692E-05   -.12366E-02
  23  norm          9999.9        8328.9       -.63545E-04   -.26561E-03
  24  norm          9985.6        9935.1        .57814E-04   -.10294E-01
  25  norm          898.93        9475.5       -.72420E-03    .14662E-02
  26  norm          7.1966        1.0024         .0000         .0000    
  27  Prefactor     9980.7        7241.3       -.64795E-04    .40048E-01
  28  Prefactor     9979.5        5002.5        .19748E-03    .26222E-03
  29  norm          9951.5        9797.1        .44406E-04   -.16679E-02
  30  Prefactor     9994.6        9539.2        .12344E-03   -.77574E-02
  31  norm          .10589E-03    9981.0        .12404E-04** at limit **
  32  Normalizat    .10000E-01    6.1171       -.77637E-03** at limit **
  33  Prefactor     .43001        .71638        .13595E-04    .57024E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 135.947
  Prefactor  = 100.631
  Prefactor  = 11.7714
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.000645389
  Prefactor  = 0.000100001
  Prefactor  = 0.000100033
  Prefactor  = 0.000100001
  Prefactor  = 5485.66
  Prefactor  = 9999.23
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.21144
  Prefactor  = 10000
  Prefactor  = 0.000100002
  Prefactor  = 6.81391
  Prefactor  = 10000
  norm       = 9999.94
  norm       = 9985.62
  norm       = 898.929
  norm       = 7.19664
  Prefactor  = 9980.66
  Prefactor  = 9979.55
  norm       = 9951.49
  Prefactor  = 9994.59
  norm       = 0.000105894
  Normalizat = 0.01
  Prefactor  = 0.43001
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   146.4058     FROM HESSE     STATUS=FAILED        79 CALLS     2820 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    94.984        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    13.930        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    127.87        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     135.95        94.871        .86994E-03   -1.3371    
   5  Prefactor     100.63        309.85        .79545E-03   -1.7718    
   6  Prefactor     11.771        80.016        .18495E-02   -1.6394    
   7  Prefactor     .10000E-03    466.81        .20559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    23.551        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .64539E-03    9968.4        .96870E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    202.48        .10529E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10003E-03    8568.3        .10001E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    144.11        .10651E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5485.7        7213.0        .32205E-02    .97286E-01
  14  Prefactor     9999.2        8919.6        .11184E-02    1.5533    
  15  Prefactor     .10000E-03    607.36        .37301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    121.96        .10456E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1015.5        .13456E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     539.79        535.52         .0000       -1.5298    
  19  Prefactor    10000.0        .42510        .24554E-06    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .38759       -.36501E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8139        1.0027         .0000       -1.5186    
  22  Prefactor    10000.0        .67842E-02   -.26692E-05    1.5695    
  23  norm          9999.9        .69664E-01   -.63545E-04    1.5659    
  24  norm          9985.6        .10908        .57814E-04    1.4949    
  25  norm          898.93        23.938       -.72420E-03   -2.1798    
  26  norm          7.1966        1.0024         .0000       -1.5171    
  27  Prefactor     9980.7        .94372E-01   -.64795E-04    1.6588    
  28  Prefactor     9979.5        1.6726        .19748E-03    1.6613    
  29  norm          9951.5        2.8732        .44406E-04    1.4314    
  30  Prefactor     9994.6        .23672        .12344E-03    1.5243    
  31  norm          .10589E-03    .25689        .12404E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .31087       -.77637E-03   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .43001        .73317        .13595E-04   -1.1530    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.17917e-09
Minuit parameter uncertainties:
  1  5.21414e-05
  2  8.83943e-06
  3  0.00120495
  4  94.9776
  5  315.057
  6  61.4993
  7  0.00286288
  8  2.4001e-06
  9  6.96421
  10  0.000723936
  11  0.0367724
  12  0.000645297
  13  149941
  14  189.193
  15  0.00100254
  16  0.000246792
  17  0.00248252
  18  1.00723
  19  0.000113286
  20  5.63026e-05
  21  1.00272
  22  0.0067842
  23  0.0696645
  24  0.109076
  25  23.9381
  26  1.00243
  27  0.094372
  28  1.67264
  29  2.8732
  30  0.236717
  31  0.00246091
  32  0.000100763
  33  0.750147
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 146.405771286

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  3.677e-02  1.000e-04  1.000e+04 ( 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:  4.300e-01  7.501e-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  1.008e-04  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -0.542508984248

TS (Fixed Index): -0.00
Ra Dec: 338.568 -41.941
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.50e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/361482/likelihoodResults_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.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) = 146.405970451
delta logL = -0.000199164333168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 146.405970451
delta logL = -0.000199164325153

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    1.9924       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=   146.4060     FROM MIGRAD    STATUS=CONVERGED     21 CALLS       91 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       1.9927        3.3612        .50000       -.10521E-05
                               ERR DEF=  .500    
Final values: 
  Index      = 1.99267
 **********
 **   18 **HESSE 
 **********

 FCN=   146.4060     FROM HESSE     STATUS=OK            11 CALLS      102 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       1.9927        3.3612        .50000       -.64534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10688e-12
Minuit parameter uncertainties:
  1  3.99449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361482': 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) = 146.40597045
delta logL = -0.000199164255804

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  9.605e-03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14) fixed
286        Index:  1.993e+00  3.994e+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:  4.285e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/361482/cmap_HighResolution_556848001_557107201_4FGL_J2234.2-4156_daily_bin1225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.50e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-28 14:57:30.829753', job_id='361482', GAL2='0.43', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632866250.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.43', dlogl='-1.99e-04', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1225' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:57:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 361482: <4FGL_J2234.2-4156_daily_bin1225> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1225> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:50:18 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:50:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 14:50:20 2021
Terminated at Tue Sep 28 14:57:31 2021
Results reported at Tue Sep 28 14:57:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1225 338.568 -41.9411 556848001 557107201 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 :                                   335.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   431 sec.
    Turnaround time :                            433 sec.

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

