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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1231
RA = 306.158, Dec = -32.874
tmin = 558403201, tmax = 558662401
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='891126', job_status='RUN', time_executed='2021-09-25 03:09:52.743589', time_epoch_executed='1632564592.74' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891126

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891126/ft1_4FGL_J2024.6-3252_daily_bin1231.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891126/ft1_4FGL_J2024.6-3252_daily_bin1231.fits outfile=/scratch/kocevski/891126/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1231.fits ra=306.158 dec=-32.874 rad=12.0 tmin=558403201.0 tmax=558662401.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.84
user 3.58
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891126/ft1_filtered_4FGL_J2024.6-3252_daily_bin1231.fits" evtable="EVENTS" scfile=/scratch/kocevski/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits sctable="SC_DATA" outfile=/scratch/kocevski/891126/ltcube_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.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/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits
.....................!
real 13.21
user 12.78
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891126/ft1_filtered_4FGL_J2024.6-3252_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits sctable="SC_DATA" expcube=/scratch/kocevski/891126/ltcube_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.fits outfile=/scratch/kocevski/891126/expmap_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.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/891126/ltcube_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.fits
.....................!
real 192.64
user 187.57
sys 4.61

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/891126/ft1_filtered_4FGL_J2024.6-3252_daily_bin1231.fits scfile=/scratch/kocevski/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits outfile=/scratch/kocevski/891126/cmap_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891126/ft1_filtered_4FGL_J2024.6-3252_daily_bin1231.fits scfile=/scratch/kocevski/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits outfile=/scratch/kocevski/891126/cmap_HighResolution_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891126/ft1_filtered_4FGL_J2024.6-3252_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891126/Model_4FGL_J2024.6-3252_daily_bin1231.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/891126/ft1_filtered_4FGL_J2024.6-3252_daily_bin1231.fits.....................!
real 69.08
user 67.46
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/891126/ft1_filtered_4FGL_J2024.6-3252_daily_bin1231.fits', '/scratch/kocevski/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits', expMap='/scratch/kocevski/891126/expmap_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.fits', expCube='/scratch/kocevski/891126/ltcube_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/891126/Model_4FGL_J2024.6-3252_daily_bin1231.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/891126/ft1_filtered_4FGL_J2024.6-3252_daily_bin1231.fits
Spacecraft file(s): /scratch/kocevski/891126/ft2_4FGL_J2024.6-3252_daily_bin1231.fits
Exposure map: /scratch/kocevski/891126/expmap_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.fits
Exposure cube: /scratch/kocevski/891126/ltcube_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/891126/Model_4FGL_J2024.6-3252_daily_bin1231.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) = 8067.3673829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.8979       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.2150       1.0000         .10000E-03   10000.    
     7 'norm      '    22.987       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.0850       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10813E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.006       1.0000         .10000E-03   10000.    
    14 'Prefactor '    127.01       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.487       1.0000         .10000E-03   10000.    
    16 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2184       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.456       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1348       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0089       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=   8066.889     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     2072 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4892        .14940E-07** at limit **
   2  norm          .10000E-03    6.9871       -.34588E-06** at limit **
   3  Prefactor     6.8977        5.2288       -.91617E-06   -.30981E-03
   4  norm          .10000E-03    .46556       -.12919E-06** at limit **
   5  Prefactor     .10000E-03    9.8759        .47911E-05** at limit **
   6  norm          3.2140        9.9353       -.17067E-05   -.18839E-03
   7  norm          22.988        15.121       -.11284E-05   -.41618E-03
   8  Prefactor     .10000E-03    11.291       -.57844E-05** at limit **
   9  norm          8.0845        11.895       -.11038E-05   -.64890E-04
  10  Prefactor     .10000E-03    13.489        .32048E-05** at limit **
  11  norm          .10000E-03    10.348       -.23087E-06** at limit **
  12  Prefactor     .10000E-03    29.337        .13521E-05** at limit **
  13  Prefactor     15.007        7.2971       -.88097E-06   -.65217E-04
  14  Prefactor     126.93        93.757       -.68331E-04    .53402E-05
  15  Prefactor     14.522        67.257        .83668E-04    .88448E-05
  16  norm          .10000E-03    10.482       -.18655E-05** at limit **
  17  Prefactor     7.2167        17.319       -.42363E-05   -.42899E-04
  18  Prefactor     24.446        30.010       -.13919E-04    .99340E-05
  19  Normalizat    1.1348        .26482        .59885E-05   -.37113E-04
  20  Prefactor     1.0088        .95256E-01    .25925E-06    .22442E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.89767
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.21403
  norm       = 22.9882
  Prefactor  = 0.0001
  norm       = 8.08448
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 15.0067
  Prefactor  = 126.935
  Prefactor  = 14.522
  norm       = 0.0001
  Prefactor  = 7.21672
  Prefactor  = 24.4459
  Normalizat = 1.13484
  Prefactor  = 1.00884
 **********
 **   18 **HESSE 
 **********

 FCN=   8066.889     FROM HESSE     STATUS=OK           295 CALLS     2367 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.5266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.9910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.8977        5.2270        .15276E-03   -1.5183    
   4  norm          .10000E-03    2.7930        .11878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.8795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.2140        9.9249        .22594E-03   -1.5349    
   7  norm          22.988        15.131        .41772E-03   -1.4749    
   8  Prefactor     .10000E-03    11.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0845        11.895        .14100E-03   -1.5139    
  10  Prefactor     .10000E-03    13.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    10.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.007        7.2987        .10339E-03   -1.4933    
  14  Prefactor     126.93        93.857        .17860E-03   -1.3450    
  15  Prefactor     14.522        67.404        .10523E-03   -1.4946    
  16  norm          .10000E-03    10.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.2167        17.340        .14930E-03   -1.5171    
  18  Prefactor     24.446        30.052        .81002E-04   -1.4719    
  19  Normalizat    1.1348        .30959        .40480E-03   -.88641    
  20  Prefactor     1.0088        .11225        .16089E-03   -.92435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70373e-10
