/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 96 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 = 7406
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1355
RA = 338.691, Dec = 9.732
tmin = 590544001, tmax = 590803201
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='371266', job_status='RUN', time_executed='2021-09-28 15:18:00.043669', time_epoch_executed='1632867480.04' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1355'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/371266

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/371266/ft1_4FGL_J2234.7+0943_daily_bin1355.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/371266/ft2_4FGL_J2234.7+0943_daily_bin1355.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/371266/ft1_4FGL_J2234.7+0943_daily_bin1355.fits outfile=/scratch/kocevski/371266/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1355.fits ra=338.691 dec=9.732 rad=12.0 tmin=590544001.0 tmax=590803201.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 4.21
user 3.97
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/371266/ft1_filtered_4FGL_J2234.7+0943_daily_bin1355.fits" evtable="EVENTS" scfile=/scratch/kocevski/371266/ft2_4FGL_J2234.7+0943_daily_bin1355.fits sctable="SC_DATA" outfile=/scratch/kocevski/371266/ltcube_590544001_590803201_4FGL_J2234.7+0943_daily_bin1355.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/371266/ft2_4FGL_J2234.7+0943_daily_bin1355.fits
.....................!
real 12.90
user 12.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/371266/ft1_filtered_4FGL_J2234.7+0943_daily_bin1355.fits evtable="EVENTS" scfile=/scratch/kocevski/371266/ft2_4FGL_J2234.7+0943_daily_bin1355.fits sctable="SC_DATA" expcube=/scratch/kocevski/371266/ltcube_590544001_590803201_4FGL_J2234.7+0943_daily_bin1355.fits outfile=/scratch/kocevski/371266/expmap_590544001_590803201_4FGL_J2234.7+0943_daily_bin1355.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/371266/ltcube_590544001_590803201_4FGL_J2234.7+0943_daily_bin1355.fits
.....................!
real 189.78
user 184.70
sys 4.62

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/371266/ft1_filtered_4FGL_J2234.7+0943_daily_bin1355.fits scfile=/scratch/kocevski/371266/ft2_4FGL_J2234.7+0943_daily_bin1355.fits outfile=/scratch/kocevski/371266/cmap_590544001_590803201_4FGL_J2234.7+0943_daily_bin1355.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/371266/ft1_filtered_4FGL_J2234.7+0943_daily_bin1355.fits scfile=/scratch/kocevski/371266/ft2_4FGL_J2234.7+0943_daily_bin1355.fits outfile=/scratch/kocevski/371266/cmap_HighResolution_590544001_590803201_4FGL_J2234.7+0943_daily_bin1355.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5300       1.0000         .10000E-03   10000.    
     2 'norm      '    9.6533       1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.398       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8174       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .23640       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4587       1.0000         .10000E-03   10000.    
    12 'norm      '    1.6105       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    67.248       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .73854       1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.736       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.9878       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.8577       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.704       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2279       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71338       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=   6291.147     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2344 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5299        2.2067       -.99148E-07   -.16209E-03
   2  norm          9.6571        21.727        .45567E-05    .15576E-03
   3  norm          .10000E-03    .38138        .31717E-07** at limit **
   4  Prefactor     .10000E-03    13.567       -.54003E-06** at limit **
   5  Prefactor     23.393        20.487       -.33930E-05   -.34201E-03
   6  Prefactor     .10000E-03    11.715        .82845E-06** at limit **
   7  norm          .10000E-03    2.1815       -.55340E-07** at limit **
   8  Prefactor     5.8170        10.363        .19630E-07   -.38903E-04
   9  Prefactor     .10000E-03    7.7125        .95106E-07** at limit **
  10  Prefactor     .23643        .14189        .32286E-08   -.71600E-04
  11  Prefactor     1.4567        4.2761        .17661E-06   -.22568E-03
  12  norm          1.6103        1.6036       -.10612E-06   -.71247E-04
  13  Prefactor     .10000E-03    13.142        .68069E-06** at limit **
  14  Prefactor     67.251        23.009        .11382E-05    .24640E-03
  15  Prefactor     .10000E-03    11.024       -.98971E-06** at limit **
  16  Prefactor     .73860        .18088       -.93032E-08    .20231E-03
  17  Prefactor     38.740        34.731        .29199E-05    .16643E-03
  18  Prefactor     4.9867        5.2936        .15548E-05   -.17335E-02
  19  Prefactor     8.8583        10.900       -.78998E-07   -.88997E-05
  20  Prefactor     19.706        20.002        .15467E-05    .14129E-03
  21  Normalizat    1.2277        .22079       -.85542E-06    .45415E-04
  22  Prefactor     .71352        .11632        .11353E-06   -.12266E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.52986
  norm       = 9.65715
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.3927
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.81698
  Prefactor  = 0.0001
  Prefactor  = 0.236429
  Prefactor  = 1.45674
  norm       = 1.61035
  Prefactor  = 0.0001
  Prefactor  = 67.2506
  Prefactor  = 0.0001
  Prefactor  = 0.738596
  Prefactor  = 38.7401
  Prefactor  = 4.9867
  Prefactor  = 8.85826
  Prefactor  = 19.7062
  Normalizat = 1.2277
  Prefactor  = 0.713524
 **********
 **   18 **HESSE 
 **********

 FCN=   6291.147     FROM HESSE     STATUS=OK           342 CALLS     2686 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5299        2.1807        .13591E-03   -1.5461    
   2  norm          9.6571        21.824        .12898E-03   -1.5086    
   3  norm          .10000E-03    .39174        .95583E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.393        20.871        .82810E-04   -1.4740    
   6  Prefactor     .10000E-03    11.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.1990        .11438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.8170        10.343        .16651E-03   -1.5226    
   9  Prefactor     .10000E-03    7.7521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .23643        .14125        .22012E-04   -1.5611    
  11  Prefactor     1.4567        4.2495        .27393E-03   -1.5467    
  12  norm          1.6103        1.5916        .95135E-04   -1.5454    
  13  Prefactor     .10000E-03    13.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     67.251        23.093        .24472E-03   -1.4066    
  15  Prefactor     .10000E-03    11.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .73860        .18159        .15829E-04   -1.5536    
  17  Prefactor     38.740        34.892        .64399E-04   -1.4462    
  18  Prefactor     4.9867        7.9041        .90033E-03   -1.5261    
  19  Prefactor     8.8583        10.909        .13468E-03   -1.5113    
  20  Prefactor     19.706        20.039        .90230E-04   -1.4820    
  21  Normalizat    1.2277        .26097        .29465E-03   -.85751    
  22  Prefactor     .71352        .13747        .20313E-03   -1.0300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36145e-09
