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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1210
RA = 353.557, Dec = 7.602
tmin = 552960001, tmax = 553219201
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='20985', job_status='RUN', time_executed='2021-09-29 23:44:18.540549', time_epoch_executed='1632984258.54' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/20985

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/20985/ft1_4FGL_J2334.2+0736_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/20985/ft2_4FGL_J2334.2+0736_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/20985/ft1_4FGL_J2334.2+0736_daily_bin1210.fits outfile=/scratch/kocevski/20985/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1210.fits ra=353.557 dec=7.602 rad=12.0 tmin=552960001.0 tmax=553219201.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 2.88
user 2.67
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/20985/ft1_filtered_4FGL_J2334.2+0736_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/20985/ft2_4FGL_J2334.2+0736_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/20985/ltcube_552960001_553219201_4FGL_J2334.2+0736_daily_bin1210.fits outfile=/scratch/kocevski/20985/expmap_552960001_553219201_4FGL_J2334.2+0736_daily_bin1210.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/20985/ltcube_552960001_553219201_4FGL_J2334.2+0736_daily_bin1210.fits
.....................!
real 190.68
user 185.74
sys 4.54

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/20985/ft1_filtered_4FGL_J2334.2+0736_daily_bin1210.fits scfile=/scratch/kocevski/20985/ft2_4FGL_J2334.2+0736_daily_bin1210.fits outfile=/scratch/kocevski/20985/cmap_552960001_553219201_4FGL_J2334.2+0736_daily_bin1210.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/20985/ft1_filtered_4FGL_J2334.2+0736_daily_bin1210.fits scfile=/scratch/kocevski/20985/ft2_4FGL_J2334.2+0736_daily_bin1210.fits outfile=/scratch/kocevski/20985/cmap_HighResolution_552960001_553219201_4FGL_J2334.2+0736_daily_bin1210.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3638       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22488E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.7116       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6088       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7478       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.837       1.0000         .10000E-03   10000.    
    10 'Prefactor '    66.502       1.0000         .10000E-03   10000.    
    11 'norm      '    .10679E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .48220       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3462       1.0000         .10000E-03   10000.    
    15 'Prefactor '    54.836       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    20.622       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6369       1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.406       1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.125       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8289       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81627       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95597       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=   7336.278     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2435 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.3640        6.1135       -.31763E-07   -.73419E-04
   2  Prefactor     .10000E-03    4.8716       -.16906E-08** at limit **
   3  Prefactor     .10000E-03    11.646        .70015E-08** at limit **
   4  Prefactor     .23442E-01    2.0888       -.36036E-06    .75042E-04
   5  Prefactor     .10000E-03    3.3909       -.29225E-09** at limit **
   6  Prefactor     6.7107        24.605        .11501E-06   -.10173E-04
   7  norm          1.6087        1.0479        .22425E-06    .12263E-02
   8  Prefactor     2.7467        7.7981        .52830E-05   -.39138E-03
   9  Prefactor     11.838        14.868       -.35928E-07   -.25453E-04
  10  Prefactor     66.503        44.323        .61108E-06    .97748E-04
  11  norm          .10000E-03    5.7782       -.24265E-05** at limit **
  12  Prefactor     .48508        3.7122        .24974E-05   -.27363E-03
  13  Prefactor     .10000E-03    72.792        .11422E-05** at limit **
  14  Prefactor     2.3602        34.334       -.84567E-05   -.22199E-03
  15  Prefactor     54.826        29.323       -.14508E-05   -.37009E-03
  16  norm          .10000E-03    8.6050       -.15762E-07** at limit **
  17  norm          20.599        31.865        .25839E-05   -.38155E-03
  18  Prefactor     2.6358        4.1750        .15699E-05    .96523E-03
  19  Prefactor     19.403        40.980        .78999E-06   -.30984E-04
  20  Prefactor     27.127        18.703        .15832E-06    .49084E-04
  21  Prefactor     2.8291        4.1014        .12249E-05   -.58111E-03
  22  Prefactor     .10000E-03    14.405        .10088E-06** at limit **
  23  Normalizat    .81615        .18817       -.66997E-06    .19938E-03
  24  Prefactor     .95602        .11537        .31845E-06    .45216E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.36405
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0234419
  Prefactor  = 0.0001
  Prefactor  = 6.71067
  norm       = 1.60871
  Prefactor  = 2.74675
  Prefactor  = 11.8376
  Prefactor  = 66.503
  norm       = 0.000100003
  Prefactor  = 0.48508
  Prefactor  = 0.000100003
  Prefactor  = 2.36021
  Prefactor  = 54.8259
  norm       = 0.0001
  norm       = 20.5989
  Prefactor  = 2.63579
  Prefactor  = 19.4034
  Prefactor  = 27.1269
  Prefactor  = 2.82911
  Prefactor  = 0.0001
  Normalizat = 0.816148
  Prefactor  = 0.956018
 **********
 **   18 **HESSE 
 **********

 FCN=   7336.278     FROM HESSE     STATUS=OK           413 CALLS     2848 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.3640        6.1083        .19281E-03   -1.5290    
   2  Prefactor     .10000E-03    4.8721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23442E-01    1.9823        .44154E-01   -1.5677    
   5  Prefactor     .10000E-03    3.4014        .15403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.7107        24.598        .15489E-03   -1.5190    
   7  norm          1.6087        1.0409        .67459E-04   -1.5454    
   8  Prefactor     2.7467        8.1959        .12280E-02   -1.5376    
   9  Prefactor     11.838        14.870        .11643E-03   -1.5020    
  10  Prefactor     66.503        44.339        .49216E-04   -1.4075    
  11  norm          .10000E-03    37.150        .35032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .48508        9.9489        .26635E-02   -1.5569    
  13  Prefactor     .10000E-03    72.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3602        35.204        .26764E-03   -1.5401    
  15  Prefactor     54.826        28.858        .54168E-04   -1.4226    
  16  norm          .10000E-03    8.7061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          20.599        32.080        .88201E-04   -1.4800    
  18  Prefactor     2.6358        4.2381        .19325E-03   -1.5383    
  19  Prefactor     19.403        41.050        .90919E-04   -1.4827    
  20  Prefactor     27.127        18.705        .76921E-04   -1.4666    
  21  Prefactor     2.8291        4.1026        .10150E-02   -1.5372    
  22  Prefactor     .10000E-03    14.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81615        .21534        .31528E-03   -.99472    
  24  Prefactor     .95602        .13414        .19251E-03   -.94210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11148e-09
