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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin1320
RA = 306.158, Dec = -32.874
tmin = 581472001, tmax = 581731201
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='891272', job_status='RUN', time_executed='2021-09-25 03:12:10.998061', time_epoch_executed='1632564731.0' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='1320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891272

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891272/ft1_4FGL_J2024.6-3252_daily_bin1320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891272/ft2_4FGL_J2024.6-3252_daily_bin1320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891272/ft1_4FGL_J2024.6-3252_daily_bin1320.fits outfile=/scratch/kocevski/891272/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin1320.fits ra=306.158 dec=-32.874 rad=12.0 tmin=581472001.0 tmax=581731201.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 2.80
user 2.57
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891272/ft1_filtered_4FGL_J2024.6-3252_daily_bin1320.fits" evtable="EVENTS" scfile=/scratch/kocevski/891272/ft2_4FGL_J2024.6-3252_daily_bin1320.fits sctable="SC_DATA" outfile=/scratch/kocevski/891272/ltcube_581472001_581731201_4FGL_J2024.6-3252_daily_bin1320.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/891272/ft2_4FGL_J2024.6-3252_daily_bin1320.fits
.....................!
real 14.67
user 14.27
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891272/ft1_filtered_4FGL_J2024.6-3252_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/891272/ft2_4FGL_J2024.6-3252_daily_bin1320.fits sctable="SC_DATA" expcube=/scratch/kocevski/891272/ltcube_581472001_581731201_4FGL_J2024.6-3252_daily_bin1320.fits outfile=/scratch/kocevski/891272/expmap_581472001_581731201_4FGL_J2024.6-3252_daily_bin1320.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/891272/ltcube_581472001_581731201_4FGL_J2024.6-3252_daily_bin1320.fits
.....................!
real 191.39
user 185.67
sys 5.25

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/891272/ft1_filtered_4FGL_J2024.6-3252_daily_bin1320.fits scfile=/scratch/kocevski/891272/ft2_4FGL_J2024.6-3252_daily_bin1320.fits outfile=/scratch/kocevski/891272/cmap_581472001_581731201_4FGL_J2024.6-3252_daily_bin1320.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891272/ft1_filtered_4FGL_J2024.6-3252_daily_bin1320.fits scfile=/scratch/kocevski/891272/ft2_4FGL_J2024.6-3252_daily_bin1320.fits outfile=/scratch/kocevski/891272/cmap_HighResolution_581472001_581731201_4FGL_J2024.6-3252_daily_bin1320.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.112       1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    17.251       1.0000         .10000E-03   10000.    
     7 'norm      '    67.749       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .50370E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    16.898       1.0000         .10000E-03   10000.    
    10 'Prefactor '    77.754       1.0000         .10000E-03   10000.    
    11 'norm      '    12.600       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7530       1.0000         .10000E-03   10000.    
    14 'Prefactor '    63.711       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10287E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3128       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85717       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=   5328.866     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     2282 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.077        .18142E-02** at limit **
   2  norm          .10000E-03    13.497        .18142E-02** at limit **
   3  Prefactor     13.113        9.7490        .11062E-03    .24666E-04
   4  norm          .10000E-03    .38421        .86907E-04** at limit **
   5  Prefactor     .10000E-03    15.787        .18142E-02** at limit **
   6  norm          17.251        16.389        .96429E-04    .21339E-04
   7  norm          67.732        33.014        .48764E-04    .10258E-04
   8  Prefactor     .10000E-03    47.829        .16231    ** at limit **
   9  norm          16.887        18.356        .97433E-04    .22053E-04
  10  Prefactor     77.814        89.189        .22770E-03    .11284E-04
  11  norm          12.602        15.451        .11285E-03    .36268E-05
  12  Prefactor     .10000E-03    10.273        .18142E-02** at limit **
  13  Prefactor     5.7483        6.9690        .16746E-03   -.10184E-05
  14  Prefactor     63.643        68.979        .25138E-03   -.81407E-06
  15  Prefactor     .10000E-03    75.458        .18142E-02** at limit **
  16  norm          .10000E-03    10.193        .18142E-02** at limit **
  17  Prefactor     .10000E-03    14.253        .18142E-02** at limit **
  18  Prefactor     .10000E-03    12.940        .18142E-02** at limit **
  19  Normalizat    1.3131        .35858        .37503E-03    .92064E-04
  20  Prefactor     .85706        .13525        .17325E-03    .91789E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.1127
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 17.2507
  norm       = 67.7319
  Prefactor  = 0.0001
  norm       = 16.8869
  Prefactor  = 77.8141
  norm       = 12.6023
  Prefactor  = 0.0001
  Prefactor  = 5.74828
  Prefactor  = 63.6428
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.31311
  Prefactor  = 0.857057
 **********
 **   18 **HESSE 
 **********

 FCN=   5328.866     FROM HESSE     STATUS=OK           281 CALLS     2563 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.079        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    13.497        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.113        9.7487        .44248E-05   -1.4984    
   4  norm          .10000E-03    .38421        .17381E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.787        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.251        16.388        .38572E-05   -1.4877    
   7  norm          67.732        33.011        .19506E-05   -1.4060    
   8  Prefactor     .10000E-03    47.614        .16295       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.887        18.353        .38973E-05   -1.4886    
  10  Prefactor     77.814        89.178        .91082E-05   -1.3941    
  11  norm          12.602        15.451        .45139E-05   -1.4998    
  12  Prefactor     .10000E-03    10.273        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7483        6.9682        .66982E-05   -1.5228    
  14  Prefactor     63.643        68.977        .10055E-04   -1.4111    
  15  Prefactor     .10000E-03    75.461        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    10.193        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.255        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3131        .35881        .15001E-04   -.83176    
  20  Prefactor     .85706        .13535        .34650E-04   -.97658    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09617e-11
