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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin770
RA = 338.691, Dec = 9.732
tmin = 438912001, tmax = 439171201
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='366547', job_status='RUN', time_executed='2021-09-28 15:06:20.858844', time_epoch_executed='1632866780.86' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/366547

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/366547/ft1_4FGL_J2234.7+0943_daily_bin770.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/366547/ft2_4FGL_J2234.7+0943_daily_bin770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/366547/ft1_4FGL_J2234.7+0943_daily_bin770.fits outfile=/scratch/kocevski/366547/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin770.fits ra=338.691 dec=9.732 rad=12.0 tmin=438912001.0 tmax=439171201.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 6.11
user 5.82
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/366547/ft1_filtered_4FGL_J2234.7+0943_daily_bin770.fits" evtable="EVENTS" scfile=/scratch/kocevski/366547/ft2_4FGL_J2234.7+0943_daily_bin770.fits sctable="SC_DATA" outfile=/scratch/kocevski/366547/ltcube_438912001_439171201_4FGL_J2234.7+0943_daily_bin770.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/366547/ft2_4FGL_J2234.7+0943_daily_bin770.fits
.....................!
real 12.80
user 12.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/366547/ft1_filtered_4FGL_J2234.7+0943_daily_bin770.fits evtable="EVENTS" scfile=/scratch/kocevski/366547/ft2_4FGL_J2234.7+0943_daily_bin770.fits sctable="SC_DATA" expcube=/scratch/kocevski/366547/ltcube_438912001_439171201_4FGL_J2234.7+0943_daily_bin770.fits outfile=/scratch/kocevski/366547/expmap_438912001_439171201_4FGL_J2234.7+0943_daily_bin770.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/366547/ltcube_438912001_439171201_4FGL_J2234.7+0943_daily_bin770.fits
.....................!
real 190.90
user 185.35
sys 4.76

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/366547/ft1_filtered_4FGL_J2234.7+0943_daily_bin770.fits scfile=/scratch/kocevski/366547/ft2_4FGL_J2234.7+0943_daily_bin770.fits outfile=/scratch/kocevski/366547/cmap_438912001_439171201_4FGL_J2234.7+0943_daily_bin770.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/366547/ft1_filtered_4FGL_J2234.7+0943_daily_bin770.fits scfile=/scratch/kocevski/366547/ft2_4FGL_J2234.7+0943_daily_bin770.fits outfile=/scratch/kocevski/366547/cmap_HighResolution_438912001_439171201_4FGL_J2234.7+0943_daily_bin770.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3031       1.0000         .10000E-03   10000.    
     2 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2824       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    45.845       1.0000         .10000E-03   10000.    
     7 'norm      '    11.049       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.538       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8857       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.4104       1.0000         .10000E-03   10000.    
    12 'norm      '    1.9174       1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.186       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.764       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3341       1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.951       1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.308       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.817       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78850       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0662       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=   4744.249     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2338 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3016        4.8437       -.25833E-05   -.65854E-03
   2  norm          .10000E-03    54.490       -.20120E-05** at limit **
   3  norm          1.2827        2.7363        .19406E-07   -.74410E-03
   4  Prefactor     .10000E-03    21.638        .68628E-05** at limit **
   5  Prefactor     .10000E-03    27.582       -.66233E-05** at limit **
   6  Prefactor     45.840        52.154       -.51417E-05    .84561E-04
   7  norm          11.050        14.421       -.15585E-06   -.26128E-04
   8  Prefactor     10.532        27.515       -.66224E-05    .78861E-04
   9  Prefactor     .10000E-03    23.665       -.27011E-05** at limit **
  10  Prefactor     3.8855        .69114        .15133E-06   -.94065E-03
  11  Prefactor     7.4123        16.001       -.38737E-06   -.33995E-04
  12  norm          1.9180        3.0346       -.16605E-06   -.34725E-03
  13  Prefactor     35.186        48.502       -.11751E-06   -.29460E-05
  14  Prefactor     .10000E-03    18.566       -.15397E-06** at limit **
  15  Prefactor     32.766        49.241        .19986E-05   -.39194E-04
  16  Prefactor     5.3341        .63340       -.90067E-08   -.16939E-03
  17  Prefactor     47.945        52.203       -.61966E-05    .91334E-04
  18  Prefactor     25.308        15.349       -.19575E-06   -.37325E-04
  19  Prefactor     .10000E-03    32.969        .93163E-05** at limit **
  20  Prefactor     33.817        31.509       -.29913E-06    .15793E-04
  21  Normalizat    .78877        .39290        .92925E-06   -.20069E-05
  22  Prefactor     1.0661        .20995        .12543E-05   -.31046E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.30156
  norm       = 0.000100001
  norm       = 1.28271
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 45.8404
  norm       = 11.0496
  Prefactor  = 10.5316
  Prefactor  = 0.0001
  Prefactor  = 3.88547
  Prefactor  = 7.41235
  norm       = 1.918
  Prefactor  = 35.1857
  Prefactor  = 0.0001
  Prefactor  = 32.7659
  Prefactor  = 5.33409
  Prefactor  = 47.9451
  Prefactor  = 25.308
  Prefactor  = 0.000100003
  Prefactor  = 33.8166
  Normalizat = 0.788769
  Prefactor  = 1.06609
 **********
 **   18 **HESSE 
 **********

 FCN=   4744.249     FROM HESSE     STATUS=OK           340 CALLS     2678 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3016        5.1211        .29612E-03   -1.5480    
   2  norm          .10000E-03    54.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2827        2.7064        .15356E-03   -1.5481    
   4  Prefactor     .10000E-03    21.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     45.840        51.938        .59216E-04   -1.4353    
   7  norm          11.050        14.305        .12053E-03   -1.5043    
   8  Prefactor     10.532        27.411        .12343E-03   -1.5059    
   9  Prefactor     .10000E-03    23.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.8855        .69312        .21871E-04   -1.5314    
  11  Prefactor     7.4123        16.059        .14733E-03   -1.5163    
  12  norm          1.9180        3.0203        .14680E-03   -1.5431    
  13  Prefactor     35.186        48.571        .67559E-04   -1.4521    
  14  Prefactor     .10000E-03    18.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.766        49.318        .70004E-04   -1.4563    
  16  Prefactor     5.3341        .63684        .17328E-04   -1.5246    
  17  Prefactor     47.945        52.167        .57907E-04   -1.4322    
  18  Prefactor     25.308        15.360        .79628E-04   -1.4701    
  19  Prefactor     .10000E-03    32.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     33.817        31.514        .68909E-04   -1.4544    
  21  Normalizat    .78877        .43386        .51577E-03   -1.0049    
  22  Prefactor     1.0661        .23584        .24625E-03   -.90558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60285e-09
