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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1511
RA = 306.158, Dec = -32.874
tmin = 630979201, tmax = 631238401
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='892689', job_status='RUN', time_executed='2021-09-25 03:15:35.983227', time_epoch_executed='1632564935.98' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1511'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892689

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892689/ft1_4FGL_J2024.6-3252_daily_bin1511.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892689/ft1_4FGL_J2024.6-3252_daily_bin1511.fits outfile=/scratch/kocevski/892689/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1511.fits ra=306.158 dec=-32.874 rad=12.0 tmin=630979201.0 tmax=631238401.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.11
user 2.66
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.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/892689/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1511.fits evtable="EVENTS" outfile="/scratch/kocevski/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.fits" evtable="EVENTS" scfile=/scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits sctable="SC_DATA" outfile=/scratch/kocevski/892689/ltcube_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.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/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits
.....................!
real 14.45
user 14.01
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.fits evtable="EVENTS" scfile=/scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits sctable="SC_DATA" expcube=/scratch/kocevski/892689/ltcube_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.fits outfile=/scratch/kocevski/892689/expmap_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.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/892689/ltcube_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.fits
.....................!
real 192.61
user 186.98
sys 4.77

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

Setting source of interest to:
4FGL J2024.6-3252 @ 306.158 -32.874

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.fits scfile=/scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits outfile=/scratch/kocevski/892689/cmap_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.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=306.158 yref=-32.874 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.fits scfile=/scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits outfile=/scratch/kocevski/892689/cmap_HighResolution_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.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=306.158 yref=-32.874 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.fits evtable="EVENTS" scfile=/scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892689/Model_4FGL_J2024.6-3252_daily_bin1511.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/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.fits.....................!
real 43.10
user 41.64
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.fits', '/scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits', expMap='/scratch/kocevski/892689/expmap_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.fits', expCube='/scratch/kocevski/892689/ltcube_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892689/Model_4FGL_J2024.6-3252_daily_bin1511.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2024.6-3252'

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  4.769e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.352e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  1.491e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  5.973e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/892689/ft1_filtered_4FGL_J2024.6-3252_daily_bin1511.fits
Spacecraft file(s): /scratch/kocevski/892689/ft2_4FGL_J2024.6-3252_daily_bin1511.fits
Exposure map: /scratch/kocevski/892689/expmap_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.fits
Exposure cube: /scratch/kocevski/892689/ltcube_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892689/Model_4FGL_J2024.6-3252_daily_bin1511.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) = 4138.89707441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.749       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    11.485       1.0000         .10000E-03   10000.    
     7 'norm      '    .10615E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18235E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    47.188       1.0000         .10000E-03   10000.    
    10 'Prefactor '    60.347       1.0000         .10000E-03   10000.    
    11 'norm      '    17.357       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    49.060       1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.035       1.0000         .10000E-03   10000.    
    16 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.158       1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.237       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .83305       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0098       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4138.868     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2023 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.429        .45413E-05** at limit **
   2  norm          .10000E-03    21.127       -.44596E-06** at limit **
   3  Prefactor     .10000E-03    3.6702       -.10287E-06** at limit **
   4  norm          10.749        3.4010       -.39363E-06    .64982E-04
   5  Prefactor     .10000E-03    57.337       -.74849E-04** at limit **
   6  norm          11.485        24.835       -.18862E-05   -.31487E-04
   7  norm          .10002E-03    63.917        .79840E-04** at limit **
   8  Prefactor     .10000E-03    293.08       -.67398E-04** at limit **
   9  norm          47.188        25.593       -.26439E-05    .19839E-04
  10  Prefactor     60.351        59.638        .19863E-05   -.13231E-05
  11  norm          17.349        21.971        .54105E-05   -.20080E-03
  12  Prefactor     .10001E-03    221.50        .69350E-04** at limit **
  13  Prefactor     .10000E-03    5.6547       -.90642E-07** at limit **
  14  Prefactor     48.983        115.36       -.94861E-04   -.53480E-04
  15  Prefactor     31.965        72.257       -.80997E-04    .27798E-05
  16  norm          .10000E-03    9.8533        .19342E-06** at limit **
  17  Prefactor     26.167        29.167       -.73423E-05    .34904E-04
  18  Prefactor     29.245        38.015       -.47873E-05    .14774E-04
  19  Normalizat    .83280        .36665        .23799E-04   -.25791E-03
  20  Prefactor     1.0099        .13660       -.66371E-06   -.29476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.749
  Prefactor  = 0.0001
  norm       = 11.4846
  norm       = 0.000100017
  Prefactor  = 0.0001
  norm       = 47.1878
  Prefactor  = 60.3513
  norm       = 17.3493
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 48.9825
  Prefactor  = 31.9647
  norm       = 0.0001
  Prefactor  = 26.1673
  Prefactor  = 29.245
  Normalizat = 0.832797
  Prefactor  = 1.00992
 **********
 **   18 **HESSE 
 **********

 FCN=   4138.868     FROM HESSE     STATUS=OK           285 CALLS     2308 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    21.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.6757        .12036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.749        3.3990        .63064E-04   -1.5052    
   5  Prefactor     .10000E-03    57.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.485        24.812        .11821E-03   -1.5030    
   7  norm          .10002E-03    64.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    298.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          47.188        25.581        .58371E-04   -1.4333    
  10  Prefactor     60.351        59.637        .51649E-04   -1.4153    
  11  norm          17.349        21.934        .96136E-04   -1.4875    
  12  Prefactor     .10001E-03    226.32        .21465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.6950        .14931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     48.983        115.80        .57252E-04   -1.4307    
  15  Prefactor     31.965        72.248        .70794E-04   -1.4577    
  16  norm          .10000E-03    9.8549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.167        29.322        .78326E-04   -1.4684    
  18  Prefactor     29.245        38.108        .74096E-04   -1.4626    
  19  Normalizat    .83280        .40656        .44304E-03   -.98863    
  20  Prefactor     1.0099        .15390        .16749E-03   -.92400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19949e-09
