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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin278
RA = 306.158, Dec = -32.874
tmin = 311385601, tmax = 311644801
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='885527', job_status='RUN', time_executed='2021-09-25 02:53:51.002027', time_epoch_executed='1632563631.0' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='278'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885527

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885527/ft1_4FGL_J2024.6-3252_daily_bin278.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885527/ft2_4FGL_J2024.6-3252_daily_bin278.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885527/ft1_4FGL_J2024.6-3252_daily_bin278.fits outfile=/scratch/kocevski/885527/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin278.fits ra=306.158 dec=-32.874 rad=12.0 tmin=311385601.0 tmax=311644801.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.53
user 3.27
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885527/ft1_filtered_4FGL_J2024.6-3252_daily_bin278.fits" evtable="EVENTS" scfile=/scratch/kocevski/885527/ft2_4FGL_J2024.6-3252_daily_bin278.fits sctable="SC_DATA" outfile=/scratch/kocevski/885527/ltcube_311385601_311644801_4FGL_J2024.6-3252_daily_bin278.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/885527/ft2_4FGL_J2024.6-3252_daily_bin278.fits
.....................!
real 12.98
user 12.59
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885527/ft1_filtered_4FGL_J2024.6-3252_daily_bin278.fits evtable="EVENTS" scfile=/scratch/kocevski/885527/ft2_4FGL_J2024.6-3252_daily_bin278.fits sctable="SC_DATA" expcube=/scratch/kocevski/885527/ltcube_311385601_311644801_4FGL_J2024.6-3252_daily_bin278.fits outfile=/scratch/kocevski/885527/expmap_311385601_311644801_4FGL_J2024.6-3252_daily_bin278.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/885527/ltcube_311385601_311644801_4FGL_J2024.6-3252_daily_bin278.fits
.....................!
real 192.20
user 186.39
sys 5.31

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/885527/ft1_filtered_4FGL_J2024.6-3252_daily_bin278.fits scfile=/scratch/kocevski/885527/ft2_4FGL_J2024.6-3252_daily_bin278.fits outfile=/scratch/kocevski/885527/cmap_311385601_311644801_4FGL_J2024.6-3252_daily_bin278.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885527/ft1_filtered_4FGL_J2024.6-3252_daily_bin278.fits scfile=/scratch/kocevski/885527/ft2_4FGL_J2024.6-3252_daily_bin278.fits outfile=/scratch/kocevski/885527/cmap_HighResolution_311385601_311644801_4FGL_J2024.6-3252_daily_bin278.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.62
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/885527/ft1_filtered_4FGL_J2024.6-3252_daily_bin278.fits evtable="EVENTS" scfile=/scratch/kocevski/885527/ft2_4FGL_J2024.6-3252_daily_bin278.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/885527/Model_4FGL_J2024.6-3252_daily_bin278.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/885527/ft1_filtered_4FGL_J2024.6-3252_daily_bin278.fits.....................!
real 84.48
user 83.05
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    29.719       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6488       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6095       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.4575       1.0000         .10000E-03   10000.    
     7 'norm      '    6.7133       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10988E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.4241       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.017       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4972       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.802       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .91330E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    91.842       1.0000         .10000E-03   10000.    
    15 'Prefactor '    39.205       1.0000         .10000E-03   10000.    
    16 'norm      '    .10268E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4327       1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.430       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .89761       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0986       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=   9849.602     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2076 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.249       -.60524E-08** at limit **
   2  norm          29.719        20.347        .61355E-07   -.78009E-05
   3  Prefactor     4.6471        5.1752        .60843E-05   -.10025E-02
   4  norm          1.6096        1.0540        .30822E-07   -.32370E-03
   5  Prefactor     .10000E-03    9.2289       -.13414E-07** at limit **
   6  norm          5.4532        9.0195        .18713E-06   -.55680E-04
   7  norm          6.7103        9.4021        .43388E-07   -.48477E-04
   8  Prefactor     .10000E-03    105.66        .33077E-05** at limit **
   9  norm          7.4236        7.7654       -.13289E-06   -.38017E-04
  10  Prefactor     22.983        43.171       -.36488E-05   -.12375E-03
  11  norm          1.4509        42.250        .15091E-05   -.33510E-04
  12  Prefactor     30.828        26.463        .75577E-06    .51643E-04
  13  Prefactor     .10000E-03    2.7385       -.69411E-07** at limit **
  14  Prefactor     91.707        72.705       -.11445E-04   -.45284E-03
  15  Prefactor     39.162        62.872       -.44730E-05   -.12081E-03
  16  norm          .10000E-03    11.269        .21565E-08** at limit **
  17  Prefactor     9.4282        19.701        .76024E-06    .78601E-05
  18  Prefactor     40.423        22.668        .15473E-06   -.17430E-05
  19  Normalizat    .89813        .24982        .24346E-06   -.10262E-03
  20  Prefactor     1.0985        .90017E-01   -.87241E-06    .35801E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 29.7195
  Prefactor  = 4.64714
  norm       = 1.60964
  Prefactor  = 0.0001
  norm       = 5.45322
  norm       = 6.71029
  Prefactor  = 0.0001
  norm       = 7.42358
  Prefactor  = 22.9827
  norm       = 1.45094
  Prefactor  = 30.828
  Prefactor  = 0.000100004
  Prefactor  = 91.7074
  Prefactor  = 39.1623
  norm       = 0.0001
  Prefactor  = 9.42821
  Prefactor  = 40.4232
  Normalizat = 0.898128
  Prefactor  = 1.09853
 **********
 **   18 **HESSE 
 **********

 FCN=   9849.602     FROM HESSE     STATUS=OK           293 CALLS     2369 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          29.719        20.356        .73494E-04   -1.4617    
   3  Prefactor     4.6471        5.2965        .93330E-03   -1.5277    
   4  norm          1.6096        1.0425        .78304E-04   -1.5454    
   5  Prefactor     .10000E-03    9.2431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.4532        9.0108        .17200E-03   -1.5241    
   7  norm          6.7103        9.3980        .15487E-03   -1.5190    
   8  Prefactor     .10000E-03    106.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.4236        7.7625        .14720E-03   -1.5163    
  10  Prefactor     22.983        43.168        .83490E-04   -1.4749    
  11  norm          1.4509        42.237        .35009E-03   -1.5467    
  12  Prefactor     30.828        26.234        .72193E-04   -1.4597    
  13  Prefactor     .10000E-03    10.300        .31623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     91.707        76.056        .20966E-03   -1.3790    
  15  Prefactor     39.162        63.260        .64015E-04   -1.4456    
  16  norm          .10000E-03    11.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.4282        19.761        .13049E-03   -1.5094    
  18  Prefactor     40.423        22.678        .63041E-04   -1.4436    
  19  Normalizat    .89813        .27806        .45939E-03   -.96526    
  20  Prefactor     1.0985        .10149        .15826E-03   -.89514    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76028e-09
