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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1302
RA = 353.557, Dec = 7.602
tmin = 576806401, tmax = 577065601
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='21119', job_status='RUN', time_executed='2021-09-29 23:40:47.196547', time_epoch_executed='1632984047.2' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21119

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21119/ft1_4FGL_J2334.2+0736_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21119/ft2_4FGL_J2334.2+0736_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21119/ft1_4FGL_J2334.2+0736_daily_bin1302.fits outfile=/scratch/kocevski/21119/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1302.fits ra=353.557 dec=7.602 rad=12.0 tmin=576806401.0 tmax=577065601.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.06
user 2.81
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21119/ft2_4FGL_J2334.2+0736_daily_bin1302.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/21119/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1302.fits evtable="EVENTS" outfile="/scratch/kocevski/21119/ft1_filtered_4FGL_J2334.2+0736_daily_bin1302.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/21119/ft1_filtered_4FGL_J2334.2+0736_daily_bin1302.fits" evtable="EVENTS" scfile=/scratch/kocevski/21119/ft2_4FGL_J2334.2+0736_daily_bin1302.fits sctable="SC_DATA" outfile=/scratch/kocevski/21119/ltcube_576806401_577065601_4FGL_J2334.2+0736_daily_bin1302.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/21119/ft2_4FGL_J2334.2+0736_daily_bin1302.fits
.....................!
real 12.46
user 12.07
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21119/ft1_filtered_4FGL_J2334.2+0736_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/21119/ft2_4FGL_J2334.2+0736_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/21119/ltcube_576806401_577065601_4FGL_J2334.2+0736_daily_bin1302.fits outfile=/scratch/kocevski/21119/expmap_576806401_577065601_4FGL_J2334.2+0736_daily_bin1302.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/21119/ltcube_576806401_577065601_4FGL_J2334.2+0736_daily_bin1302.fits
.....................!
real 190.84
user 185.21
sys 5.26

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/21119/ft1_filtered_4FGL_J2334.2+0736_daily_bin1302.fits scfile=/scratch/kocevski/21119/ft2_4FGL_J2334.2+0736_daily_bin1302.fits outfile=/scratch/kocevski/21119/cmap_576806401_577065601_4FGL_J2334.2+0736_daily_bin1302.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21119/ft1_filtered_4FGL_J2334.2+0736_daily_bin1302.fits scfile=/scratch/kocevski/21119/ft2_4FGL_J2334.2+0736_daily_bin1302.fits outfile=/scratch/kocevski/21119/cmap_HighResolution_576806401_577065601_4FGL_J2334.2+0736_daily_bin1302.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    80.514       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6400       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.827       1.0000         .10000E-03   10000.    
     7 'norm      '    .30064       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.655       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6086       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.132       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.9029       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    24.612       1.0000         .10000E-03   10000.    
    17 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9063       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10806E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    60.440       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.7279       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.536       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .16358       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2490       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=   5229.308     FROM MIGRAD    STATUS=CONVERGED    928 CALLS     3497 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     80.513        36.451        .44760E-04   -.29565E-04
   2  Prefactor     7.6402        11.793        .14508E-03   -.72091E-05
   3  Prefactor     .10000E-03    16.471        .18142E-02** at limit **
   4  Prefactor     .10000E-03    5.7088        .16789E-02** at limit **
   5  Prefactor     .10000E-03    10.520        .18142E-02** at limit **
   6  Prefactor     17.827        17.064        .94858E-04   -.34996E-04
   7  norm          .30068        .81868        .10241E-03   -.49687E-03
   8  Prefactor     13.658        18.283        .10839E-03   -.14484E-03
   9  Prefactor     .10000E-03    7.4262        .18142E-02** at limit **
  10  Prefactor     .10000E-03    36.728        .18142E-02** at limit **
  11  norm          1.6178        56.181        .33403E-03   -.33626E-04
  12  Prefactor     14.135        12.685        .10654E-03   -.21469E-03
  13  Prefactor     .10000E-03    160.75        .18142E-02** at limit **
  14  Prefactor     6.9024        11.796        .15270E-03   -.11004E-03
  15  Prefactor     .10000E-03    33.019        .18142E-02** at limit **
  16  norm          24.613        18.118        .80744E-04   -.15206E-04
  17  norm          .10000E-03    26.076        .18142E-02** at limit **
  18  Prefactor     5.9063        6.0372        .14499E-03   -.23037E-03
  19  Prefactor     .10000E-03    111.35        .18142E-02** at limit **
  20  Prefactor     60.438        35.043        .51610E-04   -.94281E-04
  21  Prefactor     6.7267        13.332        .15470E-03   -.26677E-04
  22  Prefactor     13.530        23.910        .54435E-03   -.12919E-03
  23  Normalizat    .16360        .27990        .70842E-03   -.10316E-03
  24  Prefactor     1.2490        .17506        .17921E-03   -.23384E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 80.5134
  Prefactor  = 7.64025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.8274
  norm       = 0.300678
  Prefactor  = 13.6581
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.61778
  Prefactor  = 14.1351
  Prefactor  = 0.000100001
  Prefactor  = 6.90238
  Prefactor  = 0.0001
  norm       = 24.6126
  norm       = 0.0001
  Prefactor  = 5.90627
  Prefactor  = 0.0001
  Prefactor  = 60.4376
  Prefactor  = 6.72667
  Prefactor  = 13.5304
  Normalizat = 0.163601
  Prefactor  = 1.24902
 **********
 **   18 **HESSE 
 **********

 FCN=   5229.308     FROM HESSE     STATUS=OK           373 CALLS     3870 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     80.513        36.446        .89520E-05   -1.3911    
   2  Prefactor     7.6402        11.793        .58033E-05   -1.5155    
   3  Prefactor     .10000E-03    16.472        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.7107        .33577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.525        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.827        17.062        .37943E-05   -1.4863    
   7  norm          .30068        .81842        .40966E-05   -1.5598    
   8  Prefactor     13.658        18.196        .43358E-05   -1.4969    
   9  Prefactor     .10000E-03    7.4263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    36.730        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6178        55.215        .13361E-04   -1.5454    
  12  Prefactor     14.135        12.618        .42618E-05   -1.4956    
  13  Prefactor     .10000E-03    160.75        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.9024        11.792        .61081E-05   -1.5182    
  15  Prefactor     .10000E-03    33.023        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          24.613        18.118        .32298E-05   -1.4715    
  17  norm          .10000E-03    26.078        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.9063        6.0349        .57997E-05   -1.5222    
  19  Prefactor     .10000E-03    111.40        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     60.438        35.039        .10322E-04   -1.4152    
  21  Prefactor     6.7267        13.331        .61878E-05   -1.5189    
  22  Prefactor     13.530        23.903        .21774E-04   -1.4972    
  23  Normalizat    .16360        .27892        .28337E-04   -1.3222    
  24  Prefactor     1.2490        .17458        .35841E-04   -.84836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67266e-10
