/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 0 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 = 7037
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2024.6-3252_daily_bin109
RA = 306.158, Dec = -32.874
tmin = 267580801, tmax = 267840001
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='883799', job_status='RUN', time_executed='2021-09-25 02:48:26.542848', time_epoch_executed='1632563306.54' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883799

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883799/ft1_4FGL_J2024.6-3252_daily_bin109.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883799/ft2_4FGL_J2024.6-3252_daily_bin109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883799/ft1_4FGL_J2024.6-3252_daily_bin109.fits outfile=/scratch/kocevski/883799/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin109.fits ra=306.158 dec=-32.874 rad=12.0 tmin=267580801.0 tmax=267840001.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 1.64
user 1.27
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/883799/ft2_4FGL_J2024.6-3252_daily_bin109.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/883799/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin109.fits evtable="EVENTS" outfile="/scratch/kocevski/883799/ft1_filtered_4FGL_J2024.6-3252_daily_bin109.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.64
user 0.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883799/ft1_filtered_4FGL_J2024.6-3252_daily_bin109.fits" evtable="EVENTS" scfile=/scratch/kocevski/883799/ft2_4FGL_J2024.6-3252_daily_bin109.fits sctable="SC_DATA" outfile=/scratch/kocevski/883799/ltcube_267580801_267840001_4FGL_J2024.6-3252_daily_bin109.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/883799/ft2_4FGL_J2024.6-3252_daily_bin109.fits
.....................!
real 18.00
user 17.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883799/ft1_filtered_4FGL_J2024.6-3252_daily_bin109.fits evtable="EVENTS" scfile=/scratch/kocevski/883799/ft2_4FGL_J2024.6-3252_daily_bin109.fits sctable="SC_DATA" expcube=/scratch/kocevski/883799/ltcube_267580801_267840001_4FGL_J2024.6-3252_daily_bin109.fits outfile=/scratch/kocevski/883799/expmap_267580801_267840001_4FGL_J2024.6-3252_daily_bin109.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/883799/ltcube_267580801_267840001_4FGL_J2024.6-3252_daily_bin109.fits
.....................!
real 196.66
user 190.66
sys 5.07

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/883799/ft1_filtered_4FGL_J2024.6-3252_daily_bin109.fits scfile=/scratch/kocevski/883799/ft2_4FGL_J2024.6-3252_daily_bin109.fits outfile=/scratch/kocevski/883799/cmap_267580801_267840001_4FGL_J2024.6-3252_daily_bin109.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.58
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/883799/ft1_filtered_4FGL_J2024.6-3252_daily_bin109.fits scfile=/scratch/kocevski/883799/ft2_4FGL_J2024.6-3252_daily_bin109.fits outfile=/scratch/kocevski/883799/cmap_HighResolution_267580801_267840001_4FGL_J2024.6-3252_daily_bin109.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.59
user 0.44
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/883799/ft1_filtered_4FGL_J2024.6-3252_daily_bin109.fits evtable="EVENTS" scfile=/scratch/kocevski/883799/ft2_4FGL_J2024.6-3252_daily_bin109.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/883799/Model_4FGL_J2024.6-3252_daily_bin109.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/883799/ft1_filtered_4FGL_J2024.6-3252_daily_bin109.fits....................!
real 85.34
user 83.79
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2460       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    27.656       1.0000         .10000E-03   10000.    
     7 'norm      '    .74222E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.3167       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.537       1.0000         .10000E-03   10000.    
    11 'norm      '    15.699       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11651E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .53790E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19483E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    19.560       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10401E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .57862       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1815       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=   10351.15     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     1762 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.195       -.69481E-06** at limit **
   2  norm          .10000E-03    5.7396       -.25650E-07** at limit **
   3  Prefactor     .10000E-03    1.7698       -.10503E-06** at limit **
   4  norm          2.2461        .87109        .31424E-06    .42362E-02
   5  Prefactor     .10000E-03    6.4292       -.26310E-07** at limit **
   6  norm          27.657        11.132       -.63014E-07   -.79832E-04
   7  norm          .10000E-03    21.655       -.25769E-06** at limit **
   8  Prefactor     .10000E-03    24.182       -.29071E-06** at limit **
   9  norm          9.3198        10.346        .20174E-06   -.14993E-03
  10  Prefactor     10.556        48.355       -.29725E-05   -.22830E-03
  11  norm          15.679        21.236        .75352E-06    .16014E-03
  12  Prefactor     .10000E-03    15.423        .13358E-05** at limit **
  13  Prefactor     .10004E-03    9.6525        .46148E-05** at limit **
  14  Prefactor     .10000E-03    19.126       -.71247E-07** at limit **
  15  Prefactor     .10002E-03    295.88       -.35969E-05** at limit **
  16  norm          19.540        20.070       -.77782E-06   -.22996E-03
  17  Prefactor     .10000E-03    25.140        .80831E-07** at limit **
  18  Prefactor     .10000E-03    8.3540       -.16387E-06** at limit **
  19  Normalizat    .57832        .23184        .50825E-06   -.50307E-03
  20  Prefactor     1.1816        .88756E-01   -.59867E-06   -.16057E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.24612
  Prefactor  = 0.0001
  norm       = 27.6575
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.31981
  Prefactor  = 10.5558
  norm       = 15.6787
  Prefactor  = 0.000100002
  Prefactor  = 0.000100037
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  norm       = 19.5395
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.578317
  Prefactor  = 1.18158
 **********
 **   18 **HESSE 
 **********

 FCN=   10351.15     FROM HESSE     STATUS=OK           283 CALLS     2045 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.7412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.7935        .13211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2461        .90522        .29764E-03   -1.5408    
   5  Prefactor     .10000E-03    6.4317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          27.657        11.121        .76180E-04   -1.4656    
   7  norm          .10000E-03    22.609        .41892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    24.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.3198        10.325        .13130E-03   -1.5097    
  10  Prefactor     10.556        48.221        .12343E-03   -1.5058    
  11  norm          15.679        21.296        .10109E-03   -1.4916    
  12  Prefactor     .10000E-03    15.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10004E-03    13.124        .35180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    304.26        .40505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.540        20.191        .90562E-04   -1.4824    
  17  Prefactor     .10000E-03    25.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.3637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .57832        .23940        .51659E-03   -1.0891    
  20  Prefactor     1.1816        .93493E-01    .14705E-03   -.86900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.01317e-09
