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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin449
RA = 353.557, Dec = 7.602
tmin = 355708801, tmax = 355968001
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='17289', job_status='RUN', time_executed='2021-09-29 23:29:11.436624', time_epoch_executed='1632983351.44' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='449'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17289

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17289/ft1_4FGL_J2334.2+0736_daily_bin449.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17289/ft2_4FGL_J2334.2+0736_daily_bin449.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17289/ft1_4FGL_J2334.2+0736_daily_bin449.fits outfile=/scratch/kocevski/17289/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin449.fits ra=353.557 dec=7.602 rad=12.0 tmin=355708801.0 tmax=355968001.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.90
user 4.63
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17289/ft1_filtered_4FGL_J2334.2+0736_daily_bin449.fits" evtable="EVENTS" scfile=/scratch/kocevski/17289/ft2_4FGL_J2334.2+0736_daily_bin449.fits sctable="SC_DATA" outfile=/scratch/kocevski/17289/ltcube_355708801_355968001_4FGL_J2334.2+0736_daily_bin449.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/17289/ft2_4FGL_J2334.2+0736_daily_bin449.fits
.....................!
real 11.85
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17289/ft1_filtered_4FGL_J2334.2+0736_daily_bin449.fits evtable="EVENTS" scfile=/scratch/kocevski/17289/ft2_4FGL_J2334.2+0736_daily_bin449.fits sctable="SC_DATA" expcube=/scratch/kocevski/17289/ltcube_355708801_355968001_4FGL_J2334.2+0736_daily_bin449.fits outfile=/scratch/kocevski/17289/expmap_355708801_355968001_4FGL_J2334.2+0736_daily_bin449.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/17289/ltcube_355708801_355968001_4FGL_J2334.2+0736_daily_bin449.fits
.....................!
real 191.13
user 185.56
sys 5.20

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/17289/ft1_filtered_4FGL_J2334.2+0736_daily_bin449.fits scfile=/scratch/kocevski/17289/ft2_4FGL_J2334.2+0736_daily_bin449.fits outfile=/scratch/kocevski/17289/cmap_355708801_355968001_4FGL_J2334.2+0736_daily_bin449.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17289/ft1_filtered_4FGL_J2334.2+0736_daily_bin449.fits scfile=/scratch/kocevski/17289/ft2_4FGL_J2334.2+0736_daily_bin449.fits outfile=/scratch/kocevski/17289/cmap_HighResolution_355708801_355968001_4FGL_J2334.2+0736_daily_bin449.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.222       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10624E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.476       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2019       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10541E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8825       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10969E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.359       1.0000         .10000E-03   10000.    
    15 'Prefactor '    24.165       1.0000         .10000E-03   10000.    
    16 'norm      '    .10137E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .62628E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19884E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4506       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .42804       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1290       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=   6537.982     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     2790 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.221        19.316        .29488E-06    .34446E-04
   2  Prefactor     .10000E-03    4.3639        .12853E-07** at limit **
   3  Prefactor     31.133        29.207        .36435E-06    .29822E-04
   4  Prefactor     .10000E-03    2.5056        .16074E-05** at limit **
   5  Prefactor     .10000E-03    10.944        .74722E-05** at limit **
   6  Prefactor     12.486        17.517       -.81635E-06   -.21367E-03
   7  norm          1.2022        .97175       -.92318E-07   -.10526E-02
   8  Prefactor     .10000E-03    9.1665       -.99100E-06** at limit **
   9  Prefactor     .10000E-03    24.880        .31622E-06** at limit **
  10  Prefactor     .10001E-03    196.58       -.24260E-05** at limit **
  11  norm          1.8823        7.4117        .94067E-06    .21040E-03
  12  Prefactor     .10000E-03    4.2822       -.69139E-06** at limit **
  13  Prefactor     .10000E-03    62.622       -.12474E-05** at limit **
  14  Prefactor     17.335        10.994       -.30863E-06   -.61303E-04
  15  Prefactor     24.168        18.670        .36355E-06    .26531E-03
  16  norm          .10000E-03    5.5245        .38386E-07** at limit **
  17  norm          .10000E-03    136.99       -.48103E-05** at limit **
  18  Prefactor     .10000E-03    2.6345       -.85894E-07** at limit **
  19  Prefactor     .10001E-03    1209.5       -.43456E-05** at limit **
  20  Prefactor     9.4518        24.067        .15717E-05    .11171E-03
  21  Prefactor     .10000E-03    2.6605        .11118E-06** at limit **
  22  Prefactor     .10000E-03    14.330        .33230E-06** at limit **
  23  Normalizat    .42805        .21762       -.76729E-06   -.16227E-03
  24  Prefactor     1.1290        .13075       -.54267E-06   -.81218E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2207
  Prefactor  = 0.0001
  Prefactor  = 31.133
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 12.4861
  norm       = 1.20216
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  norm       = 1.88227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.3347
  Prefactor  = 24.168
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 9.45181
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.428049
  Prefactor  = 1.12899
 **********
 **   18 **HESSE 
 **********

 FCN=   6537.982     FROM HESSE     STATUS=OK           407 CALLS     3197 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.221        19.303        .91353E-04   -1.4831    
   2  Prefactor     .10000E-03    4.3641        .16497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.133        29.194        .71832E-04   -1.4591    
   4  Prefactor     .10000E-03    5.3191        .23777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.589        .30656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.486        17.527        .11341E-03   -1.5001    
   7  norm          1.2022        .95427        .67677E-04   -1.5489    
   8  Prefactor     .10000E-03    9.2646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    199.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8823        7.5216        .30339E-03   -1.5434    
  12  Prefactor     .10000E-03    4.2645        .16197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    62.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.335        11.118        .96131E-04   -1.4875    
  15  Prefactor     24.168        18.661        .81487E-04   -1.4724    
  16  norm          .10000E-03    5.5326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    134.42        .57415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.7143        .25686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    31.588        .11978       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4518        24.086        .13036E-03   -1.5093    
  21  Prefactor     .10000E-03    2.6816        .12883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .42805        .22312        .40031E-03   -1.1588    
  24  Prefactor     1.1290        .13874        .17102E-03   -.88545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31735e-09
