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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin230
RA = 306.158, Dec = -32.874
tmin = 298944001, tmax = 299203201
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='885453', job_status='RUN', time_executed='2021-09-25 02:51:24.174343', time_epoch_executed='1632563484.17' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885453

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885453/ft1_4FGL_J2024.6-3252_daily_bin230.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885453/ft2_4FGL_J2024.6-3252_daily_bin230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885453/ft1_4FGL_J2024.6-3252_daily_bin230.fits outfile=/scratch/kocevski/885453/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin230.fits ra=306.158 dec=-32.874 rad=12.0 tmin=298944001.0 tmax=299203201.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.52
user 3.23
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885453/ft1_filtered_4FGL_J2024.6-3252_daily_bin230.fits" evtable="EVENTS" scfile=/scratch/kocevski/885453/ft2_4FGL_J2024.6-3252_daily_bin230.fits sctable="SC_DATA" outfile=/scratch/kocevski/885453/ltcube_298944001_299203201_4FGL_J2024.6-3252_daily_bin230.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/885453/ft2_4FGL_J2024.6-3252_daily_bin230.fits
.....................!
real 13.16
user 12.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885453/ft1_filtered_4FGL_J2024.6-3252_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/885453/ft2_4FGL_J2024.6-3252_daily_bin230.fits sctable="SC_DATA" expcube=/scratch/kocevski/885453/ltcube_298944001_299203201_4FGL_J2024.6-3252_daily_bin230.fits outfile=/scratch/kocevski/885453/expmap_298944001_299203201_4FGL_J2024.6-3252_daily_bin230.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/885453/ltcube_298944001_299203201_4FGL_J2024.6-3252_daily_bin230.fits
.....................!
real 191.26
user 185.86
sys 4.60

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/885453/ft1_filtered_4FGL_J2024.6-3252_daily_bin230.fits scfile=/scratch/kocevski/885453/ft2_4FGL_J2024.6-3252_daily_bin230.fits outfile=/scratch/kocevski/885453/cmap_298944001_299203201_4FGL_J2024.6-3252_daily_bin230.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885453/ft1_filtered_4FGL_J2024.6-3252_daily_bin230.fits scfile=/scratch/kocevski/885453/ft2_4FGL_J2024.6-3252_daily_bin230.fits outfile=/scratch/kocevski/885453/cmap_HighResolution_298944001_299203201_4FGL_J2024.6-3252_daily_bin230.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/885453/ft1_filtered_4FGL_J2024.6-3252_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/885453/ft2_4FGL_J2024.6-3252_daily_bin230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/885453/Model_4FGL_J2024.6-3252_daily_bin230.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/885453/ft1_filtered_4FGL_J2024.6-3252_daily_bin230.fits.....................!
real 64.94
user 63.34
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.622       1.0000         .10000E-03   10000.    
     2 'norm      '    18.270       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8591       1.0000         .10000E-03   10000.    
     4 'norm      '    .73343       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.1710       1.0000         .10000E-03   10000.    
     7 'norm      '    .69366       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .71881       1.0000         .10000E-03   10000.    
    10 'Prefactor '    67.478       1.0000         .10000E-03   10000.    
    11 'norm      '    3.9489       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7771       1.0000         .10000E-03   10000.    
    14 'Prefactor '    75.272       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79802       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1018       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=   7281.110     FROM MIGRAD    STATUS=CONVERGED    399 CALLS     2001 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.617        23.553        .18026E-05    .72495E-04
   2  norm          18.302        31.243       -.62069E-05   -.99077E-04
   3  Prefactor     7.8585        7.7717        .17049E-05    .16200E-03
   4  norm          .73336        1.0665        .54616E-06    .24991E-03
   5  Prefactor     .10000E-03    46.125        .14024E-05** at limit **
   6  norm          7.1702        7.7745        .10171E-06    .53906E-05
   7  norm          .68833        9.6638       -.98241E-07   -.34688E-04
   8  Prefactor     .10000E-03    21.123        .28530E-05** at limit **
   9  norm          .70012        10.085       -.17565E-05    .42434E-04
  10  Prefactor     67.451        78.848       -.59830E-05    .12546E-03
  11  norm          3.9490        14.109        .31826E-06   -.18221E-04
  12  Prefactor     .10000E-03    11.703        .13835E-05** at limit **
  13  Prefactor     1.7830        13.183        .19777E-04    .23536E-04
  14  Prefactor     75.278        73.444       -.49199E-06   -.20990E-04
  15  Prefactor     .10000E-03    29.505       -.40743E-05** at limit **
  16  norm          .10000E-03    10.106       -.16783E-06** at limit **
  17  Prefactor     .10000E-03    12.608       -.12317E-05** at limit **
  18  Prefactor     .10000E-03    15.282       -.45063E-06** at limit **
  19  Normalizat    .79808        .28430       -.30697E-05    .28284E-03
  20  Prefactor     1.1018        .10349       -.31308E-06    .39690E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.6171
  norm       = 18.3024
  Prefactor  = 7.85849
  norm       = 0.73336
  Prefactor  = 0.0001
  norm       = 7.17023
  norm       = 0.688329
  Prefactor  = 0.0001
  norm       = 0.700118
  Prefactor  = 67.4513
  norm       = 3.94904
  Prefactor  = 0.0001
  Prefactor  = 1.78296
  Prefactor  = 75.2781
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.798076
  Prefactor  = 1.10184
 **********
 **   18 **HESSE 
 **********

 FCN=   7281.110     FROM HESSE     STATUS=OK           295 CALLS     2296 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.617        23.515        .82416E-04   -1.4736    
   2  norm          18.302        31.275        .93703E-04   -1.4852    
   3  Prefactor     7.8585        7.7771        .71515E-03   -1.5147    
   4  norm          .73336        1.0659        .24379E-03   -1.5537    
   5  Prefactor     .10000E-03    46.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.1702        7.7720        .14979E-03   -1.5172    
   7  norm          .68833        76.215        .50635E-02   -1.5542    
   8  Prefactor     .10000E-03    21.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .70012        95.062        .49535E-02   -1.5541    
  10  Prefactor     67.451        79.414        .48861E-04   -1.4064    
  11  norm          3.9490        14.094        .20299E-03   -1.5310    
  12  Prefactor     .10000E-03    11.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7830        13.464        .15700E-02   -1.5441    
  14  Prefactor     75.278        73.547        .46280E-04   -1.3971    
  15  Prefactor     .10000E-03    29.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    10.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .79808        .31246        .47665E-03   -1.0014    
  20  Prefactor     1.1018        .11641        .15549E-03   -.89408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94899e-08