Minuit parameter uncertainties:
  1  0.000157604
  2  3.31231e-06
  3  6.5102e-06
  4  0.905223
  5  2.75572e-06
  6  11.1222
  7  2.92034e-05
  8  0.000109141
  9  10.327
  10  45.1826
  11  21.3063
  12  0.000310456
  13  0.00138778
  14  2.95936e-05
  15  0.00544422
  16  20.198
  17  3.65271e-05
  18  2.54092e-05
  19  0.239828
  20  0.0935058
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  9.320e+00  1.033e+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.182e+00  9.351e-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:  5.783e-01  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.02
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 3.66e-08 +/- 4.06e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.31e-05

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

Saving results to:
/scratch/kocevski/883799/likelihoodResults_267580801_267840001_4FGL_J2024.6-3252_daily_bin109.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) = 10350.3607874
delta logL = 0.792622270152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10350.3595938
delta logL = 0.793815884708

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9798       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4232       1.0000          .0000       5.0000    
     3 'Normalizat'    .52450       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1922       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=   10350.36     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      277 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9790        9.5049        .16420E-03    .38342E-03
   2  alpha         3.4234        1.1292        .19102E-01    .33343E-04
   3  Normalizat    .52407        .24011        .54100E-03   -.17698E-03
   4  Prefactor     1.1923        .93957E-01    .14640E-03   -.49204E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.97899
  alpha      = 3.42338
  Normalizat = 0.524067
  Prefactor  = 1.19232
 **********
 **   18 **HESSE 
 **********

 FCN=   10350.36     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9790        7.5211        .65682E-05   -1.5219    
   2  alpha         3.4234        .90681        .76410E-03    .37831    
   3  Normalizat    .52407        .23977        .21640E-04   -1.1131    
   4  Prefactor     1.1923        .93754E-01    .29281E-04   -.86568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8877e-10
Minuit parameter uncertainties:
  1  7.5223
  2  0.931573
  3  0.240244
  4  0.0937666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883799': 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) = 10350.359592
delta logL = 0.79381761184

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  5.979e+00  7.522e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.423e+00  9.316e-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.192e+00  9.377e-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:  5.241e-01  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.69
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 3.42 +/- 0.93
Photon Flux (Free Index): 8.33e-08 +/- 6.14e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.08e-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/883799/cmap_HighResolution_267580801_267840001_4FGL_J2024.6-3252_daily_bin109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-05', comment='SUCCESS', photon_flux='3.66e-08', energy_flux2='1.51e-05', photon_flux_error='4.06e-08', dlogl='7.94e-01', energy_flux='1.18e-05', photon_flux2='8.33e-08', job_status='DONE', time_completed='2021-09-25 03:01:39.818274', photon_index_error2='0.93', photon_index2='3.42', ts='1.02', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.22e-07', energy_flux_error2='1.08e-05', EG='0.58', time_epoch_completed='1632564099.82', return_code='0', job_id='883799', GAL2='1.19', EG2='0.52', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='6.14e-08', ts2='2.69', photon_index='2.35' WHERE bin_id='109' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:01:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 883799: <4FGL_J2024.6-3252_daily_bin109> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin109> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 25 02:46:05 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:48:16 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:48:16 2021
Terminated at Sat Sep 25 03:01:40 2021
Results reported at Sat Sep 25 03:01:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin109 306.158 -32.874 267580801 267840001 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 :                                   790.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             367.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            935 sec.

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

