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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin722
RA = 306.158, Dec = -32.874
tmin = 426470401, tmax = 426729601
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='888099', job_status='RUN', time_executed='2021-09-25 02:57:46.927604', time_epoch_executed='1632563866.93' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888099

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888099/ft1_4FGL_J2024.6-3252_daily_bin722.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888099/ft2_4FGL_J2024.6-3252_daily_bin722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888099/ft1_4FGL_J2024.6-3252_daily_bin722.fits outfile=/scratch/kocevski/888099/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin722.fits ra=306.158 dec=-32.874 rad=12.0 tmin=426470401.0 tmax=426729601.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.30
user 4.04
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888099/ft1_filtered_4FGL_J2024.6-3252_daily_bin722.fits" evtable="EVENTS" scfile=/scratch/kocevski/888099/ft2_4FGL_J2024.6-3252_daily_bin722.fits sctable="SC_DATA" outfile=/scratch/kocevski/888099/ltcube_426470401_426729601_4FGL_J2024.6-3252_daily_bin722.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/888099/ft2_4FGL_J2024.6-3252_daily_bin722.fits
.....................!
real 13.04
user 12.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888099/ft1_filtered_4FGL_J2024.6-3252_daily_bin722.fits evtable="EVENTS" scfile=/scratch/kocevski/888099/ft2_4FGL_J2024.6-3252_daily_bin722.fits sctable="SC_DATA" expcube=/scratch/kocevski/888099/ltcube_426470401_426729601_4FGL_J2024.6-3252_daily_bin722.fits outfile=/scratch/kocevski/888099/expmap_426470401_426729601_4FGL_J2024.6-3252_daily_bin722.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/888099/ltcube_426470401_426729601_4FGL_J2024.6-3252_daily_bin722.fits
.....................!
real 191.07
user 185.47
sys 4.91

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/888099/ft1_filtered_4FGL_J2024.6-3252_daily_bin722.fits scfile=/scratch/kocevski/888099/ft2_4FGL_J2024.6-3252_daily_bin722.fits outfile=/scratch/kocevski/888099/cmap_426470401_426729601_4FGL_J2024.6-3252_daily_bin722.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.57
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888099/ft1_filtered_4FGL_J2024.6-3252_daily_bin722.fits scfile=/scratch/kocevski/888099/ft2_4FGL_J2024.6-3252_daily_bin722.fits outfile=/scratch/kocevski/888099/cmap_HighResolution_426470401_426729601_4FGL_J2024.6-3252_daily_bin722.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/888099/ft1_filtered_4FGL_J2024.6-3252_daily_bin722.fits evtable="EVENTS" scfile=/scratch/kocevski/888099/ft2_4FGL_J2024.6-3252_daily_bin722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888099/Model_4FGL_J2024.6-3252_daily_bin722.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/888099/ft1_filtered_4FGL_J2024.6-3252_daily_bin722.fits.....................!
real 93.99
user 92.51
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5281       1.0000         .10000E-03   10000.    
     2 'norm      '    8.9205       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.9023       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.396       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    30.220       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18229E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.631       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.992       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0291       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91618       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0733       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=   11464.69     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2017 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5300        11.126       -.66007E-06   -.13244E-03
   2  norm          8.9203        12.596       -.22707E-06   -.25277E-04
   3  Prefactor     .10000E-03    1.7302       -.16289E-07** at limit **
   4  norm          1.9025        .91087       -.41805E-07   -.43635E-03
   5  Prefactor     14.395        14.834       -.17107E-06   -.94854E-05
   6  norm          .10000E-03    2.0811       -.10162E-07** at limit **
   7  norm          .10000E-03    2.5981       -.91301E-08** at limit **
   8  Prefactor     .10000E-03    13.289       -.39770E-07** at limit **
   9  norm          30.211        13.446       -.15200E-05   -.12948E-04
  10  Prefactor     .10000E-03    140.29        .88794E-06** at limit **
  11  norm          .10000E-03    5.8808        .33762E-08** at limit **
  12  Prefactor     .10000E-03    10.659        .66032E-07** at limit **
  13  Prefactor     10.614        6.8575       -.17169E-06   -.13688E-03
  14  Prefactor     20.975        47.450       -.19286E-04   -.11602E-05
  15  Prefactor     .10000E-03    51.316        .17792E-06** at limit **
  16  norm          .10000E-03    23.161        .61714E-07** at limit **
  17  Prefactor     .10000E-03    4.8533       -.88024E-08** at limit **
  18  Prefactor     6.0340        20.976       -.20941E-05   -.29946E-04
  19  Normalizat    .91589        .22504        .16391E-05   -.46315E-04
  20  Prefactor     1.0734        .80331E-01    .47691E-07    .53365E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.52998
  norm       = 8.92027
  Prefactor  = 0.0001
  norm       = 1.90246
  Prefactor  = 14.3948
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 30.211
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6139
  Prefactor  = 20.9752
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.03396
  Normalizat = 0.915887
  Prefactor  = 1.07336
 **********
 **   18 **HESSE 
 **********

 FCN=   11464.69     FROM HESSE     STATUS=OK           291 CALLS     2308 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5300        11.135        .18919E-03   -1.5282    
   2  norm          8.9203        12.596        .13420E-03   -1.5111    
   3  Prefactor     .10000E-03    1.7572        .13747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9025        .90695        .67733E-04   -1.5432    
   5  Prefactor     14.395        14.841        .10556E-03   -1.4949    
   6  norm          .10000E-03    2.0847        .15084E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.6044        .16855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          30.211        13.445        .72883E-04   -1.4608    
  10  Prefactor     .10000E-03    141.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.8839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.614        6.8638        .12288E-03   -1.5056    
  14  Prefactor     20.975        47.353        .87421E-04   -1.4792    
  15  Prefactor     .10000E-03    51.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    23.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.8633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0340        21.019        .16352E-03   -1.5217    
  19  Normalizat    .91589        .25432        .44967E-03   -.95904    
  20  Prefactor     1.0734        .91869E-01    .15480E-03   -.90323    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.23724e-11
