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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin604
RA = 338.691, Dec = 9.732
tmin = 395884801, tmax = 396144001
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='365199', job_status='RUN', time_executed='2021-09-28 15:02:16.552197', time_epoch_executed='1632866536.55' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='604'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/365199

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/365199/ft1_4FGL_J2234.7+0943_daily_bin604.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/365199/ft2_4FGL_J2234.7+0943_daily_bin604.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/365199/ft1_4FGL_J2234.7+0943_daily_bin604.fits outfile=/scratch/kocevski/365199/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin604.fits ra=338.691 dec=9.732 rad=12.0 tmin=395884801.0 tmax=396144001.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.35
user 3.07
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/365199/ft2_4FGL_J2234.7+0943_daily_bin604.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/365199/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin604.fits evtable="EVENTS" outfile="/scratch/kocevski/365199/ft1_filtered_4FGL_J2234.7+0943_daily_bin604.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/365199/ft1_filtered_4FGL_J2234.7+0943_daily_bin604.fits" evtable="EVENTS" scfile=/scratch/kocevski/365199/ft2_4FGL_J2234.7+0943_daily_bin604.fits sctable="SC_DATA" outfile=/scratch/kocevski/365199/ltcube_395884801_396144001_4FGL_J2234.7+0943_daily_bin604.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/365199/ft2_4FGL_J2234.7+0943_daily_bin604.fits
.....................!
real 11.83
user 11.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/365199/ft1_filtered_4FGL_J2234.7+0943_daily_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/365199/ft2_4FGL_J2234.7+0943_daily_bin604.fits sctable="SC_DATA" expcube=/scratch/kocevski/365199/ltcube_395884801_396144001_4FGL_J2234.7+0943_daily_bin604.fits outfile=/scratch/kocevski/365199/expmap_395884801_396144001_4FGL_J2234.7+0943_daily_bin604.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/365199/ltcube_395884801_396144001_4FGL_J2234.7+0943_daily_bin604.fits
.....................!
real 189.86
user 185.06
sys 4.46

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/365199/ft1_filtered_4FGL_J2234.7+0943_daily_bin604.fits scfile=/scratch/kocevski/365199/ft2_4FGL_J2234.7+0943_daily_bin604.fits outfile=/scratch/kocevski/365199/cmap_395884801_396144001_4FGL_J2234.7+0943_daily_bin604.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/365199/ft1_filtered_4FGL_J2234.7+0943_daily_bin604.fits scfile=/scratch/kocevski/365199/ft2_4FGL_J2234.7+0943_daily_bin604.fits outfile=/scratch/kocevski/365199/cmap_HighResolution_395884801_396144001_4FGL_J2234.7+0943_daily_bin604.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/365199/ft1_filtered_4FGL_J2234.7+0943_daily_bin604.fits evtable="EVENTS" scfile=/scratch/kocevski/365199/ft2_4FGL_J2234.7+0943_daily_bin604.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/365199/Model_4FGL_J2234.7+0943_daily_bin604.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/365199/ft1_filtered_4FGL_J2234.7+0943_daily_bin604.fits.....................!
real 78.98
user 77.65
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6000       1.0000         .10000E-03   10000.    
     2 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.081       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .33438       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8743       1.0000         .10000E-03   10000.    
    12 'norm      '    .78532       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .84335E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8249       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1835       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11339E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.4314       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97250       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94215       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=   8038.137     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2395 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6004        3.2355       -.13732E-06   -.20498E-04
   2  norm          .10000E-03    13.224       -.85260E-06** at limit **
   3  norm          .10000E-03    .30243       -.57986E-07** at limit **
   4  Prefactor     .10000E-03    7.3028       -.92188E-06** at limit **
   5  Prefactor     16.082        18.710       -.10031E-05    .12425E-05
   6  Prefactor     .10000E-03    44.093       -.10640E-05** at limit **
   7  norm          .10000E-03    2.1571       -.33972E-07** at limit **
   8  Prefactor     .10000E-03    7.9585        .27517E-05** at limit **
   9  Prefactor     .10000E-03    8.3658       -.19919E-05** at limit **
  10  Prefactor     .33434        .17460       -.57895E-07   -.86576E-03
  11  Prefactor     1.8742        2.1767        .11489E-05   -.36787E-02
  12  norm          .78484        1.5772       -.93319E-07   -.53282E-03
  13  Prefactor     .10000E-03    112.25        .22025E-04** at limit **
  14  Prefactor     .10000E-03    6.7296        .12665E-05** at limit **
  15  Prefactor     .10000E-03    6.8613       -.13715E-05** at limit **
  16  Prefactor     1.8244        .24029       -.30113E-07   -.14640E-02
  17  Prefactor     3.1483        94.240       -.58021E-04   -.51644E-04
  18  Prefactor     .10000E-03    3.7707       -.23334E-06** at limit **
  19  Prefactor     .10000E-03    13.226        .12662E-05** at limit **
  20  Prefactor     5.4319        26.169        .45850E-05    .54363E-04
  21  Normalizat    .97254        .21395        .39870E-05   -.10830E-05
  22  Prefactor     .94206        .11302       -.35123E-06    .26405E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.60042
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0817
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.334345
  Prefactor  = 1.87416
  norm       = 0.784843
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.82435
  Prefactor  = 3.14834
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.43185
  Normalizat = 0.972537
  Prefactor  = 0.942063
 **********
 **   18 **HESSE 
 **********

 FCN=   8038.137     FROM HESSE     STATUS=OK           342 CALLS     2737 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6004        3.2329        .11850E-03   -1.5235    
   2  norm          .10000E-03    13.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .39319        .95928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.3118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.082        18.712        .99876E-04   -1.4906    
   6  Prefactor     .10000E-03    44.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.1868        .12856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.9823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.4504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33434        .17160        .25677E-04   -1.5592    
  11  Prefactor     1.8742        5.4197        .15208E-02   -1.5434    
  12  norm          .78484        1.3872        .15462E-02   -1.5531    
  13  Prefactor     .10000E-03    114.40        .41741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.8683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8244        .23969        .14992E-04   -1.5438    
  17  Prefactor     3.1483        95.483        .22712E-03   -1.5353    
  18  Prefactor     .10000E-03    15.452        .33548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.4319        26.245        .17242E-03   -1.5242    
  21  Normalizat    .97254        .25315        .34633E-03   -.93956    
  22  Prefactor     .94206        .13570        .19413E-03   -.94686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15895e-08
