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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1522
RA = 353.723, Dec = 14.5346
tmin = 633830401, tmax = 634089601
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='28642', job_status='RUN', time_executed='2021-09-30 00:08:13.249650', time_epoch_executed='1632985693.25' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1522'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28642

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28642/ft1_4FGL_J2334.8+1432_daily_bin1522.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28642/ft1_4FGL_J2334.8+1432_daily_bin1522.fits outfile=/scratch/kocevski/28642/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1522.fits ra=353.723 dec=14.5346 rad=12.0 tmin=633830401.0 tmax=634089601.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.63
user 3.41
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.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/28642/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1522.fits evtable="EVENTS" outfile="/scratch/kocevski/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.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.35
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.fits" evtable="EVENTS" scfile=/scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits sctable="SC_DATA" outfile=/scratch/kocevski/28642/ltcube_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.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/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits
.....................!
real 11.98
user 11.62
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits sctable="SC_DATA" expcube=/scratch/kocevski/28642/ltcube_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.fits outfile=/scratch/kocevski/28642/expmap_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.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/28642/ltcube_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.fits
.....................!
real 191.63
user 186.99
sys 4.16

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

Setting source of interest to:
4FGL J2334.8+1432 @ 353.723 14.5346

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.fits scfile=/scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits outfile=/scratch/kocevski/28642/cmap_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.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.723 yref=14.5346 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.fits scfile=/scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits outfile=/scratch/kocevski/28642/cmap_HighResolution_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.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.723 yref=14.5346 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.fits evtable="EVENTS" scfile=/scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28642/Model_4FGL_J2334.8+1432_daily_bin1522.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/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.fits.....................!
real 83.38
user 82.11
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.fits', '/scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits', expMap='/scratch/kocevski/28642/expmap_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.fits', expCube='/scratch/kocevski/28642/ltcube_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/28642/Model_4FGL_J2334.8+1432_daily_bin1522.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.8+1432'

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  4.331e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/28642/ft1_filtered_4FGL_J2334.8+1432_daily_bin1522.fits
Spacecraft file(s): /scratch/kocevski/28642/ft2_4FGL_J2334.8+1432_daily_bin1522.fits
Exposure map: /scratch/kocevski/28642/expmap_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.fits
Exposure cube: /scratch/kocevski/28642/ltcube_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/28642/Model_4FGL_J2334.8+1432_daily_bin1522.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) = 7594.43512204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3619       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.113       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .44902       1.0000         .10000E-03   10000.    
     7 'Prefactor '    54.537       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21940E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11095E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.948       1.0000         .10000E-03   10000.    
    13 'norm      '    5.7401       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.858       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.908       1.0000         .10000E-03   10000.    
    16 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.7277       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.8896       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .17480E-02   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .84780       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1174       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+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=   7594.392     FROM MIGRAD    STATUS=CONVERGED    805 CALLS     2581 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3605        3.8022        .10786E-03   -.29451E-03
   2  Prefactor     .10000E-03    5.2821        .18142E-02** at limit **
   3  Prefactor     18.112        12.330        .94108E-04   -.75986E-04
   4  Prefactor     .10000E-03    15.287        .18142E-02** at limit **
   5  Prefactor     .10000E-03    9.0025        .18142E-02** at limit **
   6  Prefactor     .44898        .15964        .19949E-04   -.32501E-02
   7  Prefactor     54.355        49.117        .27158E-03    .92389E-04
   8  Prefactor     .10000E-03    6.1390        .57877E-01** at limit **
   9  Prefactor     .10000E-03    6.6991        .18142E-02** at limit **
  10  Prefactor     .10000E-03    5.1349        .18142E-02** at limit **
  11  Prefactor     .10000E-03    3.6199        .16175E-02** at limit **
  12  Prefactor     10.940        20.347        .12108E-03   -.14450E-03
  13  norm          5.7354        9.9704        .83823E-03   -.53084E-04
  14  Prefactor     15.854        11.118        .10058E-03   -.42162E-04
  15  Prefactor     14.906        17.832        .10373E-03    .20385E-04
  16  norm          .10000E-03    10.817        .18142E-02** at limit **
  17  Prefactor     6.7177        79.867        .15470E-03    .74224E-05
  18  Prefactor     3.8887        17.508        .20459E-03    .15004E-04
  19  Prefactor     .10000E-03    22.658        .36116E-02** at limit **
  20  Normalizat    .84842        .25605        .36166E-03   -.61912E-03
  21  Prefactor     1.1171        .14747        .19317E-03   -.86666E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.36045
  Prefactor  = 0.0001
  Prefactor  = 18.1115
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.448982
  Prefactor  = 54.3549
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9398
  norm       = 5.73543
  Prefactor  = 15.8539
  Prefactor  = 14.9064
  norm       = 0.0001
  Prefactor  = 6.71774
  Prefactor  = 3.88872
  Prefactor  = 0.0001
  Normalizat = 0.848417
  Prefactor  = 1.11712
 **********
 **   18 **HESSE 
 **********

 FCN=   7594.392     FROM HESSE     STATUS=OK           307 CALLS     2888 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3605        3.8021        .43142E-05   -1.5130    
   2  Prefactor     .10000E-03    5.2827        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.112        12.329        .37643E-05   -1.4857    
   4  Prefactor     .10000E-03    15.287        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.0029        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44898        .15964        .79795E-06   -1.5574    
   7  Prefactor     54.355        49.114        .10863E-04   -1.4232    
   8  Prefactor     .10000E-03    5.7443        .60742E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.6998        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1367        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.6201        .32350E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.940        20.345        .48434E-05   -1.5046    
  13  norm          5.7354        9.9511        .33529E-04   -1.5229    
  14  Prefactor     15.854        11.101        .40230E-05   -1.4911    
  15  Prefactor     14.906        17.830        .41494E-05   -1.4936    
  16  norm          .10000E-03    10.819        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.7177        79.896        .61879E-05   -1.5190    
  18  Prefactor     3.8887        17.505        .81834E-05   -1.5314    
  19  Prefactor     .10000E-03    23.078        .72232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .84842        .25618        .72333E-04   -.98297    
  21  Prefactor     1.1171        .14755        .38634E-04   -.88921    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31871e-09
