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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin428
RA = 353.557, Dec = 7.602
tmin = 350265601, tmax = 350524801
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='17256', job_status='RUN', time_executed='2021-09-29 23:29:28.758810', time_epoch_executed='1632983368.76' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='428'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17256

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17256/ft1_4FGL_J2334.2+0736_daily_bin428.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17256/ft2_4FGL_J2334.2+0736_daily_bin428.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17256/ft1_4FGL_J2334.2+0736_daily_bin428.fits outfile=/scratch/kocevski/17256/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin428.fits ra=353.557 dec=7.602 rad=12.0 tmin=350265601.0 tmax=350524801.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.37
user 3.12
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17256/ft1_filtered_4FGL_J2334.2+0736_daily_bin428.fits" evtable="EVENTS" scfile=/scratch/kocevski/17256/ft2_4FGL_J2334.2+0736_daily_bin428.fits sctable="SC_DATA" outfile=/scratch/kocevski/17256/ltcube_350265601_350524801_4FGL_J2334.2+0736_daily_bin428.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/17256/ft2_4FGL_J2334.2+0736_daily_bin428.fits
.....................!
real 11.74
user 11.26
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17256/ft1_filtered_4FGL_J2334.2+0736_daily_bin428.fits evtable="EVENTS" scfile=/scratch/kocevski/17256/ft2_4FGL_J2334.2+0736_daily_bin428.fits sctable="SC_DATA" expcube=/scratch/kocevski/17256/ltcube_350265601_350524801_4FGL_J2334.2+0736_daily_bin428.fits outfile=/scratch/kocevski/17256/expmap_350265601_350524801_4FGL_J2334.2+0736_daily_bin428.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/17256/ltcube_350265601_350524801_4FGL_J2334.2+0736_daily_bin428.fits
.....................!
real 190.47
user 184.66
sys 5.50

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/17256/ft1_filtered_4FGL_J2334.2+0736_daily_bin428.fits scfile=/scratch/kocevski/17256/ft2_4FGL_J2334.2+0736_daily_bin428.fits outfile=/scratch/kocevski/17256/cmap_350265601_350524801_4FGL_J2334.2+0736_daily_bin428.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/17256/ft1_filtered_4FGL_J2334.2+0736_daily_bin428.fits scfile=/scratch/kocevski/17256/ft2_4FGL_J2334.2+0736_daily_bin428.fits outfile=/scratch/kocevski/17256/cmap_HighResolution_350265601_350524801_4FGL_J2334.2+0736_daily_bin428.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/17256/ft1_filtered_4FGL_J2334.2+0736_daily_bin428.fits evtable="EVENTS" scfile=/scratch/kocevski/17256/ft2_4FGL_J2334.2+0736_daily_bin428.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17256/Model_4FGL_J2334.2+0736_daily_bin428.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/17256/ft1_filtered_4FGL_J2334.2+0736_daily_bin428.fits.....................!
real 64.44
user 63.10
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.866       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.043       1.0000         .10000E-03   10000.    
     7 'norm      '    2.6026       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13356E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .54387       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    26.616       1.0000         .10000E-03   10000.    
    16 'norm      '    24.029       1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    42.336       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.302       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75430       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81333       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6260.798     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2775 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.865        14.928         .0000        .83454E-04
   2  Prefactor     .10003E-03    5.3361         .0000    ** at limit **
   3  Prefactor     .10040E-03    31.486         .0000    ** at limit **
   4  Prefactor     .10000E-03    1.7640         .0000    ** at limit **
   5  Prefactor     .10031E-03    14.399         .0000    ** at limit **
   6  Prefactor     13.043        15.321         .0000        .13368E-03
   7  norm          2.6028        .97338         .0000        .15594E-02
   8  Prefactor     .10025E-03    4.9219         .0000    ** at limit **
   9  Prefactor     .10003E-03    5.3687         .0000    ** at limit **
  10  Prefactor     .10009E-03    28.669         .0000    ** at limit **
  11  norm          .54313        5.7816         .0000        .39531E-01
  12  Prefactor     .10000E-03    2.2438         .0000    ** at limit **
  13  Prefactor     .10020E-03    47.776         .0000    ** at limit **
  14  Prefactor     .10000E-03    7.3225         .0000    ** at limit **
  15  Prefactor     26.613        20.521         .0000        .81033E-03
  16  norm          24.030        15.766         .0000        .11407E-03
  17  norm          .10000E-03    7.8248         .0000    ** at limit **
  18  Prefactor     .10000E-03    3.4588         .0000    ** at limit **
  19  Prefactor     42.337        39.495         .0000       -.69305E-03
  20  Prefactor     16.303        22.317         .0000        .35968E-03
  21  Prefactor     .10000E-03    2.4681         .0000    ** at limit **
  22  Prefactor     .10063E-03    50.539         .0000    ** at limit **
  23  Normalizat    .75436        .17957         .0000        .41064E-03
  24  Prefactor     .81326        .11219         .0000        .40385E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8646
  Prefactor  = 0.000100034
  Prefactor  = 0.000100402
  Prefactor  = 0.0001
  Prefactor  = 0.000100305
  Prefactor  = 13.0426
  norm       = 2.60276
  Prefactor  = 0.000100246
  Prefactor  = 0.000100034
  Prefactor  = 0.000100092
  norm       = 0.543134
  Prefactor  = 0.0001
  Prefactor  = 0.000100195
  Prefactor  = 0.0001
  Prefactor  = 26.6126
  norm       = 24.0301
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 42.3366
  Prefactor  = 16.3029
  Prefactor  = 0.0001
  Prefactor  = 0.000100635
  Normalizat = 0.754364
  Prefactor  = 0.813256
 **********
 **   18 **HESSE 
 **********

 FCN=   6260.798     FROM HESSE     STATUS=OK           385 CALLS     3160 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.865        14.969        .11629E-03   -1.5019    
   2  Prefactor     .10003E-03    5.3367        .17852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10040E-03    31.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.7687        .10263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10031E-03    14.812        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.043        15.330        .11091E-03   -1.4986    
   7  norm          2.6028        .97435        .46256E-04   -1.5385    
   8  Prefactor     .10025E-03    13.647        .33600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    5.3730        .17906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10009E-03    28.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .54313        5.7461        .18203E-02   -1.5561    
  12  Prefactor     .10000E-03    2.2662        .11567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10020E-03    47.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.4189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     26.613        20.416        .77651E-04   -1.4676    
  16  norm          24.030        15.770        .81716E-04   -1.4727    
  17  norm          .10000E-03    7.8422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.5844        .28698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     42.337        39.652        .61611E-04   -1.4406    
  20  Prefactor     16.303        22.318        .49599E-03   -1.4900    
  21  Prefactor     .10000E-03    2.4761        .12139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10063E-03    52.056        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .75436        .20931        .29590E-03   -1.0178    
  24  Prefactor     .81326        .13111        .18561E-03   -.99242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06306e-08
