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


Performing analysis on: 4FGL_J2139.4-4235_daily_bin1334
RA = 324.855, Dec = -42.5895
tmin = 585100801, tmax = 585360001
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='641391', job_status='RUN', time_executed='2021-09-26 21:55:14.807663', time_epoch_executed='1632718514.81' WHERE source_name='4FGL J2139.4-4235' and cadence='daily' and bin_id='1334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641391

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641391/ft1_4FGL_J2139.4-4235_daily_bin1334.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641391/ft1_4FGL_J2139.4-4235_daily_bin1334.fits outfile=/scratch/kocevski/641391/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1334.fits ra=324.855 dec=-42.5895 rad=12.0 tmin=585100801.0 tmax=585360001.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.02
user 2.80
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.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/641391/ft1_filteredMKT_4FGL_J2139.4-4235_daily_bin1334.fits evtable="EVENTS" outfile="/scratch/kocevski/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.fits" evtable="EVENTS" scfile=/scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits sctable="SC_DATA" outfile=/scratch/kocevski/641391/ltcube_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.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/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits
.....................!
real 14.65
user 14.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits sctable="SC_DATA" expcube=/scratch/kocevski/641391/ltcube_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.fits outfile=/scratch/kocevski/641391/expmap_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.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/641391/ltcube_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.fits
.....................!
real 191.40
user 185.78
sys 5.28

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

Setting source of interest to:
4FGL J2139.4-4235 @ 324.855 -42.5895

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.fits scfile=/scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits outfile=/scratch/kocevski/641391/cmap_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.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=324.855 yref=-42.5895 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.fits scfile=/scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits outfile=/scratch/kocevski/641391/cmap_HighResolution_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.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=324.855 yref=-42.5895 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641391/Model_4FGL_J2139.4-4235_daily_bin1334.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/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.fits.......................!
real 24.42
user 23.14
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.fits', '/scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits', expMap='/scratch/kocevski/641391/expmap_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.fits', expCube='/scratch/kocevski/641391/ltcube_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641391/Model_4FGL_J2139.4-4235_daily_bin1334.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2139.4-4235'

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  7.892e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.929e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
300         beta:  4.914e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  8.547e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/641391/ft1_filtered_4FGL_J2139.4-4235_daily_bin1334.fits
Spacecraft file(s): /scratch/kocevski/641391/ft2_4FGL_J2139.4-4235_daily_bin1334.fits
Exposure map: /scratch/kocevski/641391/expmap_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.fits
Exposure cube: /scratch/kocevski/641391/ltcube_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641391/Model_4FGL_J2139.4-4235_daily_bin1334.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) = 1839.83568754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1590.3       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10912E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    34.468       1.0000         .10000E-03   10000.    
     4 'Prefactor '    86.801       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.877       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    63.177       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.2782       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .48650       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    16.132       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .34298E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4301       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6265       1.0000         .10000E-03   10000.    
    19 'Prefactor '    92.988       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.0813       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .53206       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1158       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1839.467     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     2466 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1590.3        1.0070       -.15738E-08    .50858E-03
   2  Prefactor     .88095E-03    180.40       -.14516E-04** at limit **
   3  norm          34.457        3.9869        .98697E-07    .43213E-02
   4  Prefactor     86.813        3.9673        .16919E-06   -.45061E-02
   5  Prefactor     .10853E-03    44.329        .25377E-05** at limit **
   6  Prefactor     21.869        1.7593       -.26419E-07    .87579E-03
   7  Prefactor     .10000E-03    28.581       -.84620E-05** at limit **
   8  Prefactor     63.159        6.1975       -.30360E-06    .48353E-02
   9  Prefactor     .10000E-03    5.0672       -.67294E-07** at limit **
  10  norm          3.2797        7.7129       -.12045E-05    .88776E-03
  11  Prefactor     .28657        459.95       -.23212E-04   -.95496E-03
  12  Prefactor     .10000E-03    7.7466       -.10106E-05** at limit **
  13  norm          16.189        12.745        .16601E-05    .21293E-02
  14  Prefactor     .11087E-03    43.351        .47267E-05** at limit **
  15  Prefactor     .10000E-03    4.8751        .55373E-06** at limit **
  16  Prefactor     .10005E-03    5.2158       -.27213E-05** at limit **
  17  Prefactor     4.4291        2.6282       -.52020E-06    .45171E-03
  18  Prefactor     4.6207        5.9522        .15262E-05    .77825E-03
  19  Prefactor     92.990        1.9623       -.13801E-07    .18178E-02
  20  Prefactor     8.0753        1.2618       -.39406E-07   -.20845E-02
  21  Prefactor     .10000E-03    17.385        .34611E-05** at limit **
  22  Normalizat    .53261        .40709       -.18420E-05    .48617E-04
  23  Prefactor     1.1158        .31328        .32486E-05    .10456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1590.26
  Prefactor  = 0.000880955
  norm       = 34.4567
  Prefactor  = 86.813
  Prefactor  = 0.000108526
  Prefactor  = 21.869
  Prefactor  = 0.0001
  Prefactor  = 63.1587
  Prefactor  = 0.0001
  norm       = 3.27974
  Prefactor  = 0.286574
  Prefactor  = 0.0001
  norm       = 16.1888
  Prefactor  = 0.000110874
  Prefactor  = 0.0001
  Prefactor  = 0.000100053
  Prefactor  = 4.42911
  Prefactor  = 4.62072
  Prefactor  = 92.9899
  Prefactor  = 8.07533
  Prefactor  = 0.0001
  Normalizat = 0.532605
  Prefactor  = 1.11582
 **********
 **   18 **HESSE 
 **********

 FCN=   1839.467     FROM HESSE     STATUS=OK           414 CALLS     2880 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1590.3        2234.6        .27345E-03   -.75042    
   2  Prefactor     .88095E-03    628.69        .90712E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          34.457        18.005        .17064E-02   -1.4533    
   4  Prefactor     86.813        276.85        .10780E-02   -1.3842    
   5  Prefactor     .10853E-03    53.607        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.869        19.449        .21409E-02   -1.4772    
   7  Prefactor     .10000E-03    28.560        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     63.159        70.019        .12622E-02   -1.4117    
   9  Prefactor     .10000E-03    5.0452        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.2797        7.7239        .55911E-02   -1.5346    
  11  Prefactor     .28657        25.920        .11216       -1.5601    
  12  Prefactor     .10000E-03    7.7559        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          16.189        27.017        .24929E-02   -1.4903    
  14  Prefactor     .11087E-03    55.968        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.8681        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10005E-03    440.87        .10666E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.4291        17.473        .47832E-02   -1.5287    
  18  Prefactor     4.6207        6.1091        .46780E-02   -1.5278    
  19  Prefactor     92.990        81.813        .10419E-02   -1.3776    
  20  Prefactor     8.0753        8.5430        .35259E-02   -1.5140    
  21  Prefactor     .10000E-03    17.379        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .53261        .40126        .80858E-01   -1.1093    
  23  Prefactor     1.1158        .29017        .37016E-01   -.88963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95715e-06
