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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin233
RA = 338.691, Dec = 9.732
tmin = 299721601, tmax = 299980801
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='364604', job_status='RUN', time_executed='2021-09-28 15:01:17.697417', time_epoch_executed='1632866477.7' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/364604

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/364604/ft1_4FGL_J2234.7+0943_daily_bin233.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/364604/ft2_4FGL_J2234.7+0943_daily_bin233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/364604/ft1_4FGL_J2234.7+0943_daily_bin233.fits outfile=/scratch/kocevski/364604/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin233.fits ra=338.691 dec=9.732 rad=12.0 tmin=299721601.0 tmax=299980801.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.39
user 3.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/364604/ft1_filtered_4FGL_J2234.7+0943_daily_bin233.fits" evtable="EVENTS" scfile=/scratch/kocevski/364604/ft2_4FGL_J2234.7+0943_daily_bin233.fits sctable="SC_DATA" outfile=/scratch/kocevski/364604/ltcube_299721601_299980801_4FGL_J2234.7+0943_daily_bin233.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/364604/ft2_4FGL_J2234.7+0943_daily_bin233.fits
.....................!
real 11.80
user 11.44
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/364604/ft1_filtered_4FGL_J2234.7+0943_daily_bin233.fits evtable="EVENTS" scfile=/scratch/kocevski/364604/ft2_4FGL_J2234.7+0943_daily_bin233.fits sctable="SC_DATA" expcube=/scratch/kocevski/364604/ltcube_299721601_299980801_4FGL_J2234.7+0943_daily_bin233.fits outfile=/scratch/kocevski/364604/expmap_299721601_299980801_4FGL_J2234.7+0943_daily_bin233.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/364604/ltcube_299721601_299980801_4FGL_J2234.7+0943_daily_bin233.fits
.....................!
real 190.71
user 185.20
sys 5.03

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/364604/ft1_filtered_4FGL_J2234.7+0943_daily_bin233.fits scfile=/scratch/kocevski/364604/ft2_4FGL_J2234.7+0943_daily_bin233.fits outfile=/scratch/kocevski/364604/cmap_299721601_299980801_4FGL_J2234.7+0943_daily_bin233.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/364604/ft1_filtered_4FGL_J2234.7+0943_daily_bin233.fits scfile=/scratch/kocevski/364604/ft2_4FGL_J2234.7+0943_daily_bin233.fits outfile=/scratch/kocevski/364604/cmap_HighResolution_299721601_299980801_4FGL_J2234.7+0943_daily_bin233.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/364604/ft1_filtered_4FGL_J2234.7+0943_daily_bin233.fits evtable="EVENTS" scfile=/scratch/kocevski/364604/ft2_4FGL_J2234.7+0943_daily_bin233.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/364604/Model_4FGL_J2234.7+0943_daily_bin233.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/364604/ft1_filtered_4FGL_J2234.7+0943_daily_bin233.fits.....................!
real 94.14
user 92.68
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.0551       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.652       1.0000         .10000E-03   10000.    
     7 'norm      '    .40283       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1802       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17698       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8181       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8043       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.940       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.1099       1.0000         .10000E-03   10000.    
    17 'Prefactor '    34.175       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2792       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.144       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0372       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82928       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=   9026.670     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2368 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .83612       -.90964E-08** at limit **
   2  norm          .10000E-03    8.4558       -.10463E-05** at limit **
   3  norm          2.0549        1.0833        .81904E-08   -.10222E-03
   4  Prefactor     .10000E-03    9.3419        .10658E-05** at limit **
   5  Prefactor     .10000E-03    3.8414       -.79585E-09** at limit **
   6  Prefactor     37.662        32.841       -.13510E-05    .15184E-05
   7  norm          .43218        5.9401        .20432E-05   -.49183E-03
   8  Prefactor     .10000E-03    16.078       -.84557E-06** at limit **
   9  Prefactor     5.1696        16.016        .21209E-05   -.11132E-04
  10  Prefactor     .17697        .13177        .11172E-07    .30873E-03
  11  Prefactor     9.8174        8.2619        .42609E-07    .18156E-04
  12  norm          1.8044        1.4838       -.87805E-08   -.35613E-04
  13  Prefactor     .10000E-03    15.171       -.10704E-07** at limit **
  14  Prefactor     .10000E-03    6.9964        .88621E-07** at limit **
  15  Prefactor     10.940        15.521       -.41452E-07   -.22930E-05
  16  Prefactor     4.1101        .34164       -.14651E-07    .13119E-03
  17  Prefactor     34.185        42.542       -.14989E-05    .83692E-05
  18  Prefactor     4.2789        6.1064        .21669E-05    .47834E-03
  19  Prefactor     .10000E-03    20.870        .26625E-06** at limit **
  20  Prefactor     18.149        20.453       -.62057E-06    .85794E-05
  21  Normalizat    1.0366        .21492        .17519E-06   -.36593E-04
  22  Prefactor     .82949        .11279        .14415E-07    .16008E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.05485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.6618
  norm       = 0.432184
  Prefactor  = 0.0001
  Prefactor  = 5.16957
  Prefactor  = 0.176965
  Prefactor  = 9.81743
  norm       = 1.80439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9403
  Prefactor  = 4.11006
  Prefactor  = 34.1848
  Prefactor  = 4.27892
  Prefactor  = 0.0001
  Prefactor  = 18.1493
  Normalizat = 1.03661
  Prefactor  = 0.829489
 **********
 **   18 **HESSE 
 **********

 FCN=   9026.670     FROM HESSE     STATUS=OK           352 CALLS     2720 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .84124        .84824E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.4681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0549        1.0784        .68900E-04   -1.5421    
   4  Prefactor     .10000E-03    9.3892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.8433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.662        32.958        .65316E-04   -1.4480    
   7  norm          .43218        15.366        .36101E-02   -1.5576    
   8  Prefactor     .10000E-03    16.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.1696        16.100        .17663E-03   -1.5253    
  10  Prefactor     .17697        .13466        .28377E-03   -1.5624    
  11  Prefactor     9.8174        8.2714        .12789E-03   -1.5081    
  12  norm          1.8044        1.4782        .10221E-03   -1.5439    
  13  Prefactor     .10000E-03    15.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.0029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.940        15.530        .12113E-03   -1.5046    
  16  Prefactor     4.1101        .34317        .15013E-04   -1.5302    
  17  Prefactor     34.185        42.852        .68548E-04   -1.4538    
  18  Prefactor     4.2789        6.3014        .97381E-03   -1.5294    
  19  Prefactor     .10000E-03    21.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.149        20.458        .94028E-04   -1.4856    
  21  Normalizat    1.0366        .25273        .36346E-03   -.91814    
  22  Prefactor     .82949        .13363        .21772E-03   -.98650    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01193e-09