Minuit parameter uncertainties:
  1  1.07673e-05
  2  2.87611e-06
  3  5.22738
  4  2.21199e-05
  5  7.36237e-06
  6  9.92998
  7  15.1332
  8  2.59932e-06
  9  11.8989
  10  1.52321e-05
  11  4.02236e-05
  12  0.000607792
  13  7.29918
  14  93.9678
  15  62.689
  16  0.000134684
  17  17.3519
  18  30.0706
  19  0.31009
  20  0.112272
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  8.084e+00  1.190e+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.009e+00  1.123e-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:  1.135e+00  3.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.54
Ra Dec: 306.158 -32.874
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891126/likelihoodResults_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.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) = 8066.55313166
delta logL = 0.335515145362

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8066.55226989
delta logL = 0.336376916067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1011       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3130       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0935       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0180       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=   8066.552     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      310 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0991        12.290        .17802E-03    .18674E-03
   2  alpha         3.3131        1.5960        .22483E-01    .30843E-04
   3  Normalizat    1.0936        .29960        .20565E-02   -.17469E-05
   4  Prefactor     1.0181        .11225        .16019E-03    .19587E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.0991
  alpha      = 3.31312
  Normalizat = 1.09357
  Prefactor  = 1.0181
 **********
 **   18 **HESSE 
 **********

 FCN=   8066.552     FROM HESSE     STATUS=OK            27 CALLS      337 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0991        9.0145        .71207E-05   -1.5256    
   2  alpha         3.3131        1.2212        .89933E-03    .33127    
   3  Normalizat    1.0936        .29976        .82260E-04   -.89959    
   4  Prefactor     1.0181        .11214        .64077E-05   -.92128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11332e-11
Minuit parameter uncertainties:
  1  9.01687
  2  1.28329
  3  0.30023
  4  0.112161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891126': 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) = 8066.55226807
delta logL = 0.336378737081

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  5.099e+00  9.017e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.313e+00  1.283e+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.018e+00  1.122e-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:  1.094e+00  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.25
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 3.31 +/- 1.28
Photon Flux (Free Index): 6.14e-08 +/- 6.33e-08
Energy Flux (Free Index): 1.15e-05 +/- 1.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/891126/cmap_HighResolution_558403201_558662401_4FGL_J2024.6-3252_daily_bin1231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.30e-05', comment='SUCCESS', energy_flux2='1.15e-05', dlogl='3.36e-01', photon_flux2='6.14e-08', job_status='DONE', time_completed='2021-09-25 03:23:06.255445', photon_index_error2='1.28', photon_index2='3.31', ts='0.54', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.19e-05', EG='1.13', time_epoch_completed='1632565386.26', return_code='0', job_id='891126', GAL2='1.02', EG2='1.09', return_code2='0', photon_flux_error2='6.33e-08', ts2='1.25', photon_index='2.35' WHERE bin_id='1231' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:23:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 891126: <4FGL_J2024.6-3252_daily_bin1231> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1231> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 03:06:40 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:07:49 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:07:49 2021
Terminated at Sat Sep 25 03:23:07 2021
Results reported at Sat Sep 25 03:23:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1231 306.158 -32.874 558403201 558662401 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 :                                   723.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             272.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            987 sec.

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