Minuit parameter uncertainties:
  1  2404.02
  2  1.41651
  3  18.008
  4  281.136
  5  0.0427964
  6  19.4546
  7  0.000172497
  8  70.1103
  9  1.45927e-06
  10  7.72621
  11  5.45238
  12  3.50289e-05
  13  27.0378
  14  0.0493859
  15  1.4628e-05
  16  0.00977164
  17  17.4931
  18  6.10994
  19  81.9128
  20  8.54428
  21  0.000151274
  22  0.403472
  23  0.290584
Done.

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

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  3.280e+00  7.726e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.929e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
300         beta:  4.914e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  8.547e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.116e+00  2.906e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  5.326e-01  4.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 324.855 -42.590
Photon Flux Upper Limit: 1.66e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641391/likelihoodResults_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.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) = 1839.33855338
delta logL = 0.128743304833

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1839.33482058
delta logL = 0.132476110295

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8470       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4313       1.0000          .0000       5.0000    
     3 'Normalizat'    .54627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1042       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1839.335     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      199 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8470        6.9650        .51439E-02   -.39228E-03
   2  alpha         1.4311        .72623        .33615       -.10821E-04
   3  Normalizat    .54636        .34069        .79890E-01    .10775E-04
   4  Prefactor     1.1042        .27673        .37428E-01    .38241E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.847
  alpha      = 1.43109
  Normalizat = 0.546361
  Prefactor  = 1.10418
 **********
 **   18 **HESSE 
 **********

 FCN=   1839.335     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8470        7.0895        .14183E-03   -1.5316    
   2  alpha         1.4311        .82995        .13172E-01   -.44180    
   3  Normalizat    .54636        .37649        .35384E-03   -1.1031    
   4  Prefactor     1.1042        .30693        .20483E-03   -.89333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98593e-10
Minuit parameter uncertainties:
  1  7.09109
  2  0.849841
  3  0.378263
  4  0.307427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641391': 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) = 1839.3348205
delta logL = 0.132476187069

Extracting fit parameters...

4FGL J2139.4-4235
   Spectrum: LogParabola
298         norm:  3.847e+00  7.091e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        alpha:  1.431e+00  8.498e-01  0.000e+00  5.000e+00 ( 1.000e+00)
300         beta:  4.914e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
301           Eb:  8.547e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.104e+00  3.074e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  5.464e-01  3.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
Ra Dec: 324.855 -42.590

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/641391/cmap_HighResolution_585100801_585360001_4FGL_J2139.4-4235_daily_bin1334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-04', job_status='DONE', photon_flux_upper_limit='1.66e-07', time_completed='2021-09-26 22:03:02.118813', job_id='641391', GAL2='1.10', fit_tolerance='1e-08', EG2='0.55', EG='0.53', time_epoch_completed='1632718982.12', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.32e-01', ts2='0.52', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1334' AND source_name='4FGL J2139.4-4235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 22:03:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 641391: <4FGL_J2139.4-4235_daily_bin1334> in cluster <slac> Done

Job <4FGL_J2139.4-4235_daily_bin1334> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 21:50:51 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 21:54:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 21:54:49 2021
Terminated at Sun Sep 26 22:03:02 2021
Results reported at Sun Sep 26 22:03:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2139.4-4235_daily_bin1334 324.855 -42.5895 585100801 585360001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2139.4-4235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   414.18 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   493 sec.
    Turnaround time :                            731 sec.

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

