/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 39 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 = 7452
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1212
RA = 338.568, Dec = -41.9411
tmin = 553478401, tmax = 553737601
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='361463', job_status='RUN', time_executed='2021-09-28 14:51:05.820528', time_epoch_executed='1632865865.82' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1212'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361463/ft1_4FGL_J2234.2-4156_daily_bin1212.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361463/ft2_4FGL_J2234.2-4156_daily_bin1212.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361463/ft1_4FGL_J2234.2-4156_daily_bin1212.fits outfile=/scratch/kocevski/361463/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1212.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=553478401.0 tmax=553737601.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.63
user 2.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361463/ft1_filtered_4FGL_J2234.2-4156_daily_bin1212.fits" evtable="EVENTS" scfile=/scratch/kocevski/361463/ft2_4FGL_J2234.2-4156_daily_bin1212.fits sctable="SC_DATA" outfile=/scratch/kocevski/361463/ltcube_553478401_553737601_4FGL_J2234.2-4156_daily_bin1212.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/361463/ft2_4FGL_J2234.2-4156_daily_bin1212.fits
.....................!
real 12.63
user 12.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361463/ft1_filtered_4FGL_J2234.2-4156_daily_bin1212.fits evtable="EVENTS" scfile=/scratch/kocevski/361463/ft2_4FGL_J2234.2-4156_daily_bin1212.fits sctable="SC_DATA" expcube=/scratch/kocevski/361463/ltcube_553478401_553737601_4FGL_J2234.2-4156_daily_bin1212.fits outfile=/scratch/kocevski/361463/expmap_553478401_553737601_4FGL_J2234.2-4156_daily_bin1212.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/361463/ltcube_553478401_553737601_4FGL_J2234.2-4156_daily_bin1212.fits
.....................!
real 192.31
user 187.11
sys 4.69

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/361463/ft1_filtered_4FGL_J2234.2-4156_daily_bin1212.fits scfile=/scratch/kocevski/361463/ft2_4FGL_J2234.2-4156_daily_bin1212.fits outfile=/scratch/kocevski/361463/cmap_553478401_553737601_4FGL_J2234.2-4156_daily_bin1212.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/361463/ft1_filtered_4FGL_J2234.2-4156_daily_bin1212.fits scfile=/scratch/kocevski/361463/ft2_4FGL_J2234.2-4156_daily_bin1212.fits outfile=/scratch/kocevski/361463/cmap_HighResolution_553478401_553737601_4FGL_J2234.2-4156_daily_bin1212.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.455       1.0000         .10000E-03   10000.    
     2 'norm      '    .99687       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1554       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.775       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .41466E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    81.080       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2597       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3041       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.316       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.054       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11449E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.995       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .34821E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    102.30       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.4551       1.0000         .10000E-03   10000.    
    24 'norm      '    5.1602       1.0000         .10000E-03   10000.    
    25 'norm      '    9.4731       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    6.9988       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .91273       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    19.451       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .89612       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.4248       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=   3434.754     FROM MIGRAD    STATUS=CONVERGED    882 CALLS     4596 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.237        136.08       -.31044E-06    .57992E-04
   2  norm          1.0081        16.151        .11318E-04    .31450E-04
   3  Prefactor     .10000E-03    36.876        .35376E-05** at limit **
   4  Prefactor     9.1595        16.486       -.11424E-05   -.97256E-04
   5  Prefactor     15.866        112.77        .15519E-04   -.88777E-05
   6  Prefactor     .10000E-03    90.667        .25677E-04** at limit **
   7  Prefactor     81.455        169.81        .11884E-04   -.90060E-04
   8  norm          .10000E-03    6.2868        .47786E-07** at limit **
   9  Prefactor     5.2547        21.331        .10843E-05   -.13481E-04
  10  Prefactor     3.3027        7.4501       -.61130E-05    .54566E-04
  11  Prefactor     .10000E-03    38.667        .10323E-05** at limit **
  12  Prefactor     .10000E-03    6.3091        .16008E-05** at limit **
  13  Prefactor     27.320        29.855       -.15129E-06   -.80213E-05
  14  Prefactor     .10000E-03    14.072        .71927E-06** at limit **
  15  Prefactor     .10000E-03    16.770        .54535E-06** at limit **
  16  Prefactor     17.040        20.572        .13631E-06   -.46034E-04
  17  Prefactor     .10000E-03    294.07        .20092E-05** at limit **
  18  Prefactor     15.993        16.546       -.35129E-07   -.11838E-04
  19  Prefactor     .10000E-03    5.8852        .10137E-05** at limit **
  20  Prefactor     .10000E-03    244.93        .85728E-05** at limit **
  21  Prefactor     102.29        97.659        .33376E-06    .29689E-05
  22  Prefactor     .10000E-03    61.406        .10982E-04** at limit **
  23  norm          1.4529        84.037        .59741E-05   -.12944E-05
  24  norm          5.1602        5.2261        .11093E-06    .57615E-05
  25  norm          9.4731        7.3052       -.80628E-06   -.14253E-03
  26  norm          .10000E-03    4.0619        .30340E-06** at limit **
  27  Prefactor     6.9995        7.1434        .36755E-07   -.11274E-03
  28  Prefactor     .10000E-03    14.156        .18595E-06** at limit **
  29  norm          .91962        7.3008        .15633E-05    .25769E-03
  30  Prefactor     .10000E-03    18.238        .21629E-05** at limit **
  31  norm          19.452        9.3916       -.13353E-05   -.36149E-03
  32  Normalizat    .89666        .30037        .20881E-05   -.33265E-03
  33  Prefactor     1.4243        .28895       -.55058E-05   -.44025E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.2372
  norm       = 1.00805
  Prefactor  = 0.0001
  Prefactor  = 9.15954
  Prefactor  = 15.8663
  Prefactor  = 0.0001
  Prefactor  = 81.4552
  norm       = 0.0001
  Prefactor  = 5.25472
  Prefactor  = 3.30265
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.3201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0401
  Prefactor  = 0.0001
  Prefactor  = 15.9934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 102.294
  Prefactor  = 0.000100002
  norm       = 1.45289
  norm       = 5.16019
  norm       = 9.47313
  norm       = 0.0001
  Prefactor  = 6.99947
  Prefactor  = 0.0001
  norm       = 0.919623
  Prefactor  = 0.0001
  norm       = 19.4519
  Normalizat = 0.89666
  Prefactor  = 1.42425
 **********
 **   18 **HESSE 
 **********

 FCN=   3434.754     FROM HESSE     STATUS=OK           691 CALLS     5287 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.237        136.16        .27688E-03   -1.4261    
   2  norm          1.0081        16.224        .44177E-03   -1.5507    
   3  Prefactor     .10000E-03    37.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.1595        16.488        .13246E-03   -1.5103    
   5  Prefactor     15.866        110.40        .10084E-03   -1.4911    
   6  Prefactor     .10000E-03    89.962        .42017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     81.455        167.16        .22302E-03   -1.3900    
   8  norm          .10000E-03    6.3108        .14352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.2547        21.342        .17526E-03   -1.5249    
  10  Prefactor     3.3027        7.3372        .10889E-02   -1.5344    
  11  Prefactor     .10000E-03    38.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.4282        .14396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.320        29.807        .76652E-04   -1.4662    
  14  Prefactor     .10000E-03    14.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.040        20.567        .96986E-04   -1.4882    
  17  Prefactor     .10000E-03    294.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.993        16.555        .10014E-03   -1.4908    
  19  Prefactor     .10000E-03    5.9127        .13896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    248.85        .21326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     102.29        97.770        .39752E-04   -1.3682    
  22  Prefactor     .10000E-03    62.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.4529        84.946        .35694E-03   -1.5467    
  24  norm          5.1602        5.2310        .13160E-03   -1.5254    
  25  norm          9.4731        7.2882        .12821E-03   -1.5092    
  26  norm          .10000E-03    4.0653        .11537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     6.9995        7.1268        .15164E-03   -1.5179    
  28  Prefactor     .10000E-03    14.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .91962        11.894        .25696E-02   -1.5516    
  30  Prefactor     .10000E-03    18.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          19.452        9.2110        .90814E-04   -1.4826    
  32  Normalizat    .89666        .35455        .31465E-03   -.96578    
  33  Prefactor     1.4243        .34378        .25551E-03   -.79684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78598e-09
