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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin740
RA = 338.691, Dec = 9.732
tmin = 431136001, tmax = 431395201
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='366503', job_status='RUN', time_executed='2021-09-28 15:06:46.979415', time_epoch_executed='1632866806.98' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/366503

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/366503/ft1_4FGL_J2234.7+0943_daily_bin740.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/366503/ft1_4FGL_J2234.7+0943_daily_bin740.fits outfile=/scratch/kocevski/366503/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin740.fits ra=338.691 dec=9.732 rad=12.0 tmin=431136001.0 tmax=431395201.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 5.60
user 5.30
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.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/366503/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin740.fits evtable="EVENTS" outfile="/scratch/kocevski/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.fits" evtable="EVENTS" scfile=/scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits sctable="SC_DATA" outfile=/scratch/kocevski/366503/ltcube_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.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/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits
.....................!
real 12.02
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits sctable="SC_DATA" expcube=/scratch/kocevski/366503/ltcube_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.fits outfile=/scratch/kocevski/366503/expmap_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.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/366503/ltcube_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.fits
.....................!
real 192.93
user 186.54
sys 5.73

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 157 point sources and 0 extended sources

Setting source of interest to:
4FGL J2234.7+0943 @ 338.691 9.732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.fits scfile=/scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits outfile=/scratch/kocevski/366503/cmap_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.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=338.691 yref=9.732 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.fits scfile=/scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits outfile=/scratch/kocevski/366503/cmap_HighResolution_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.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=338.691 yref=9.732 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.fits evtable="EVENTS" scfile=/scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/366503/Model_4FGL_J2234.7+0943_daily_bin740.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/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.fits.....................!
real 82.59
user 81.24
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.fits', '/scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits', expMap='/scratch/kocevski/366503/expmap_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.fits', expCube='/scratch/kocevski/366503/ltcube_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/366503/Model_4FGL_J2234.7+0943_daily_bin740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.7+0943'

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.256e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.408e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/366503/ft1_filtered_4FGL_J2234.7+0943_daily_bin740.fits
Spacecraft file(s): /scratch/kocevski/366503/ft2_4FGL_J2234.7+0943_daily_bin740.fits
Exposure map: /scratch/kocevski/366503/expmap_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.fits
Exposure cube: /scratch/kocevski/366503/ltcube_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/366503/Model_4FGL_J2234.7+0943_daily_bin740.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) = 7957.18930592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.2918       1.0000         .10000E-03   10000.    
     3 'norm      '    .52364       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.751       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.767       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    23.355       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0711       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .88036       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.547       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.836       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3024       1.0000         .10000E-03   10000.    
    17 'Prefactor '    69.346       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1733       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85063       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7957.183     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2327 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .88865        .25447E-06** at limit **
   2  norm          6.2923        19.173       -.27837E-06   -.49573E-04
   3  norm          .52381        .83275       -.38073E-06   -.24285E-02
   4  Prefactor     36.753        21.521        .11400E-05   -.24227E-04
   5  Prefactor     15.767        14.332       -.26742E-06   -.12413E-04
   6  Prefactor     .10000E-03    14.176        .62425E-05** at limit **
   7  norm          23.355        7.8814       -.10628E-07   -.14120E-03
   8  Prefactor     7.0717        15.332       -.31322E-06   -.54219E-04
   9  Prefactor     .10000E-03    29.509        .19671E-04** at limit **
  10  Prefactor     .88034        .28458       -.21619E-07   -.19440E-03
  11  Prefactor     11.547        7.6878       -.40212E-07    .19550E-04
  12  norm          .10000E-03    .97327       -.13918E-06** at limit **
  13  Prefactor     .10000E-03    16.094       -.87981E-05** at limit **
  14  Prefactor     .10000E-03    33.670       -.24324E-04** at limit **
  15  Prefactor     20.833        32.463       -.49594E-05    .20675E-04
  16  Prefactor     5.3025        .50307        .44359E-07    .20873E-02
  17  Prefactor     69.333        67.290       -.14765E-04   -.31982E-06
  18  Prefactor     .10000E-03    16.077       -.85423E-05** at limit **
  19  Prefactor     .10000E-03    6.5177        .51780E-06** at limit **
  20  Prefactor     .10000E-03    18.553        .82435E-05** at limit **
  21  Normalizat    1.1731        .26473        .79716E-06   -.27075E-04
  22  Prefactor     .85071        .13299        .28402E-06    .72628E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.2923
  norm       = 0.52381
  Prefactor  = 36.7534
  Prefactor  = 15.7673
  Prefactor  = 0.0001
  norm       = 23.3549
  Prefactor  = 7.0717
  Prefactor  = 0.0001
  Prefactor  = 0.880339
  Prefactor  = 11.5474
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.833
  Prefactor  = 5.30251
  Prefactor  = 69.3328
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17311
  Prefactor  = 0.850711
 **********
 **   18 **HESSE 
 **********

 FCN=   7957.183     FROM HESSE     STATUS=OK           344 CALLS     2671 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .90239        .82011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.2923        19.164        .16003E-03   -1.5206    
   3  norm          .52381        .76874        .98213E-03   -1.5563    
   4  Prefactor     36.753        21.545        .66110E-04   -1.4495    
   5  Prefactor     15.767        14.341        .10087E-03   -1.4914    
   6  Prefactor     .10000E-03    14.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.355        7.8734        .82886E-04   -1.4741    
   8  Prefactor     7.0717        15.319        .15086E-03   -1.5176    
   9  Prefactor     .10000E-03    29.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .88034        .28377        .24833E-04   -1.5520    
  11  Prefactor     11.547        7.6964        .11789E-03   -1.5028    
  12  norm          .10000E-03    .97838        .85934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    33.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.833        32.546        .87746E-04   -1.4795    
  16  Prefactor     5.3025        .50592        .18234E-04   -1.5247    
  17  Prefactor     69.333        67.386        .48203E-04   -1.4041    
  18  Prefactor     .10000E-03    16.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.5204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1731        .31425        .39066E-03   -.87438    
  22  Prefactor     .85071        .15837        .23394E-03   -.97885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75267e-10
