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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1179
RA = 338.691, Dec = 9.732
tmin = 544924801, tmax = 545184001
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='370985', job_status='RUN', time_executed='2021-09-28 15:19:28.742493', time_epoch_executed='1632867568.74' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1179'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/370985

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/370985/ft1_4FGL_J2234.7+0943_daily_bin1179.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/370985/ft1_4FGL_J2234.7+0943_daily_bin1179.fits outfile=/scratch/kocevski/370985/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1179.fits ra=338.691 dec=9.732 rad=12.0 tmin=544924801.0 tmax=545184001.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 4.11
user 3.87
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.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/370985/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1179.fits evtable="EVENTS" outfile="/scratch/kocevski/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.fits" evtable="EVENTS" scfile=/scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits sctable="SC_DATA" outfile=/scratch/kocevski/370985/ltcube_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.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/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits
.....................!
real 11.98
user 11.62
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.fits evtable="EVENTS" scfile=/scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits sctable="SC_DATA" expcube=/scratch/kocevski/370985/ltcube_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.fits outfile=/scratch/kocevski/370985/expmap_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.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/370985/ltcube_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.fits
.....................!
real 198.08
user 192.83
sys 4.79

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2234.7+0943 @ 338.691 9.732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.fits scfile=/scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits outfile=/scratch/kocevski/370985/cmap_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.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.691 yref=9.732 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.fits scfile=/scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits outfile=/scratch/kocevski/370985/cmap_HighResolution_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.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.691 yref=9.732 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.fits evtable="EVENTS" scfile=/scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/370985/Model_4FGL_J2234.7+0943_daily_bin1179.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/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.fits....................!
real 29.66
user 28.31
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.fits', '/scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits', expMap='/scratch/kocevski/370985/expmap_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.fits', expCube='/scratch/kocevski/370985/ltcube_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/370985/Model_4FGL_J2234.7+0943_daily_bin1179.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.7+0943'

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.256e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.408e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/370985/ft1_filtered_4FGL_J2234.7+0943_daily_bin1179.fits
Spacecraft file(s): /scratch/kocevski/370985/ft2_4FGL_J2234.7+0943_daily_bin1179.fits
Exposure map: /scratch/kocevski/370985/expmap_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.fits
Exposure cube: /scratch/kocevski/370985/ltcube_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/370985/Model_4FGL_J2234.7+0943_daily_bin1179.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) = 1949.97227424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.456       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.435       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11733E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6935       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0310       1.0000         .10000E-03   10000.    
    12 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10313E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    72.573       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .32623       1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.131       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .46614       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1070       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1949.828     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2633 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.1096        .30245E-06** at limit **
   2  norm          .10000E-03    21.667       -.22403E-04** at limit **
   3  norm          .10000E-03    1.6167       -.71805E-07** at limit **
   4  Prefactor     29.451        27.942        .95828E-06    .18315E-04
   5  Prefactor     10.435        13.870        .28523E-06    .79671E-05
   6  Prefactor     .10000E-03    36.118        .10067E-04** at limit **
   7  norm          .10000E-03    11.025       -.83679E-07** at limit **
   8  Prefactor     .10000E-03    20.716        .18956E-04** at limit **
   9  Prefactor     .10000E-03    101.73        .62627E-04** at limit **
  10  Prefactor     2.6934        .98156        .94766E-07   -.11089E-02
  11  Prefactor     8.0356        23.738       -.79396E-06   -.18897E-04
  12  norm          .10000E-03    16.966       -.76946E-06** at limit **
  13  Prefactor     .10000E-03    79.950       -.27150E-04** at limit **
  14  Prefactor     .10000E-03    204.06       -.59916E-04** at limit **
  15  Prefactor     72.512        151.00       -.65089E-04    .23055E-03
  16  Prefactor     .32508        1.1598        .46694E-05   -.66025E-03
  17  Prefactor     46.176        104.64        .56258E-04   -.53187E-05
  18  Prefactor     .10000E-03    38.703       -.78495E-05** at limit **
  19  Prefactor     .10000E-03    39.154       -.12056E-04** at limit **
  20  Prefactor     .10000E-03    31.159        .10645E-04** at limit **
  21  Normalizat    .46633        .48851       -.13224E-04   -.44919E-04
  22  Prefactor     1.1069        .26437        .15291E-05   -.57232E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 29.4513
  Prefactor  = 10.4353
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.69344
  Prefactor  = 8.03556
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 72.5121
  Prefactor  = 0.325084
  Prefactor  = 46.1761
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.466332
  Prefactor  = 1.10687
 **********
 **   18 **HESSE 
 **********

 FCN=   1949.828     FROM HESSE     STATUS=OK           336 CALLS     2969 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.1635        .87368E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    21.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.6206        .54833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.451        27.940        .73820E-04   -1.4622    
   5  Prefactor     10.435        13.863        .12404E-03   -1.5062    
   6  Prefactor     .10000E-03    36.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    11.026        .14323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    102.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.6934        .98481        .23983E-04   -1.5380    
  11  Prefactor     8.0356        23.914        .14148E-03   -1.5141    
  12  norm          .10000E-03    16.966        .17769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    80.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    204.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     72.512        154.91        .23563E-03   -1.4003    
  16  Prefactor     .32508        1.1280        .64999E-03   -1.5594    
  17  Prefactor     46.176        104.84        .59033E-04   -1.4348    
  18  Prefactor     .10000E-03    38.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    39.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    31.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .46633        .52002        .48787E-03   -1.1400    
  22  Prefactor     1.1069        .28584        .17604E-03   -.89247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76325e-09