Minuit parameter uncertainties:
  1  136.987
  2  8.09047
  3  4.07499e-05
  4  16.4959
  5  83.927
  6  0.000214957
  7  168.135
  8  8.45318e-06
  9  21.1926
  10  7.3392
  11  0.00024829
  12  6.94391e-05
  13  29.8237
  14  5.97418e-05
  15  1.21272e-05
  16  20.5755
  17  0.000223343
  18  16.5597
  19  5.24427e-05
  20  0.000261375
  21  97.9247
  22  0.000750955
  23  22.2511
  24  5.23149
  25  7.2889
  26  4.47616e-06
  27  7.12763
  28  1.6209e-05
  29  6.61578
  30  7.63052e-05
  31  9.21171
  32  0.355476
  33  0.344339
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.483e-04  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:  1.424e+00  3.443e-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:  8.967e-01  3.555e-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: 9.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/361463/likelihoodResults_553478401_553737601_4FGL_J2234.2-4156_daily_bin1212.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) = 3434.75431686
delta logL = -0.000122210836253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3434.75419464
delta logL = 9.97397364699e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9294       1.0000          .0000       10.000    
     3 'Normalizat'    .89673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4242       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=   3434.754     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      270 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6808.3        .18142E-02** at limit **
   2  Index         1.9190        9.0385        .50000        .19750E-05
   3  Normalizat    .89668        .82922E-01    .31465E-03    .39158E-03
   4  Prefactor     1.4242        .82982E-01    .25551E-03    .28481E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91901
  Normalizat = 0.896678
  Prefactor  = 1.42424
 **********
 **   18 **HESSE 
 **********

 FCN=   3434.754     FROM HESSE     STATUS=OK            29 CALLS      299 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    90.550        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9190        5.5041        .50000       -.66390    
   3  Normalizat    .89668        .32483        .62930E-04   -.96577    
   4  Prefactor     1.4242        .32529        .51102E-04   -.79684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31361e-10
Minuit parameter uncertainties:
  1  2.09487e-05
  2  5.9858
  3  0.325545
  4  0.325765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361463': 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) = 3434.75419461
delta logL = 3.8964117266e-08

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.095e-05  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.919e+00  5.986e+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.424e+00  3.258e-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:  8.967e-01  3.255e-01  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/361463/cmap_HighResolution_553478401_553737601_4FGL_J2234.2-4156_daily_bin1212.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', job_status='DONE', photon_flux_upper_limit='9.74e-08', time_completed='2021-09-28 15:01:48.153712', job_id='361463', GAL2='1.42', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1632866508.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='3.90e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1212' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:01:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 361463: <4FGL_J2234.2-4156_daily_bin1212> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1212> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:50:16 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:50:18 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:18 2021
Terminated at Tue Sep 28 15:01:48 2021
Results reported at Tue Sep 28 15:01:48 2021

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   642.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            692 sec.

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

