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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin983
RA = 338.543, Dec = -26.9375
tmin = 494121601, tmax = 494380801
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='353247', job_status='RUN', time_executed='2021-09-28 14:23:24.801986', time_epoch_executed='1632864204.8' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/353247

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/353247/ft1_4FGL_J2234.1-2656_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/353247/ft1_4FGL_J2234.1-2656_daily_bin983.fits outfile=/scratch/kocevski/353247/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin983.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=494121601.0 tmax=494380801.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.71
user 3.49
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.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/353247/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin983.fits evtable="EVENTS" outfile="/scratch/kocevski/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/353247/ltcube_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.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/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits
.....................!
real 11.89
user 11.48
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/353247/ltcube_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.fits outfile=/scratch/kocevski/353247/expmap_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.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/353247/ltcube_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.fits
.....................!
real 190.66
user 184.87
sys 5.46

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/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits scfile=/scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits outfile=/scratch/kocevski/353247/cmap_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.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.57
user 0.37
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits scfile=/scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits outfile=/scratch/kocevski/353247/cmap_HighResolution_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/353247/Model_4FGL_J2234.1-2656_daily_bin983.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/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits.....................!
real 50.22
user 48.91
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits', '/scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits', expMap='/scratch/kocevski/353247/expmap_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.fits', expCube='/scratch/kocevski/353247/ltcube_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/353247/Model_4FGL_J2234.1-2656_daily_bin983.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/353247/ft1_filtered_4FGL_J2234.1-2656_daily_bin983.fits
Spacecraft file(s): /scratch/kocevski/353247/ft2_4FGL_J2234.1-2656_daily_bin983.fits
Exposure map: /scratch/kocevski/353247/expmap_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.fits
Exposure cube: /scratch/kocevski/353247/ltcube_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/353247/Model_4FGL_J2234.1-2656_daily_bin983.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) = 6252.74935818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.267       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7713       1.0000         .10000E-03   10000.    
     4 'norm      '    3.1238       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2829       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5782       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4644       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.537       1.0000         .10000E-03   10000.    
    10 'norm      '    11.177       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.446       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.084       1.0000         .10000E-03   10000.    
    13 'norm      '    3.1954       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5607       1.0000         .10000E-03   10000.    
    16 'norm      '    2.2678       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .81911       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2264       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .73707       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6252.684     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1818 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7102       -.51625E-07** at limit **
   2  Prefactor     20.383        18.900        .38675E-05    .68451E-02
   3  Prefactor     1.4056        369.94       -.18507E-04    .16135E-02
   4  norm          3.1255        4.3478        .67879E-06    .31018E-03
   5  norm          1.2830        .41396       -.10247E-08    .33075E-02
   6  Prefactor     2.5785        5.2360       -.13804E-04   -.13659E-02
   7  Prefactor     7.4650        1.0323       -.24281E-07   -.34594E-03
   8  Prefactor     .10000E-03    14.151       -.84862E-07** at limit **
   9  Prefactor     14.687        22.586       -.54853E-05    .69834E-02
  10  norm          11.175        3.2885        .18951E-05   -.16347E-03
  11  Prefactor     29.437        16.970        .58564E-05    .37274E-02
  12  Prefactor     16.085        1.6545        .41049E-06    .14060E-02
  13  norm          3.1952        2.2662       -.35198E-06   -.84166E-03
  14  Prefactor     .10000E-03    32.194        .95091E-06** at limit **
  15  Prefactor     3.5595        1.0495       -.34671E-06    .23900E-03
  16  norm          2.2678        3.1211       -.23364E-07    .11466E-03
  17  Prefactor     .10000E-03    4.4181       -.39767E-07** at limit **
  18  Prefactor     .10000E-03    6.3846       -.19097E-06** at limit **
  19  norm          .81913        .45620       -.40238E-07    .52359E-04
  20  Prefactor     .10000E-03    21.726        .11536E-05** at limit **
  21  Prefactor     .10000E-03    3.8763        .26761E-06** at limit **
  22  Normalizat    1.2265        .21345       -.16801E-05    .14493E-03
  23  Prefactor     .73700        .19223        .28022E-05    .16536E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.3826
  Prefactor  = 1.40558
  norm       = 3.12553
  norm       = 1.28302
  Prefactor  = 2.57845
  Prefactor  = 7.46498
  Prefactor  = 0.0001
  Prefactor  = 14.6865
  norm       = 11.175
  Prefactor  = 29.4373
  Prefactor  = 16.085
  norm       = 3.19522
  Prefactor  = 0.000100005
  Prefactor  = 3.55947
  norm       = 2.26783
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.819133
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Normalizat = 1.22653
  Prefactor  = 0.736997
 **********
 **   18 **HESSE 
 **********

 FCN=   6252.684     FROM HESSE     STATUS=OK           430 CALLS     2248 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6964        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.383        27.273        .22242E-02   -1.4805    
   3  Prefactor     1.4056        693.89        .78659E-02   -1.5471    
   4  norm          3.1255        4.4167        .57348E-02   -1.5354    
   5  norm          1.2830        .41135        .57738E-02   -1.5481    
   6  Prefactor     2.5785        5.2841        .63545E-02   -1.5387    
   7  Prefactor     7.4650        12.159        .36698E-02   -1.5161    
   8  Prefactor     .10000E-03    4.7963        .59901E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.687        43.023        .26262E-02   -1.4941    
  10  norm          11.175        22.124        .29959E-02   -1.5039    
  11  Prefactor     29.437        20.669        .18458E-02   -1.4622    
  12  Prefactor     16.085        12.477        .24967E-02   -1.4906    
  13  norm          3.1952        2.2998        .56668E-02   -1.5350    
  14  Prefactor     .10000E-03    32.205        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5595        11.748        .53547E-02   -1.5331    
  16  norm          2.2678        3.1500        .68183E-02   -1.5407    
  17  Prefactor     .10000E-03    4.4151        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.2716        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .81913        .46310        .86384E-02   -1.5527    
  20  Prefactor     .10000E-03    21.755        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.8568        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2265        .18877        .51814E-01   -.85787    
  23  Prefactor     .73700        .16328        .42893E-01   -1.0209    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01295e-06
