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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin576
RA = 353.557, Dec = 7.602
tmin = 388627201, tmax = 388886401
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='17952', job_status='RUN', time_executed='2021-09-29 23:31:13.231885', time_epoch_executed='1632983473.23' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='576'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17952

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17952/ft1_4FGL_J2334.2+0736_daily_bin576.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17952/ft2_4FGL_J2334.2+0736_daily_bin576.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17952/ft1_4FGL_J2334.2+0736_daily_bin576.fits outfile=/scratch/kocevski/17952/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin576.fits ra=353.557 dec=7.602 rad=12.0 tmin=388627201.0 tmax=388886401.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 4.00
user 3.76
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17952/ft2_4FGL_J2334.2+0736_daily_bin576.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/17952/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin576.fits evtable="EVENTS" outfile="/scratch/kocevski/17952/ft1_filtered_4FGL_J2334.2+0736_daily_bin576.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.50
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17952/ft1_filtered_4FGL_J2334.2+0736_daily_bin576.fits" evtable="EVENTS" scfile=/scratch/kocevski/17952/ft2_4FGL_J2334.2+0736_daily_bin576.fits sctable="SC_DATA" outfile=/scratch/kocevski/17952/ltcube_388627201_388886401_4FGL_J2334.2+0736_daily_bin576.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/17952/ft2_4FGL_J2334.2+0736_daily_bin576.fits
.....................!
real 11.84
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17952/ft1_filtered_4FGL_J2334.2+0736_daily_bin576.fits evtable="EVENTS" scfile=/scratch/kocevski/17952/ft2_4FGL_J2334.2+0736_daily_bin576.fits sctable="SC_DATA" expcube=/scratch/kocevski/17952/ltcube_388627201_388886401_4FGL_J2334.2+0736_daily_bin576.fits outfile=/scratch/kocevski/17952/expmap_388627201_388886401_4FGL_J2334.2+0736_daily_bin576.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/17952/ltcube_388627201_388886401_4FGL_J2334.2+0736_daily_bin576.fits
.....................!
real 193.54
user 187.80
sys 5.38

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/17952/ft1_filtered_4FGL_J2334.2+0736_daily_bin576.fits scfile=/scratch/kocevski/17952/ft2_4FGL_J2334.2+0736_daily_bin576.fits outfile=/scratch/kocevski/17952/cmap_388627201_388886401_4FGL_J2334.2+0736_daily_bin576.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17952/ft1_filtered_4FGL_J2334.2+0736_daily_bin576.fits scfile=/scratch/kocevski/17952/ft2_4FGL_J2334.2+0736_daily_bin576.fits outfile=/scratch/kocevski/17952/cmap_HighResolution_388627201_388886401_4FGL_J2334.2+0736_daily_bin576.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6642       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7344       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.6849       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.4584       1.0000         .10000E-03   10000.    
     7 'norm      '    10.574       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.713       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    49.687       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.956       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8709       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .55726       1.0000         .10000E-03   10000.    
    16 'norm      '    .11687E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    20.418       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.6945       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.390       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.3150       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75921       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1320       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=   7625.744     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2759 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6540        20.680        .12630E-05   -.81773E-05
   2  Prefactor     .10000E-03    10.044       -.15705E-06** at limit **
   3  Prefactor     1.6869        205.35        .28917E-05   -.22174E-04
   4  Prefactor     .10000E-03    3.8388        .16101E-06** at limit **
   5  Prefactor     5.6820        12.969        .63107E-06    .10919E-04
   6  Prefactor     3.4549        17.891        .12832E-04   -.18515E-03
   7  norm          10.575        1.9634       -.17151E-06   -.97164E-03
   8  Prefactor     .10000E-03    5.4387       -.14889E-06** at limit **
   9  Prefactor     40.709        28.430        .56483E-06   -.58022E-04
  10  Prefactor     .10000E-03    10.121        .17872E-06** at limit **
  11  norm          49.709        14.300        .67865E-07   -.31764E-03
  12  Prefactor     .10000E-03    13.673       -.75240E-06** at limit **
  13  Prefactor     39.447        217.51       -.33977E-04   -.17336E-03
  14  Prefactor     2.8681        15.007        .23519E-04   -.24681E-03
  15  Prefactor     .33396        13.311        .89571E-06   -.56345E-04
  16  norm          .10000E-03    9.8079        .73980E-06** at limit **
  17  norm          20.426        19.909       -.52104E-05   -.21670E-03
  18  Prefactor     7.6964        5.4746       -.11912E-05   -.51204E-03
  19  Prefactor     .10000E-03    14.565        .21001E-06** at limit **
  20  Prefactor     29.396        21.167        .37354E-06   -.49201E-04
  21  Prefactor     .10000E-03    2.7647        .13242E-06** at limit **
  22  Prefactor     5.3144        12.151        .44892E-06   -.24700E-04
  23  Normalizat    .75931        .23095       -.45896E-05   -.15273E-03
  24  Prefactor     1.1321        .13863        .18177E-06   -.35500E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.65404
  Prefactor  = 0.0001
  Prefactor  = 1.68687
  Prefactor  = 0.0001
  Prefactor  = 5.682
  Prefactor  = 3.45491
  norm       = 10.5746
  Prefactor  = 0.0001
  Prefactor  = 40.7093
  Prefactor  = 0.0001
  norm       = 49.7091
  Prefactor  = 0.0001
  Prefactor  = 39.447
  Prefactor  = 2.8681
  Prefactor  = 0.333958
  norm       = 0.000100003
  norm       = 20.4256
  Prefactor  = 7.69637
  Prefactor  = 0.0001
  Prefactor  = 29.3965
  Prefactor  = 0.0001
  Prefactor  = 5.31439
  Normalizat = 0.759306
  Prefactor  = 1.13206
 **********
 **   18 **HESSE 
 **********

 FCN=   7625.744     FROM HESSE     STATUS=OK           407 CALLS     3166 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6540        20.701        .14485E-03   -1.5155    
   2  Prefactor     .10000E-03    10.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6869        206.91        .31869E-03   -1.5448    
   4  Prefactor     .10000E-03    3.9434        .33415E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.6820        12.952        .16847E-03   -1.5231    
   6  Prefactor     3.4549        17.774        .10873E-02   -1.5336    
   7  norm          10.575        1.9649        .49651E-04   -1.5057    
   8  Prefactor     .10000E-03    5.4489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.709        28.415        .62822E-04   -1.4431    
  10  Prefactor     .10000E-03    10.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          49.709        14.319        .56891E-04   -1.4297    
  12  Prefactor     .10000E-03    13.876        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.447        229.19        .31706E-03   -1.4451    
  14  Prefactor     2.8681        15.128        .11995E-02   -1.5369    
  15  Prefactor     .33396        27.480        .10094       -1.5592    
  16  norm          .10000E-03    92.189        .52866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          20.426        19.915        .88641E-04   -1.4804    
  18  Prefactor     7.6964        5.4694        .14456E-03   -1.5153    
  19  Prefactor     .10000E-03    14.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     29.396        21.175        .73903E-04   -1.4623    
  21  Prefactor     .10000E-03    2.7733        .14180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.3144        12.136        .17433E-03   -1.5247    
  23  Normalizat    .75931        .25436        .38997E-03   -1.0160    
  24  Prefactor     1.1321        .15478        .20999E-03   -.88448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23178e-09
