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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1350
RA = 306.158, Dec = -32.874
tmin = 589248001, tmax = 589507201
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='891318', job_status='RUN', time_executed='2021-09-25 03:12:16.780999', time_epoch_executed='1632564736.78' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891318

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891318/ft1_4FGL_J2024.6-3252_daily_bin1350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891318/ft2_4FGL_J2024.6-3252_daily_bin1350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891318/ft1_4FGL_J2024.6-3252_daily_bin1350.fits outfile=/scratch/kocevski/891318/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1350.fits ra=306.158 dec=-32.874 rad=12.0 tmin=589248001.0 tmax=589507201.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.13
user 2.90
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891318/ft2_4FGL_J2024.6-3252_daily_bin1350.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/891318/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1350.fits evtable="EVENTS" outfile="/scratch/kocevski/891318/ft1_filtered_4FGL_J2024.6-3252_daily_bin1350.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.52
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891318/ft1_filtered_4FGL_J2024.6-3252_daily_bin1350.fits" evtable="EVENTS" scfile=/scratch/kocevski/891318/ft2_4FGL_J2024.6-3252_daily_bin1350.fits sctable="SC_DATA" outfile=/scratch/kocevski/891318/ltcube_589248001_589507201_4FGL_J2024.6-3252_daily_bin1350.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/891318/ft2_4FGL_J2024.6-3252_daily_bin1350.fits
.....................!
real 16.06
user 15.72
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891318/ft1_filtered_4FGL_J2024.6-3252_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/891318/ft2_4FGL_J2024.6-3252_daily_bin1350.fits sctable="SC_DATA" expcube=/scratch/kocevski/891318/ltcube_589248001_589507201_4FGL_J2024.6-3252_daily_bin1350.fits outfile=/scratch/kocevski/891318/expmap_589248001_589507201_4FGL_J2024.6-3252_daily_bin1350.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/891318/ltcube_589248001_589507201_4FGL_J2024.6-3252_daily_bin1350.fits
.....................!
real 192.62
user 186.17
sys 5.26

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/891318/ft1_filtered_4FGL_J2024.6-3252_daily_bin1350.fits scfile=/scratch/kocevski/891318/ft2_4FGL_J2024.6-3252_daily_bin1350.fits outfile=/scratch/kocevski/891318/cmap_589248001_589507201_4FGL_J2024.6-3252_daily_bin1350.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.62
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891318/ft1_filtered_4FGL_J2024.6-3252_daily_bin1350.fits scfile=/scratch/kocevski/891318/ft2_4FGL_J2024.6-3252_daily_bin1350.fits outfile=/scratch/kocevski/891318/cmap_HighResolution_589248001_589507201_4FGL_J2024.6-3252_daily_bin1350.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891318/ft1_filtered_4FGL_J2024.6-3252_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/891318/ft2_4FGL_J2024.6-3252_daily_bin1350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891318/Model_4FGL_J2024.6-3252_daily_bin1350.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/891318/ft1_filtered_4FGL_J2024.6-3252_daily_bin1350.fits.....................!
real 43.97
user 42.04
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.446       1.0000         .10000E-03   10000.    
     2 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.9883       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .29450E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    86.228       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    39.778       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .71436E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10490E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10956E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    101.77       1.0000         .10000E-03   10000.    
    15 'Prefactor '    198.80       1.0000         .10000E-03   10000.    
    16 'norm      '    .47720E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    94.202       1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.195       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2203       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3905.031     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     1602 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.634        17.647       -.94294E-05   -.12220E-03
   2  norm          .10000E-03    17.852       -.98008E-05** at limit **
   3  Prefactor     .10000E-03    3.7236        .45187E-07** at limit **
   4  norm          3.0040        1.6894        .27267E-06   -.38787E-04
   5  Prefactor     .10000E-03    36.872        .20332E-05** at limit **
   6  norm          .10000E-03    5.7523       -.50048E-06** at limit **
   7  norm          87.761        34.078       -.88058E-06   -.60969E-04
   8  Prefactor     .10000E-03    35.190        .85740E-05** at limit **
   9  norm          39.536        26.327       -.71880E-05   -.12283E-03
  10  Prefactor     .10000E-03    67.141       -.95604E-05** at limit **
  11  norm          .10000E-03    19.844        .45478E-05** at limit **
  12  Prefactor     .10000E-03    27.239        .42044E-04** at limit **
  13  Prefactor     .10000E-03    5.8058       -.33760E-07** at limit **
  14  Prefactor     73.913        155.74       -.43042E-04    .75332E-05
  15  Prefactor     330.74        327.60       -.39874E-05    .32701E-04
  16  norm          .10000E-03    40.869        .22071E-04** at limit **
  17  Prefactor     92.804        107.44        .82372E-04    .18323E-03
  18  Prefactor     38.172        129.86       -.13477E-03    .17543E-03
  19  Normalizat    1.2061        .52935        .22016E-05   -.27930E-04
  20  Prefactor     .95316        .16502       -.16267E-05   -.71574E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6343
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.00405
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 87.7607
  Prefactor  = 0.000100001
  norm       = 39.5362
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 73.9131
  Prefactor  = 330.739
  norm       = 0.000100001
  Prefactor  = 92.8043
  Prefactor  = 38.1719
  Normalizat = 1.20605
  Prefactor  = 0.953161
 **********
 **   18 **HESSE 
 **********

 FCN=   3905.031     FROM HESSE     STATUS=OK           329 CALLS     1931 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.634        17.612        .23314E-02   -1.4844    
   2  norm          .10000E-03    17.820        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.7186        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.0040        1.6919        .58710E-02   -1.5361    
   5  Prefactor     .10000E-03    37.049        .99242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.7603        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          87.761        34.140        .10816E-02   -1.3832    
   8  Prefactor     .10000E-03    35.357        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          39.536        26.264        .15888E-02   -1.4450    
  10  Prefactor     .10000E-03    67.151        .10484E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    19.970        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.136        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.8063        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     73.913        154.11        .99635E-03   -1.3986    
  15  Prefactor     330.74        326.46        .71639E-03   -1.2050    
  16  norm          .10000E-03    39.580        .92589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     92.804        107.15        .10352E-02   -1.3778    
  18  Prefactor     38.172        130.68        .15077E-02   -1.4472    
  19  Normalizat    1.2061        .45572        .10647       -.86416    
  20  Prefactor     .95316        .14020        .45664E-01   -.94307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88547e-09
