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


Performing analysis on: 4FGL_J2024.6-3252_daily_bin684
RA = 306.158, Dec = -32.874
tmin = 416620801, tmax = 416880001
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='888039', job_status='RUN', time_executed='2021-09-25 02:57:38.250242', time_epoch_executed='1632563858.25' WHERE source_name='4FGL J2024.6-3252' and cadence='daily' and bin_id='684'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888039

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888039/ft1_4FGL_J2024.6-3252_daily_bin684.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888039/ft2_4FGL_J2024.6-3252_daily_bin684.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888039/ft1_4FGL_J2024.6-3252_daily_bin684.fits outfile=/scratch/kocevski/888039/ft1_filteredMKT_4FGL_J2024.6-3252_daily_bin684.fits ra=306.158 dec=-32.874 rad=12.0 tmin=416620801.0 tmax=416880001.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 6.64
user 6.34
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888039/ft1_filtered_4FGL_J2024.6-3252_daily_bin684.fits" evtable="EVENTS" scfile=/scratch/kocevski/888039/ft2_4FGL_J2024.6-3252_daily_bin684.fits sctable="SC_DATA" outfile=/scratch/kocevski/888039/ltcube_416620801_416880001_4FGL_J2024.6-3252_daily_bin684.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/888039/ft2_4FGL_J2024.6-3252_daily_bin684.fits
.....................!
real 18.12
user 17.52
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888039/ft1_filtered_4FGL_J2024.6-3252_daily_bin684.fits evtable="EVENTS" scfile=/scratch/kocevski/888039/ft2_4FGL_J2024.6-3252_daily_bin684.fits sctable="SC_DATA" expcube=/scratch/kocevski/888039/ltcube_416620801_416880001_4FGL_J2024.6-3252_daily_bin684.fits outfile=/scratch/kocevski/888039/expmap_416620801_416880001_4FGL_J2024.6-3252_daily_bin684.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/888039/ltcube_416620801_416880001_4FGL_J2024.6-3252_daily_bin684.fits
.....................!
real 239.66
user 232.79
sys 6.19

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/888039/ft1_filtered_4FGL_J2024.6-3252_daily_bin684.fits scfile=/scratch/kocevski/888039/ft2_4FGL_J2024.6-3252_daily_bin684.fits outfile=/scratch/kocevski/888039/cmap_416620801_416880001_4FGL_J2024.6-3252_daily_bin684.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.67
user 0.48
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888039/ft1_filtered_4FGL_J2024.6-3252_daily_bin684.fits scfile=/scratch/kocevski/888039/ft2_4FGL_J2024.6-3252_daily_bin684.fits outfile=/scratch/kocevski/888039/cmap_HighResolution_416620801_416880001_4FGL_J2024.6-3252_daily_bin684.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.67
user 0.48
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/888039/ft1_filtered_4FGL_J2024.6-3252_daily_bin684.fits evtable="EVENTS" scfile=/scratch/kocevski/888039/ft2_4FGL_J2024.6-3252_daily_bin684.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888039/Model_4FGL_J2024.6-3252_daily_bin684.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/888039/ft1_filtered_4FGL_J2024.6-3252_daily_bin684.fits.....................!
real 96.73
user 94.91
sys 1.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.8960       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .21456E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    2.4258       1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.545       1.0000         .10000E-03   10000.    
     6 'norm      '    10.167       1.0000         .10000E-03   10000.    
     7 'norm      '    .59252       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .14670E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.762       1.0000         .10000E-03   10000.    
    11 'norm      '    6.7822       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10431E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .32380E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    32.585       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.272       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .65850       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0947       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=   8481.898     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2133 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.331        .22161E-04** at limit **
   2  norm          9.8915        17.741        .73015E-06   -.88552E-04
   3  Prefactor     .10431E-03    4.1672        .40620E-06** at limit **
   4  norm          2.4248        1.5885       -.96845E-07   -.79606E-03
   5  Prefactor     34.557        25.974        .30768E-05   -.18306E-04
   6  norm          10.166        10.857       -.95331E-07   -.38662E-05
   7  norm          .58436        7.2543       -.19779E-05   -.55161E-04
   8  Prefactor     .10000E-03    37.151       -.30904E-04** at limit **
   9  norm          .11997E-02    6.6186       -.19300E-05** at limit **
  10  Prefactor     47.764        64.727        .12313E-05    .67081E-04
  11  norm          6.7820        16.325        .96887E-07    .73741E-04
  12  Prefactor     .10000E-03    22.827       -.11891E-04** at limit **
  13  Prefactor     .10000E-03    6.9207       -.23050E-06** at limit **
  14  Prefactor     .10001E-03    408.21       -.48877E-03** at limit **
  15  Prefactor     .10000E-03    46.057        .17696E-04** at limit **
  16  norm          32.560        32.357       -.11328E-04   -.21893E-04
  17  Prefactor     .10000E-03    14.486       -.19451E-06** at limit **
  18  Prefactor     32.257        30.124       -.50612E-05    .32490E-04
  19  Normalizat    .65867        .28751        .45835E-05    .38838E-03
  20  Prefactor     1.0948        .95281E-01   -.41671E-06    .10265E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 9.89154
  Prefactor  = 0.00010431
  norm       = 2.4248
  Prefactor  = 34.557
  norm       = 10.1658
  norm       = 0.584358
  Prefactor  = 0.0001
  norm       = 0.0011997
  Prefactor  = 47.7642
  norm       = 6.78203
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 32.5605
  Prefactor  = 0.0001
  Prefactor  = 32.2568
  Normalizat = 0.658666
  Prefactor  = 1.09481
 **********
 **   18 **HESSE 
 **********

 FCN=   8481.898     FROM HESSE     STATUS=OK           307 CALLS     2440 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.8915        17.742        .12738E-03   -1.5079    
   3  Prefactor     .10431E-03    5.2715        .49329E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.4248        1.5800        .89160E-04   -1.5397    
   5  Prefactor     34.557        26.011        .68181E-04   -1.4532    
   6  norm          10.166        10.851        .12566E-03   -1.5070    
   7  norm          .58436        38.927        .46075E-02   -1.5555    
   8  Prefactor     .10000E-03    37.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11997E-02    9.7144        .75589E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.764        64.469        .58021E-04   -1.4325    
  11  norm          6.7820        16.304        .15407E-03   -1.5187    
  12  Prefactor     .10000E-03    22.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.0026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    408.17        .19744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    46.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          32.560        32.351        .70195E-04   -1.4566    
  17  Prefactor     .10000E-03    14.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.257        30.116        .70535E-04   -1.4571    
  19  Normalizat    .65867        .30378        .54020E-03   -1.0555    
  20  Prefactor     1.0948        .10451        .14868E-03   -.89633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82541e-08