Minuit parameter uncertainties:
  1  9.22036e-05
  2  1.78069e-06
  3  1.6377e-05
  4  3.39904
  5  8.34408e-05
  6  24.8343
  7  0.00209871
  8  0.000240315
  9  25.5873
  10  59.6959
  11  21.9442
  12  0.00228403
  13  1.85338e-05
  14  116.336
  15  72.4471
  16  6.35592e-05
  17  29.3378
  18  38.1401
  19  0.408061
  20  0.153965
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  4.719e+01  2.559e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.352e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  1.491e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  5.973e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.010e+00  1.540e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  8.328e-01  4.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.98
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.85e-07 +/- 1.01e-07
Energy Flux (Fixed Index): 5.99e-05 +/- 3.25e-05

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) = 4138.57579091
delta logL = 0.292252007337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4138.5706075
delta logL = 0.297435418369

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.902       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1730       1.0000          .0000       5.0000    
     3 'Normalizat'    .73868       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0433       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   4138.571     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      293 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.909        45.874        .81932E-04   -.34759E-03
   2  alpha         3.1726        1.4897        .10105E-01   -.29476E-04
   3  Normalizat    .73829        .38747        .46741E-03   -.93570E-04
   4  Prefactor     1.0435        .16124        .16510E-03    .33651E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.9089
  alpha      = 3.17262
  Normalizat = 0.738288
  Prefactor  = 1.04352
 **********
 **   18 **HESSE 
 **********

 FCN=   4138.571     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.909        33.391        .32773E-05   -1.4730    
   2  alpha         3.1726        1.1224        .40419E-03    .27240    
   3  Normalizat    .73829        .37926        .18696E-04   -1.0240    
   4  Prefactor     1.0435        .15701        .33021E-04   -.91293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02279e-09
Minuit parameter uncertainties:
  1  33.4173
  2  1.16766
  3  0.380625
  4  0.157076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892689': 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) = 4138.57060588
delta logL = 0.297437039055

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  2.391e+01  3.342e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.173e+00  1.168e+00  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  1.491e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  5.973e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.044e+00  1.571e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  7.383e-01  3.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.64
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 3.17 +/- 1.17
Photon Flux (Free Index): 2.40e-07 +/- 1.29e-07
Energy Flux (Free Index): 4.74e-05 +/- 2.72e-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/892689/cmap_HighResolution_630979201_631238401_4FGL_J2024.6-3252_daily_bin1511.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.85e-07', energy_flux2='4.74e-05', photon_flux_error='1.01e-07', dlogl='2.97e-01', energy_flux='5.99e-05', photon_flux2='2.40e-07', job_status='DONE', time_completed='2021-09-25 03:24:32.416085', photon_index_error2='1.17', photon_index2='3.17', ts='5.98', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.72e-05', EG='0.83', time_epoch_completed='1632565472.42', return_code='0', job_id='892689', GAL2='1.04', EG2='0.74', return_code2='0', energy_flux_error='3.25e-05', photon_flux_error2='1.29e-07', ts2='6.64', photon_index='2.35' WHERE bin_id='1511' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:24:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 892689: <4FGL_J2024.6-3252_daily_bin1511> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1511> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 03:11:26 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:13:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 03:13:24 2021
Terminated at Sat Sep 25 03:24:33 2021
Results reported at Sat Sep 25 03:24:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1511 306.158 -32.874 630979201 631238401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2024.6-3252 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   482.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             216.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            787 sec.

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