Minuit parameter uncertainties:
  1  17.6168
  2  8.30828e-05
  3  3.36447e-06
  4  1.69188
  5  0.000179015
  6  1.09723e-05
  7  34.1481
  8  0.000280788
  9  26.2716
  10  6.0825e-05
  11  2.90049e-05
  12  0.000448499
  13  2.12604e-06
  14  154.953
  15  328.306
  16  0.000484219
  17  107.377
  18  131.679
  19  0.457234
  20  0.140255
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  3.954e+01  2.627e+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:  9.532e-01  1.403e-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.206e+00  4.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.57
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.55e-07 +/- 1.03e-07
Energy Flux (Fixed Index): 5.02e-05 +/- 3.33e-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) = 3905.02292535
delta logL = 0.00827525963541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3905.02194082
delta logL = 0.00925978498663

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    38.845       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4440       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95613       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=   3905.022     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      262 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          38.850        26.618        .64309E-04    .22451E-04
   2  alpha         2.4438        .67102        .13467E-01    .56001E-05
   3  Normalizat    1.1916        .51590        .47440E-03    .43759E-04
   4  Prefactor     .95595        .16448        .16897E-03   -.16343E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 38.8501
  alpha      = 2.44378
  Normalizat = 1.19161
  Prefactor  = 0.955948
 **********
 **   18 **HESSE 
 **********

 FCN=   3905.022     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          38.850        26.395        .25724E-05   -1.4461    
   2  alpha         2.4438        .66478        .53866E-03   -.22488E-01
   3  Normalizat    1.1916        .51611        .18976E-04   -.86863    
   4  Prefactor     .95595        .16454        .33794E-04   -.94213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85356e-11
Minuit parameter uncertainties:
  1  26.4034
  2  0.672877
  3  0.518342
  4  0.164627
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891318': 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) = 3905.02194017
delta logL = 0.00926043861364

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  3.885e+01  2.640e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.444e+00  6.729e-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:  9.559e-01  1.646e-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.192e+00  5.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.57
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 2.44 +/- 0.67
Photon Flux (Free Index): 1.67e-07 +/- 1.40e-07
Energy Flux (Free Index): 5.00e-05 +/- 3.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/891318/cmap_HighResolution_589248001_589507201_4FGL_J2024.6-3252_daily_bin1350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.55e-07', energy_flux2='5.00e-05', photon_flux_error='1.03e-07', dlogl='9.26e-03', energy_flux='5.02e-05', photon_flux2='1.67e-07', job_status='DONE', time_completed='2021-09-25 03:20:07.762788', photon_index_error2='0.67', photon_index2='2.44', ts='4.57', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.29e-05', EG='1.21', time_epoch_completed='1632565207.76', return_code='0', job_id='891318', GAL2='0.96', EG2='1.19', return_code2='0', energy_flux_error='3.33e-05', photon_flux_error2='1.40e-07', ts2='4.57', photon_index='2.35' WHERE bin_id='1350' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:20:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 891318: <4FGL_J2024.6-3252_daily_bin1350> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1350 306.158 -32.874 589248001 589507201 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 :                                   462.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             208.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            793 sec.

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