Minuit parameter uncertainties:
  1  36.4565
  2  11.7969
  3  2.34497e-06
  4  2.67538e-07
  5  5.86046e-06
  6  17.0663
  7  0.818447
  8  18.2039
  9  9.55508e-08
  10  2.56268e-07
  11  18.9208
  12  12.6199
  13  0.000982945
  14  11.7955
  15  0.000112366
  16  18.1217
  17  6.84769e-06
  18  6.03552
  19  6.56727e-05
  20  35.0508
  21  13.3372
  22  23.9202
  23  0.281374
  24  0.174659
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.000e-04  1.124e-04  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.249e+00  1.747e-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.636e-01  2.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21119/likelihoodResults_576806401_577065601_4FGL_J2334.2+0736_daily_bin1302.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): 102
logL (Free Index) = 5229.30862564
delta logL = -0.000144251453094

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5229.30848142
delta logL = -2.90210664389e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7584       1.0000          .0000       10.000    
     3 'Normalizat'    .16360       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2490       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=   5229.308     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      238 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    30.463        .90712E-02** at limit **
   2  Index         2.7436        5.5925        .50000        .38477E-05
   3  Normalizat    .16361        .53522E-02    .16316        .14197E-04
   4  Prefactor     1.2490        .36415E-02    .33563E-01   -.77430E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010002
  Index      = 2.74361
  Normalizat = 0.163609
  Prefactor  = 1.24902
 **********
 **   18 **HESSE 
 **********

 FCN=   5229.308     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .96E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    179.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7436        6.0053        .50000       -.46820    
   3  Normalizat    .16361        .13256E-01    .70842E-03   -1.3222    
   4  Prefactor     1.2490        .88530E-02    .17921E-03   -.84836    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.57676e-08
Minuit parameter uncertainties:
  1  0.00377366
  2  292.06
  3  0.0132567
  4  0.00885302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21119': 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): 102
logL (Free Index) = 5229.3084814
delta logL = -1.5897967387e-08

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.000e-04  3.774e-03  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.744e+00  2.921e+02  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.249e+00  8.853e-03  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.636e-01  1.326e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.557 7.602

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/21119/cmap_HighResolution_576806401_577065601_4FGL_J2334.2+0736_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.84e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-29 23:51:24.896644', job_id='21119', GAL2='1.25', fit_tolerance='1e-08', EG2='0.16', EG='0.16', time_epoch_completed='1632984684.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='-1.59e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1302' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:51:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 21119: <4FGL_J2334.2+0736_daily_bin1302> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1302 353.557 7.602 576806401 577065601 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 :                                   618.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            657 sec.

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

