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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin1485
RA = 338.543, Dec = -26.9375
tmin = 624240001, tmax = 624499201
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='355450', job_status='RUN', time_executed='2021-09-28 14:31:37.574515', time_epoch_executed='1632864697.57' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='1485'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/355450

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/355450/ft1_4FGL_J2234.1-2656_daily_bin1485.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/355450/ft1_4FGL_J2234.1-2656_daily_bin1485.fits outfile=/scratch/kocevski/355450/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1485.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=624240001.0 tmax=624499201.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.46
user 3.27
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.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/355450/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin1485.fits evtable="EVENTS" outfile="/scratch/kocevski/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.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/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.fits" evtable="EVENTS" scfile=/scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits sctable="SC_DATA" outfile=/scratch/kocevski/355450/ltcube_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.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/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits
.....................!
real 14.95
user 14.59
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits sctable="SC_DATA" expcube=/scratch/kocevski/355450/ltcube_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.fits outfile=/scratch/kocevski/355450/expmap_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.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/355450/ltcube_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.fits
.....................!
real 189.80
user 185.07
sys 4.38

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

Setting source of interest to:
4FGL J2234.1-2656 @ 338.543 -26.9375

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.fits scfile=/scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits outfile=/scratch/kocevski/355450/cmap_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.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.543 yref=-26.9375 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.fits scfile=/scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits outfile=/scratch/kocevski/355450/cmap_HighResolution_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.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.543 yref=-26.9375 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/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.fits evtable="EVENTS" scfile=/scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/355450/Model_4FGL_J2234.1-2656_daily_bin1485.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/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.fits.....................!
real 41.27
user 39.99
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.fits', '/scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits', expMap='/scratch/kocevski/355450/expmap_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.fits', expCube='/scratch/kocevski/355450/ltcube_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/355450/Model_4FGL_J2234.1-2656_daily_bin1485.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.1-2656'

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  9.136e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/355450/ft1_filtered_4FGL_J2234.1-2656_daily_bin1485.fits
Spacecraft file(s): /scratch/kocevski/355450/ft2_4FGL_J2234.1-2656_daily_bin1485.fits
Exposure map: /scratch/kocevski/355450/expmap_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.fits
Exposure cube: /scratch/kocevski/355450/ltcube_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/355450/Model_4FGL_J2234.1-2656_daily_bin1485.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) = 4607.64098675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.257       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .30870E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.274       1.0000         .10000E-03   10000.    
     4 'norm      '    .18550E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .61506       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9832       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.085       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.5136       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.660       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2842       1.0000         .10000E-03   10000.    
    13 'norm      '    2.5145       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.231       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10567E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.358       1.0000         .10000E-03   10000.    
    19 'norm      '    2.8908       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.327       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2614       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .65542       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4607.604     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2561 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.213        28.178       -.16931E-06    .29105E-04
   2  Prefactor     .10000E-03    51.322        .82232E-05** at limit **
   3  Prefactor     11.194        63.330       -.91238E-06   -.14525E-04
   4  norm          .10000E-03    19.886       -.67882E-05** at limit **
   5  norm          .61487        .42239        .19325E-06    .55622E-03
   6  Prefactor     1.9771        18.321       -.14293E-05    .14303E-04
   7  Prefactor     .10000E-03    5.3202       -.24471E-07** at limit **
   8  Prefactor     21.090        13.314       -.45373E-07    .14662E-05
   9  Prefactor     .10000E-03    80.836       -.85000E-06** at limit **
  10  norm          9.5113        21.992       -.35220E-06    .85892E-05
  11  Prefactor     17.661        19.437       -.97387E-07    .34154E-05
  12  Prefactor     8.2866        19.722       -.62307E-06    .70357E-05
  13  norm          2.5147        2.4654       -.42212E-07    .72761E-05
  14  Prefactor     15.236        61.226        .83825E-06   -.37643E-05
  15  Prefactor     .10000E-03    16.162       -.86224E-06** at limit **
  16  norm          .10000E-03    5.3715       -.29881E-06** at limit **
  17  Prefactor     .10000E-03    18.663        .12674E-05** at limit **
  18  Prefactor     22.379        17.309       -.40702E-06   -.32695E-04
  19  norm          2.8906        1.1385       -.31577E-07   -.10075E-03
  20  Prefactor     .10000E-03    60.703        .85136E-06** at limit **
  21  Prefactor     12.327        12.341        .18867E-06   -.60675E-04
  22  Normalizat    1.2609        .23095        .22118E-06    .95012E-04
  23  Prefactor     .65586        .18718        .13127E-05   -.35041E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2126
  Prefactor  = 0.0001
  Prefactor  = 11.194
  norm       = 0.0001
  norm       = 0.614866
  Prefactor  = 1.97711
  Prefactor  = 0.0001
  Prefactor  = 21.0901
  Prefactor  = 0.0001
  norm       = 9.51131
  Prefactor  = 17.6609
  Prefactor  = 8.28656
  norm       = 2.51474
  Prefactor  = 15.2364
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.3794
  norm       = 2.89062
  Prefactor  = 0.0001
  Prefactor  = 12.3268
  Normalizat = 1.2609
  Prefactor  = 0.655865
 **********
 **   18 **HESSE 
 **********

 FCN=   4607.604     FROM HESSE     STATUS=OK           376 CALLS     2937 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.213        28.069        .11941E-03   -1.5038    
   2  Prefactor     .10000E-03    51.465        .42755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.194        63.552        .11931E-03   -1.5039    
   4  norm          .10000E-03    19.806        .24297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .61487        .41800        .34515E-04   -1.5551    
   6  Prefactor     1.9771        18.257        .29429E-03   -1.5427    
   7  Prefactor     .10000E-03    5.3217        .15291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.090        13.516        .87228E-04   -1.4789    
   9  Prefactor     .10000E-03    81.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.5113        21.988        .12993E-03   -1.5091    
  11  Prefactor     17.661        19.443        .95307E-04   -1.4867    
  12  Prefactor     8.2866        19.675        .13929E-03   -1.5132    
  13  norm          2.5147        2.4620        .94188E-04   -1.5391    
  14  Prefactor     15.236        60.353        .10263E-03   -1.4927    
  15  Prefactor     .10000E-03    16.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.4850        .30625E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     22.379        17.773        .84711E-04   -1.4761    
  19  norm          2.8906        1.1565        .36812E-04   -1.5368    
  20  Prefactor     .10000E-03    60.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.327        12.306        .11409E-03   -1.5006    
  22  Normalizat    1.2609        .28526        .24044E-03   -.84741    
  23  Prefactor     .65586        .22591        .27471E-03   -1.0528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9152e-10