Minuit parameter uncertainties:
  1  8.42986e-06
  2  4.19497e-06
  3  9.74991
  4  2.91858e-07
  5  2.14183e-07
  6  16.3922
  7  33.0194
  8  5.76208e-05
  9  18.3594
  10  89.3314
  11  15.4557
  12  7.49802e-06
  13  6.96915
  14  69.064
  15  1.61393e-05
  16  1.70303e-06
  17  1.60724e-05
  18  1.18129e-05
  19  0.359491
  20  0.135398
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.689e+01  1.836e+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:  8.571e-01  1.354e-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.313e+00  3.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.10
Ra Dec: 306.158 -32.874
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 6.64e-08 +/- 7.21e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 2.33e-05

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

Saving results to:
/scratch/kocevski/891272/likelihoodResults_581472001_581731201_4FGL_J2024.6-3252_daily_bin1320.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) = 5328.37995371
delta logL = 0.485741600221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5328.37737086
delta logL = 0.488324450606

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2482       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4746       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87885       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5328.377     FROM MIGRAD    STATUS=FAILED        80 CALLS      301 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2466        26.591        .13179E-03   -.35196E-04
   2  alpha         3.4750        1.8613        .15808E-01    .16338E-03
   3  Normalizat    1.2230        .36617        .38614E-03   -.26072E-03
   4  Prefactor     .87915        .13908        .17121E-03   -.65208E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5328.377     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      374 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2466        26.591        .28141E-03   -1.5100    
   2  alpha         3.4750        1.8613        .21686E-02    .40065    
   3  Normalizat    1.2230        .36617        .44586E-03   -.85894    
   4  Prefactor     .87915        .13908        .17325E-03   -.96873    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5328.377     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      403 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2464        17.673        .52715E-05   -.80227E-04
   2  alpha         3.4751        1.3464        .31616E-02    .21000E-05
   3  Normalizat    1.2230        .36316        .77228E-04   -.94509E-04
   4  Prefactor     .87915        .13700        .34242E-04   -.23374E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.24636
  alpha      = 3.47506
  Normalizat = 1.22303
  Prefactor  = 0.879154
 **********
 **   18 **HESSE 
 **********

 FCN=   5328.377     FROM HESSE     STATUS=OK            23 CALLS      426 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2464        16.710        .10543E-05   -1.5100    
   2  alpha         3.4751        1.2817        .12646E-03    .40066    
   3  Normalizat    1.2230        .36293        .15446E-04   -.85894    
   4  Prefactor     .87915        .13682        .68484E-05   -.96873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50146e-11
Minuit parameter uncertainties:
  1  16.7183
  2  1.3593
  3  0.363682
  4  0.136872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891272': 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) = 5328.37736796
delta logL = 0.488327342137

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  9.246e+00  1.672e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  3.475e+00  1.359e+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:  8.792e-01  1.369e-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.223e+00  3.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.16
Ra Dec: 306.158 -32.874
Photon Index (Free Index): 3.48 +/- 1.36
Photon Flux (Free Index): 1.38e-07 +/- 1.13e-07
Energy Flux (Free Index): 2.46e-05 +/- 2.02e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.07e-05', comment='SUCCESS', photon_flux='6.64e-08', energy_flux2='2.46e-05', photon_flux_error='7.21e-08', dlogl='4.88e-01', energy_flux='2.14e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2021-09-25 03:22:07.795637', photon_index_error2='1.36', photon_index2='3.48', ts='1.10', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='2.19e-07', energy_flux_error2='2.02e-05', EG='1.31', time_epoch_completed='1632565327.8', return_code='0', job_id='891272', GAL2='0.88', EG2='1.22', return_code2='0', energy_flux_error='2.33e-05', photon_flux_error2='1.13e-07', ts2='2.16', photon_index='2.35' WHERE bin_id='1320' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:22:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 891272: <4FGL_J2024.6-3252_daily_bin1320> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin1320> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 03:06:52 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:08:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 03:08:23 2021
Terminated at Sat Sep 25 03:22:08 2021
Results reported at Sat Sep 25 03:22:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin1320 306.158 -32.874 581472001 581731201 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 :                                   592.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             218.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            916 sec.

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