Minuit parameter uncertainties:
  1  1.9646e-06
  2  19.1822
  3  0.768753
  4  21.5493
  5  14.3439
  6  2.05094e-05
  7  7.87371
  8  15.3275
  9  8.33671e-05
  10  0.283769
  11  7.69704
  12  3.73085e-07
  13  2.18513e-06
  14  4.90357e-05
  15  32.5737
  16  0.505921
  17  67.4604
  18  3.75118e-05
  19  8.94325e-06
  20  2.95667e-05
  21  0.314755
  22  0.158459
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.155e+01  7.697e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.408e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.507e-01  1.585e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.173e+00  3.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.96
Ra Dec: 338.691 9.732
Photon Index (Fixed Index): 0.94 +/- 0.00
Photon Flux (Fixed Index): 2.97e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 2.19e-05 +/- 1.46e-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) = 7957.09932688
delta logL = 0.0832743603632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7957.09613422
delta logL = 0.0864670197789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.073       1.0000         .10000E-03   10000.    
     2 'Index1    '    .55100       1.0000          .0000       10.000    
     3 'Normalizat'    1.1788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85093       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7957.096     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.069        8.1318        .28823E-02   -.30581E-04
   2  Index1        .55100        .88958        .40381E-01    .14669E-04
   3  Normalizat    1.1789        .25358        .88047E-01    .18234E-04
   4  Prefactor     .85089        .13233        .44376E-01    .94607E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0688
  Index1     = 0.551001
  Normalizat = 1.17889
  Prefactor  = 0.850894
 **********
 **   18 **HESSE 
 **********

 FCN=   7957.096     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.069        8.1279        .11529E-03   -1.5013    
   2  Index1        .55100        .88893        .16153E-02   -1.0969    
   3  Normalizat    1.1789        .30187        .38992E-03   -.87258    
   4  Prefactor     .85089        .15788        .23399E-03   -.97879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61158e-13
Minuit parameter uncertainties:
  1  8.12868
  2  0.913101
  3  0.302315
  4  0.157969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/366503': 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) = 7957.09613406
delta logL = 0.086467181286

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.207e+01  8.129e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  5.510e-01  9.131e-01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  8.509e-01  1.580e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.179e+00  3.023e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.13
Ra Dec: 338.691 9.732
Photon Index (Free Index): 0.55 +/- 0.91
Photon Flux (Free Index): 1.96e-08 +/- 2.17e-08
Energy Flux (Free Index): 2.34e-05 +/- 1.69e-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/366503/cmap_HighResolution_431136001_431395201_4FGL_J2234.7+0943_daily_bin740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.97e-08', energy_flux2='2.34e-05', photon_flux_error='1.98e-08', dlogl='8.65e-02', energy_flux='2.19e-05', photon_flux2='1.96e-08', job_status='DONE', time_completed='2021-09-28 15:17:34.735033', photon_index_error2='0.91', photon_index2='0.55', ts='7.96', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.69e-05', EG='1.17', time_epoch_completed='1632867454.74', return_code='0', job_id='366503', GAL2='0.85', EG2='1.18', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='2.17e-08', ts2='8.13', photon_index='0.94' WHERE bin_id='740' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:17:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 366503: <4FGL_J2234.7+0943_daily_bin740> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 15:05:28 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:05:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 15:05:29 2021
Terminated at Tue Sep 28 15:17:35 2021
Results reported at Tue Sep 28 15:17:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin740 338.691 9.732 431136001 431395201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.7+0943 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   646.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            727 sec.

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

