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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1400
RA = 353.723, Dec = 14.5346
tmin = 602208001, tmax = 602467201
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='28464', job_status='RUN', time_executed='2021-09-30 00:08:43.021073', time_epoch_executed='1632985723.02' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28464

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28464/ft1_4FGL_J2334.8+1432_daily_bin1400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28464/ft2_4FGL_J2334.8+1432_daily_bin1400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28464/ft1_4FGL_J2334.8+1432_daily_bin1400.fits outfile=/scratch/kocevski/28464/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1400.fits ra=353.723 dec=14.5346 rad=12.0 tmin=602208001.0 tmax=602467201.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.21
user 4.95
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28464/ft1_filtered_4FGL_J2334.8+1432_daily_bin1400.fits" evtable="EVENTS" scfile=/scratch/kocevski/28464/ft2_4FGL_J2334.8+1432_daily_bin1400.fits sctable="SC_DATA" outfile=/scratch/kocevski/28464/ltcube_602208001_602467201_4FGL_J2334.8+1432_daily_bin1400.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/28464/ft2_4FGL_J2334.8+1432_daily_bin1400.fits
.....................!
real 11.78
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28464/ft1_filtered_4FGL_J2334.8+1432_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/28464/ft2_4FGL_J2334.8+1432_daily_bin1400.fits sctable="SC_DATA" expcube=/scratch/kocevski/28464/ltcube_602208001_602467201_4FGL_J2334.8+1432_daily_bin1400.fits outfile=/scratch/kocevski/28464/expmap_602208001_602467201_4FGL_J2334.8+1432_daily_bin1400.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/28464/ltcube_602208001_602467201_4FGL_J2334.8+1432_daily_bin1400.fits
.....................!
real 191.55
user 185.87
sys 5.32

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/28464/ft1_filtered_4FGL_J2334.8+1432_daily_bin1400.fits scfile=/scratch/kocevski/28464/ft2_4FGL_J2334.8+1432_daily_bin1400.fits outfile=/scratch/kocevski/28464/cmap_602208001_602467201_4FGL_J2334.8+1432_daily_bin1400.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28464/ft1_filtered_4FGL_J2334.8+1432_daily_bin1400.fits scfile=/scratch/kocevski/28464/ft2_4FGL_J2334.8+1432_daily_bin1400.fits outfile=/scratch/kocevski/28464/cmap_HighResolution_602208001_602467201_4FGL_J2334.8+1432_daily_bin1400.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2793       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1337       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .41760       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10329E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8089       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.9305       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1635       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8443       1.0000         .10000E-03   10000.    
    13 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.096       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4012       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.6220       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .62148       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=   5930.212     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     1896 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2797        3.3403        .46622E-08   -.19591E-04
   2  Prefactor     4.1294        10.454       -.26344E-06   -.11067E-03
   3  Prefactor     .10000E-03    4.8472        .43196E-08** at limit **
   4  Prefactor     .10000E-03    19.647        .27233E-09** at limit **
   5  Prefactor     .10000E-03    5.4934       -.25839E-08** at limit **
   6  Prefactor     .41759        .17072        .49282E-09   -.64254E-05
   7  Prefactor     .10000E-03    60.600        .58128E-08** at limit **
   8  Prefactor     6.8083        7.6210       -.99189E-07   -.11829E-03
   9  Prefactor     7.9309        8.3454        .89635E-08    .33646E-04
  10  Prefactor     5.1652        6.1537       -.47529E-07   -.18327E-03
  11  Prefactor     .10000E-03    4.6725       -.15402E-08** at limit **
  12  Prefactor     2.8362        42.660       -.13308E-06    .40856E-03
  13  norm          .10000E-03    5.8189       -.10893E-07** at limit **
  14  Prefactor     .10000E-03    3.9757       -.11291E-08** at limit **
  15  Prefactor     20.097        29.346       -.67463E-08   -.25105E-03
  16  norm          .10000E-03    5.7934        .11179E-07** at limit **
  17  Prefactor     .10000E-03    32.059       -.49744E-08** at limit **
  18  Prefactor     .10000E-03    13.066       -.21195E-08** at limit **
  19  Prefactor     7.4006        8.1568       -.78209E-07   -.91246E-04
  20  Normalizat    1.6218        .22444        .67904E-07   -.40878E-05
  21  Prefactor     .62160        .12413        .15486E-07    .76218E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27972
  Prefactor  = 4.12936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.417588
  Prefactor  = 0.0001
  Prefactor  = 6.8083
  Prefactor  = 7.93095
  Prefactor  = 5.16524
  Prefactor  = 0.0001
  Prefactor  = 2.83617
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.0969
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.40059
  Normalizat = 1.62181
  Prefactor  = 0.621602
 **********
 **   18 **HESSE 
 **********

 FCN=   5930.212     FROM HESSE     STATUS=OK           315 CALLS     2211 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2797        3.2839        .21069E-03   -1.5482    
   2  Prefactor     4.1294        13.867        .99130E-03   -1.5302    
   3  Prefactor     .10000E-03    4.8517        .16556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4942        .17628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .41759        .16945        .19449E-04   -1.5579    
   7  Prefactor     .10000E-03    60.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.8083        8.8248        .76882E-03   -1.5186    
   9  Prefactor     7.9309        8.3613        .71190E-03   -1.5145    
  10  Prefactor     5.1652        6.5438        .88459E-03   -1.5253    
  11  Prefactor     .10000E-03    4.6819        .16253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8362        42.182        .24109E-03   -1.5371    
  13  norm          .10000E-03    5.8614        .18131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9997        .14990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.097        29.503        .89346E-04   -1.4811    
  16  norm          .10000E-03    5.7976        .18103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    32.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.4006        8.9460        .73712E-03   -1.5164    
  20  Normalizat    1.6218        .26489        .26674E-03   -.74411    
  21  Prefactor     .62160        .14365        .22929E-03   -1.0668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42394e-09
