/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 184 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 = 7422
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2334.2+0736_daily_bin188
RA = 353.557, Dec = 7.602
tmin = 288057601, tmax = 288316801
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='16895', job_status='RUN', time_executed='2021-09-29 23:28:37.850158', time_epoch_executed='1632983317.85' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='188'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16895

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16895/ft1_4FGL_J2334.2+0736_daily_bin188.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16895/ft1_4FGL_J2334.2+0736_daily_bin188.fits outfile=/scratch/kocevski/16895/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin188.fits ra=353.557 dec=7.602 rad=12.0 tmin=288057601.0 tmax=288316801.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.59
user 3.38
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.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/16895/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin188.fits evtable="EVENTS" outfile="/scratch/kocevski/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.fits" evtable="EVENTS" scfile=/scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits sctable="SC_DATA" outfile=/scratch/kocevski/16895/ltcube_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.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/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits
.....................!
real 11.88
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits sctable="SC_DATA" expcube=/scratch/kocevski/16895/ltcube_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.fits outfile=/scratch/kocevski/16895/expmap_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.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/16895/ltcube_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.fits
.....................!
real 190.91
user 185.17
sys 5.42

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

Setting source of interest to:
4FGL J2334.2+0736 @ 353.557 7.602

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.fits scfile=/scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits outfile=/scratch/kocevski/16895/cmap_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.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=353.557 yref=7.602 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.51
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.fits scfile=/scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits outfile=/scratch/kocevski/16895/cmap_HighResolution_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.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=353.557 yref=7.602 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/16895/Model_4FGL_J2334.2+0736_daily_bin188.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/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.fits.....................!
real 72.94
user 71.58
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.fits', '/scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits', expMap='/scratch/kocevski/16895/expmap_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.fits', expCube='/scratch/kocevski/16895/ltcube_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/16895/Model_4FGL_J2334.2+0736_daily_bin188.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.2+0736'

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  5.621e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/16895/ft1_filtered_4FGL_J2334.2+0736_daily_bin188.fits
Spacecraft file(s): /scratch/kocevski/16895/ft2_4FGL_J2334.2+0736_daily_bin188.fits
Exposure map: /scratch/kocevski/16895/expmap_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.fits
Exposure cube: /scratch/kocevski/16895/ltcube_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/16895/Model_4FGL_J2334.2+0736_daily_bin188.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) = 6477.68467359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.629       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10461E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.4583       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2573       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .57970       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.956       1.0000         .10000E-03   10000.    
    11 'norm      '    7.7448       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.107       1.0000         .10000E-03   10000.    
    16 'norm      '    25.311       1.0000         .10000E-03   10000.    
    17 'norm      '    9.7161       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6862       1.0000         .10000E-03   10000.    
    19 'Prefactor '    54.472       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0227       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1201       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6477.682     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2747 TOTAL
                     EDM=   .97E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.548       -.17962E-06** at limit **
   2  Prefactor     29.624        41.187        .43549E-06    .27313E-05
   3  Prefactor     .10000E-03    70.742       -.63544E-05** at limit **
   4  Prefactor     3.4600        7.0158        .27535E-05   -.29697E-05
   5  Prefactor     7.2547        15.486       -.16023E-06    .14088E-04
   6  Prefactor     .10000E-03    37.632        .72801E-06** at limit **
   7  norm          .57991        1.0889        .63608E-07   -.23110E-04
   8  Prefactor     .10000E-03    6.7901       -.24612E-07** at limit **
   9  Prefactor     .10000E-03    16.343        .36250E-07** at limit **
  10  Prefactor     24.956        56.921        .24165E-06    .30421E-05
  11  norm          7.7496        8.8322        .15660E-06    .16576E-04
  12  Prefactor     .10000E-03    3.1877       -.34424E-09** at limit **
  13  Prefactor     .10000E-03    90.525        .74425E-05** at limit **
  14  Prefactor     .10000E-03    10.938       -.66840E-06** at limit **
  15  Prefactor     16.112        25.920       -.17981E-06    .39704E-05
  16  norm          25.312        14.712        .13696E-07    .80552E-06
  17  norm          9.7292        27.786       -.15412E-05    .19570E-04
  18  Prefactor     1.6851        5.4632        .98434E-06    .95015E-04
  19  Prefactor     54.470        41.125        .25358E-06    .38135E-05
  20  Prefactor     .10000E-03    8.4533       -.12396E-06** at limit **
  21  Prefactor     1.0232        5.6062        .74141E-06   -.29465E-05
  22  Prefactor     .10000E-03    10.453        .99423E-06** at limit **
  23  Normalizat    1.1202        .22730        .25955E-06    .44979E-04
  24  Prefactor     1.0201        .14735       -.44213E-06    .70670E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 29.6238
  Prefactor  = 0.0001
  Prefactor  = 3.46002
  Prefactor  = 7.25474
  Prefactor  = 0.0001
  norm       = 0.579906
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.9562
  norm       = 7.74955
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.1122
  norm       = 25.3124
  norm       = 9.72919
  Prefactor  = 1.68507
  Prefactor  = 54.4699
  Prefactor  = 0.0001
  Prefactor  = 1.02323
  Prefactor  = 0.0001
  Normalizat = 1.12022
  Prefactor  = 1.02009
 **********
 **   18 **HESSE 
 **********

 FCN=   6477.682     FROM HESSE     STATUS=OK           403 CALLS     3150 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     29.624        41.191        .73605E-04   -1.4619    
   3  Prefactor     .10000E-03    70.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.4600        7.0140        .10873E-02   -1.5336    
   5  Prefactor     7.2547        15.471        .14889E-03   -1.5169    
   6  Prefactor     .10000E-03    38.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .57991        .99677        .10987E-02   -1.5556    
   8  Prefactor     .10000E-03    6.8255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.956        56.858        .80187E-04   -1.4708    
  11  norm          7.7496        8.8072        .14409E-03   -1.5151    
  12  Prefactor     .10000E-03    3.2033        .14019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    90.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     16.112        25.882        .99795E-04   -1.4905    
  16  norm          25.312        14.714        .79624E-04   -1.4701    
  17  norm          9.7292        26.932        .12856E-03   -1.5084    
  18  Prefactor     1.6851        5.2934        .25756E-03   -1.5448    
  19  Prefactor     54.470        41.187        .54347E-04   -1.4231    
  20  Prefactor     .10000E-03    8.4670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0232        5.5772        .36875E-03   -1.5506    
  22  Prefactor     .10000E-03    10.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1202        .26541        .31929E-03   -.89105    
  24  Prefactor     1.0201        .17227        .21834E-03   -.92063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5112e-09