Minuit parameter uncertainties:
  1  14.9737
  2  0.00085785
  3  0.00713011
  4  1.19312e-05
  5  0.00425462
  6  15.335
  7  0.974353
  8  0.00366789
  9  0.000860883
  10  0.00324913
  11  3.53333
  12  6.52924e-06
  13  0.00611612
  14  8.07551e-05
  15  20.4214
  16  15.7727
  17  0.000144892
  18  1.79122e-05
  19  39.6762
  20  22.3296
  21  3.69648e-06
  22  0.0115075
  23  0.209531
  24  0.131163
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.661e+01  2.042e+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.133e-01  1.312e-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.544e-01  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.97
Ra Dec: 353.557 7.602
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 4.91e-08 +/- 3.76e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.13e-05

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

Saving results to:
/scratch/kocevski/17256/likelihoodResults_350265601_350524801_4FGL_J2334.2+0736_daily_bin428.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) = 6260.79604147
delta logL = 0.00177460698887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6260.79470854
delta logL = 0.00310753985104

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.950       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4209       1.0000          .0000       10.000    
     3 'Normalizat'    .75599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81251       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=   6260.795     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      237 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.950        516.48        .18945E-02   -.96520E-04
   2  Index         2.4209        6.2102        .19779        .67759E-04
   3  Normalizat    .75607        .78545E-01    .66808E-01    .22298E-04
   4  Prefactor     .81246        .42691E-01    .43880E-01    .50227E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.9503
  Index      = 2.42086
  Normalizat = 0.756069
  Prefactor  = 0.812458
 **********
 **   18 **HESSE 
 **********

 FCN=   6260.795     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.950        28.054        .75778E-04   -1.4650    
   2  Index         2.4209        .64871        .67496E-02   -.54197    
   3  Normalizat    .75607        .19971        .29560E-03   -1.0172    
   4  Prefactor     .81246        .13029        .18570E-03   -.99271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38623e-11
Minuit parameter uncertainties:
  1  28.0668
  2  0.651217
  3  0.199906
  4  0.13034
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17256': 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) = 6260.79470844
delta logL = 0.0031076333853

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.795e+01  2.807e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.421e+00  6.512e-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.125e-01  1.303e-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.561e-01  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.97
Ra Dec: 353.557 7.602
Photon Index (Free Index): 2.42 +/- 0.65
Photon Flux (Free Index): 4.77e-08 +/- 4.03e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.36e-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/17256/cmap_HighResolution_350265601_350524801_4FGL_J2334.2+0736_daily_bin428.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='4.91e-08', energy_flux2='1.52e-05', photon_flux_error='3.76e-08', dlogl='3.11e-03', energy_flux='1.47e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2021-09-29 23:40:00.996711', photon_index_error2='0.65', photon_index2='2.42', ts='2.97', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.36e-05', EG='0.75', time_epoch_completed='1632984001.0', return_code='0', job_id='17256', GAL2='0.81', EG2='0.76', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='4.03e-08', ts2='2.97', photon_index='2.47' WHERE bin_id='428' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 23:40:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 17256: <4FGL_J2334.2+0736_daily_bin428> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin428 353.557 7.602 350265601 350524801 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 :                                   630.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             250.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            851 sec.

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

