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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin363
RA = 338.691, Dec = 9.732
tmin = 333417601, tmax = 333676801
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='364814', job_status='RUN', time_executed='2021-09-28 15:04:33.316346', time_epoch_executed='1632866673.32' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='363'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/364814

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/364814/ft1_4FGL_J2234.7+0943_daily_bin363.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/364814/ft1_4FGL_J2234.7+0943_daily_bin363.fits outfile=/scratch/kocevski/364814/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin363.fits ra=338.691 dec=9.732 rad=12.0 tmin=333417601.0 tmax=333676801.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.56
user 3.32
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/364814/ft1_filtered_4FGL_J2234.7+0943_daily_bin363.fits" evtable="EVENTS" scfile=/scratch/kocevski/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits sctable="SC_DATA" outfile=/scratch/kocevski/364814/ltcube_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.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/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits
.....................!
real 12.14
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/364814/ft1_filtered_4FGL_J2234.7+0943_daily_bin363.fits evtable="EVENTS" scfile=/scratch/kocevski/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits sctable="SC_DATA" expcube=/scratch/kocevski/364814/ltcube_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.fits outfile=/scratch/kocevski/364814/expmap_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.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/364814/ltcube_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.fits
.....................!
real 192.12
user 186.50
sys 5.19

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/364814/ft1_filtered_4FGL_J2234.7+0943_daily_bin363.fits scfile=/scratch/kocevski/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits outfile=/scratch/kocevski/364814/cmap_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/364814/ft1_filtered_4FGL_J2234.7+0943_daily_bin363.fits scfile=/scratch/kocevski/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits outfile=/scratch/kocevski/364814/cmap_HighResolution_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/364814/ft1_filtered_4FGL_J2234.7+0943_daily_bin363.fits evtable="EVENTS" scfile=/scratch/kocevski/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/364814/Model_4FGL_J2234.7+0943_daily_bin363.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/364814/ft1_filtered_4FGL_J2234.7+0943_daily_bin363.fits.....................!
real 79.19
user 77.82
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/364814/ft1_filtered_4FGL_J2234.7+0943_daily_bin363.fits', '/scratch/kocevski/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits', expMap='/scratch/kocevski/364814/expmap_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.fits', expCube='/scratch/kocevski/364814/ltcube_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/364814/Model_4FGL_J2234.7+0943_daily_bin363.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/364814/ft1_filtered_4FGL_J2234.7+0943_daily_bin363.fits
Spacecraft file(s): /scratch/kocevski/364814/ft2_4FGL_J2234.7+0943_daily_bin363.fits
Exposure map: /scratch/kocevski/364814/expmap_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.fits
Exposure cube: /scratch/kocevski/364814/ltcube_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/364814/Model_4FGL_J2234.7+0943_daily_bin363.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) = 7981.64199829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7424       1.0000         .10000E-03   10000.    
     2 'norm      '    .74007       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0752       1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.193       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.423       1.0000         .10000E-03   10000.    
     7 'norm      '    6.5535       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .99279       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .70167E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.0021       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10830E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.062       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .39942       1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.668       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.061       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.654       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79262       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0642       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=   7981.562     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2407 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7423        2.3470       -.13249E-06    .54278E-03
   2  norm          .65951        18.528       -.44664E-05    .11360E-03
   3  norm          1.0752        .79025       -.57170E-08    .18651E-03
   4  Prefactor     30.192        27.791        .11404E-06   -.97658E-05
   5  Prefactor     16.536        17.637       -.45605E-06    .29636E-03
   6  Prefactor     26.433        37.754       -.63379E-06    .15439E-04
   7  norm          6.5538        4.5803       -.59482E-07    .13577E-03
   8  Prefactor     .10000E-03    6.5593       -.51486E-07** at limit **
   9  Prefactor     .10000E-03    4.7630       -.31426E-08** at limit **
  10  Prefactor     .99279        .27419        .29954E-07    .11092E-02
  11  Prefactor     .10000E-03    22.593        .85878E-05** at limit **
  12  norm          1.0014        1.5420       -.12238E-05   -.93351E-03
  13  Prefactor     .10000E-03    35.919       -.54253E-06** at limit **
  14  Prefactor     10.067        17.644        .11914E-05    .51883E-05
  15  Prefactor     .10000E-03    6.7151        .45055E-07** at limit **
  16  Prefactor     .39955        .15041        .12627E-08    .16063E-02
  17  Prefactor     24.635        36.204        .19541E-05   -.10959E-03
  18  Prefactor     11.061        7.0916        .16737E-07    .20431E-04
  19  Prefactor     13.658        14.800       -.15744E-06   -.40492E-06
  20  Prefactor     .10000E-03    20.797        .59064E-06** at limit **
  21  Normalizat    .79214        .23467        .15032E-06    .16234E-03
  22  Prefactor     1.0644        .12105        .23852E-06   -.24102E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74226
  norm       = 0.659509
  norm       = 1.07517
  Prefactor  = 30.1917
  Prefactor  = 16.5362
  Prefactor  = 26.4325
  norm       = 6.55383
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.992792
  Prefactor  = 0.0001
  norm       = 1.00139
  Prefactor  = 0.0001
  Prefactor  = 10.0672
  Prefactor  = 0.0001
  Prefactor  = 0.399546
  Prefactor  = 24.6345
  Prefactor  = 11.0607
  Prefactor  = 13.6584
  Prefactor  = 0.0001
  Normalizat = 0.792145
  Prefactor  = 1.06442
 **********
 **   18 **HESSE 
 **********

 FCN=   7981.562     FROM HESSE     STATUS=OK           354 CALLS     2761 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7423        2.3174        .15171E-03   -1.5444    
   2  norm          .65951        101.92        .62188E-02   -1.5546    
   3  norm          1.0752        .79536        .65857E-04   -1.5501    
   4  Prefactor     30.192        27.717        .72917E-04   -1.4608    
   5  Prefactor     16.536        17.619        .49250E-03   -1.4894    
   6  Prefactor     26.433        37.801        .77933E-04   -1.4679    
   7  norm          6.5538        4.5765        .15444E-03   -1.5196    
   8  Prefactor     .10000E-03    6.5699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.7674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .99279        .26767        .22303E-04   -1.5509    
  11  Prefactor     .10000E-03    23.515        .38625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.0014        1.5331        .14560E-02   -1.5508    
  13  Prefactor     .10000E-03    36.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.067        17.630        .12632E-03   -1.5073    
  15  Prefactor     .10000E-03    6.7197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .39955        .14937        .20059E-04   -1.5582    
  17  Prefactor     24.635        36.257        .80653E-04   -1.4715    
  18  Prefactor     11.061        7.0860        .12046E-03   -1.5043    
  19  Prefactor     13.658        14.803        .10840E-03   -1.4969    
  20  Prefactor     .10000E-03    20.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79214        .26267        .39051E-03   -1.0036    
  22  Prefactor     1.0644        .13635        .18920E-03   -.90612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10055e-09
