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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1128
RA = 306.158, Dec = -32.874
tmin = 531705601, tmax = 531964801
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='890956', job_status='RUN', time_executed='2021-09-25 03:08:14.151952', time_epoch_executed='1632564494.15' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1128'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890956

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890956/ft1_4FGL_J2024.6-3252_daily_bin1128.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890956/ft2_4FGL_J2024.6-3252_daily_bin1128.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890956/ft1_4FGL_J2024.6-3252_daily_bin1128.fits outfile=/scratch/kocevski/890956/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1128.fits ra=306.158 dec=-32.874 rad=12.0 tmin=531705601.0 tmax=531964801.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.15
user 3.75
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/890956/ft2_4FGL_J2024.6-3252_daily_bin1128.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/890956/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1128.fits evtable="EVENTS" outfile="/scratch/kocevski/890956/ft1_filtered_4FGL_J2024.6-3252_daily_bin1128.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.54
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890956/ft1_filtered_4FGL_J2024.6-3252_daily_bin1128.fits" evtable="EVENTS" scfile=/scratch/kocevski/890956/ft2_4FGL_J2024.6-3252_daily_bin1128.fits sctable="SC_DATA" outfile=/scratch/kocevski/890956/ltcube_531705601_531964801_4FGL_J2024.6-3252_daily_bin1128.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/890956/ft2_4FGL_J2024.6-3252_daily_bin1128.fits
.....................!
real 13.53
user 13.16
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890956/ft1_filtered_4FGL_J2024.6-3252_daily_bin1128.fits evtable="EVENTS" scfile=/scratch/kocevski/890956/ft2_4FGL_J2024.6-3252_daily_bin1128.fits sctable="SC_DATA" expcube=/scratch/kocevski/890956/ltcube_531705601_531964801_4FGL_J2024.6-3252_daily_bin1128.fits outfile=/scratch/kocevski/890956/expmap_531705601_531964801_4FGL_J2024.6-3252_daily_bin1128.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/890956/ltcube_531705601_531964801_4FGL_J2024.6-3252_daily_bin1128.fits
.....................!
real 192.80
user 186.62
sys 5.25

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/890956/ft1_filtered_4FGL_J2024.6-3252_daily_bin1128.fits scfile=/scratch/kocevski/890956/ft2_4FGL_J2024.6-3252_daily_bin1128.fits outfile=/scratch/kocevski/890956/cmap_531705601_531964801_4FGL_J2024.6-3252_daily_bin1128.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/890956/ft1_filtered_4FGL_J2024.6-3252_daily_bin1128.fits scfile=/scratch/kocevski/890956/ft2_4FGL_J2024.6-3252_daily_bin1128.fits outfile=/scratch/kocevski/890956/cmap_HighResolution_531705601_531964801_4FGL_J2024.6-3252_daily_bin1128.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.64
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/890956/ft1_filtered_4FGL_J2024.6-3252_daily_bin1128.fits evtable="EVENTS" scfile=/scratch/kocevski/890956/ft2_4FGL_J2024.6-3252_daily_bin1128.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/890956/Model_4FGL_J2024.6-3252_daily_bin1128.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/890956/ft1_filtered_4FGL_J2024.6-3252_daily_bin1128.fits.....................!
real 66.92
user 65.06
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0257       1.0000         .10000E-03   10000.    
     2 'norm      '    13.692       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2258       1.0000         .10000E-03   10000.    
     4 'norm      '    .32436       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    17.769       1.0000         .10000E-03   10000.    
     7 'norm      '    4.6009       1.0000         .10000E-03   10000.    
     8 'Prefactor '    72.635       1.0000         .10000E-03   10000.    
     9 'norm      '    23.490       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10492E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    31.515       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1546       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.4809       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    45.868       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .68405       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1233       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=   7810.245     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     2061 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0252        15.453       -.75776E-07   -.15103E-03
   2  norm          13.691        16.913       -.13462E-06   -.12374E-05
   3  Prefactor     3.2247        2.3488        .42885E-06   -.21728E-02
   4  norm          .32371        .88080        .87010E-08   -.31046E-03
   5  Prefactor     .10000E-03    73.989        .41038E-06** at limit **
   6  norm          17.769        11.674        .21715E-06    .98443E-05
   7  norm          4.6001        8.3209       -.38941E-05   -.89003E-04
   8  Prefactor     72.623        62.599       -.79194E-05   -.33199E-04
   9  norm          23.489        16.628       -.13148E-06   -.21983E-05
  10  Prefactor     .10000E-03    146.39        .36968E-05** at limit **
  11  norm          31.511        23.641        .93296E-07    .15709E-05
  12  Prefactor     .10000E-03    12.922        .45986E-07** at limit **
  13  Prefactor     1.1517        8.4742       -.68170E-07   -.16631E-03
  14  Prefactor     .10000E-03    29.564        .19751E-06** at limit **
  15  Prefactor     .10000E-03    40.923       -.47981E-06** at limit **
  16  norm          8.4257        29.628       -.87652E-05   -.20808E-04
  17  Prefactor     .10000E-03    5.7441       -.19310E-07** at limit **
  18  Prefactor     45.869        33.855       -.46924E-06    .14273E-05
  19  Normalizat    .68365        .28507        .14070E-05    .22295E-04
  20  Prefactor     1.1235        .10170        .34399E-06   -.59788E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.02521
  norm       = 13.6907
  Prefactor  = 3.22469
  norm       = 0.323706
  Prefactor  = 0.0001
  norm       = 17.7692
  norm       = 4.6001
  Prefactor  = 72.6234
  norm       = 23.489
  Prefactor  = 0.0001
  norm       = 31.5109
  Prefactor  = 0.0001
  Prefactor  = 1.15172
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.42566
  Prefactor  = 0.0001
  Prefactor  = 45.8691
  Normalizat = 0.68365
  Prefactor  = 1.12349
 **********
 **   18 **HESSE 
 **********

 FCN=   7810.245     FROM HESSE     STATUS=OK           297 CALLS     2358 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0252        15.515        .66705E-03   -1.5107    
   2  norm          13.691        16.911        .10825E-03   -1.4968    
   3  Prefactor     3.2247        5.1907        .11277E-02   -1.5349    
   4  norm          .32371        .86449        .12916E-03   -1.5594    
   5  Prefactor     .10000E-03    74.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.769        11.650        .95015E-04   -1.4865    
   7  norm          4.6001        8.3406        .18765E-03   -1.5279    
   8  Prefactor     72.623        62.685        .47106E-04   -1.4002    
   9  norm          23.489        16.590        .82647E-04   -1.4738    
  10  Prefactor     .10000E-03    149.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          31.511        23.641        .71375E-04   -1.4585    
  12  Prefactor     .10000E-03    12.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.1517        8.7674        .42993E-03   -1.5493    
  14  Prefactor     .10000E-03    29.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    40.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.4257        29.691        .13765E-03   -1.5127    
  17  Prefactor     .10000E-03    5.7475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     45.869        33.888        .59201E-04   -1.4352    
  19  Normalizat    .68365        .30204        .51178E-03   -1.0454    
  20  Prefactor     1.1235        .11085        .15392E-03   -.88719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14922e-09
