/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 124 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 = 7441
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2334.2+0736_daily_bin205
RA = 353.557, Dec = 7.602
tmin = 292464001, tmax = 292723201
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='16919', job_status='RUN', time_executed='2021-09-29 23:27:39.576279', time_epoch_executed='1632983259.58' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='205'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/16919

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/16919/ft1_4FGL_J2334.2+0736_daily_bin205.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/16919/ft2_4FGL_J2334.2+0736_daily_bin205.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/16919/ft1_4FGL_J2334.2+0736_daily_bin205.fits outfile=/scratch/kocevski/16919/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin205.fits ra=353.557 dec=7.602 rad=12.0 tmin=292464001.0 tmax=292723201.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.64
user 3.41
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/16919/ft1_filtered_4FGL_J2334.2+0736_daily_bin205.fits" evtable="EVENTS" scfile=/scratch/kocevski/16919/ft2_4FGL_J2334.2+0736_daily_bin205.fits sctable="SC_DATA" outfile=/scratch/kocevski/16919/ltcube_292464001_292723201_4FGL_J2334.2+0736_daily_bin205.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/16919/ft2_4FGL_J2334.2+0736_daily_bin205.fits
.....................!
real 11.80
user 11.34
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/16919/ft1_filtered_4FGL_J2334.2+0736_daily_bin205.fits evtable="EVENTS" scfile=/scratch/kocevski/16919/ft2_4FGL_J2334.2+0736_daily_bin205.fits sctable="SC_DATA" expcube=/scratch/kocevski/16919/ltcube_292464001_292723201_4FGL_J2334.2+0736_daily_bin205.fits outfile=/scratch/kocevski/16919/expmap_292464001_292723201_4FGL_J2334.2+0736_daily_bin205.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/16919/ltcube_292464001_292723201_4FGL_J2334.2+0736_daily_bin205.fits
.....................!
real 189.85
user 184.69
sys 4.85

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/16919/ft1_filtered_4FGL_J2334.2+0736_daily_bin205.fits scfile=/scratch/kocevski/16919/ft2_4FGL_J2334.2+0736_daily_bin205.fits outfile=/scratch/kocevski/16919/cmap_292464001_292723201_4FGL_J2334.2+0736_daily_bin205.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/16919/ft1_filtered_4FGL_J2334.2+0736_daily_bin205.fits scfile=/scratch/kocevski/16919/ft2_4FGL_J2334.2+0736_daily_bin205.fits outfile=/scratch/kocevski/16919/cmap_HighResolution_292464001_292723201_4FGL_J2334.2+0736_daily_bin205.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    561.26       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9094       1.0000         .10000E-03   10000.    
     4 'Prefactor '    120.09       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.633       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .95298       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.963       1.0000         .10000E-03   10000.    
    11 'norm      '    6.5250       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7227       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.975       1.0000         .10000E-03   10000.    
    16 'norm      '    8.3620       1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.2379       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .52782E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.512       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3542       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4983       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88851       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=   8505.382     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2765 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9853        .94425E-05** at limit **
   2  Prefactor     561.27        113.64        .35119E-05   -.64756E-06
   3  Prefactor     6.9020        26.685       -.90731E-05   -.66859E-05
   4  Prefactor     120.09        22.768       -.15320E-05    .53406E-05
   5  Prefactor     13.636        16.417       -.34912E-05   -.19381E-04
   6  Prefactor     .10000E-03    8.7924       -.81854E-05** at limit **
   7  norm          .95272        1.2003        .26131E-06    .96739E-03
   8  Prefactor     .10000E-03    5.9145        .61041E-05** at limit **
   9  Prefactor     .10000E-03    19.760        .13345E-05** at limit **
  10  Prefactor     47.906        75.348       -.73085E-04    .90758E-05
  11  norm          6.5270        10.816       -.21548E-05   -.21748E-03
  12  Prefactor     7.7224        8.8998       -.20842E-06   -.10178E-03
  13  Prefactor     .10000E-03    92.655       -.84202E-05** at limit **
  14  Prefactor     .10000E-03    5.9635       -.59265E-05** at limit **
  15  Prefactor     21.973        26.238       -.14684E-06   -.36383E-04
  16  norm          8.3633        12.938       -.22974E-05   -.26569E-04
  17  norm          .10000E-03    13.442       -.22557E-05** at limit **
  18  Prefactor     3.2367        4.4688        .62561E-06   -.32545E-03
  19  Prefactor     .10000E-03    99.685        .39396E-04** at limit **
  20  Prefactor     16.496        26.219       -.10393E-04   -.26319E-04
  21  Prefactor     1.3535        3.5148       -.13026E-05   -.97752E-03
  22  Prefactor     .10000E-03    3.8582       -.53027E-07** at limit **
  23  Normalizat    1.4985        .24748        .73485E-05   -.32717E-03
  24  Prefactor     .88829        .15185        .18627E-05    .38065E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 561.272
  Prefactor  = 6.90197
  Prefactor  = 120.09
  Prefactor  = 13.6357
  Prefactor  = 0.0001
  norm       = 0.95272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.9058
  norm       = 6.52695
  Prefactor  = 7.7224
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.9733
  norm       = 8.36327
  norm       = 0.0001
  Prefactor  = 3.23672
  Prefactor  = 0.000100003
  Prefactor  = 16.4961
  Prefactor  = 1.35346
  Prefactor  = 0.0001
  Normalizat = 1.49852
  Prefactor  = 0.888286
 **********
 **   18 **HESSE 
 **********

 FCN=   8505.382     FROM HESSE     STATUS=OK           401 CALLS     3166 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     561.27        113.62        .86894E-04   -1.0924    
   3  Prefactor     6.9020        26.700        .15263E-03   -1.5182    
   4  Prefactor     120.09        22.757        .36723E-04   -1.3512    
   5  Prefactor     13.636        16.412        .10848E-03   -1.4969    
   6  Prefactor     .10000E-03    8.7880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .95272        1.0537        .10846E-02   -1.5513    
   8  Prefactor     .10000E-03    5.9374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.906        75.327        .57899E-04   -1.4323    
  11  norm          6.5270        10.718        .15711E-03   -1.5197    
  12  Prefactor     7.7224        8.8457        .14430E-03   -1.5152    
  13  Prefactor     .10000E-03    92.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.9677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.973        26.205        .85445E-04   -1.4770    
  16  norm          8.3633        12.936        .13863E-03   -1.5129    
  17  norm          .10000E-03    13.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.2367        4.4496        .21952E-03   -1.5348    
  19  Prefactor     .10000E-03    102.25        .21130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.496        26.277        .98564E-04   -1.4895    
  21  Prefactor     1.3535        3.4667        .27195E-03   -1.5475    
  22  Prefactor     .10000E-03    3.8585        .17692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4985        .29294        .34865E-03   -.77820    
  24  Prefactor     .88829        .17966        .27641E-03   -.96552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97756e-09
