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


Performing analysis on: 4FGL_J2234.2-4156_daily_bin1454
RA = 338.568, Dec = -41.9411
tmin = 616204801, tmax = 616464001
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='362886', job_status='RUN', time_executed='2021-09-28 14:55:45.070775', time_epoch_executed='1632866145.07' WHERE source_name='4FGL J2234.2-4156' and cadence='daily' and bin_id='1454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362886

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362886/ft1_4FGL_J2234.2-4156_daily_bin1454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362886/ft2_4FGL_J2234.2-4156_daily_bin1454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362886/ft1_4FGL_J2234.2-4156_daily_bin1454.fits outfile=/scratch/kocevski/362886/ft1_filteredMKT_4FGL_J2234.2-4156_daily_bin1454.fits ra=338.568 dec=-41.9411 rad=12.0 tmin=616204801.0 tmax=616464001.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.96
user 3.73
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362886/ft1_filtered_4FGL_J2234.2-4156_daily_bin1454.fits" evtable="EVENTS" scfile=/scratch/kocevski/362886/ft2_4FGL_J2234.2-4156_daily_bin1454.fits sctable="SC_DATA" outfile=/scratch/kocevski/362886/ltcube_616204801_616464001_4FGL_J2234.2-4156_daily_bin1454.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/362886/ft2_4FGL_J2234.2-4156_daily_bin1454.fits
.....................!
real 12.02
user 11.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362886/ft1_filtered_4FGL_J2234.2-4156_daily_bin1454.fits evtable="EVENTS" scfile=/scratch/kocevski/362886/ft2_4FGL_J2234.2-4156_daily_bin1454.fits sctable="SC_DATA" expcube=/scratch/kocevski/362886/ltcube_616204801_616464001_4FGL_J2234.2-4156_daily_bin1454.fits outfile=/scratch/kocevski/362886/expmap_616204801_616464001_4FGL_J2234.2-4156_daily_bin1454.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/362886/ltcube_616204801_616464001_4FGL_J2234.2-4156_daily_bin1454.fits
.....................!
real 190.91
user 185.65
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/362886/ft1_filtered_4FGL_J2234.2-4156_daily_bin1454.fits scfile=/scratch/kocevski/362886/ft2_4FGL_J2234.2-4156_daily_bin1454.fits outfile=/scratch/kocevski/362886/cmap_616204801_616464001_4FGL_J2234.2-4156_daily_bin1454.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.55
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/362886/ft1_filtered_4FGL_J2234.2-4156_daily_bin1454.fits evtable="EVENTS" scfile=/scratch/kocevski/362886/ft2_4FGL_J2234.2-4156_daily_bin1454.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/362886/Model_4FGL_J2234.2-4156_daily_bin1454.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/362886/ft1_filtered_4FGL_J2234.2-4156_daily_bin1454.fits.....................!
real 32.76
user 31.46
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.624       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2558       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20826E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.375       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.4203       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.1508       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17411       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.095       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.017       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    61.333       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    9.9518       1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .32355E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    6.7157       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .88132       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .79299       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=   3602.919     FROM MIGRAD    STATUS=CONVERGED    917 CALLS     4699 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.628        44.833       -.49738E-05    .16199E-04
   2  norm          .10000E-03    2.3081        .74612E-07** at limit **
   3  Prefactor     2.2564        7.5134       -.15371E-04   -.38549E-03
   4  Prefactor     .10000E-03    3.4215        .21526E-06** at limit **
   5  Prefactor     .10000E-03    17.763        .24474E-05** at limit **
   6  Prefactor     .10220E-03    8.9343        .16598E-05** at limit **
   7  Prefactor     .10000E-03    95.640        .48518E-04** at limit **
   8  norm          13.375        11.355       -.19780E-07   -.25426E-04
   9  Prefactor     .10000E-03    4.4562       -.82207E-08** at limit **
  10  Prefactor     5.4196        4.6543       -.52682E-06    .31935E-04
  11  Prefactor     .10000E-03    30.023       -.93412E-05** at limit **
  12  Prefactor     3.1490        7.5692       -.34315E-05   -.39958E-03
  13  Prefactor     .10000E-03    15.666       -.14381E-05** at limit **
  14  Prefactor     .10045E-03    29.273       -.21761E-05** at limit **
  15  Prefactor     .10000E-03    26.833        .14664E-05** at limit **
  16  Prefactor     24.093        15.958        .33133E-06    .58344E-04
  17  Prefactor     .10000E-03    80.454       -.52333E-04** at limit **
  18  Prefactor     34.013        16.558        .11290E-06    .27910E-04
  19  Prefactor     .10000E-03    4.3044        .46584E-07** at limit **
  20  Prefactor     61.332        55.193       -.36846E-05    .20477E-04
  21  Prefactor     .10000E-03    36.622        .12874E-04** at limit **
  22  Prefactor     .10000E-03    3.9257        .55742E-07** at limit **
  23  norm          9.9537        14.211       -.33638E-07    .18109E-04
  24  norm          .10000E-03    3.1346       -.83188E-08** at limit **
  25  norm          .10000E-03    2.5419        .41977E-07** at limit **
  26  norm          .10000E-03    4.0277       -.13613E-06** at limit **
  27  Prefactor     .10002E-03    4.6257       -.95168E-06** at limit **
  28  Prefactor     .10000E-03    32.893       -.11680E-05** at limit **
  29  norm          6.7168        5.7861       -.84262E-06   -.11192E-03
  30  Prefactor     .10000E-03    9.0272       -.59387E-07** at limit **
  31  norm          .10000E-03    3.5322       -.66254E-09** at limit **
  32  Normalizat    .88155        .21847        .41879E-06    .19423E-03
  33  Prefactor     .79279        .20522        .37653E-05    .60587E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.6276
  norm       = 0.0001
  Prefactor  = 2.2564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000102197
  Prefactor  = 0.0001
  norm       = 13.3747
  Prefactor  = 0.0001
  Prefactor  = 5.4196
  Prefactor  = 0.0001
  Prefactor  = 3.14898
  Prefactor  = 0.0001
  Prefactor  = 0.000100449
  Prefactor  = 0.0001
  Prefactor  = 24.0929
  Prefactor  = 0.0001
  Prefactor  = 34.0131
  Prefactor  = 0.0001
  Prefactor  = 61.3317
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.95374
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 0.0001
  norm       = 6.71677
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.881548
  Prefactor  = 0.792787
 **********
 **   18 **HESSE 
 **********

 FCN=   3602.919     FROM HESSE     STATUS=OK           701 CALLS     5400 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.628        44.813        .52398E-04   -1.4175    
   2  norm          .10000E-03    2.3135        .89007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2564        7.6548        .27354E-03   -1.5408    
   4  Prefactor     .10000E-03    3.4271        .10844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10220E-03    9.3507        .53172E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    95.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.375        11.359        .10952E-03   -1.4976    
   9  Prefactor     .10000E-03    4.4758        .12372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.4196        4.6575        .11407E-03   -1.5242    
  11  Prefactor     .10000E-03    30.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1490        7.5957        .22835E-03   -1.5353    
  13  Prefactor     .10000E-03    15.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10045E-03    41.673        .88785E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.093        15.945        .81605E-04   -1.4726    
  17  Prefactor     .10000E-03    79.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     34.013        16.643        .68707E-04   -1.4541    
  19  Prefactor     .10000E-03    4.3194        .12160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     61.332        55.123        .51235E-04   -1.4140    
  21  Prefactor     .10000E-03    36.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.9261        .11616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.9537        14.198        .12702E-03   -1.5077    
  24  norm          .10000E-03    3.1359        .10379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.5434        .93436E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    4.0401        .11765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10002E-03    22.417        .25031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    32.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          6.7168        5.7946        .12547E-03   -1.5190    
  30  Prefactor     .10000E-03    9.0563        .17605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          .10000E-03    3.5540        .10993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .88155        .26402        .23030E-03   -.97112    
  33  Prefactor     .79279        .24649        .23506E-03   -.99995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16354e-09