Minuit parameter uncertainties:
  1  1.7399e-05
  2  41.231
  3  6.93329e-05
  4  7.01562
  5  15.4798
  6  2.51096e-05
  7  0.996802
  8  6.64558e-07
  9  4.00834e-06
  10  56.9814
  11  8.80868
  12  1.85683e-06
  13  2.59238e-05
  14  3.54356e-05
  15  25.8999
  16  14.7158
  17  26.9661
  18  5.29491
  19  41.2081
  20  1.33627e-06
  21  4.77823
  22  5.78479e-06
  23  0.265722
  24  0.172359
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.611e+01  2.590e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  1.020e+00  1.724e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.120e+00  2.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.52
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/16895/likelihoodResults_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.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) = 6477.66616792
delta logL = 0.0153615884883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6477.6576108
delta logL = 0.0239187150419

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.332       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7408       1.0000          .0000       10.000    
     3 'Normalizat'    1.1122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0237       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6477.658     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      220 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.298        486.61        .28518E-02   -.26652E-03
   2  Index         2.7415        3.6078        .22771       -.53805E-04
   3  Normalizat    1.1122        .56507E-01    .72373E-01    .67305E-06
   4  Prefactor     1.0238        .36435E-01    .41789E-01    .43540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2984
  Index      = 2.74154
  Normalizat = 1.11216
  Prefactor  = 1.02379
 **********
 **   18 **HESSE 
 **********

 FCN=   6477.658     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.298        34.815        .11407E-03   -1.5006    
   2  Index         2.7415        1.6080        .84432E-02   -.46866    
   3  Normalizat    1.1122        .26162        .32026E-03   -.89362    
   4  Prefactor     1.0238        .17145        .21799E-03   -.91941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.86199e-10
Minuit parameter uncertainties:
  1  34.8728
  2  1.64501
  3  0.261931
  4  0.171542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16895': 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) = 6477.65760993
delta logL = 0.0239195773393

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.230e+01  3.487e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.742e+00  1.645e+00  0.000e+00  1.000e+01 (-1.000e+00)
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  1.024e+00  1.715e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.112e+00  2.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
Ra Dec: 353.557 7.602

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/16895/cmap_HighResolution_288057601_288316801_4FGL_J2334.2+0736_daily_bin188.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-29 23:40:03.794467', job_id='16895', GAL2='1.02', fit_tolerance='1e-08', EG2='1.11', EG='1.12', time_epoch_completed='1632984003.79', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.39e-02', ts2='0.57', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='188' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:40:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 16895: <4FGL_J2334.2+0736_daily_bin188> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin188> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 23:25:22 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:25:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 23:25:23 2021
Terminated at Wed Sep 29 23:40:04 2021
Results reported at Wed Sep 29 23:40:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin188 353.557 7.602 288057601 288316801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.2+0736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             284.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            882 sec.

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

