/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 3 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 = 7475
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2024.6-3252_daily_bin303
RA = 306.158, Dec = -32.874
tmin = 317865601, tmax = 318124801
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='885568', job_status='RUN', time_executed='2021-09-25 02:53:54.764261', time_epoch_executed='1632563634.76' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='303'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885568/ft1_4FGL_J2024.6-3252_daily_bin303.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885568/ft2_4FGL_J2024.6-3252_daily_bin303.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885568/ft1_4FGL_J2024.6-3252_daily_bin303.fits outfile=/scratch/kocevski/885568/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin303.fits ra=306.158 dec=-32.874 rad=12.0 tmin=317865601.0 tmax=318124801.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.33
user 3.09
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885568/ft1_filtered_4FGL_J2024.6-3252_daily_bin303.fits" evtable="EVENTS" scfile=/scratch/kocevski/885568/ft2_4FGL_J2024.6-3252_daily_bin303.fits sctable="SC_DATA" outfile=/scratch/kocevski/885568/ltcube_317865601_318124801_4FGL_J2024.6-3252_daily_bin303.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/885568/ft2_4FGL_J2024.6-3252_daily_bin303.fits
.....................!
real 12.72
user 12.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885568/ft1_filtered_4FGL_J2024.6-3252_daily_bin303.fits evtable="EVENTS" scfile=/scratch/kocevski/885568/ft2_4FGL_J2024.6-3252_daily_bin303.fits sctable="SC_DATA" expcube=/scratch/kocevski/885568/ltcube_317865601_318124801_4FGL_J2024.6-3252_daily_bin303.fits outfile=/scratch/kocevski/885568/expmap_317865601_318124801_4FGL_J2024.6-3252_daily_bin303.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/885568/ltcube_317865601_318124801_4FGL_J2024.6-3252_daily_bin303.fits
.....................!
real 193.24
user 187.67
sys 5.12

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/885568/ft1_filtered_4FGL_J2024.6-3252_daily_bin303.fits scfile=/scratch/kocevski/885568/ft2_4FGL_J2024.6-3252_daily_bin303.fits outfile=/scratch/kocevski/885568/cmap_317865601_318124801_4FGL_J2024.6-3252_daily_bin303.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.64
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885568/ft1_filtered_4FGL_J2024.6-3252_daily_bin303.fits scfile=/scratch/kocevski/885568/ft2_4FGL_J2024.6-3252_daily_bin303.fits outfile=/scratch/kocevski/885568/cmap_HighResolution_317865601_318124801_4FGL_J2024.6-3252_daily_bin303.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11949E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.1090       1.0000         .10000E-03   10000.    
     7 'norm      '    52.896       1.0000         .10000E-03   10000.    
     8 'Prefactor '    70.083       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4312       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.349       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.441       1.0000         .10000E-03   10000.    
    16 'norm      '    12.066       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6109       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .96449E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1369       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0910       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=   9503.042     FROM MIGRAD    STATUS=CONVERGED    418 CALLS     2334 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2069       -.40099E-08** at limit **
   2  norm          .10000E-03    12.161        .34062E-06** at limit **
   3  Prefactor     .10000E-03    3.3039       -.35305E-06** at limit **
   4  norm          .10000E-03    .35015        .43810E-08** at limit **
   5  Prefactor     .10000E-03    81.915       -.71870E-05** at limit **
   6  norm          4.1080        6.8646        .23743E-06   -.49109E-03
   7  norm          52.894        19.469       -.31242E-07   -.95625E-06
   8  Prefactor     70.083        51.205       -.26780E-06    .95237E-06
   9  norm          1.4293        3.7723        .51252E-06   -.93266E-03
  10  Prefactor     .10000E-03    20.197        .15376E-04** at limit **
  11  norm          .10000E-03    43.435        .68903E-05** at limit **
  12  Prefactor     11.348        18.743       -.67615E-07   -.80707E-04
  13  Prefactor     .10000E-03    4.3491       -.22083E-07** at limit **
  14  Prefactor     .10000E-03    21.779       -.16643E-04** at limit **
  15  Prefactor     15.437        111.92       -.69643E-05   -.27206E-05
  16  norm          12.064        21.097        .32111E-06   -.46052E-06
  17  Prefactor     4.6083        18.910        .32050E-06   -.11534E-03
  18  Prefactor     .10000E-03    104.10       -.15980E-05** at limit **
  19  Normalizat    1.1370        .23872        .13720E-06    .27530E-04
  20  Prefactor     1.0910        .90058E-01    .69540E-08    .10773E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.10795
  norm       = 52.8936
  Prefactor  = 70.0832
  norm       = 1.42933
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.3481
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.4371
  norm       = 12.0643
  Prefactor  = 4.60829
  Prefactor  = 0.0001
  Normalizat = 1.13699
  Prefactor  = 1.091
 **********
 **   18 **HESSE 
 **********

 FCN=   9503.042     FROM HESSE     STATUS=OK           291 CALLS     2625 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    12.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.231        .33820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .36601        .11254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    83.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.1080        7.0509        .99436E-03   -1.5303    
   7  norm          52.894        19.480        .55147E-04   -1.4252    
   8  Prefactor     70.083        51.215        .47950E-04   -1.4032    
   9  norm          1.4293        16.339        .18053E-02   -1.5469    
  10  Prefactor     .10000E-03    20.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    45.086        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.348        18.738        .59460E-03   -1.5034    
  13  Prefactor     .10000E-03    4.4058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.437        111.94        .10193E-03   -1.4922    
  16  norm          12.064        21.071        .11532E-03   -1.5013    
  17  Prefactor     4.6083        19.492        .93722E-03   -1.5279    
  18  Prefactor     .10000E-03    108.25        .41572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1370        .27226        .41821E-03   -.88573    
  20  Prefactor     1.0910        .10259        .16362E-03   -.89755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36207e-09