Minuit parameter uncertainties:
  1  3.13058e-05
  2  113.667
  3  26.7462
  4  22.759
  5  16.4172
  6  6.01093e-05
  7  1.05371
  8  6.38983e-06
  9  0.000122073
  10  75.4769
  11  10.7209
  12  8.84716
  13  1.59725e-05
  14  6.25268e-05
  15  26.2187
  16  12.9407
  17  4.7883e-05
  18  4.45003
  19  0.00111725
  20  26.2958
  21  3.46725
  22  2.46139e-06
  23  0.29327
  24  0.179777
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.197e+01  2.622e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  8.883e-01  1.798e-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:  1.499e+00  2.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 353.557 7.602
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 4.05e-08 +/- 4.83e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.45e-05

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

Saving results to:
/scratch/kocevski/16919/likelihoodResults_292464001_292723201_4FGL_J2334.2+0736_daily_bin205.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) = 8505.3648034
delta logL = 0.017641645738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8505.35946119
delta logL = 0.0229838596861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.996       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2785       1.0000          .0000       10.000    
     3 'Normalizat'    1.5062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88512       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8505.359     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      263 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.002        31.535        .80122E-04   -.62603E-03
   2  Index         2.2788        .88529        .11258E-01   -.30703E-03
   3  Normalizat    1.5066        .28229        .34791E-03    .46888E-03
   4  Prefactor     .88495        .17821        .27687E-03    .76552E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.0018
  Index      = 2.27882
  Normalizat = 1.5066
  Prefactor  = 0.884947
 **********
 **   18 **HESSE 
 **********

 FCN=   8505.359     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.002        30.832        .16024E-04   -1.4708    
   2  Index         2.2788        .86546        .45034E-03   -.57548    
   3  Normalizat    1.5066        .28231        .69582E-04   -.77593    
   4  Prefactor     .88495        .17827        .55373E-04   -.96669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33122e-09
Minuit parameter uncertainties:
  1  30.8516
  2  0.871722
  3  0.282607
  4  0.178386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/16919': 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) = 8505.35946008
delta logL = 0.0229849717762

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.500e+01  3.085e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.279e+00  8.717e-01  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:  8.849e-01  1.784e-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:  1.507e+00  2.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.07
Ra Dec: 353.557 7.602
Photon Index (Free Index): 2.28 +/- 0.87
Photon Flux (Free Index): 3.43e-08 +/- 5.16e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.71e-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/16919/cmap_HighResolution_292464001_292723201_4FGL_J2334.2+0736_daily_bin205.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', photon_flux='4.05e-08', energy_flux2='1.34e-05', photon_flux_error='4.83e-08', dlogl='2.30e-02', energy_flux='1.22e-05', photon_flux2='3.43e-08', job_status='DONE', time_completed='2021-09-29 23:41:43.390541', photon_index_error2='0.87', photon_index2='2.28', ts='1.03', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='1.71e-05', EG='1.50', time_epoch_completed='1632984103.39', return_code='0', job_id='16919', GAL2='0.88', EG2='1.51', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='5.16e-08', ts2='1.07', photon_index='2.47' WHERE bin_id='205' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:41:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 16919: <4FGL_J2334.2+0736_daily_bin205> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin205> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 23:25:24 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:25:26 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:25:26 2021
Terminated at Wed Sep 29 23:41:44 2021
Results reported at Wed Sep 29 23:41:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin205 353.557 7.602 292464001 292723201 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 :                                   837.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            980 sec.

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

