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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1641
RA = 353.557, Dec = 7.602
tmin = 664675201, tmax = 664934401
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='374094', job_status='RUN', time_executed='2022-01-27 00:42:52.453163', time_epoch_executed='1643272972.45' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1641'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/374094

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/374094/ft1_4FGL_J2334.2+0736_daily_bin1641.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/374094/ft2_4FGL_J2334.2+0736_daily_bin1641.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/374094/ft1_4FGL_J2334.2+0736_daily_bin1641.fits outfile=/scratch/kocevski/374094/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1641.fits ra=353.557 dec=7.602 rad=12.0 tmin=664675201.0 tmax=664934401.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.68
user 3.47
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/374094/ft2_4FGL_J2334.2+0736_daily_bin1641.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/374094/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1641.fits evtable="EVENTS" outfile="/scratch/kocevski/374094/ft1_filtered_4FGL_J2334.2+0736_daily_bin1641.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/374094/ft1_filtered_4FGL_J2334.2+0736_daily_bin1641.fits" evtable="EVENTS" scfile=/scratch/kocevski/374094/ft2_4FGL_J2334.2+0736_daily_bin1641.fits sctable="SC_DATA" outfile=/scratch/kocevski/374094/ltcube_664675201_664934401_4FGL_J2334.2+0736_daily_bin1641.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/374094/ft2_4FGL_J2334.2+0736_daily_bin1641.fits
.....................!
real 12.00
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/374094/ft1_filtered_4FGL_J2334.2+0736_daily_bin1641.fits evtable="EVENTS" scfile=/scratch/kocevski/374094/ft2_4FGL_J2334.2+0736_daily_bin1641.fits sctable="SC_DATA" expcube=/scratch/kocevski/374094/ltcube_664675201_664934401_4FGL_J2334.2+0736_daily_bin1641.fits outfile=/scratch/kocevski/374094/expmap_664675201_664934401_4FGL_J2334.2+0736_daily_bin1641.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/374094/ltcube_664675201_664934401_4FGL_J2334.2+0736_daily_bin1641.fits
.....................!
real 190.43
user 185.01
sys 5.02

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/374094/ft1_filtered_4FGL_J2334.2+0736_daily_bin1641.fits scfile=/scratch/kocevski/374094/ft2_4FGL_J2334.2+0736_daily_bin1641.fits outfile=/scratch/kocevski/374094/cmap_664675201_664934401_4FGL_J2334.2+0736_daily_bin1641.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/374094/ft1_filtered_4FGL_J2334.2+0736_daily_bin1641.fits scfile=/scratch/kocevski/374094/ft2_4FGL_J2334.2+0736_daily_bin1641.fits outfile=/scratch/kocevski/374094/cmap_HighResolution_664675201_664934401_4FGL_J2334.2+0736_daily_bin1641.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.061       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13489E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1504       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.3376       1.0000         .10000E-03   10000.    
     7 'norm      '    .13351       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.172       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2805       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.392       1.0000         .10000E-03   10000.    
    11 'norm      '    .14933E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.793       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.298       1.0000         .10000E-03   10000.    
    16 'norm      '    9.3341       1.0000         .10000E-03   10000.    
    17 'norm      '    20.683       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1241       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.9039       1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.086       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .64752       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99708       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=   5954.374     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     3511 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.5828       -.91273E-08** at limit **
   2  Prefactor     .10000E-03    4.9355       -.29064E-07** at limit **
   3  Prefactor     20.061        34.058        .24006E-06    .12362E-04
   4  Prefactor     .10002E-03    4.7104       -.16470E-05** at limit **
   5  Prefactor     4.1500        8.1564        .46015E-06    .51108E-05
   6  Prefactor     9.3377        16.131        .74548E-06   -.49786E-05
   7  norm          .13365        .48728        .38207E-06    .29238E-03
   8  Prefactor     31.164        15.562        .56082E-06    .55855E-03
   9  Prefactor     2.2751        33.432        .93581E-05   -.18153E-04
  10  Prefactor     24.390        40.306        .14936E-06    .38260E-05
  11  norm          .10001E-03    5.4978       -.12613E-06** at limit **
  12  Prefactor     .10000E-03    7.7118       -.27824E-06** at limit **
  13  Prefactor     .10000E-03    123.52        .12190E-05** at limit **
  14  Prefactor     34.791        21.432        .63365E-07    .13772E-03
  15  Prefactor     23.291        29.464        .11623E-05    .21081E-03
  16  norm          9.3346        14.806        .93616E-08    .32547E-04
  17  norm          20.684        24.113       -.19169E-07    .50472E-04
  18  Prefactor     4.1239        7.7801       -.68916E-06    .58001E-04
  19  Prefactor     .10000E-03    23.357       -.19662E-06** at limit **
  20  Prefactor     .10000E-03    22.820       -.19628E-06** at limit **
  21  Prefactor     4.9041        4.9005       -.13276E-07    .21572E-04
  22  Prefactor     20.087        19.090        .18598E-06    .32458E-04
  23  Normalizat    .64744        .21472       -.14369E-05    .22816E-03
  24  Prefactor     .99713        .13339        .47979E-06    .50359E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.0606
  Prefactor  = 0.000100018
  Prefactor  = 4.14997
  Prefactor  = 9.33771
  norm       = 0.133651
  Prefactor  = 31.1638
  Prefactor  = 2.27512
  Prefactor  = 24.3902
  norm       = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.7909
  Prefactor  = 23.2906
  norm       = 9.33457
  norm       = 20.6839
  Prefactor  = 4.12392
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.90411
  Prefactor  = 20.087
  Normalizat = 0.647439
  Prefactor  = 0.99713
 **********
 **   18 **HESSE 
 **********

 FCN=   5954.374     FROM HESSE     STATUS=OK           405 CALLS     3916 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.9357        .16743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.061        34.047        .89425E-04   -1.4812    
   4  Prefactor     .10002E-03    25.466        .29307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.1500        8.1350        .19785E-03   -1.5301    
   6  Prefactor     9.3377        16.136        .65576E-03   -1.5097    
   7  norm          .13365        .60288        .97444E-03   -1.5635    
   8  Prefactor     31.164        15.194        .71765E-04   -1.4591    
   9  Prefactor     2.2751        34.867        .13594E-02   -1.5406    
  10  Prefactor     24.390        40.286        .81108E-04   -1.4720    
  11  norm          .10001E-03    51.648        .31906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.8774        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    123.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.791        21.101        .67938E-04   -1.4528    
  15  Prefactor     23.291        29.348        .82986E-04   -1.4742    
  16  norm          9.3346        14.811        .13118E-03   -1.5097    
  17  norm          20.684        24.103        .88070E-04   -1.4798    
  18  Prefactor     4.1239        7.6697        .19850E-03   -1.5302    
  19  Prefactor     .10000E-03    23.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.9041        4.8975        .16575E-03   -1.5265    
  22  Prefactor     20.087        19.087        .89368E-04   -1.4811    
  23  Normalizat    .64744        .24253        .34505E-03   -1.0601    
  24  Prefactor     .99713        .15429        .18822E-03   -.92825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2964e-09