Minuit parameter uncertainties:
  1  28.1017
  2  0.000132806
  3  53.4307
  4  2.05402e-05
  5  0.418
  6  12.0206
  7  9.3385e-07
  8  13.518
  9  2.04691e-05
  10  22.0062
  11  19.4501
  12  19.6905
  13  2.46205
  14  60.5969
  15  3.94491e-05
  16  1.13518e-05
  17  0.000161986
  18  17.7767
  19  1.15654
  20  0.000342101
  21  12.3084
  22  0.285614
  23  0.226221
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  9.511e+00  2.201e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  1.955e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  6.559e-01  2.262e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.261e+00  2.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 338.543 -26.938
Photon Flux Upper Limit: 7.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/355450/likelihoodResults_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.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) = 4607.5874269
delta logL = 0.0166769016232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4607.58720734
delta logL = 0.0168964577724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2401       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1662       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65640       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+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=   4607.587     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      264 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2432        21.346        .13184E-03   -.86376E-03
   2  alpha         2.1658        1.1457        .23138E-01   -.16554E-03
   3  Normalizat    1.2586        .25249        .24062E-03    .33291E-03
   4  Prefactor     .65640        .21591        .27459E-03    .37974E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.24319
  alpha      = 2.16577
  Normalizat = 1.25858
  Prefactor  = 0.656399
 **********
 **   18 **HESSE 
 **********

 FCN=   4607.587     FROM HESSE     STATUS=OK            23 CALLS      287 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2432        20.760        .26369E-04   -1.5100    
   2  alpha         2.1658        1.1168        .92551E-03   -.13409    
   3  Normalizat    1.2586        .25264        .48123E-04   -.84811    
   4  Prefactor     .65640        .21602        .54918E-04   -1.0526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.47431e-09
Minuit parameter uncertainties:
  1  20.7763
  2  1.15857
  3  0.252883
  4  0.216297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/355450': 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) = 4607.58720702
delta logL = 0.0168967814516

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  9.243e+00  2.078e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.166e+00  1.159e+00  0.000e+00  5.000e+00 ( 1.000e+00)
240         beta:  7.158e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
241           Eb:  1.166e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  6.564e-01  2.163e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.259e+00  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
Ra Dec: 338.543 -26.938

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/355450/cmap_HighResolution_624240001_624499201_4FGL_J2234.1-2656_daily_bin1485.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-05', job_status='DONE', photon_flux_upper_limit='7.34e-08', time_completed='2021-09-28 14:40:46.213821', job_id='355450', GAL2='0.66', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1632865246.21', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.69e-02', ts2='0.27', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1485' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:40:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 355450: <4FGL_J2234.1-2656_daily_bin1485> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin1485> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 14:30:19 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:30:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 14:30:21 2021
Terminated at Tue Sep 28 14:40:46 2021
Results reported at Tue Sep 28 14:40:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin1485 338.543 -26.9375 624240001 624499201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.1-2656 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   546.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             322.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            627 sec.

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