Minuit parameter uncertainties:
  1  5.12286
  2  0.000361298
  3  2.70669
  4  0.000284671
  5  0.00033184
  6  51.9891
  7  14.3095
  8  27.444
  9  0.000118261
  10  0.693117
  11  16.0687
  12  3.02053
  13  48.626
  14  1.75155e-06
  15  49.3799
  16  0.636843
  17  52.2163
  18  15.3619
  19  0.000654493
  20  31.5295
  21  0.43578
  22  0.236072
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  7.412e+00  1.607e+01  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.066e+00  2.361e-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.888e-01  4.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.28
Ra Dec: 338.691 9.732
Photon Flux Upper Limit: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/366547/likelihoodResults_438912001_439171201_4FGL_J2234.7+0943_daily_bin770.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) = 4744.24698074
delta logL = 0.00203032630361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4744.24657374
delta logL = 0.00243731636692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8851       1.0000         .10000E-03   10000.    
     2 'Index1    '    .77749       1.0000          .0000       10.000    
     3 'Normalizat'    .78906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0665       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4744.247     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      258 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8902        17.623        .14279E-03   -.21178E-03
   2  Index1        .77884        2.0737        .21443E-01   -.34039E-04
   3  Normalizat    .79007        .41608        .51543E-03    .34677E-03
   4  Prefactor     1.0659        .23139        .24627E-03    .10419E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.89022
  Index1     = 0.778839
  Normalizat = 0.790074
  Prefactor  = 1.06594
 **********
 **   18 **HESSE 
 **********

 FCN=   4744.247     FROM HESSE     STATUS=OK            23 CALLS      281 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8902        17.257        .57117E-05   -1.5146    
   2  Index1        .77884        2.0445        .85771E-03   -1.0051    
   3  Normalizat    .79007        .41623        .20617E-04   -1.0044    
   4  Prefactor     1.0659        .23154        .49255E-04   -.90563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85051e-09
Minuit parameter uncertainties:
  1  17.2681
  2  2.32553
  3  0.417923
  4  0.231756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/366547': 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) = 4744.24657042
delta logL = 0.00244063649279

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  7.890e+00  1.727e+01  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  7.788e-01  2.326e+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.066e+00  2.318e-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.901e-01  4.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
Ra Dec: 338.691 9.732

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/366547/cmap_HighResolution_438912001_439171201_4FGL_J2234.7+0943_daily_bin770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.62e-05', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-28 15:15:44.298464', job_id='366547', GAL2='1.07', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1632867344.3', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.44e-03', ts2='0.28', photon_index_error='0.00', photon_index='0.94' WHERE bin_id='770' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:15:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 366547: <4FGL_J2234.7+0943_daily_bin770> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin770> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 15:05:31 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:05:33 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:33 2021
Terminated at Tue Sep 28 15:15:47 2021
Results reported at Tue Sep 28 15:15:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin770 338.691 9.732 438912001 439171201 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 :                                   562.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            616 sec.

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

