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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1247
RA = 353.557, Dec = 7.602
tmin = 562550401, tmax = 562809601
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='21040', job_status='RUN', time_executed='2021-09-29 23:40:41.183820', time_epoch_executed='1632984041.18' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1247'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21040

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21040/ft1_4FGL_J2334.2+0736_daily_bin1247.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21040/ft2_4FGL_J2334.2+0736_daily_bin1247.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21040/ft1_4FGL_J2334.2+0736_daily_bin1247.fits outfile=/scratch/kocevski/21040/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1247.fits ra=353.557 dec=7.602 rad=12.0 tmin=562550401.0 tmax=562809601.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.45
user 3.26
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21040/ft1_filtered_4FGL_J2334.2+0736_daily_bin1247.fits" evtable="EVENTS" scfile=/scratch/kocevski/21040/ft2_4FGL_J2334.2+0736_daily_bin1247.fits sctable="SC_DATA" outfile=/scratch/kocevski/21040/ltcube_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.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/21040/ft2_4FGL_J2334.2+0736_daily_bin1247.fits
.....................!
real 12.03
user 11.68
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21040/ft1_filtered_4FGL_J2334.2+0736_daily_bin1247.fits evtable="EVENTS" scfile=/scratch/kocevski/21040/ft2_4FGL_J2334.2+0736_daily_bin1247.fits sctable="SC_DATA" expcube=/scratch/kocevski/21040/ltcube_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.fits outfile=/scratch/kocevski/21040/expmap_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.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/21040/ltcube_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.fits
.....................!
real 189.54
user 184.74
sys 4.49

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/21040/ft1_filtered_4FGL_J2334.2+0736_daily_bin1247.fits scfile=/scratch/kocevski/21040/ft2_4FGL_J2334.2+0736_daily_bin1247.fits outfile=/scratch/kocevski/21040/cmap_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21040/ft1_filtered_4FGL_J2334.2+0736_daily_bin1247.fits scfile=/scratch/kocevski/21040/ft2_4FGL_J2334.2+0736_daily_bin1247.fits outfile=/scratch/kocevski/21040/cmap_HighResolution_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21040/ft1_filtered_4FGL_J2334.2+0736_daily_bin1247.fits', '/scratch/kocevski/21040/ft2_4FGL_J2334.2+0736_daily_bin1247.fits', expMap='/scratch/kocevski/21040/expmap_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.fits', expCube='/scratch/kocevski/21040/ltcube_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21040/Model_4FGL_J2334.2+0736_daily_bin1247.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/21040/ft1_filtered_4FGL_J2334.2+0736_daily_bin1247.fits
Spacecraft file(s): /scratch/kocevski/21040/ft2_4FGL_J2334.2+0736_daily_bin1247.fits
Exposure map: /scratch/kocevski/21040/expmap_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.fits
Exposure cube: /scratch/kocevski/21040/ltcube_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21040/Model_4FGL_J2334.2+0736_daily_bin1247.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) = 6356.29770023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0556       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.153       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.085       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .12747E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9558       1.0000         .10000E-03   10000.    
    13 'Prefactor '    67.797       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    39.001       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.580       1.0000         .10000E-03   10000.    
    19 'Prefactor '    62.835       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1580       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .56764       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0963       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=   6356.276     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2709 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0413        37.763        .63207E-06    .18563E-04
   2  Prefactor     .10000E-03    5.4833        .12487E-07** at limit **
   3  Prefactor     .10000E-03    68.773        .15762E-05** at limit **
   4  Prefactor     .10000E-03    1.5103        .32981E-08** at limit **
   5  Prefactor     .10000E-03    10.364       -.19374E-06** at limit **
   6  Prefactor     .10000E-03    63.278        .16351E-05** at limit **
   7  norm          .10000E-03    .49685        .28247E-06** at limit **
   8  Prefactor     13.154        10.228        .37332E-07    .42831E-03
   9  Prefactor     18.084        14.838       -.44633E-08    .26450E-04
  10  Prefactor     .10000E-03    95.741       -.13938E-05** at limit **
  11  norm          .10001E-03    12.256       -.69029E-05** at limit **
  12  Prefactor     2.9571        5.4419        .11563E-05    .10534E-02
  13  Prefactor     67.859        159.42        .40019E-05    .10073E-03
  14  Prefactor     .10000E-03    18.865       -.94501E-07** at limit **
  15  Prefactor     39.001        29.591       -.20967E-06    .22159E-03
  16  norm          .10000E-03    4.7126       -.28640E-07** at limit **
  17  norm          .10000E-03    27.974       -.10685E-05** at limit **
  18  Prefactor     10.581        6.8750        .11428E-06    .22965E-03
  19  Prefactor     62.832        53.223       -.20207E-06    .48571E-05
  20  Prefactor     .10000E-03    5.9169       -.39321E-07** at limit **
  21  Prefactor     3.1578        5.5521        .86599E-06    .54017E-03
  22  Prefactor     .10000E-03    11.568        .50619E-06** at limit **
  23  Normalizat    .56772        .21622        .12882E-05    .32214E-03
  24  Prefactor     1.0963        .13241       -.78594E-06    .40540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.04126
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 13.1541
  Prefactor  = 18.0844
  Prefactor  = 0.000100005
  norm       = 0.000100011
  Prefactor  = 2.95715
  Prefactor  = 67.8586
  Prefactor  = 0.0001
  Prefactor  = 39.0013
  norm       = 0.0001
  norm       = 0.000100002
  Prefactor  = 10.5805
  Prefactor  = 62.8323
  Prefactor  = 0.0001
  Prefactor  = 3.15782
  Prefactor  = 0.000100001
  Normalizat = 0.567718
  Prefactor  = 1.09629
 **********
 **   18 **HESSE 
 **********

 FCN=   6356.276     FROM HESSE     STATUS=OK           389 CALLS     3098 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0413        37.846        .17883E-03   -1.5259    
   2  Prefactor     .10000E-03    5.4838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    69.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.5122        .95685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    64.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .51355        .11006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.154        10.175        .11045E-03   -1.4982    
   9  Prefactor     18.084        14.834        .94181E-04   -1.4857    
  10  Prefactor     .10000E-03    96.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10001E-03    13.174        .31458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9571        5.6376        .23621E-03   -1.5364    
  13  Prefactor     67.859        161.79        .24373E-03   -1.4059    
  14  Prefactor     .10000E-03    19.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     39.001        29.419        .64181E-04   -1.4458    
  16  norm          .10000E-03    4.7175        .16903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    28.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.581        6.8696        .12318E-03   -1.5057    
  19  Prefactor     62.832        53.237        .50622E-04   -1.4121    
  20  Prefactor     .10000E-03    5.9202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.1578        5.6007        .22808E-03   -1.5353    
  22  Prefactor     .10000E-03    11.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .56772        .23643        .38110E-03   -1.0937    
  24  Prefactor     1.0963        .14669        .18396E-03   -.89585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11698e-09
