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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1153
RA = 353.723, Dec = 14.5346
tmin = 538185601, tmax = 538444801
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='27240', job_status='RUN', time_executed='2021-09-30 00:02:51.489323', time_epoch_executed='1632985371.49' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27240

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27240/ft1_4FGL_J2334.8+1432_daily_bin1153.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27240/ft1_4FGL_J2334.8+1432_daily_bin1153.fits outfile=/scratch/kocevski/27240/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1153.fits ra=353.723 dec=14.5346 rad=12.0 tmin=538185601.0 tmax=538444801.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 5.40
user 5.15
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/27240/ft1_filtered_4FGL_J2334.8+1432_daily_bin1153.fits" evtable="EVENTS" scfile=/scratch/kocevski/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits sctable="SC_DATA" outfile=/scratch/kocevski/27240/ltcube_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.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/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits
.....................!
real 11.73
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27240/ft1_filtered_4FGL_J2334.8+1432_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits sctable="SC_DATA" expcube=/scratch/kocevski/27240/ltcube_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.fits outfile=/scratch/kocevski/27240/expmap_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.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/27240/ltcube_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.fits
.....................!
real 192.22
user 187.06
sys 4.78

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/27240/ft1_filtered_4FGL_J2334.8+1432_daily_bin1153.fits scfile=/scratch/kocevski/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits outfile=/scratch/kocevski/27240/cmap_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27240/ft1_filtered_4FGL_J2334.8+1432_daily_bin1153.fits scfile=/scratch/kocevski/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits outfile=/scratch/kocevski/27240/cmap_HighResolution_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.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/27240/ft1_filtered_4FGL_J2334.8+1432_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/27240/Model_4FGL_J2334.8+1432_daily_bin1153.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/27240/ft1_filtered_4FGL_J2334.8+1432_daily_bin1153.fits.....................!
real 101.55
user 100.11
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/27240/ft1_filtered_4FGL_J2334.8+1432_daily_bin1153.fits', '/scratch/kocevski/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits', expMap='/scratch/kocevski/27240/expmap_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.fits', expCube='/scratch/kocevski/27240/ltcube_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/27240/Model_4FGL_J2334.8+1432_daily_bin1153.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/27240/ft1_filtered_4FGL_J2334.8+1432_daily_bin1153.fits
Spacecraft file(s): /scratch/kocevski/27240/ft2_4FGL_J2334.8+1432_daily_bin1153.fits
Exposure map: /scratch/kocevski/27240/expmap_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.fits
Exposure cube: /scratch/kocevski/27240/ltcube_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/27240/Model_4FGL_J2334.8+1432_daily_bin1153.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) = 8932.26106575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.734       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.226       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15426E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.868       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2831       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23163E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9003       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10824E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.2778       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.296       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.825       1.0000         .10000E-03   10000.    
    16 'norm      '    21.677       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4427       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76512       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.

 FCN=   8932.212     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     1892 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.734        5.9469       -.72160E-06   -.23996E-02
   2  Prefactor     .10000E-03    6.1041       -.50379E-07** at limit **
   3  Prefactor     16.226        12.087       -.16410E-06   -.19355E-03
   4  Prefactor     .10000E-03    284.14       -.37423E-05** at limit **
   5  Prefactor     38.870        27.071       -.42465E-06    .32808E-04
   6  Prefactor     2.2830        .29421        .15922E-07    .50310E-02
   7  Prefactor     .10000E-03    13.411       -.22888E-05** at limit **
   8  Prefactor     .10013E-03    5.2148       -.20299E-05** at limit **
   9  Prefactor     .10000E-03    5.8336        .22700E-07** at limit **
  10  Prefactor     9.9020        8.4027        .19925E-06    .10445E-03
  11  Prefactor     .10000E-03    15.689        .48098E-05** at limit **
  12  Prefactor     .10000E-03    22.220        .34730E-05** at limit **
  13  norm          5.2782        8.3107        .36345E-05   -.10282E-02
  14  Prefactor     13.298        9.1404       -.69892E-06    .13354E-03
  15  Prefactor     17.823        24.602        .15213E-06    .94509E-04
  16  norm          21.677        17.122        .12286E-06    .42516E-04
  17  Prefactor     .10001E-03    17.531       -.58137E-05** at limit **
  18  Prefactor     .10000E-03    13.737        .11919E-05** at limit **
  19  Prefactor     .10000E-03    4.3169       -.17156E-08** at limit **
  20  Normalizat    1.4426        .22481        .32621E-06    .11976E-03
  21  Prefactor     .76521        .12337       -.17309E-06    .26744E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 33.7345
  Prefactor  = 0.0001
  Prefactor  = 16.2261
  Prefactor  = 0.000100004
  Prefactor  = 38.8699
  Prefactor  = 2.28301
  Prefactor  = 0.000100002
  Prefactor  = 0.000100127
  Prefactor  = 0.0001
  Prefactor  = 9.90197
  Prefactor  = 0.000100004
  Prefactor  = 0.000100003
  norm       = 5.27815
  Prefactor  = 13.2981
  Prefactor  = 17.8234
  norm       = 21.6774
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.44261
  Prefactor  = 0.765215
 **********
 **   18 **HESSE 
 **********

 FCN=   8932.212     FROM HESSE     STATUS=OK           313 CALLS     2205 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.734        6.1268        .68993E-04   -1.4546    
   2  Prefactor     .10000E-03    6.1212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.226        12.095        .99430E-04   -1.4902    
   4  Prefactor     .10000E-03    287.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.870        27.146        .64290E-04   -1.4460    
   6  Prefactor     2.2830        .29438        .17166E-04   -1.5406    
   7  Prefactor     .10000E-03    13.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10013E-03    24.062        .39418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.8544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.9020        8.4037        .12735E-03   -1.5079    
  11  Prefactor     .10000E-03    16.285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.2782        10.105        .87478E-03   -1.5248    
  14  Prefactor     13.298        9.4228        .10985E-03   -1.4978    
  15  Prefactor     17.823        24.875        .94865E-04   -1.4863    
  16  norm          21.677        17.130        .86029E-04   -1.4776    
  17  Prefactor     .10001E-03    18.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.3415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4426        .26516        .33105E-03   -.79404    
  21  Prefactor     .76521        .14364        .24907E-03   -1.0102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32229e-09