Minuit parameter uncertainties:
  1  2.31756
  2  16.4242
  3  0.79537
  4  27.7287
  5  17.6246
  6  37.835
  7  4.57678
  8  1.67364e-05
  9  8.80591e-06
  10  0.267672
  11  8.64668e-05
  12  1.53313
  13  0.00012707
  14  17.6388
  15  3.74016e-06
  16  0.149372
  17  36.2895
  18  7.08657
  19  14.8073
  20  0.000201989
  21  0.263089
  22  0.136399
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.000e-04  8.647e-05  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:  1.064e+00  1.364e-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:  7.921e-01  2.631e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.691 9.732
Photon Flux Upper Limit: 6.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.59e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/364814/likelihoodResults_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.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): 102
logL (Free Index) = 7981.56226453
delta logL = -0.000201263263989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7981.56205731
delta logL = 5.95766505285e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7979.369     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      277 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62109E-01    .52655        .29837E-06    .78407E-04
   2  Index1        4.2157        2.2333       -.11809E-04    .15403E-04
   3  Normalizat    .60342        .25236        .50365E-05    .77573E-04
   4  Prefactor     1.1221        .13412       -.53540E-06    .43115E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0621094
  Index1     = 4.21571
  Normalizat = 0.603421
  Prefactor  = 1.12209
 **********
 **   18 **HESSE 
 **********

 FCN=   7979.369     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      314 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62109E-01    .36838        .24631E-02   -1.5658    
   2  Index1        4.2157        1.6277        .76672E-01   -.15751    
   3  Normalizat    .60342        .59155E-01    .99539E-01   -1.0784    
   4  Prefactor     1.1221        .32724E-01    .39119E-01   -.88764    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.09836e-09
Minuit parameter uncertainties:
  1  0.302281
  2  1.65871
  3  0.0591614
  4  0.0327243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/364814': 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): 102
logL (Free Index) = 7979.36926117
delta logL = 2.19280209766

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  6.211e-02  3.023e-01  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  4.216e+00  1.659e+00  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:  1.122e+00  3.272e-02  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:  6.034e-01  5.916e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.90
Ra Dec: 338.691 9.732
Photon Index (Free Index): 4.22 +/- 1.66
Photon Flux (Free Index): 1.97e-07 +/- 1.45e-07
Energy Flux (Free Index): 2.77e-05 +/- 2.53e-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/364814/cmap_HighResolution_333417601_333676801_4FGL_J2234.7+0943_daily_bin363.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-05', comment='SUCCESS', energy_flux2='2.77e-05', dlogl='2.19e+00', photon_flux2='1.97e-07', job_status='DONE', time_completed='2021-09-28 15:16:13.635672', photon_index_error2='1.66', photon_index2='4.22', ts='-0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='6.22e-08', energy_flux_error2='2.53e-05', EG='0.79', time_epoch_completed='1632867373.64', return_code='0', job_id='364814', GAL2='1.12', EG2='0.60', return_code2='102', photon_flux_error2='1.45e-07', ts2='4.90', photon_index='0.94' WHERE bin_id='363' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:16:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 364814: <4FGL_J2234.7+0943_daily_bin363> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin363> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep 28 15:00:44 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:00:46 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:00:46 2021
Terminated at Tue Sep 28 15:16:14 2021
Results reported at Tue Sep 28 15:16:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin363 338.691 9.732 333417601 333676801 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 :                                   699.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            930 sec.

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

