/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 47 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 = 7511
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1143
RA = 338.691, Dec = 9.732
tmin = 535593601, tmax = 535852801
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='370927', job_status='RUN', time_executed='2021-09-28 15:16:31.739145', time_epoch_executed='1632867391.74' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1143'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/370927

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/370927/ft1_4FGL_J2234.7+0943_daily_bin1143.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/370927/ft1_4FGL_J2234.7+0943_daily_bin1143.fits outfile=/scratch/kocevski/370927/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1143.fits ra=338.691 dec=9.732 rad=12.0 tmin=535593601.0 tmax=535852801.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 5.04
user 4.79
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.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/370927/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1143.fits evtable="EVENTS" outfile="/scratch/kocevski/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.fits" evtable="EVENTS" scfile=/scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits sctable="SC_DATA" outfile=/scratch/kocevski/370927/ltcube_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.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/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits
.....................!
real 12.18
user 11.81
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.fits evtable="EVENTS" scfile=/scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits sctable="SC_DATA" expcube=/scratch/kocevski/370927/ltcube_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.fits outfile=/scratch/kocevski/370927/expmap_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.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/370927/ltcube_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.fits
.....................!
real 190.60
user 185.03
sys 5.12

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/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.fits scfile=/scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits outfile=/scratch/kocevski/370927/cmap_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.fits scfile=/scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits outfile=/scratch/kocevski/370927/cmap_HighResolution_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.fits evtable="EVENTS" scfile=/scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/370927/Model_4FGL_J2234.7+0943_daily_bin1143.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/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.fits.....................!
real 107.77
user 106.17
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.fits', '/scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits', expMap='/scratch/kocevski/370927/expmap_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.fits', expCube='/scratch/kocevski/370927/ltcube_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/370927/Model_4FGL_J2234.7+0943_daily_bin1143.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/370927/ft1_filtered_4FGL_J2234.7+0943_daily_bin1143.fits
Spacecraft file(s): /scratch/kocevski/370927/ft2_4FGL_J2234.7+0943_daily_bin1143.fits
Exposure map: /scratch/kocevski/370927/expmap_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.fits
Exposure cube: /scratch/kocevski/370927/ltcube_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/370927/Model_4FGL_J2234.7+0943_daily_bin1143.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) = 10220.834685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9323       1.0000         .10000E-03   10000.    
     2 'norm      '    .10233E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2763       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.714       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.9875       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.779       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.4073       1.0000         .10000E-03   10000.    
    12 'norm      '    .16068       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.994       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2531       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.335       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.849       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.174       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98972       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0803       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10220.80     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1983 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9324        3.9173       -.28031E-06    .22540E-04
   2  norm          .10104E-03    15.226        .18653E-04** at limit **
   3  norm          1.2763        1.3748       -.19022E-06    .21354E-03
   4  Prefactor     .10000E-03    8.1689       -.58760E-06** at limit **
   5  Prefactor     11.710        1.5587       -.16393E-05    .73763E-04
   6  Prefactor     .10156E-03    15.828       -.23409E-04** at limit **
   7  norm          5.9872        4.6947       -.42958E-05   -.18800E-02
   8  Prefactor     .10120E-03    43.402        .78523E-06** at limit **
   9  Prefactor     .10013E-03    11.275        .16036E-05** at limit **
  10  Prefactor     13.778        .78050        .10869E-06   -.30716E-02
  11  Prefactor     8.4081        1.0028       -.31411E-07   -.21747E-04
  12  norm          .16053        1.8213       -.32402E-05   -.18398E-03
  13  Prefactor     .10062E-03    13.874        .22645E-04** at limit **
  14  Prefactor     19.995        1.0084       -.94842E-07    .25174E-03
  15  Prefactor     .10007E-03    12.773       -.10007E-04** at limit **
  16  Prefactor     1.2531        .26135       -.89230E-07    .58025E-03
  17  Prefactor     19.297        18.900       -.21865E-04    .86656E-02
  18  Prefactor     10.848        1.0279       -.30736E-06    .12914E-03
  19  Prefactor     .10000E-03    4.7161        .10167E-05** at limit **
  20  Prefactor     27.171        1.5272       -.10874E-05    .23110E-03
  21  Normalizat    .98985        .33420        .24420E-05    .34719E-06
  22  Prefactor     1.0803        .17365        .14111E-05   -.50038E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.93241
  norm       = 0.000101038
  norm       = 1.27627
  Prefactor  = 0.0001
  Prefactor  = 11.7102
  Prefactor  = 0.000101556
  norm       = 5.9872
  Prefactor  = 0.000101198
  Prefactor  = 0.000100127
  Prefactor  = 13.7784
  Prefactor  = 8.40808
  norm       = 0.160533
  Prefactor  = 0.000100616
  Prefactor  = 19.9955
  Prefactor  = 0.000100072
  Prefactor  = 1.2531
  Prefactor  = 19.2965
  Prefactor  = 10.8477
  Prefactor  = 0.0001
  Prefactor  = 27.1707
  Normalizat = 0.989846
  Prefactor  = 1.08025
 **********
 **   18 **HESSE 
 **********

 FCN=   10220.80     FROM HESSE     STATUS=OK           392 CALLS     2375 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9324        3.9264        .45275E-02   -1.5264    
   2  norm          .10104E-03    27.182        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2763        1.3979        .98324E-02   -1.5482    
   4  Prefactor     .10000E-03    8.1715        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.710        18.954        .29261E-02   -1.5023    
   6  Prefactor     .10156E-03    19.137        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.9872        4.7001        .41024E-02   -1.5219    
   8  Prefactor     .10120E-03    44.827        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10013E-03    24.858        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.778        .78827        .26976E-02   -1.4965    
  11  Prefactor     8.4081        11.453        .34564E-02   -1.5128    
  12  norm          .16053        1.8474        .97967E-02   -1.5628    
  13  Prefactor     .10062E-03    14.950        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.995        19.709        .22393E-02   -1.4813    
  15  Prefactor     .10007E-03    12.882        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.2531        .26722        .50351E-02   -1.5484    
  17  Prefactor     19.297        34.311        .22771E-02   -1.4829    
  18  Prefactor     10.848        11.903        .30410E-02   -1.5049    
  19  Prefactor     .10000E-03    4.7081        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     27.171        28.166        .19213E-02   -1.4665    
  21  Normalizat    .98985        .29406        .11913       -.93371    
  22  Prefactor     1.0803        .14878        .61007E-01   -.90100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76929e-07