Minuit parameter uncertainties:
  1  3.15648e-05
  2  20.3603
  3  5.297
  4  1.04255
  5  2.00764e-05
  6  9.01299
  7  9.40004
  8  0.000405614
  9  7.76353
  10  43.2263
  11  15.6684
  12  26.2437
  13  0.000423547
  14  76.1374
  15  63.3687
  16  4.12236e-05
  17  19.7746
  18  22.6824
  19  0.278508
  20  0.101512
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  7.424e+00  7.764e+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.099e+00  1.015e-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:  8.981e-01  2.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.03
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 9.42e-06 +/- 9.85e-06

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

Saving results to:
/scratch/kocevski/885527/likelihoodResults_311385601_311644801_4FGL_J2024.6-3252_daily_bin278.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) = 9849.15704474
delta logL = 0.444503924255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9848.90307932
delta logL = 0.698469347084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3521       1.0000         .10000E-03   10000.    
     2 'alpha     '    .96035       1.0000          .0000       5.0000    
     3 'Normalizat'    .92029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0963       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=   9848.903     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      223 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3481        2.6501        .66817E-02   -.31395E-03
   2  alpha         .96138        .56229        .50000       -.58713E-04
   3  Normalizat    .92026        .23381        .10252        .62949E-04
   4  Prefactor     1.0964        .88661E-01    .37727E-01    .55737E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.34809
  alpha      = 0.96138
  Normalizat = 0.920256
  Prefactor  = 1.09635
 **********
 **   18 **HESSE 
 **********

 FCN=   9848.903     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3481        4.3413        .15875E-03   -1.5401    
   2  alpha         .96138        .91675        .26561E-02   -.66295    
   3  Normalizat    .92026        .26287        .45434E-03   -.95752    
   4  Prefactor     1.0964        .10004        .15838E-03   -.89583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06317e-12
Minuit parameter uncertainties:
  1  4.3419
  2  0.953537
  3  0.263243
  4  0.100056
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885527': 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) = 9848.90307395
delta logL = 0.698474719891

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  2.348e+00  4.342e+00  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  9.614e-01  9.535e-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.096e+00  1.001e-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:  9.203e-01  2.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.42
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 0.96 +/- 0.95
Photon Flux (Free Index): 5.48e-09 +/- 7.77e-09
Energy Flux (Free Index): 1.91e-05 +/- 3.14e-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/885527/cmap_HighResolution_311385601_311644801_4FGL_J2024.6-3252_daily_bin278.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-05', comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='1.91e-05', photon_flux_error='3.05e-08', dlogl='6.98e-01', energy_flux='9.42e-06', photon_flux2='5.48e-09', job_status='DONE', time_completed='2021-09-25 03:07:09.776609', photon_index_error2='0.95', photon_index2='0.96', ts='2.03', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='3.14e-05', EG='0.90', time_epoch_completed='1632564429.78', return_code='0', job_id='885527', GAL2='1.10', EG2='0.92', return_code2='0', energy_flux_error='9.85e-06', photon_flux_error2='7.77e-09', ts2='3.42', photon_index='2.35' WHERE bin_id='278' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:07:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 885527: <4FGL_J2024.6-3252_daily_bin278> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin278 306.158 -32.874 311385601 311644801 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 :                                   795.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            957 sec.

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