Minuit parameter uncertainties:
  1  3.83435e-07
  2  1.25741e-07
  3  0.000465196
  4  1.27277e-07
  5  9.14856e-05
  6  7.05236
  7  19.4819
  8  51.247
  9  9.66818
  10  5.79733e-05
  11  0.000158475
  12  18.7478
  13  1.19048e-07
  14  7.18386e-05
  15  83.359
  16  21.0841
  17  18.9654
  18  1.07441e-05
  19  0.272594
  20  0.102612
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.429e+00  9.668e+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.091e+00  1.026e-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.137e+00  2.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/885568/likelihoodResults_317865601_318124801_4FGL_J2024.6-3252_daily_bin303.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) = 9503.03673466
delta logL = 0.00496089530498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9503.03667658
delta logL = 0.0050189843696

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5022       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5883       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1354       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0911       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=   9503.037     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      279 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5048        18.143        .34930E-03   -.84621E-06
   2  alpha         2.5890        3.6541        .77297E-01    .95549E-04
   3  Normalizat    1.1354        .26387        .41846E-03    .26624E-05
   4  Prefactor     1.0912        .10209        .16361E-03   -.51976E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.50477
  alpha      = 2.58901
  Normalizat = 1.13538
  Prefactor  = 1.09116
 **********
 **   18 **HESSE 
 **********

 FCN=   9503.037     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5048        13.337        .13972E-04   -1.5463    
   2  alpha         2.5890        2.0617        .15459E-01    .35610E-01
   3  Normalizat    1.1354        .26414        .16738E-04   -.88624    
   4  Prefactor     1.0912        .10206        .65444E-05   -.89749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63742e-11
Minuit parameter uncertainties:
  1  8.96225
  2  2.42483
  3  0.264452
  4  0.102076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885568': 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) = 9503.0366762
delta logL = 0.00501936263208

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.505e+00  8.962e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.589e+00  2.425e+00  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  1.491e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  5.973e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  1.091e+00  1.021e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.135e+00  2.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 306.158 -32.874

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/885568/cmap_HighResolution_317865601_318124801_4FGL_J2024.6-3252_daily_bin303.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-05', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-25 03:07:22.219694', job_id='885568', GAL2='1.09', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632564442.22', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.02e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='303' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:07:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0162>
Subject: Job 885568: <4FGL_J2024.6-3252_daily_bin303> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin303> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep 25 02:51:16 2021
Job was executed on host(s) <bullet0162>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:53:43 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:53:43 2021
Terminated at Sat Sep 25 03:07:23 2021
Results reported at Sat Sep 25 03:07:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin303 306.158 -32.874 317865601 318124801 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 :                                   802.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            967 sec.

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