Minuit parameter uncertainties:
  1  23.5243
  2  31.3032
  3  7.7781
  4  1.0659
  5  5.77517e-05
  6  7.77314
  7  14.5039
  8  0.000102335
  9  16.3416
  10  79.5395
  11  14.1062
  12  5.20617e-05
  13  9.80177
  14  73.6356
  15  0.000188668
  16  1.03589e-05
  17  2.53192e-05
  18  1.1891e-05
  19  0.313168
  20  0.116442
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  7.001e-01  1.634e+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.102e+00  1.164e-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:  7.981e-01  3.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/885453/likelihoodResults_298944001_299203201_4FGL_J2024.6-3252_daily_bin230.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) = 7280.63350017
delta logL = 0.47673458809

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7280.58743547
delta logL = 0.5227992919

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2211       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.2129       1.0000          .0000       5.0000    
     3 'Normalizat'    .70365       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1189       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.

 FCN=   7280.587     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      236 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2246        63.585        .68980E-02    .77205E-03
   2  alpha         4.2115        2.8244        .50000        .53040E-04
   3  Normalizat    .70367        .88152E-01    .11391        .40572E-04
   4  Prefactor     1.1189        .33498E-01    .36909E-01   -.74027E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.22465
  alpha      = 4.21148
  Normalizat = 0.703669
  Prefactor  = 1.11892
 **********
 **   18 **HESSE 
 **********

 FCN=   7280.587     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      269 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2246        112.83        .12493E-03   -1.5410    
   2  alpha         4.2115        2.8602        .33918E-01    .75405    
   3  Normalizat    .70367        .28182        .50514E-03   -1.0375    
   4  Prefactor     1.1189        .10815        .15437E-03   -.88864    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.24135e-06
Minuit parameter uncertainties:
  1  31.7494
  2  9.53505
  3  0.282404
  4  0.10817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885453': 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): 102
logL (Free Index) = 7280.58743511
delta logL = 0.522799655131

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  2.225e+00  3.175e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  4.211e+00  9.535e+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.119e+00  1.082e-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:  7.037e-01  2.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.14
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 4.21 +/- 9.54
Photon Flux (Free Index): 9.25e-08 +/- 1.07e-07
Energy Flux (Free Index): 1.40e-05 +/- 3.22e-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/885453/cmap_HighResolution_298944001_299203201_4FGL_J2024.6-3252_daily_bin230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-05', comment='SUCCESS', energy_flux2='1.40e-05', dlogl='5.23e-01', photon_flux2='9.25e-08', job_status='DONE', time_completed='2021-09-25 03:02:18.012321', photon_index_error2='9.54', photon_index2='4.21', ts='0.00', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='3.22e-05', EG='0.80', time_epoch_completed='1632564138.01', return_code='0', job_id='885453', GAL2='1.12', EG2='0.70', return_code2='102', photon_flux_error2='1.07e-07', ts2='1.14', photon_index='2.35' WHERE bin_id='230' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:02:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 885453: <4FGL_J2024.6-3252_daily_bin230> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin230 306.158 -32.874 298944001 299203201 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 :                                   648.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            671 sec.

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