Minuit parameter uncertainties:
  1  0.000171969
  2  17.7519
  3  0.00953417
  4  1.58004
  5  26.0194
  6  10.853
  7  9.54445
  8  1.6964e-06
  9  0.20675
  10  64.5635
  11  16.3148
  12  2.64159e-05
  13  8.44303e-06
  14  0.00391731
  15  0.000138166
  16  32.3688
  17  1.93912e-05
  18  30.1303
  19  0.304557
  20  0.104534
Done.

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

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  1.200e-03  2.068e-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.095e+00  1.045e-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:  6.587e-01  3.046e-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.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/888039/likelihoodResults_416620801_416880001_4FGL_J2024.6-3252_daily_bin684.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): 102
logL (Free Index) = 8481.89801197
delta logL = 1.65528035723e-10

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8481.89801197
delta logL = 2.85581336357e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11997E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3523       1.0000          .0000       5.0000    
     3 'Normalizat'    .65866       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0948       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=   8481.895     FROM MIGRAD    STATUS=CONVERGED    169 CALLS      335 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66755        92.655        .10319        .45894E-03
   2  alpha         2.7795        2.8119        .41243        .18897E-04
   3  Normalizat    .65597        .31433E-01    .12200        .38388E-04
   4  Prefactor     1.0948        .10944E-01    .37787E-01   -.38832E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.667545
  alpha      = 2.77947
  Normalizat = 0.655971
  Prefactor  = 1.09479
 **********
 **   18 **HESSE 
 **********

 FCN=   8481.895     FROM HESSE     STATUS=OK            35 CALLS      370 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66755        267.24        .37710E-02   -1.5545    
   2  alpha         2.7795        3.6065        .12778        .11202    
   3  Normalizat    .65597        .29724        .54123E-03   -1.0566    
   4  Prefactor     1.0948        .10314        .14868E-03   -.89633    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71899e-10
Minuit parameter uncertainties:
  1  26.832
  2  12.1795
  3  0.297966
  4  0.103156
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888039': 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) = 8481.89466861
delta logL = 0.00334335652587

Extracting fit parameters...

4FGL J2024.6-3252
   Spectrum: LogParabola
324         norm:  6.675e-01  2.683e+01  1.000e-04  1.000e+04 ( 1.000e-12)
325        alpha:  2.779e+00  1.218e+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.095e+00  1.032e-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:  6.560e-01  2.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/888039/cmap_HighResolution_416620801_416880001_4FGL_J2024.6-3252_daily_bin684.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-25 03:13:03.866222', job_id='888039', GAL2='1.09', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1632564783.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.34e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='684' AND source_name='4FGL J2024.6-3252' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:13:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 888039: <4FGL_J2024.6-3252_daily_bin684> in cluster <slac> Done

Job <4FGL_J2024.6-3252_daily_bin684> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 02:56:32 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 02:57:14 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:57:14 2021
Terminated at Sat Sep 25 03:13:04 2021
Results reported at Sat Sep 25 03:13:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.6-3252_daily_bin684 306.158 -32.874 416620801 416880001 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 :                                   921.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             339.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            992 sec.

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

