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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin361
RA = 359.817, Dec = -31.5832
tmin = 332899201, tmax = 333158401
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='245672', job_status='RUN', time_executed='2021-09-30 12:09:30.377002', time_epoch_executed='1633028970.38' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/245672

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/245672/ft1_4FGL_J2359.2-3134_daily_bin361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/245672/ft1_4FGL_J2359.2-3134_daily_bin361.fits outfile=/scratch/kocevski/245672/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin361.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=332899201.0 tmax=333158401.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 4.17
user 3.96
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.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/245672/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin361.fits evtable="EVENTS" outfile="/scratch/kocevski/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.fits" evtable="EVENTS" scfile=/scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits sctable="SC_DATA" outfile=/scratch/kocevski/245672/ltcube_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.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/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits
.....................!
real 11.67
user 11.34
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits sctable="SC_DATA" expcube=/scratch/kocevski/245672/ltcube_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.fits outfile=/scratch/kocevski/245672/expmap_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.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/245672/ltcube_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.fits
.....................!
real 189.30
user 184.87
sys 4.12

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 189 point sources and 0 extended sources

Setting source of interest to:
4FGL J2359.2-3134 @ 359.817 -31.5832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.fits scfile=/scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits outfile=/scratch/kocevski/245672/cmap_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.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=359.817 yref=-31.5832 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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.fits scfile=/scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits outfile=/scratch/kocevski/245672/cmap_HighResolution_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.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=359.817 yref=-31.5832 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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/245672/Model_4FGL_J2359.2-3134_daily_bin361.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/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.fits.....................!
real 47.97
user 46.75
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.fits', '/scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits', expMap='/scratch/kocevski/245672/expmap_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.fits', expCube='/scratch/kocevski/245672/ltcube_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/245672/Model_4FGL_J2359.2-3134_daily_bin361.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2359.2-3134'

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  8.155e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/245672/ft1_filtered_4FGL_J2359.2-3134_daily_bin361.fits
Spacecraft file(s): /scratch/kocevski/245672/ft2_4FGL_J2359.2-3134_daily_bin361.fits
Exposure map: /scratch/kocevski/245672/expmap_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.fits
Exposure cube: /scratch/kocevski/245672/ltcube_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/245672/Model_4FGL_J2359.2-3134_daily_bin361.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) = 6505.01263087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.603       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .31107E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8250       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.974       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5595       1.0000         .10000E-03   10000.    
     7 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2513       1.0000         .10000E-03   10000.    
     9 'norm      '    3.4201       1.0000         .10000E-03   10000.    
    10 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.816       1.0000         .10000E-03   10000.    
    13 'norm      '    10.792       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.377       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.382       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .61599       1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.418       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0591       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75582       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=   6505.000     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2387 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.597        33.329       -.10319E-05   -.16890E-04
   2  Prefactor     .10000E-03    1.5991       -.39195E-08** at limit **
   3  Prefactor     4.8968        18.540       -.16696E-05   -.24320E-04
   4  Prefactor     .10000E-03    3.4110        .40855E-07** at limit **
   5  Prefactor     16.974        16.911        .51610E-07    .52058E-06
   6  Prefactor     4.5586        38.124        .51342E-06   -.19464E-05
   7  norm          .10000E-03    2.3508        .51270E-07** at limit **
   8  Prefactor     2.2510        6.0727        .66090E-06   -.25458E-04
   9  norm          3.4200        3.3431       -.92351E-07   -.12797E-04
  10  norm          .10000E-03    3.8855        .13593E-06** at limit **
  11  Prefactor     .10000E-03    15.924       -.22259E-06** at limit **
  12  Prefactor     38.807        34.912       -.89802E-06   -.34227E-04
  13  norm          10.791        4.1606       -.22539E-06   -.12124E-03
  14  norm          .10000E-03    1.9088       -.14508E-06** at limit **
  15  Prefactor     22.362        25.119       -.81517E-06   -.20024E-04
  16  norm          .10000E-03    1.2893       -.62017E-07** at limit **
  17  Prefactor     .10000E-03    23.852        .20925E-07** at limit **
  18  Prefactor     20.379        24.465       -.69384E-06   -.16968E-04
  19  Prefactor     .61850        3.9907        .17699E-05   -.12376E-03
  20  Prefactor     37.451        30.620        .19775E-05    .41211E-04
  21  Normalizat    1.0591        .14983       -.43129E-06   -.63651E-04
  22  Prefactor     .75590        .16605        .72289E-07   -.70677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5965
  Prefactor  = 0.0001
  Prefactor  = 4.89677
  Prefactor  = 0.0001
  Prefactor  = 16.974
  Prefactor  = 4.55862
  norm       = 0.0001
  Prefactor  = 2.25102
  norm       = 3.41998
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.8075
  norm       = 10.7909
  norm       = 0.0001
  Prefactor  = 22.362
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.3786
  Prefactor  = 0.618498
  Prefactor  = 37.4509
  Normalizat = 1.05909
  Prefactor  = 0.7559
 **********
 **   18 **HESSE 
 **********

 FCN=   6505.000     FROM HESSE     STATUS=OK           350 CALLS     2737 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.597        33.388        .86176E-04   -1.4778    
   2  Prefactor     .10000E-03    7.3660        .17759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8968        17.181        .18314E-03   -1.5265    
   4  Prefactor     .10000E-03    3.4189        .14548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.974        16.903        .97214E-04   -1.4884    
   6  Prefactor     4.5586        38.110        .18852E-03   -1.5281    
   7  norm          .10000E-03    2.3836        .12075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2510        6.0800        .27384E-03   -1.5408    
   9  norm          3.4200        3.3505        .14017E-03   -1.5338    
  10  norm          .10000E-03    11.058        .30711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.807        35.007        .64333E-04   -1.4461    
  13  norm          10.791        4.1711        .97813E-04   -1.5051    
  14  norm          .10000E-03    1.9808        .21669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     22.362        25.119        .84674E-04   -1.4762    
  16  norm          .10000E-03    1.2974        .89350E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.379        24.490        .88719E-04   -1.4805    
  19  Prefactor     .61850        4.3995        .32019E-03   -1.5551    
  20  Prefactor     37.451        31.092        .65520E-04   -1.4483    
  21  Normalizat    1.0591        .17659        .20156E-03   -.91076    
  22  Prefactor     .75590        .19514        .26620E-03   -1.0137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.90869e-11
