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


Performing analysis on: 4FGL_J2234.1-2656_daily_bin427
RA = 338.543, Dec = -26.9375
tmin = 350006401, tmax = 350265601
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='351290', job_status='RUN', time_executed='2021-09-28 14:15:50.487990', time_epoch_executed='1632863750.49' WHERE source_name='4FGL J2234.1-2656' and cadence='daily' and bin_id='427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351290

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351290/ft1_4FGL_J2234.1-2656_daily_bin427.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351290/ft2_4FGL_J2234.1-2656_daily_bin427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351290/ft1_4FGL_J2234.1-2656_daily_bin427.fits outfile=/scratch/kocevski/351290/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin427.fits ra=338.543 dec=-26.9375 rad=12.0 tmin=350006401.0 tmax=350265601.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.46
user 3.75
sys 0.66

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/351290/ft2_4FGL_J2234.1-2656_daily_bin427.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/351290/ft1_filteredMKT_4FGL_J2234.1-2656_daily_bin427.fits evtable="EVENTS" outfile="/scratch/kocevski/351290/ft1_filtered_4FGL_J2234.1-2656_daily_bin427.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.56
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351290/ft1_filtered_4FGL_J2234.1-2656_daily_bin427.fits" evtable="EVENTS" scfile=/scratch/kocevski/351290/ft2_4FGL_J2234.1-2656_daily_bin427.fits sctable="SC_DATA" outfile=/scratch/kocevski/351290/ltcube_350006401_350265601_4FGL_J2234.1-2656_daily_bin427.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/351290/ft2_4FGL_J2234.1-2656_daily_bin427.fits
.....................!
real 11.69
user 11.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351290/ft1_filtered_4FGL_J2234.1-2656_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/351290/ft2_4FGL_J2234.1-2656_daily_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/351290/ltcube_350006401_350265601_4FGL_J2234.1-2656_daily_bin427.fits outfile=/scratch/kocevski/351290/expmap_350006401_350265601_4FGL_J2234.1-2656_daily_bin427.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/351290/ltcube_350006401_350265601_4FGL_J2234.1-2656_daily_bin427.fits
.....................!
real 191.18
user 185.75
sys 5.06

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/351290/ft1_filtered_4FGL_J2234.1-2656_daily_bin427.fits scfile=/scratch/kocevski/351290/ft2_4FGL_J2234.1-2656_daily_bin427.fits outfile=/scratch/kocevski/351290/cmap_350006401_350265601_4FGL_J2234.1-2656_daily_bin427.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351290/ft1_filtered_4FGL_J2234.1-2656_daily_bin427.fits scfile=/scratch/kocevski/351290/ft2_4FGL_J2234.1-2656_daily_bin427.fits outfile=/scratch/kocevski/351290/cmap_HighResolution_350006401_350265601_4FGL_J2234.1-2656_daily_bin427.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351290/ft1_filtered_4FGL_J2234.1-2656_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/351290/ft2_4FGL_J2234.1-2656_daily_bin427.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351290/Model_4FGL_J2234.1-2656_daily_bin427.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/351290/ft1_filtered_4FGL_J2234.1-2656_daily_bin427.fits....................!
real 42.83
user 41.51
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2208       1.0000         .10000E-03   10000.    
     4 'norm      '    5.2805       1.0000         .10000E-03   10000.    
     5 'norm      '    .73367       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3897       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.5304       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.819       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.292       1.0000         .10000E-03   10000.    
    13 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1250       1.0000         .10000E-03   10000.    
    16 'norm      '    5.6422       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7972       1.0000         .10000E-03   10000.    
    19 'norm      '    .10461       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .53876       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0959       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .66431       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=   4827.483     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     3170 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    61.359       -.98860E-05** at limit **
   2  Prefactor     .10000E-03    17.886       -.26199E-05** at limit **
   3  Prefactor     9.1994        78.391       -.12050E-04   -.14189E-03
   4  norm          5.2811        4.1190       -.50258E-07   -.38489E-03
   5  norm          .73372        .36144        .37688E-07    .44485E-03
   6  Prefactor     .10000E-03    5.1423       -.85875E-07** at limit **
   7  Prefactor     4.3934        18.769        .74532E-05   -.28180E-03
   8  Prefactor     9.5309        8.3051        .22765E-06   -.62877E-05
   9  Prefactor     39.827        73.144        .33763E-05    .87975E-04
  10  norm          .10000E-03    12.839        .45689E-06** at limit **
  11  Prefactor     .10000E-03    4.2372       -.90350E-08** at limit **
  12  Prefactor     11.284        12.271        .60199E-06    .73366E-04
  13  norm          .10000E-03    1.2035        .65627E-07** at limit **
  14  Prefactor     .10003E-03    53.821        .74321E-05** at limit **
  15  Prefactor     5.1264        9.1415        .38654E-05   -.76018E-03
  16  norm          5.6434        6.0344       -.28283E-06   -.24572E-03
  17  Prefactor     .10000E-03    8.3816        .11458E-06** at limit **
  18  Prefactor     4.7892        12.345       -.86521E-06    .12487E-03
  19  norm          .10454        .57273        .19887E-06    .55872E-04
  20  Prefactor     .10000E-03    18.796        .12592E-05** at limit **
  21  Prefactor     .55623        11.472        .88957E-07    .48682E-04
  22  Normalizat    1.0958        .19655       -.17814E-05    .67157E-04
  23  Prefactor     .66436        .16767        .14505E-07   -.70276E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 9.19937
  norm       = 5.28111
  norm       = 0.733719
  Prefactor  = 0.0001
  Prefactor  = 4.39338
  Prefactor  = 9.53088
  Prefactor  = 39.8266
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2841
  norm       = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 5.12639
  norm       = 5.64338
  Prefactor  = 0.0001
  Prefactor  = 4.7892
  norm       = 0.104536
  Prefactor  = 0.000100001
  Prefactor  = 0.556226
  Normalizat = 1.09579
  Prefactor  = 0.664364
 **********
 **   18 **HESSE 
 **********

 FCN=   4827.483     FROM HESSE     STATUS=OK           374 CALLS     3544 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    62.552        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.1994        80.849        .13198E-03   -1.5101    
   4  norm          5.2811        4.1120        .11522E-03   -1.5248    
   5  norm          .73372        .36029        .27604E-04   -1.5537    
   6  Prefactor     .10000E-03    5.1624        .15384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.3934        19.754        .96113E-03   -1.5289    
   8  Prefactor     9.5309        8.3195        .12981E-03   -1.5090    
   9  Prefactor     39.827        73.320        .63521E-04   -1.4445    
  10  norm          .10000E-03    12.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.2378        .13968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.284        12.296        .11922E-03   -1.5036    
  13  norm          .10000E-03    1.2235        .74361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    56.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1264        9.5449        .88796E-03   -1.5255    
  16  norm          5.6434        5.8906        .13567E-03   -1.5233    
  17  Prefactor     .10000E-03    8.3869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7892        11.623        .18368E-03   -1.5270    
  19  norm          .10454        .79054        .72817E-03   -1.5643    
  20  Prefactor     .10000E-03    18.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .55623        29.109        .36879E-02   -1.5559    
  22  Normalizat    1.0958        .23398        .21479E-03   -.89887    
  23  Prefactor     .66436        .19813        .24273E-03   -1.0494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51779e-09