Minuit parameter uncertainties:
  1  3.77904e-07
  2  1.66275e-06
  3  1.07844
  4  1.24577e-05
  5  7.09306e-08
  6  32.9743
  7  5.15488
  8  1.6558e-05
  9  16.1132
  10  0.134664
  11  8.27239
  12  1.4782
  13  5.94167e-06
  14  8.93407e-06
  15  15.5352
  16  0.343173
  17  42.8908
  18  6.30236
  19  1.4631e-05
  20  20.4657
  21  0.253027
  22  0.13368
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  9.817e+00  8.272e+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.295e-01  1.337e-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.037e+00  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.63
Ra Dec: 338.691 9.732
Photon Index (Fixed Index): 0.94 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.57e-05

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

Saving results to:
/scratch/kocevski/364604/likelihoodResults_299721601_299980801_4FGL_J2234.7+0943_daily_bin233.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) = 9026.65244059
delta logL = 0.0175331681894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9026.64602149
delta logL = 0.0239522676984

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.927       1.0000         .10000E-03   10000.    
     2 'Index1    '    .76446       1.0000          .0000       10.000    
     3 'Normalizat'    1.0401       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82833       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=   9026.646     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      268 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.930        10.329        .12120E-03    .15571E-03
   2  Index1        .76396        .81648        .19530E-01    .33031E-03
   3  Normalizat    1.0401        .23928        .36293E-03   -.14127E-03
   4  Prefactor     .82831        .13137        .21786E-03    .49991E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9297
  Index1     = 0.763958
  Normalizat = 1.04013
  Prefactor  = 0.828305
 **********
 **   18 **HESSE 
 **********

 FCN=   9026.646     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.930        10.062        .48480E-05   -1.5047    
   2  Index1        .76396        .79680        .39059E-02   -1.0107    
   3  Normalizat    1.0401        .23938        .14517E-04   -.91698    
   4  Prefactor     .82831        .13146        .87145E-05   -.98693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88475e-10
Minuit parameter uncertainties:
  1  10.064
  2  0.809256
  3  0.239624
  4  0.131511
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/364604': 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) = 9026.64602124
delta logL = 0.0239525119232

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.093e+01  1.006e+01  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  7.640e-01  8.093e-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.283e-01  1.315e-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.040e+00  2.396e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.66
Ra Dec: 338.691 9.732
Photon Index (Free Index): 0.76 +/- 0.81
Photon Flux (Free Index): 2.23e-08 +/- 2.28e-08
Energy Flux (Free Index): 2.05e-05 +/- 1.92e-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/364604/cmap_HighResolution_299721601_299980801_4FGL_J2234.7+0943_daily_bin233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-05', comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='2.05e-05', photon_flux_error='2.12e-08', dlogl='2.40e-02', energy_flux='1.86e-05', photon_flux2='2.23e-08', job_status='DONE', time_completed='2021-09-28 15:14:10.406492', photon_index_error2='0.81', photon_index2='0.76', ts='2.63', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='7.42e-08', energy_flux_error2='1.92e-05', EG='1.04', time_epoch_completed='1632867250.41', return_code='0', job_id='364604', GAL2='0.83', EG2='1.04', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='2.28e-08', ts2='2.66', photon_index='0.94' WHERE bin_id='233' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:14:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 364604: <4FGL_J2234.7+0943_daily_bin233> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin233 338.691 9.732 299721601 299980801 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 :                                   771.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            826 sec.

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