Minuit parameter uncertainties:
  1  44.8384
  2  1.08189e-05
  3  7.65815
  4  3.25648e-05
  5  1.8266e-05
  6  0.0090658
  7  0.000184694
  8  11.3607
  9  6.43476e-06
  10  4.65783
  11  3.87162e-06
  12  7.59803
  13  2.27154e-05
  14  0.00865964
  15  6.23443e-05
  16  15.9483
  17  7.46528e-06
  18  16.6453
  19  6.25607e-06
  20  55.1685
  21  5.4667e-05
  22  5.62307e-07
  23  14.2024
  24  4.5799e-07
  25  5.64086e-07
  26  4.8646e-06
  27  0.00117831
  28  2.26607e-05
  29  5.7951
  30  3.90682e-06
  31  6.14995e-06
  32  0.264413
  33  0.246833
Done.

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

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  3.872e-06  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:  7.928e-01  2.468e-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.815e-01  2.644e-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: 7.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362886/likelihoodResults_616204801_616464001_4FGL_J2234.2-4156_daily_bin1454.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) = 3602.91938949
delta logL = -0.000158660962825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3602.91938944
delta logL = -0.000158612980613

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96310E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9922       1.0000          .0000       10.000    
     3 'Normalizat'    .88155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79279       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=   3602.919     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      195 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1890.4        .90717E-02** at limit **
   2  Index         1.9779        5.2014        .50000        .36681E-05
   3  Normalizat    .88154        .44121E-01    .44665E-01    .11393E-04
   4  Prefactor     .79279        .43154E-01    .43623E-01    .17011E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.97793
  Normalizat = 0.881545
  Prefactor  = 0.792789
 **********
 **   18 **HESSE 
 **********

 FCN=   3602.919     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.907        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9779        5.9813        .50000       -.64903    
   3  Normalizat    .88154        .24283        .23031E-03   -.97112    
   4  Prefactor     .79279        .23751        .23505E-03   -.99995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52288e-11
Minuit parameter uncertainties:
  1  7.8667e-05
  2  3.98404
  3  0.243129
  4  0.237815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362886': 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) = 3602.91923082
delta logL = 1.3480985217e-08

Extracting fit parameters...

4FGL J2234.2-4156
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  7.867e-05  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.978e+00  3.984e+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:  7.928e-01  2.378e-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.815e-01  2.431e-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/362886/cmap_HighResolution_616204801_616464001_4FGL_J2234.2-4156_daily_bin1454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-03', job_status='DONE', photon_flux_upper_limit='7.11e-08', time_completed='2021-09-28 15:07:04.590773', job_id='362886', GAL2='0.79', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632866824.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.35e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.99' WHERE bin_id='1454' AND source_name='4FGL J2234.2-4156' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:07:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 362886: <4FGL_J2234.2-4156_daily_bin1454> in cluster <slac> Done

Job <4FGL_J2234.2-4156_daily_bin1454> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:55:21 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:55:23 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:55:23 2021
Terminated at Tue Sep 28 15:07:05 2021
Results reported at Tue Sep 28 15:07:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.2-4156_daily_bin1454 338.568 -41.9411 616204801 616464001 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 :                                   677.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            704 sec.

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

