/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 61 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 = 7419
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2024.6-3252_daily_bin591
RA = 306.158, Dec = -32.874
tmin = 392515201, tmax = 392774401
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='887888', job_status='RUN', time_executed='2021-09-25 02:57:59.739022', time_epoch_executed='1632563879.74' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887888

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887888/ft1_4FGL_J2024.6-3252_daily_bin591.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887888/ft2_4FGL_J2024.6-3252_daily_bin591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887888/ft1_4FGL_J2024.6-3252_daily_bin591.fits outfile=/scratch/kocevski/887888/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin591.fits ra=306.158 dec=-32.874 rad=12.0 tmin=392515201.0 tmax=392774401.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.42
user 3.18
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887888/ft1_filtered_4FGL_J2024.6-3252_daily_bin591.fits" evtable="EVENTS" scfile=/scratch/kocevski/887888/ft2_4FGL_J2024.6-3252_daily_bin591.fits sctable="SC_DATA" outfile=/scratch/kocevski/887888/ltcube_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.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/887888/ft2_4FGL_J2024.6-3252_daily_bin591.fits
.....................!
real 13.93
user 13.42
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887888/ft1_filtered_4FGL_J2024.6-3252_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/887888/ft2_4FGL_J2024.6-3252_daily_bin591.fits sctable="SC_DATA" expcube=/scratch/kocevski/887888/ltcube_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.fits outfile=/scratch/kocevski/887888/expmap_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.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/887888/ltcube_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.fits
.....................!
real 192.81
user 185.64
sys 5.92

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/887888/ft1_filtered_4FGL_J2024.6-3252_daily_bin591.fits scfile=/scratch/kocevski/887888/ft2_4FGL_J2024.6-3252_daily_bin591.fits outfile=/scratch/kocevski/887888/cmap_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.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.60
user 0.38
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887888/ft1_filtered_4FGL_J2024.6-3252_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/887888/ft2_4FGL_J2024.6-3252_daily_bin591.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887888/Model_4FGL_J2024.6-3252_daily_bin591.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/887888/ft1_filtered_4FGL_J2024.6-3252_daily_bin591.fits.....................!
real 107.87
user 106.34
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/887888/ft1_filtered_4FGL_J2024.6-3252_daily_bin591.fits', '/scratch/kocevski/887888/ft2_4FGL_J2024.6-3252_daily_bin591.fits', expMap='/scratch/kocevski/887888/expmap_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.fits', expCube='/scratch/kocevski/887888/ltcube_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/887888/Model_4FGL_J2024.6-3252_daily_bin591.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/887888/ft1_filtered_4FGL_J2024.6-3252_daily_bin591.fits
Spacecraft file(s): /scratch/kocevski/887888/ft2_4FGL_J2024.6-3252_daily_bin591.fits
Exposure map: /scratch/kocevski/887888/expmap_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.fits
Exposure cube: /scratch/kocevski/887888/ltcube_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/887888/Model_4FGL_J2024.6-3252_daily_bin591.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 13711.9824562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7733       1.0000         .10000E-03   10000.    
     2 'norm      '    6.5907       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .66457       1.0000         .10000E-03   10000.    
     4 'norm      '    4.3431       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.1967       1.0000         .10000E-03   10000.    
     7 'norm      '    .81913       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7975       1.0000         .10000E-03   10000.    
     9 'norm      '    23.937       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.622       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .57292E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1523       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11540E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.345       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .90891       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0972       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=   13711.90     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     1780 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7737        12.020        .24843E-06   -.22439E-04
   2  norm          6.5908        9.2972        .26175E-08   -.10049E-04
   3  Prefactor     .66493        2.2959        .15068E-05   -.89564E-03
   4  norm          4.3431        1.1167        .20331E-07   -.11049E-03
   5  Prefactor     .10000E-03    17.225       -.51078E-06** at limit **
   6  norm          4.1966        5.8026       -.15132E-05   -.55313E-03
   7  norm          .81424        3.9618        .11056E-06   -.94083E-04
   8  Prefactor     3.7954        20.117        .19539E-05    .37091E-04
   9  norm          23.938        9.2383        .30827E-07   -.59893E-05
  10  Prefactor     .10000E-03    19.630       -.72909E-06** at limit **
  11  norm          18.618        14.018        .15482E-05    .37849E-03
  12  Prefactor     .10005E-03    9.7290       -.11706E-06** at limit **
  13  Prefactor     2.1528        4.2847        .48500E-06   -.34121E-03
  14  Prefactor     .10000E-03    128.36       -.15374E-05** at limit **
  15  Prefactor     .10000E-03    14.620        .21044E-06** at limit **
  16  norm          13.344        13.666        .83225E-07    .42868E-05
  17  Prefactor     .10000E-03    19.614        .98914E-06** at limit **
  18  Prefactor     .10000E-03    7.3595        .15601E-07** at limit **
  19  Normalizat    .90881        .19532       -.42168E-06   -.70698E-04
  20  Prefactor     1.0972        .75441E-01   -.15956E-06   -.10829E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.77374
  norm       = 6.59077
  Prefactor  = 0.664927
  norm       = 4.34311
  Prefactor  = 0.0001
  norm       = 4.19664
  norm       = 0.814238
  Prefactor  = 3.79535
  norm       = 23.938
  Prefactor  = 0.0001
  norm       = 18.618
  Prefactor  = 0.00010005
  Prefactor  = 2.15277
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.3442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.908814
  Prefactor  = 1.09721
 **********
 **   18 **HESSE 
 **********

 FCN=   13711.90     FROM HESSE     STATUS=OK           307 CALLS     2087 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7737        12.004        .15417E-03   -1.5187    
   2  norm          6.5908        9.2933        .15631E-03   -1.5194    
   3  Prefactor     .66493        2.9014        .37833E-03   -1.5545    
   4  norm          4.3431        1.1149        .59643E-04   -1.5291    
   5  Prefactor     .10000E-03    17.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.1966        6.0571        .19672E-03   -1.5298    
   7  norm          .81424        27.412        .44614E-02   -1.5528    
   8  Prefactor     3.7954        20.162        .20714E-03   -1.5318    
   9  norm          23.938        9.2378        .81872E-04   -1.4729    
  10  Prefactor     .10000E-03    19.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.618        14.450        .92813E-04   -1.4845    
  12  Prefactor     .10005E-03    10.505        .12796       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1528        4.3700        .28085E-03   -1.5415    
  14  Prefactor     .10000E-03    129.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.344        13.665        .10965E-03   -1.4977    
  17  Prefactor     .10000E-03    20.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.4081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .90881        .22011        .43407E-03   -.96151    
  20  Prefactor     1.0972        .86264E-01    .15652E-03   -.89556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.07443e-08