Minuit parameter uncertainties:
  1  6.87089e-06
  2  1.51745e-07
  3  34.0798
  4  0.00136246
  5  8.1372
  6  16.1433
  7  0.567512
  8  15.196
  9  17.8251
  10  40.3308
  11  0.00135623
  12  4.56539e-05
  13  0.00013229
  14  21.1057
  15  29.3657
  16  14.8164
  17  24.1147
  18  7.67149
  19  8.3954e-05
  20  5.14726e-05
  21  4.89793
  22  19.0926
  23  0.242928
  24  0.154357
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.329e+01  2.937e+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:  9.971e-01  1.544e-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:  6.474e-01  2.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/374094/likelihoodResults_664675201_664934401_4FGL_J2334.2+0736_daily_bin1641.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) = 5951.71788673
delta logL = 2.65581436358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5951.70511734
delta logL = 2.66858375036

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1987       1.0000         .10000E-03   10000.    
     2 'Index     '    4.7444       1.0000          .0000       10.000    
     3 'Normalizat'    .51663       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0519       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=   5951.705     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      266 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1988        8.2350        .88565E-02    .39277E-03
   2  Index         4.7447        2.2765        .79477E-01   -.15464E-03
   3  Normalizat    .51631        .66527E-01    .86357E-01    .25552E-04
   4  Prefactor     1.0520        .44134E-01    .39798E-01   -.42914E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19883
  Index      = 4.74472
  Normalizat = 0.516314
  Prefactor  = 1.05204
 **********
 **   18 **HESSE 
 **********

 FCN=   5951.705     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      297 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1988        13.960        .39651E-04   -1.5489    
   2  Index         4.7447        3.1154        .32674E-02   -.51079E-01
   3  Normalizat    .51631        .21615        .38254E-03   -1.1166    
   4  Prefactor     1.0520        .14322        .18344E-03   -.91014    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.67827e-08
Minuit parameter uncertainties:
  1  8.18385
  2  3.36418
  3  0.216501
  4  0.143269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/374094': 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) = 5951.70511522
delta logL = 2.66858587478

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.199e+00  8.184e+00  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  4.745e+00  3.364e+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.052e+00  1.433e-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.163e-01  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.06
Ra Dec: 353.557 7.602
Photon Index (Free Index): 4.74 +/- 3.36
Photon Flux (Free Index): 1.51e-07 +/- 7.52e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.31e-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/374094/cmap_HighResolution_664675201_664934401_4FGL_J2334.2+0736_daily_bin1641.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', energy_flux2='2.06e-05', dlogl='2.67e+00', photon_flux2='1.51e-07', job_status='DONE', time_completed='2022-01-27 00:54:32.142828', photon_index_error2='3.36', photon_index2='4.74', ts='0.93', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.31e-05', EG='0.65', time_epoch_completed='1643273672.14', return_code='0', job_id='374094', GAL2='1.05', EG2='0.52', return_code2='102', photon_flux_error2='7.52e-08', ts2='7.06', photon_index='2.47' WHERE bin_id='1641' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 27 00:54:32 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 374094: <4FGL_J2334.2+0736_daily_bin1641> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1641> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 27 00:40:47 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 27 00:40:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 27 00:40:49 2022
Terminated at Thu Jan 27 00:54:33 2022
Results reported at Thu Jan 27 00:54:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1641 353.557 7.602 664675201 664934401 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 :                                   694.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            826 sec.

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