Minuit parameter uncertainties:
  1  3.9266
  2  0.0106279
  3  1.39796
  4  7.62322e-05
  5  18.9635
  6  0.0109176
  7  4.70043
  8  0.0146664
  9  0.00356126
  10  0.788266
  11  11.4561
  12  1.08888
  13  0.0060731
  14  19.7152
  15  0.00192365
  16  0.267222
  17  34.3462
  18  11.9056
  19  4.20016e-05
  20  28.1795
  21  0.29454
  22  0.148839
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  8.408e+00  1.146e+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.080e+00  1.488e-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:  9.898e-01  2.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.91
Ra Dec: 338.691 9.732
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/370927/likelihoodResults_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.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) = 10218.5224165
delta logL = 2.27400490281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10218.5056467
delta logL = 2.29077468415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0937       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.3725       1.0000          .0000       10.000    
     3 'Normalizat'    .89552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0929       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.

 FCN=   10218.51     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      235 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1016        56.818        .37654E-02    .52405E-03
   2  Index1        2.3716        2.3316        .98226E-01    .27683E-03
   3  Normalizat    .89571        .12725        .12362        .44046E-04
   4  Prefactor     1.0930        .55624E-01    .60310E-01    .45189E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.10164
  Index1     = 2.37158
  Normalizat = 0.895708
  Prefactor  = 1.09296
 **********
 **   18 **HESSE 
 **********

 FCN=   10218.51     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1016        8.6595        .12860E-03   -1.5175    
   2  Index1        2.3716        .63766        .49172E-02   -.55352    
   3  Normalizat    .89571        .32940        .54862E-03   -.96611    
   4  Prefactor     1.0930        .17388        .26667E-03   -.89692    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32082e-11
Minuit parameter uncertainties:
  1  8.66105
  2  0.640074
  3  0.330138
  4  0.173972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/370927': 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) = 10218.5056441
delta logL = 2.29077725298

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  7.102e+00  8.661e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  2.372e+00  6.401e-01  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.093e+00  1.740e-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:  8.957e-01  3.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.57
Ra Dec: 338.691 9.732
Photon Index (Free Index): 2.37 +/- 0.64
Photon Flux (Free Index): 2.71e-07 +/- 1.59e-07
Energy Flux (Free Index): 5.92e-05 +/- 2.97e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/370927/cmap_HighResolution_535593601_535852801_4FGL_J2234.7+0943_daily_bin1143.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-05', comment='SUCCESS', energy_flux2='5.92e-05', dlogl='2.29e+00', photon_flux2='2.71e-07', job_status='DONE', time_completed='2021-09-28 15:30:30.458886', photon_index_error2='0.64', photon_index2='2.37', ts='0.91', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='2.97e-05', EG='0.99', time_epoch_completed='1632868230.46', return_code='0', job_id='370927', GAL2='1.09', EG2='0.90', return_code2='0', photon_flux_error2='1.59e-07', ts2='5.57', photon_index='0.94' WHERE bin_id='1143' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:30:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 370927: <4FGL_J2234.7+0943_daily_bin1143> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1143> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 15:15:30 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:15:31 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:31 2021
Terminated at Tue Sep 28 15:30:31 2021
Results reported at Tue Sep 28 15:30:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1143 338.691 9.732 535593601 535852801 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 :                                   835.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