Minuit parameter uncertainties:
  1  6.12688
  2  1.99834e-05
  3  12.0965
  4  0.00224627
  5  27.1543
  6  0.294377
  7  0.000291742
  8  0.0034955
  9  1.05182e-06
  10  8.40472
  11  0.000535019
  12  0.000536175
  13  10.1084
  14  9.42383
  15  24.8893
  16  17.1336
  17  0.000858267
  18  0.000136419
  19  9.84228e-06
  20  0.265412
  21  0.143714
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  2.168e+01  1.713e+01  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:  7.652e-01  1.437e-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:  1.443e+00  2.654e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.38
Ra Dec: 353.723 14.535
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 3.16e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 2.11e-05

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) = 8930.02280468
delta logL = 2.18938142762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8930.00818469
delta logL = 2.20400142482

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3239       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2420       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82228       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.

 FCN=   8930.008     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      262 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3194        50.168        .34738E-02    .28460E-03
   2  alpha         3.2423        1.9790        .18796        .12617E-03
   3  Normalizat    1.2702        .10325        .78733E-01    .16517E-04
   4  Prefactor     .82228        .49821E-01    .44006E-01    .11307E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.31938
  alpha      = 3.24227
  Normalizat = 1.27025
  Prefactor  = 0.822276
 **********
 **   18 **HESSE 
 **********

 FCN=   8930.008     FROM HESSE     STATUS=OK            33 CALLS      295 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3194        17.218        .11013E-03   -1.5131    
   2  alpha         3.2423        1.0706        .75484E-02    .30145    
   3  Normalizat    1.2702        .28256        .34849E-03   -.84459    
   4  Prefactor     .82228        .15409        .24091E-03   -.98912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36065e-11
Minuit parameter uncertainties:
  1  17.2281
  2  1.11022
  3  0.282903
  4  0.154174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27240': 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) = 8930.00818458
delta logL = 2.20400153429

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  8.319e+00  1.723e+01  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  3.242e+00  1.110e+00  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:  8.223e-01  1.542e-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:  1.270e+00  2.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.08
Ra Dec: 353.723 14.535
Photon Index (Free Index): 3.24 +/- 1.11
Photon Flux (Free Index): 1.63e-07 +/- 1.00e-07
Energy Flux (Free Index): 3.26e-05 +/- 1.43e-05

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/27240/cmap_HighResolution_538185601_538444801_4FGL_J2334.8+1432_daily_bin1153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.16e-08', energy_flux2='3.26e-05', photon_flux_error='2.50e-08', dlogl='2.20e+00', energy_flux='2.67e-05', photon_flux2='1.63e-07', job_status='DONE', time_completed='2021-09-30 00:14:39.306301', photon_index_error2='1.11', photon_index2='3.24', ts='4.38', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.44', time_epoch_completed='1632986079.31', return_code='0', job_id='27240', GAL2='0.82', EG2='1.27', return_code2='0', energy_flux_error='2.11e-05', photon_flux_error2='1.00e-07', ts2='9.08', photon_index='1.90' WHERE bin_id='1153' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:14:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 27240: <4FGL_J2334.8+1432_daily_bin1153> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1153> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep 30 00:00:46 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 00:00:47 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:00:47 2021
Terminated at Thu Sep 30 00:14:40 2021
Results reported at Thu Sep 30 00:14:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1153 353.723 14.5346 538185601 538444801 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 :                                   655.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            834 sec.

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