Minuit parameter uncertainties:
  1  33.4168
  2  9.29349e-05
  3  17.1979
  4  8.18377e-07
  5  16.9079
  6  26.3839
  7  9.16206e-07
  8  6.08168
  9  3.35071
  10  4.0786e-05
  11  1.33903e-05
  12  35.0253
  13  4.1712
  14  8.49181e-06
  15  25.1306
  16  2.53118e-06
  17  6.89521e-06
  18  24.5017
  19  3.29923
  20  31.1057
  21  0.176684
  22  0.19532
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  3.745e+01  3.111e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  7.559e-01  1.953e-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.059e+00  1.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.94
Ra Dec: 359.817 -31.583
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 3.22e-08 +/- 2.68e-08
Energy Flux (Fixed Index): 8.42e-06 +/- 6.99e-06

TS (Fixed Index): 2.94
Ra Dec: 359.817 -31.583
Photon Flux Upper Limit: 9.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/245672/likelihoodResults_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.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) = 6504.99858157
delta logL = 0.00171447755565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6504.99785558
delta logL = 0.00244046023181

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.743       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5512       1.0000          .0000       10.000    
     3 'Normalizat'    1.0609       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75440       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=   6504.998     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      261 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.743        37.334        .64394E-04   -.30543E-04
   2  Index         2.5513        .77937        .85091E-02    .20105E-03
   3  Normalizat    1.0607        .17342        .20143E-03    .24269E-04
   4  Prefactor     .75460        .19523        .26640E-03    .19374E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.7428
  Index      = 2.55125
  Normalizat = 1.06071
  Prefactor  = 0.754599
 **********
 **   18 **HESSE 
 **********

 FCN=   6504.998     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.743        36.428        .25758E-05   -1.4462    
   2  Index         2.5513        .76024        .17018E-02   -.51180    
   3  Normalizat    1.0607        .17356        .80571E-05   -.91023    
   4  Prefactor     .75460        .19539        .10656E-04   -1.0142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66002e-12
Minuit parameter uncertainties:
  1  36.4486
  2  0.764149
  3  0.17365
  4  0.195571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/245672': 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) = 6504.997855
delta logL = 0.00244104349895

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  3.874e+01  3.645e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.551e+00  7.641e-01  0.000e+00  1.000e+01 (-1.000e+00)
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  7.546e-01  1.956e-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.061e+00  1.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.94
Ra Dec: 359.817 -31.583
Photon Index (Free Index): 2.55 +/- 0.76
Photon Flux (Free Index): 3.12e-08 +/- 2.98e-08
Energy Flux (Free Index): 8.57e-06 +/- 7.43e-06

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/245672/cmap_HighResolution_332899201_333158401_4FGL_J2359.2-3134_daily_bin361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.19e-03', comment='SUCCESS', photon_flux='3.22e-08', energy_flux2='8.57e-06', photon_flux_error='2.68e-08', dlogl='2.44e-03', energy_flux='8.42e-06', photon_flux2='3.12e-08', job_status='DONE', time_completed='2021-09-30 12:20:46.476245', photon_index_error2='0.76', photon_index2='2.55', ts='2.94', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='9.18e-08', energy_flux_error2='7.43e-06', EG='1.06', time_epoch_completed='1633029646.48', return_code='0', job_id='245672', GAL2='0.75', EG2='1.06', return_code2='0', energy_flux_error='6.99e-06', photon_flux_error2='2.98e-08', ts2='2.94', photon_index='2.60' WHERE bin_id='361' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:20:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 245672: <4FGL_J2359.2-3134_daily_bin361> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin361> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:05:25 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:05:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 12:05:27 2021
Terminated at Thu Sep 30 12:20:47 2021
Results reported at Thu Sep 30 12:20:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin361 359.817 -31.5832 332899201 333158401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2359.2-3134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   670.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             260.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            922 sec.

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