Minuit parameter uncertainties:
  1  2.18085
  2  21.8419
  3  5.47647e-07
  4  2.54509e-05
  5  20.8776
  6  5.30687e-05
  7  1.03235e-06
  8  10.3465
  9  2.13476e-06
  10  0.141248
  11  4.25038
  12  1.59167
  13  4.24501e-05
  14  23.0958
  15  5.88573e-05
  16  0.181587
  17  34.9101
  18  7.90572
  19  10.9113
  20  20.0454
  21  0.261246
  22  0.137533
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.457e+00  4.250e+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:  7.135e-01  1.375e-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.228e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/371266/likelihoodResults_590544001_590803201_4FGL_J2234.7+0943_daily_bin1355.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) = 6291.1137603
delta logL = 0.0328812566486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6291.11160201
delta logL = 0.035039545488

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1565       1.0000         .10000E-03   10000.    
     2 'Index1    '    .45303       1.0000          .0000       10.000    
     3 'Normalizat'    1.2304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71199       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=   6291.112     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      309 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1581        5.5750        .14000E-02   -.29320E-03
   2  Index1        .45375        1.5358        .50694E-01   -.92480E-05
   3  Normalizat    1.2304        .25136        .29437E-03   -.37577E-04
   4  Prefactor     .71203        .13689        .20331E-03   -.34111E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.15808
  Index1     = 0.453747
  Normalizat = 1.23035
  Prefactor  = 0.712028
 **********
 **   18 **HESSE 
 **********

 FCN=   6291.112     FROM HESSE     STATUS=OK            27 CALLS      336 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1581        5.4004        .56000E-04   -1.5414    
   2  Index1        .45375        1.5023        .20278E-02   -1.1415    
   3  Normalizat    1.2304        .25158        .11775E-04   -.85670    
   4  Prefactor     .71203        .13702        .81323E-05   -1.0306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73329e-10
Minuit parameter uncertainties:
  1  5.40163
  2  1.67836
  3  0.251831
  4  0.137082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/371266': 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) = 6291.11160178
delta logL = 0.0350397690845

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  2.158e+00  5.402e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  4.537e-01  1.678e+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:  7.120e-01  1.371e-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.230e+00  2.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/371266/cmap_HighResolution_590544001_590803201_4FGL_J2234.7+0943_daily_bin1355.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.14e-05', job_status='DONE', photon_flux_upper_limit='4.25e-08', time_completed='2021-09-28 15:28:35.300448', job_id='371266', GAL2='0.71', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632868115.3', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='3.50e-02', ts2='0.22', photon_index_error='0.00', photon_index='0.94' WHERE bin_id='1355' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 15:28:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 371266: <4FGL_J2234.7+0943_daily_bin1355> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1355> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 15:16:02 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 15:16:04 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:16:04 2021
Terminated at Tue Sep 28 15:28:36 2021
Results reported at Tue Sep 28 15:28:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1355 338.691 9.732 590544001 590803201 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 :                                   629.35 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            754 sec.

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