Minuit parameter uncertainties:
  1  11.1398
  2  12.5998
  3  1.57105e-06
  4  0.906957
  5  14.8448
  6  6.59256e-07
  7  1.73337e-06
  8  5.0658e-07
  9  13.446
  10  8.51051e-05
  11  1.39014e-06
  12  1.34859e-05
  13  6.8643
  14  47.4381
  15  2.99773e-05
  16  1.68493e-05
  17  2.00902e-06
  18  21.0444
  19  0.25465
  20  0.0918822
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  3.021e+01  1.345e+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.073e+00  9.188e-02  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:  9.159e-01  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.28
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 5.28e-08
Energy Flux (Fixed Index): 3.83e-05 +/- 1.71e-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) = 11464.3166515
delta logL = 0.374738463666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11464.2994931
delta logL = 0.391896896335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.125       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7838       1.0000          .0000       5.0000    
     3 'Normalizat'    .86286       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0856       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=   11464.30     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      288 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.123        14.378        .79917E-04    .14965E-03
   2  alpha         2.7841        .52719        .12940E-01    .26928E-04
   3  Normalizat    .86309        .25424        .46159E-03    .83050E-04
   4  Prefactor     1.0855        .92408E-01    .15400E-03    .24220E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.123
  alpha      = 2.78411
  Normalizat = 0.863093
  Prefactor  = 1.08554
 **********
 **   18 **HESSE 
 **********

 FCN=   11464.30     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.123        13.628        .31967E-05   -1.4705    
   2  alpha         2.7841        .49935        .51760E-03    .11389    
   3  Normalizat    .86309        .25396        .18464E-04   -.97769    
   4  Prefactor     1.0855        .92314E-01    .30799E-04   -.89930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84087e-11
Minuit parameter uncertainties:
  1  13.6297
  2  0.502781
  3  0.254312
  4  0.0923279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888099': 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) = 11464.2994922
delta logL = 0.391897775798

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  2.512e+01  1.363e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.784e+00  5.028e-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.086e+00  9.233e-02  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.631e-01  2.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.18
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 2.78 +/- 0.50
Photon Flux (Free Index): 1.57e-07 +/- 7.30e-08
Energy Flux (Free Index): 3.72e-05 +/- 1.53e-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/888099/cmap_HighResolution_426470401_426729601_4FGL_J2024.6-3252_daily_bin722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='3.72e-05', photon_flux_error='5.28e-08', dlogl='3.92e-01', energy_flux='3.83e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2021-09-25 03:10:52.505130', photon_index_error2='0.50', photon_index2='2.78', ts='9.28', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='0.92', time_epoch_completed='1632564652.51', return_code='0', job_id='888099', GAL2='1.09', EG2='0.86', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='7.30e-08', ts2='10.18', photon_index='2.35' WHERE bin_id='722' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:10:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 888099: <4FGL_J2024.6-3252_daily_bin722> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin722> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 02:56:37 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:57:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 02:57:26 2021
Terminated at Sat Sep 25 03:10:53 2021
Results reported at Sat Sep 25 03:10:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin722 306.158 -32.874 426470401 426729601 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 :                                   777.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            856 sec.

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