Minuit parameter uncertainties:
  1  12.008
  2  9.29535
  3  2.77794
  4  1.11486
  5  5.21225e-05
  6  6.05799
  7  9.45294
  8  17.5041
  9  9.23837
  10  7.82661e-05
  11  14.4532
  12  0.00145355
  13  4.37065
  14  0.000424005
  15  2.01624e-05
  16  13.6683
  17  0.00010338
  18  1.85667e-06
  19  0.220325
  20  0.0862752
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  2.394e+01  9.238e+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

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.097e+00  8.628e-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.088e-01  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.23
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.41e-08 +/- 3.63e-08
Energy Flux (Fixed Index): 3.04e-05 +/- 1.17e-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) = 13711.5060385
delta logL = 0.389208367775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13711.5032859
delta logL = 0.391960959261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.537       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0196       1.0000          .0000       5.0000    
     3 'Normalizat'    .93244       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0923       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=   13711.50     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      239 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.537        8.8415        .42467E-06   -.94471E-03
   2  alpha         2.0201        .29717       -.26936E-05   -.14012E-03
   3  Normalizat    .93195        .19271        .11207E-06    .31773E-03
   4  Prefactor     1.0925        .75414E-01   -.35937E-07    .28680E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.5369
  alpha      = 2.02008
  Normalizat = 0.93195
  Prefactor  = 1.0925
 **********
 **   18 **HESSE 
 **********

 FCN=   13711.50     FROM HESSE     STATUS=OK            29 CALLS      268 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.537        10.292        .79271E-04   -1.4697    
   2  alpha         2.0201        .37324        .14783E-01   -.19317    
   3  Normalizat    .93195        .21758        .42930E-03   -.95346    
   4  Prefactor     1.0925        .85554E-01    .15684E-03   -.89707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31922e-09
Minuit parameter uncertainties:
  1  10.2925
  2  0.3747
  3  0.217787
  4  0.085565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887888': 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) = 13711.5032825
delta logL = 0.391964321239

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  2.554e+01  1.029e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.020e+00  3.747e-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.093e+00  8.557e-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.320e-01  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.00
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 2.02 +/- 0.37
Photon Flux (Free Index): 7.46e-08 +/- 3.79e-08
Energy Flux (Free Index): 3.45e-05 +/- 1.50e-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/887888/cmap_HighResolution_392515201_392774401_4FGL_J2024.6-3252_daily_bin591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.41e-08', energy_flux2='3.45e-05', photon_flux_error='3.63e-08', dlogl='3.92e-01', energy_flux='3.04e-05', photon_flux2='7.46e-08', job_status='DONE', time_completed='2021-09-25 03:11:58.222379', photon_index_error2='0.37', photon_index2='2.02', ts='16.23', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='0.91', time_epoch_completed='1632564718.22', return_code='0', job_id='887888', GAL2='1.09', EG2='0.93', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='3.79e-08', ts2='17.00', photon_index='2.35' WHERE bin_id='591' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:11:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 887888: <4FGL_J2024.6-3252_daily_bin591> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin591> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 02:56:19 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:56:40 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:56:40 2021
Terminated at Sat Sep 25 03:11:59 2021
Results reported at Sat Sep 25 03:11:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin591 306.158 -32.874 392515201 392774401 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 :                                   826.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            940 sec.

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