Minuit parameter uncertainties:
  1  6.10917
  2  4.44052e-07
  3  3.83998e-06
  4  0.430222
  5  7.71816e-07
  6  24.6351
  7  1.04091
  8  8.19923
  9  14.8746
  10  44.3611
  11  0.000673809
  12  4.39402
  13  0.000881101
  14  18.243
  15  28.8657
  16  1.19576e-05
  17  32.1064
  18  4.23855
  19  41.1102
  20  18.7087
  21  4.10303
  22  2.12731e-05
  23  0.21557
  24  0.134191
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  5.483e+01  2.887e+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:  9.560e-01  1.342e-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:  8.161e-01  2.156e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.62
Ra Dec: 353.557 7.602
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 5.32e-08
Energy Flux (Fixed Index): 3.04e-05 +/- 1.60e-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) = 7335.92006958
delta logL = 0.358006325074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7335.90425869
delta logL = 0.373817218142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.674       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8892       1.0000          .0000       10.000    
     3 'Normalizat'    .78209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96985       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=   7335.904     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      281 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.670        33.417        .67097E-04    .10658E-03
   2  Index         2.8893        .58008        .44344E-02    .69673E-04
   3  Normalizat    .78208        .20707        .32126E-03   -.13281E-03
   4  Prefactor     .96984        .13413        .19124E-03   -.36217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.6705
  Index      = 2.88927
  Normalizat = 0.782075
  Prefactor  = 0.969837
 **********
 **   18 **HESSE 
 **********

 FCN=   7335.904     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.670        29.838        .26839E-05   -1.4513    
   2  Index         2.8893        .51751        .17738E-03   -.43581    
   3  Normalizat    .78208        .20662        .12850E-04   -1.0074    
   4  Prefactor     .96984        .13387        .38248E-04   -.93742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03329e-10
Minuit parameter uncertainties:
  1  29.85
  2  0.518646
  3  0.206824
  4  0.133915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/20985': 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) = 7335.90425858
delta logL = 0.373817320256

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  3.567e+01  2.985e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.889e+00  5.186e-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:  9.698e-01  1.339e-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.821e-01  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.59
Ra Dec: 353.557 7.602
Photon Index (Free Index): 2.89 +/- 0.52
Photon Flux (Free Index): 1.32e-07 +/- 6.82e-08
Energy Flux (Free Index): 2.80e-05 +/- 1.34e-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/20985/cmap_HighResolution_552960001_553219201_4FGL_J2334.2+0736_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='2.80e-05', photon_flux_error='5.32e-08', dlogl='3.74e-01', energy_flux='3.04e-05', photon_flux2='1.32e-07', job_status='DONE', time_completed='2021-09-29 23:54:36.434771', photon_index_error2='0.52', photon_index2='2.89', ts='6.62', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.34e-05', EG='0.82', time_epoch_completed='1632984876.43', return_code='0', job_id='20985', GAL2='0.97', EG2='0.78', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='6.82e-08', ts2='7.59', photon_index='2.47' WHERE bin_id='1210' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:54:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 20985: <4FGL_J2334.2+0736_daily_bin1210> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1210> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 23:40:18 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 23:40:19 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:40:19 2021
Terminated at Wed Sep 29 23:54:37 2021
Results reported at Wed Sep 29 23:54:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1210 353.557 7.602 552960001 553219201 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 :                                   613.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             281.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