Minuit parameter uncertainties:
  1  3.28434
  2  13.8779
  3  7.56681e-06
  4  8.78562e-06
  5  2.56334e-05
  6  0.169452
  7  0.000322621
  8  8.82649
  9  8.36256
  10  6.54474
  11  3.58216e-06
  12  21.8938
  13  8.60387e-05
  14  4.46077e-07
  15  29.5245
  16  0.0001077
  17  7.08714e-05
  18  1.09821e-06
  19  8.9476
  20  0.265117
  21  0.143738
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.000e-04  1.077e-04  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:  6.216e-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.622e+00  2.651e-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: 4.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28464/likelihoodResults_602208001_602467201_4FGL_J2334.8+1432_daily_bin1400.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) = 5930.21316797
delta logL = -0.000814584452201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5930.21235339
delta logL = -1.80079950951e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9004       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62161       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=   5930.212     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      233 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1150.8        .18103E-02** at limit **
   2  alpha         1.8620        4.0500        .17103       -.10636E-08
   3  Normalizat    1.6218        .13634        .26674E-03    .35376E-05
   4  Prefactor     .62160        .77003E-01    .22929E-03    .46607E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.86202
  Normalizat = 1.62181
  Prefactor  = 0.621602
 **********
 **   18 **HESSE 
 **********

 FCN=   5930.212     FROM HESSE     STATUS=OK            23 CALLS      256 TOTAL
                     EDM=   .40E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.8038        .36207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8620        3.8818        .68411E-02   -.25805    
   3  Normalizat    1.6218        .25294        .10669E-04   -.74411    
   4  Prefactor     .62160        .14288        .91717E-05   -1.0668    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98271e-14
Minuit parameter uncertainties:
  1  7.035e-07
  2  315.865
  3  0.253135
  4  0.14296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28464': 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) = 5930.21235338
delta logL = 7.81346898293e-09

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.000e-04  7.035e-07  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  1.862e+00  3.159e+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:  6.216e-01  1.430e-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.622e+00  2.531e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/28464/cmap_HighResolution_602208001_602467201_4FGL_J2334.8+1432_daily_bin1400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.69e-05', job_status='DONE', photon_flux_upper_limit='4.36e-08', time_completed='2021-09-30 00:18:29.041162', job_id='28464', GAL2='0.62', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1632986309.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='7.81e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1400' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:18:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 28464: <4FGL_J2334.8+1432_daily_bin1400> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1400> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 00:05:26 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 00:05:28 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:28 2021
Terminated at Thu Sep 30 00:18:29 2021
Results reported at Thu Sep 30 00:18:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1400 353.723 14.5346 602208001 602467201 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 :                                   571.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            783 sec.

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