Minuit parameter uncertainties:
  1  19.3096
  2  1.66203e-06
  3  29.2071
  4  6.19878e-05
  5  0.000335762
  6  17.5342
  7  0.954286
  8  9.06059e-06
  9  0.000121761
  10  0.00305002
  11  7.52533
  12  1.29008e-05
  13  0.000286373
  14  11.1196
  15  18.6657
  16  1.17289e-05
  17  0.000484108
  18  5.67728e-06
  19  0.00123912
  20  24.1108
  21  1.35964e-05
  22  0.000104325
  23  0.223586
  24  0.138784
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.417e+01  1.867e+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:  1.129e+00  1.388e-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:  4.280e-01  2.236e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.91
Ra Dec: 353.557 7.602
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 4.46e-08 +/- 3.44e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 1.03e-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) = 6536.82051316
delta logL = 1.16102925078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6536.7945893
delta logL = 1.1869531074

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.381       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5877       1.0000          .0000       10.000    
     3 'Normalizat'    .45684       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1194       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=   6536.795     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.386        23.686        .22678E-05   -.12667E-03
   2  Index         1.5879        .49895        .15027E-04    .11299E-04
   3  Normalizat    .45682        .18580       -.50000E-06   -.16572E-03
   4  Prefactor     1.1194        .12571       -.12700E-06   -.27812E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.3864
  Index      = 1.5879
  Normalizat = 0.45682
  Prefactor  = 1.11939
 **********
 **   18 **HESSE 
 **********

 FCN=   6536.795     FROM HESSE     STATUS=OK            29 CALLS      243 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.386        23.367        .75202E-04   -1.4642    
   2  Index         1.5879        .49249        .85083E-02   -.75107    
   3  Normalizat    .45682        .20101        .38786E-03   -1.1446    
   4  Prefactor     1.1194        .13635        .17160E-03   -.88849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89333e-10
Minuit parameter uncertainties:
  1  23.375
  2  0.493994
  3  0.20133
  4  0.136393
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17289': 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) = 6536.79458922
delta logL = 1.18695318609

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.839e+01  2.338e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  1.588e+00  4.940e-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:  1.119e+00  1.364e-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:  4.568e-01  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.24
Ra Dec: 353.557 7.602
Photon Index (Free Index): 1.59 +/- 0.49
Photon Flux (Free Index): 1.74e-08 +/- 1.76e-08
Energy Flux (Free Index): 4.09e-05 +/- 5.02e-05

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/17289/cmap_HighResolution_355708801_355968001_4FGL_J2334.2+0736_daily_bin449.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.46e-08', energy_flux2='4.09e-05', photon_flux_error='3.44e-08', dlogl='1.19e+00', energy_flux='1.34e-05', photon_flux2='1.74e-08', job_status='DONE', time_completed='2021-09-29 23:39:17.795273', photon_index_error2='0.49', photon_index2='1.59', ts='4.91', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='5.02e-05', EG='0.43', time_epoch_completed='1632983957.8', return_code='0', job_id='17289', GAL2='1.12', EG2='0.46', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='1.76e-08', ts2='7.24', photon_index='2.47' WHERE bin_id='449' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:39:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 17289: <4FGL_J2334.2+0736_daily_bin449> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin449 353.557 7.602 355708801 355968001 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 :                                   601.32 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             275.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            807 sec.

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