Minuit parameter uncertainties:
  1  27.6495
  2  2.55812e-06
  3  0.00107238
  4  3.95181e-07
  5  5.4844e-05
  6  0.000923169
  7  1.08434e-05
  8  10.1764
  9  14.8366
  10  0.0013725
  11  0.000767484
  12  5.63858
  13  162.853
  14  5.19121e-05
  15  29.4296
  16  3.85561e-06
  17  0.000445676
  18  6.87009
  19  53.2776
  20  5.92684e-06
  21  5.60166
  22  0.00018479
  23  0.236854
  24  0.146748
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  3.900e+01  2.943e+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.096e+00  1.467e-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:  5.677e-01  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.79
Ra Dec: 353.557 7.602
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 7.19e-08 +/- 5.42e-08
Energy Flux (Fixed Index): 2.16e-05 +/- 1.63e-05

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

Saving results to:
/scratch/kocevski/21040/likelihoodResults_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.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) = 6356.24480705
delta logL = 0.031289976665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6356.23943504
delta logL = 0.0366619865335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.548       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2988       1.0000          .0000       10.000    
     3 'Normalizat'    .57759       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0916       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6356.239     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      299 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.550        40.567        .59408E-04   -.14368E-03
   2  Index         2.2987        .62462        .78503E-02   -.17818E-04
   3  Normalizat    .57782        .22318        .37796E-03   -.83290E-04
   4  Prefactor     1.0914        .14632        .18431E-03   -.10611E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.55
  Index      = 2.29866
  Normalizat = 0.577821
  Prefactor  = 1.09141
 **********
 **   18 **HESSE 
 **********

 FCN=   6356.239     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.550        39.210        .11882E-04   -1.4357    
   2  Index         2.2987        .60321        .31401E-03   -.57076    
   3  Normalizat    .57782        .22296        .15118E-04   -1.0893    
   4  Prefactor     1.0914        .14623        .36862E-04   -.89742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20539e-11
Minuit parameter uncertainties:
  1  39.2318
  2  0.605301
  3  0.223312
  4  0.14628
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21040': 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) = 6356.23943442
delta logL = 0.0366626001096

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  4.555e+01  3.923e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.299e+00  6.053e-01  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.091e+00  1.463e-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:  5.778e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.85
Ra Dec: 353.557 7.602
Photon Index (Free Index): 2.30 +/- 0.61
Photon Flux (Free Index): 6.44e-08 +/- 5.65e-08
Energy Flux (Free Index): 2.44e-05 +/- 2.16e-05

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/21040/cmap_HighResolution_562550401_562809601_4FGL_J2334.2+0736_daily_bin1247.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', photon_flux='7.19e-08', energy_flux2='2.44e-05', photon_flux_error='5.42e-08', dlogl='3.67e-02', energy_flux='2.16e-05', photon_flux2='6.44e-08', job_status='DONE', time_completed='2021-09-29 23:51:35.697212', photon_index_error2='0.61', photon_index2='2.30', ts='2.79', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.81e-07', energy_flux_error2='2.16e-05', EG='0.57', time_epoch_completed='1632984695.7', return_code='0', job_id='21040', GAL2='1.09', EG2='0.58', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='5.65e-08', ts2='2.85', photon_index='2.47' WHERE bin_id='1247' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:51:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0287>
Subject: Job 21040: <4FGL_J2334.2+0736_daily_bin1247> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1247> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 23:40:22 2021
Job was executed on host(s) <bullet0287>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:40:24 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:40:24 2021
Terminated at Wed Sep 29 23:51:36 2021
Results reported at Wed Sep 29 23:51:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1247 353.557 7.602 562550401 562809601 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 :                                   642.00 sec.
    Max Memory :                                 1240 MB
    Average Memory :                             371.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            674 sec.

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