Minuit parameter uncertainties:
  1  15.5221
  2  16.9171
  3  5.19141
  4  0.864523
  5  0.000105193
  6  11.6512
  7  8.34275
  8  62.7425
  9  16.5929
  10  0.000115628
  11  23.6483
  12  1.94721e-06
  13  6.35635
  14  3.88591e-06
  15  2.50712e-05
  16  29.7435
  17  3.07184e-07
  18  33.9025
  19  0.302781
  20  0.110877
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  2.349e+01  1.659e+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.123e+00  1.109e-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:  6.837e-01  3.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.67
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 6.52e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 2.11e-05

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

Saving results to:
/scratch/kocevski/890956/likelihoodResults_531705601_531964801_4FGL_J2024.6-3252_daily_bin1128.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) = 7808.52778527
delta logL = 1.71765745565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7808.50652511
delta logL = 1.7389176231

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.3210       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7035       1.0000          .0000       5.0000    
     3 'Normalizat'    .56379       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1514       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=   7808.507     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      280 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.3181        10.996        .12071E-03    .92392E-04
   2  alpha         3.7037        .83507        .12814E-02    .91030E-05
   3  Normalizat    .56380        .29392        .55916E-03    .37370E-04
   4  Prefactor     1.1514        .10960        .15211E-03    .10949E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.31812
  alpha      = 3.70374
  Normalizat = 0.563799
  Prefactor  = 1.15141
 **********
 **   18 **HESSE 
 **********

 FCN=   7808.507     FROM HESSE     STATUS=OK            23 CALLS      303 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.3181        10.593        .48284E-05   -1.5097    
   2  alpha         3.7037        .80585        .51255E-04    .50236    
   3  Normalizat    .56380        .29391        .22366E-04   -1.0954    
   4  Prefactor     1.1514        .10958        .60844E-05   -.87840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.32498e-12
Minuit parameter uncertainties:
  1  10.5947
  2  0.825218
  3  0.294725
  4  0.1096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890956': 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) = 7808.50652507
delta logL = 1.73891766059

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  9.318e+00  1.059e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.704e+00  8.252e-01  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.151e+00  1.096e-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:  5.638e-01  2.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.48
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 3.70 +/- 0.83
Photon Flux (Free Index): 1.89e-07 +/- 9.33e-08
Energy Flux (Free Index): 3.18e-05 +/- 1.56e-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/890956/cmap_HighResolution_531705601_531964801_4FGL_J2024.6-3252_daily_bin1128.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-05', comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='3.18e-05', photon_flux_error='6.52e-08', dlogl='1.74e+00', energy_flux='2.98e-05', photon_flux2='1.89e-07', job_status='DONE', time_completed='2021-09-25 03:20:19.055391', photon_index_error2='0.83', photon_index2='3.70', ts='2.67', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='2.18e-07', energy_flux_error2='1.56e-05', EG='0.68', time_epoch_completed='1632565219.06', return_code='0', job_id='890956', GAL2='1.15', EG2='0.56', return_code2='0', energy_flux_error='2.11e-05', photon_flux_error2='9.33e-08', ts2='6.48', photon_index='2.35' WHERE bin_id='1128' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:20:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 890956: <4FGL_J2024.6-3252_daily_bin1128> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1128 306.158 -32.874 531705601 531964801 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 :                                   693.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            833 sec.

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