Minuit parameter uncertainties:
  1  3.23299
  2  2.30567e-05
  3  5.35066e-06
  4  1.74562e-05
  5  18.7188
  6  0.000172615
  7  8.09711e-06
  8  3.43789e-06
  9  3.44526e-05
  10  0.1716
  11  5.42114
  12  1.38726
  13  2.1878e-05
  14  3.26597e-06
  15  1.45179e-05
  16  0.23969
  17  34.7368
  18  5.54086e-06
  19  2.95952e-05
  20  23.8962
  21  0.253459
  22  0.135751
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.874e+00  5.421e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.421e-01  1.358e-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.725e-01  2.535e-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: 4.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/365199/likelihoodResults_395884801_396144001_4FGL_J2234.7+0943_daily_bin604.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) = 8038.12073854
delta logL = 0.0165993810033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8038.12011454
delta logL = 0.0172233841377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7232       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.3687       1.0000          .0000       10.000    
     3 'Normalizat'    .97013       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94192       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=   8038.120     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      263 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7225        5.1588        .29492E-03   -.24805E-03
   2  Index1        1.3684        2.2119        .79700E-02   -.98815E-04
   3  Normalizat    .97029        .24233        .34668E-03   -.22345E-03
   4  Prefactor     .94186        .13492        .19413E-03   -.56683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72251
  Index1     = 1.3684
  Normalizat = 0.970291
  Prefactor  = 0.941863
 **********
 **   18 **HESSE 
 **********

 FCN=   8038.120     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7225        5.0212        .11797E-04   -1.5445    
   2  Index1        1.3684        2.1615        .31880E-03   -.81295    
   3  Normalizat    .97029        .24237        .13867E-04   -.94032    
   4  Prefactor     .94186        .13500        .38826E-04   -.94693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09942e-09
Minuit parameter uncertainties:
  1  5.02245
  2  2.33762
  3  0.242648
  4  0.13505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/365199': 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) = 8038.12011426
delta logL = 0.01722365979

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.723e+00  5.022e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  1.368e+00  2.338e+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:  9.419e-01  1.351e-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.703e-01  2.426e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/365199/cmap_HighResolution_395884801_396144001_4FGL_J2234.7+0943_daily_bin604.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', job_status='DONE', photon_flux_upper_limit='4.67e-08', time_completed='2021-09-28 15:13:57.586915', job_id='365199', GAL2='0.94', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632867237.59', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.72e-02', ts2='0.18', photon_index_error='0.00', photon_index='0.94' WHERE bin_id='604' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:13:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 365199: <4FGL_J2234.7+0943_daily_bin604> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin604> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep 28 15:01:18 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:01:19 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:01:19 2021
Terminated at Tue Sep 28 15:13:59 2021
Results reported at Tue Sep 28 15:13:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin604 338.691 9.732 395884801 396144001 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 :                                   700.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            761 sec.

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