Minuit parameter uncertainties:
  1  3.8022
  2  2.06517e-05
  3  12.331
  4  1.7934e-05
  5  3.52407e-05
  6  0.159642
  7  49.1505
  8  0.000323903
  9  0.000136579
  10  6.94442e-05
  11  7.3492e-05
  12  20.3578
  13  9.95396
  14  11.1027
  15  17.8363
  16  5.85839e-05
  17  46.4117
  18  16.5088
  19  2.51649e-05
  20  0.25655
  21  0.147605
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.000e-04  5.858e-05  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.117e+00  1.476e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.484e-01  2.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.723 14.535
Photon Flux Upper Limit: 5.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28642/likelihoodResults_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.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) = 7594.39259252
delta logL = -0.00044039835484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7594.39215205
delta logL = 6.36564436718e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9252       1.0000          .0000       5.0000    
     3 'Normalizat'    .84840       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+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=   7594.392     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      258 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .29565        .94554E-01** at limit **
   2  alpha         2.6962        3.3036        .50000        .93117E-06
   3  Normalizat    .84842        .16201E-02    .36165E-03    .94149E-04
   4  Prefactor     1.1171        .98628E-03    .19317E-03    .18148E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.69617
  Normalizat = 0.848421
  Prefactor  = 1.11712
 **********
 **   18 **HESSE 
 **********

 FCN=   7594.392     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      287 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    225.32        .29977E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6962        3.7607        .50000        .78547E-01
   3  Normalizat    .84842        .18159E-01    .14466E-04   -.98297    
   4  Prefactor     1.1171        .11055E-01    .38634E-04   -.88921    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.76665e-08
Minuit parameter uncertainties:
  1  0.000164983
  2  631.43
  3  0.0181591
  4  0.011055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28642': 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) = 7594.39215005
delta logL = 2.06713684747e-06

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.000e-04  1.650e-04  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  2.696e+00  6.314e+02  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  8.816e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.117e+00  1.105e-02  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.484e-01  1.816e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.723 14.535

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/28642/cmap_HighResolution_633830401_634089601_4FGL_J2334.8+1432_daily_bin1522.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.32e-05', job_status='DONE', photon_flux_upper_limit='5.11e-08', time_completed='2021-09-30 00:20:03.280172', job_id='28642', GAL2='1.12', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632986403.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1522' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:20:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 28642: <4FGL_J2334.8+1432_daily_bin1522> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1522> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 00:05:40 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 00:05:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 00:05:41 2021
Terminated at Thu Sep 30 00:20:04 2021
Results reported at Thu Sep 30 00:20:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1522 353.723 14.5346 633830401 634089601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.8+1432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   693.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            864 sec.

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