Minuit parameter uncertainties:
  1  2.87058e-05
  2  27.2899
  3  63.2088
  4  4.41718
  5  0.411349
  6  5.28501
  7  12.1631
  8  3.53377e-05
  9  43.1142
  10  22.1401
  11  20.6742
  12  12.4786
  13  2.29987
  14  0.00076619
  15  11.756
  16  3.15021
  17  8.42154e-06
  18  7.30347e-05
  19  0.463102
  20  0.000630916
  21  4.84412e-05
  22  0.188877
  23  0.16339
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.118e+01  2.214e+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:  7.370e-01  1.634e-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.227e+00  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/353247/likelihoodResults_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.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) = 6252.35201991
delta logL = 0.331675582715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6252.33654865
delta logL = 0.347146847856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6147       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7343       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74748       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.

 FCN=   6252.337     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      227 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6034        309.65        .34143E-02    .94204E-04
   2  alpha         2.7352        3.7312        .29210        .61678E-04
   3  Normalizat    1.2033        .60496E-01    .52214E-01    .31478E-05
   4  Prefactor     .74760        .51432E-01    .43030E-01    .14525E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.60338
  alpha      = 2.73524
  Normalizat = 1.20326
  Prefactor  = 0.747605
 **********
 **   18 **HESSE 
 **********

 FCN=   6252.337     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6034        18.638        .13657E-03   -1.5121    
   2  alpha         2.7352        1.1305        .15153E-01    .94237E-01
   3  Normalizat    1.2033        .21339        .23086E-03   -.86502    
   4  Prefactor     .74760        .19192        .25833E-03   -1.0169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25117e-11
Minuit parameter uncertainties:
  1  18.6507
  2  1.17355
  3  0.213542
  4  0.192089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/353247': 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) = 6252.33654789
delta logL = 0.347147606135

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  8.603e+00  1.865e+01  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  2.735e+00  1.174e+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:  7.476e-01  1.921e-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.203e+00  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 338.543 -26.938
Photon Index (Free Index): 2.74 +/- 1.17
Photon Flux (Free Index): 3.13e-08 +/- 3.67e-08
Energy Flux (Free Index): 7.94e-06 +/- 1.01e-05

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/353247/cmap_HighResolution_494121601_494380801_4FGL_J2234.1-2656_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-05', comment='SUCCESS', energy_flux2='7.94e-06', dlogl='3.47e-01', photon_flux2='3.13e-08', job_status='DONE', time_completed='2021-09-28 14:33:13.314083', photon_index_error2='1.17', photon_index2='2.74', ts='0.31', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='6.71e-08', energy_flux_error2='1.01e-05', EG='1.23', time_epoch_completed='1632864793.31', return_code='0', job_id='353247', GAL2='0.75', EG2='1.20', return_code2='0', photon_flux_error2='3.67e-08', ts2='1.01', photon_index='1.95' WHERE bin_id='983' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:33:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 353247: <4FGL_J2234.1-2656_daily_bin983> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin983> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 14:21:11 2021
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:21:13 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:21:13 2021
Terminated at Tue Sep 28 14:33:14 2021
Results reported at Tue Sep 28 14:33:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin983 338.543 -26.9375 494121601 494380801 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 :                                   588.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            723 sec.

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