Minuit parameter uncertainties:
  1  0.00179689
  2  0.00010251
  3  54.6427
  4  4.11219
  5  0.360294
  6  1.20054e-05
  7  18.6419
  8  8.3205
  9  73.4867
  10  7.23574e-05
  11  1.00232e-06
  12  12.2991
  13  5.23762e-07
  14  0.00258541
  15  9.5477
  16  5.89122
  17  1.05219e-05
  18  11.6281
  19  0.574677
  20  0.000267047
  21  8.05101
  22  0.234203
  23  0.198336
Done.

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

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  1.000e-04  7.236e-05  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.644e-01  1.983e-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.096e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/351290/likelihoodResults_350006401_350265601_4FGL_J2234.1-2656_daily_bin427.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): 102
logL (Free Index) = 4827.48339858
delta logL = -0.000369818862964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4827.48302873
delta logL = 3.71537680621e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9775       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0958       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66435       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4827.419     FROM MIGRAD    STATUS=FAILED       182 CALLS      327 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36784        111.32        .18142E-01    .12401E-02
   2  alpha         4.0936        2.9333        .50000       -.49750E-04
   3  Normalizat    1.0699        .35241        .21479E-03    .50569E-03
   4  Prefactor     .67796        .10716        .24273E-03    .52783E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4827.419     FROM SIMPLEX   STATUS=UNCHANGED     88 CALLS      415 TOTAL
                     EDM=   .72E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36784        111.32        .21078E-03    .12401E-02
   2  alpha         4.0936        2.9333        .92771E-02   -.49750E-04
   3  Normalizat    1.0699        .35241        .51850E-04    .50569E-03
   4  Prefactor     .67796        .10716        .17234E-04    .52783E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4827.419     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      450 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36791        4.1899        .10194E-02    .54627E-03
   2  alpha         4.0936        2.6419        .37199E-01   -.76732E-05
   3  Normalizat    1.0699        .22431        .42958E-04    .89026E-04
   4  Prefactor     .67796        .19567        .48545E-04    .18534E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.367908
  alpha      = 4.09356
  Normalizat = 1.06991
  Prefactor  = 0.677962
 **********
 **   18 **HESSE 
 **********

 FCN=   4827.419     FROM HESSE     STATUS=OK            27 CALLS      477 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36791        4.4669        .40778E-04   -1.5587    
   2  alpha         4.0936        2.5765        .14879E-02    2.4504    
   3  Normalizat    1.0699        .22405        .85917E-05   -.90724    
   4  Prefactor     .67796        .19582        .97091E-05   -1.0440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61207e-10
Minuit parameter uncertainties:
  1  2.56381
  2  3.23042
  3  0.224252
  4  0.196017
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351290': 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) = 4827.41873159
delta logL = 0.0642971720117

Extracting fit parameters...

4FGL J2234.1-2656
   Spectrum: LogParabola
238         norm:  3.679e-01  2.564e+00  1.000e-04  1.000e+04 ( 1.000e-13)
239        alpha:  4.094e+00  3.230e+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.780e-01  1.960e-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.070e+00  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/351290/cmap_HighResolution_350006401_350265601_4FGL_J2234.1-2656_daily_bin427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', job_status='DONE', photon_flux_upper_limit='4.89e-08', time_completed='2021-09-28 14:25:57.358886', job_id='351290', GAL2='0.68', fit_tolerance='1e-08', EG2='1.07', EG='1.10', time_epoch_completed='1632864357.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='6.43e-02', ts2='0.14', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='427' AND source_name='4FGL J2234.1-2656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 14:25:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 351290: <4FGL_J2234.1-2656_daily_bin427> in cluster <slac> Done

Job <4FGL_J2234.1-2656_daily_bin427> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Tue Sep 28 14:15:36 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 14:15:38 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:15:38 2021
Terminated at Tue Sep 28 14:25:57 2021
Results reported at Tue Sep 28 14:25:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.1-2656_daily_bin427 338.543 -26.9375 350006401 350265601 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 :                                   600.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             336.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            621 sec.

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