Minuit parameter uncertainties:
  1  2.85633e-05
  2  5.22274e-05
  3  2.64471e-06
  4  27.9526
  5  13.8671
  6  5.46171e-05
  7  1.9324e-06
  8  9.56701e-06
  9  4.70171e-06
  10  0.984812
  11  23.9429
  12  4.60202e-06
  13  0.000178983
  14  1.79864e-05
  15  155.787
  16  1.12811
  17  105.263
  18  5.86109e-05
  19  1.94183e-05
  20  7.90994e-05
  21  0.525562
  22  0.286238
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  8.036e+00  2.394e+01  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.408e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.107e+00  2.862e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  4.663e-01  5.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 338.691 9.732
Photon Flux Upper Limit: 1.94e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/370985/likelihoodResults_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.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) = 1949.65498745
delta logL = 0.17310211362

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1949.64431229
delta logL = 0.183777274772

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5027       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.1078       1.0000          .0000       10.000    
     3 'Normalizat'    .41903       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+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=   1949.644     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      269 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4914        22.745        .15466E-03    .35824E-03
   2  Index1        2.1105        1.8799        .65650E-02    .88931E-04
   3  Normalizat    .41966        .53157        .51138E-03    .27122E-05
   4  Prefactor     1.1070        .28840        .17549E-03   -.86194E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.49135
  Index1     = 2.11055
  Normalizat = 0.41966
  Prefactor  = 1.10703
 **********
 **   18 **HESSE 
 **********

 FCN=   1949.644     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4914        17.218        .61864E-05   -1.5198    
   2  Index1        2.1105        1.4429        .26260E-03   -.61614    
   3  Normalizat    .41966        .52335        .20455E-04   -1.1630    
   4  Prefactor     1.1070        .28477        .35098E-04   -.89242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22701e-10
Minuit parameter uncertainties:
  1  17.2316
  2  1.47482
  3  0.529639
  4  0.285164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/370985': 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) = 1949.64430671
delta logL = 0.183782859101

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  6.491e+00  1.723e+01  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  2.111e+00  1.475e+00  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.107e+00  2.852e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  4.197e-01  5.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
Ra Dec: 338.691 9.732

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/370985/cmap_HighResolution_544924801_545184001_4FGL_J2234.7+0943_daily_bin1179.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-04', job_status='DONE', photon_flux_upper_limit='1.94e-07', time_completed='2021-09-28 15:26:25.188647', job_id='370985', GAL2='1.11', fit_tolerance='1e-08', EG2='0.42', EG='0.47', time_epoch_completed='1632867985.19', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.84e-01', ts2='0.52', photon_index_error='0.00', photon_index='0.94' WHERE bin_id='1179' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:26:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 370985: <4FGL_J2234.7+0943_daily_bin1179> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1179> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 15:15:35 2021
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:15:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 15:15:37 2021
Terminated at Tue Sep 28 15:26:25 2021
Results reported at Tue Sep 28 15:26:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1179 338.691 9.732 544924801 545184001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.7+0943 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   413.49 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             226.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            650 sec.

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