Minuit parameter uncertainties:
  1  20.7199
  2  5.64161e-05
  3  37.4972
  4  5.11157e-06
  5  12.9589
  6  15.6799
  7  1.96487
  8  9.22357e-06
  9  28.4249
  10  5.57683e-05
  11  14.3203
  12  6.87053e-05
  13  191.285
  14  13.1789
  15  6.06069
  16  0.000980693
  17  19.9215
  18  5.46978
  19  1.7998e-05
  20  21.1809
  21  4.05775e-06
  22  12.1412
  23  0.254756
  24  0.154841
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  3.340e-01  6.061e+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

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  1.132e+00  1.548e-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:  7.593e-01  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/17952/likelihoodResults_388627201_388886401_4FGL_J2334.2+0736_daily_bin576.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7625.7441583
delta logL = 7.43674263504e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7625.74415087
delta logL = 1.48616782099e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33396       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4755       1.0000          .0000       10.000    
     3 'Normalizat'    .75929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1321       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=   7625.306     FROM MIGRAD    STATUS=CONVERGED    140 CALLS      320 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71121E-02    .10407        .17821E-02   -.27321E-01
   2  Index         6.9006        2.6310        .13075       -.18085E-03
   3  Normalizat    .68043        .39374E-01    .92479E-01    .18163E-03
   4  Prefactor     1.1638        .25556E-01    .36478E-01    .35536E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00711211
  Index      = 6.90061
  Normalizat = 0.680427
  Prefactor  = 1.16382
 **********
 **   18 **HESSE 
 **********

 FCN=   7625.306     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      351 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71121E-02    .42662        .79382E-05   -1.5691    
   2  Index         6.9006        8.2641        .74458E-02    .38993    
   3  Normalizat    .68043        .19176        .40973E-03   -1.0467    
   4  Prefactor     1.1638        .12150        .20738E-03   -.87452    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.48553e-09
Minuit parameter uncertainties:
  1  0.10939
  2  7.27163
  3  0.191947
  4  0.121526
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17952': 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) = 7625.30562149
delta logL = 0.438544238545

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  7.112e-03  1.094e-01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  6.901e+00  7.272e+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.164e+00  1.215e-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.804e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.02
Ra Dec: 353.557 7.602
Photon Index (Free Index): 6.90 +/- 7.27
Photon Flux (Free Index): 7.64e-08 +/- 8.13e-08
Energy Flux (Free Index): 9.16e-06 +/- 1.02e-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/17952/cmap_HighResolution_388627201_388886401_4FGL_J2334.2+0736_daily_bin576.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.45e-03', comment='SUCCESS', energy_flux2='9.16e-06', dlogl='4.39e-01', photon_flux2='7.64e-08', job_status='DONE', time_completed='2021-09-29 23:43:44.168509', photon_index_error2='7.27', photon_index2='6.90', ts='0.00', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.02e-05', EG='0.76', time_epoch_completed='1632984224.17', return_code='0', job_id='17952', GAL2='1.16', EG2='0.68', return_code2='102', photon_flux_error2='8.13e-08', ts2='1.02', photon_index='2.47' WHERE bin_id='576' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:43:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 17952: <4FGL_J2334.2+0736_daily_bin576> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin576> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 23:30:11 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:30:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 23:30:13 2021
Terminated at Wed Sep 29 23:43:44 2021
Results reported at Wed Sep 29 23:43:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin576 353.557 7.602 388627201 388886401 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 :                                   745.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

