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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1541
RA = 359.817, Dec = -31.5832
tmin = 638755201, tmax = 639014401
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='250490', job_status='RUN', time_executed='2021-09-30 12:21:06.266517', time_epoch_executed='1633029666.27' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250490

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250490/ft1_4FGL_J2359.2-3134_daily_bin1541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250490/ft1_4FGL_J2359.2-3134_daily_bin1541.fits outfile=/scratch/kocevski/250490/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1541.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=638755201.0 tmax=639014401.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 5.37
user 5.09
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250490/ft1_filtered_4FGL_J2359.2-3134_daily_bin1541.fits" evtable="EVENTS" scfile=/scratch/kocevski/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits sctable="SC_DATA" outfile=/scratch/kocevski/250490/ltcube_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.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/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits
.....................!
real 12.20
user 11.61
sys 0.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250490/ft1_filtered_4FGL_J2359.2-3134_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits sctable="SC_DATA" expcube=/scratch/kocevski/250490/ltcube_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.fits outfile=/scratch/kocevski/250490/expmap_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.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/250490/ltcube_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.fits
.....................!
real 191.02
user 185.18
sys 5.52

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/250490/ft1_filtered_4FGL_J2359.2-3134_daily_bin1541.fits scfile=/scratch/kocevski/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits outfile=/scratch/kocevski/250490/cmap_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250490/ft1_filtered_4FGL_J2359.2-3134_daily_bin1541.fits scfile=/scratch/kocevski/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits outfile=/scratch/kocevski/250490/cmap_HighResolution_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.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.54
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250490/ft1_filtered_4FGL_J2359.2-3134_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250490/Model_4FGL_J2359.2-3134_daily_bin1541.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/250490/ft1_filtered_4FGL_J2359.2-3134_daily_bin1541.fits.....................!
real 49.55
user 48.22
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/250490/ft1_filtered_4FGL_J2359.2-3134_daily_bin1541.fits', '/scratch/kocevski/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits', expMap='/scratch/kocevski/250490/expmap_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.fits', expCube='/scratch/kocevski/250490/ltcube_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/250490/Model_4FGL_J2359.2-3134_daily_bin1541.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/250490/ft1_filtered_4FGL_J2359.2-3134_daily_bin1541.fits
Spacecraft file(s): /scratch/kocevski/250490/ft2_4FGL_J2359.2-3134_daily_bin1541.fits
Exposure map: /scratch/kocevski/250490/expmap_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.fits
Exposure cube: /scratch/kocevski/250490/ltcube_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/250490/Model_4FGL_J2359.2-3134_daily_bin1541.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) = 6570.39096336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2025       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .22188E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    28.788       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    11.082       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.890       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .12023E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.498       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    35.249       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6179       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2095       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .67018       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=   6570.317     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2037 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.031        .43765E-07** at limit **
   2  Prefactor     2.2032        2.4719        .68650E-08    .74499E-04
   3  Prefactor     .10000E-03    4.5579        .72831E-08** at limit **
   4  Prefactor     .10000E-03    13.503        .33178E-06** at limit **
   5  Prefactor     .10001E-03    72.526        .50269E-05** at limit **
   6  Prefactor     .10000E-03    13.480       -.60121E-06** at limit **
   7  norm          28.790        7.8193       -.10126E-06   -.38013E-04
   8  Prefactor     .10000E-03    3.4006        .35288E-07** at limit **
   9  norm          .10000E-03    1.9797       -.37204E-06** at limit **
  10  norm          11.082        7.3436        .13191E-06    .27803E-03
  11  Prefactor     18.831        28.174        .17263E-05    .37148E-03
  12  Prefactor     .10000E-03    13.870        .35950E-06** at limit **
  13  norm          .10001E-03    4.0365       -.30490E-05** at limit **
  14  norm          .10000E-03    .93726        .22880E-08** at limit **
  15  Prefactor     20.500        20.255       -.32914E-06   -.17790E-04
  16  norm          .10000E-03    .80218       -.17326E-06** at limit **
  17  Prefactor     .10000E-03    46.190       -.14060E-05** at limit **
  18  Prefactor     35.228        38.282       -.35113E-05   -.24083E-03
  19  Prefactor     3.6196        5.3483        .10445E-05    .49315E-03
  20  Prefactor     .10000E-03    20.262       -.28781E-08** at limit **
  21  Normalizat    1.2093        .15473        .60460E-06    .70321E-03
  22  Prefactor     .67042        .16980        .53202E-06    .46924E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.20324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 28.7896
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 11.0815
  Prefactor  = 18.8307
  Prefactor  = 0.0001
  norm       = 0.000100014
  norm       = 0.0001
  Prefactor  = 20.5001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 35.2276
  Prefactor  = 3.6196
  Prefactor  = 0.0001
  Normalizat = 1.20928
  Prefactor  = 0.670421
 **********
 **   18 **HESSE 
 **********

 FCN=   6570.317     FROM HESSE     STATUS=OK           334 CALLS     2371 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2032        2.4610        .12960E-03   -1.5411    
   3  Prefactor     .10000E-03    4.5587        .16900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.845        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    75.478        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          28.790        7.8289        .74670E-04   -1.4634    
   8  Prefactor     .10000E-03    3.4425        .14594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.9905        .11135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.082        7.3466        .12035E-03   -1.5042    
  11  Prefactor     18.831        29.257        .92154E-04   -1.4840    
  12  Prefactor     .10000E-03    13.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10001E-03    5.8592        .23581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .94446        .76613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.500        20.273        .88467E-04   -1.4802    
  16  norm          .10000E-03    .80468        .70934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    46.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     35.228        39.192        .67499E-04   -1.4520    
  19  Prefactor     3.6196        5.3907        .21242E-03   -1.5327    
  20  Prefactor     .10000E-03    20.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2093        .18086        .19918E-03   -.86317    
  22  Prefactor     .67042        .19754        .29274E-03   -1.0470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67083e-09
Minuit parameter uncertainties:
  1  2.02122e-06
  2  2.46111
  3  1.29568e-06
  4  1.85261e-05
  5  0.00123187
  6  8.7482e-05
  7  7.82913
  8  2.43812e-06
  9  5.65406e-06
  10  7.34724
  11  29.2793
  12  4.14043e-05
  13  0.000574921
  14  3.82206e-07
  15  20.2796
  16  2.86938e-06
  17  0.000345271
  18  39.2203
  19  5.3914
  20  1.55154e-05
  21  0.180953
  22  0.197745
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  1.552e-05  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:  6.704e-01  1.977e-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.209e+00  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/250490/likelihoodResults_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.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) = 6570.31768858
delta logL = -0.000234936741435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6570.31745377
delta logL = -1.30347871163e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5085       1.0000          .0000       10.000    
     3 'Normalizat'    1.2093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67042       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=   6570.317     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6713.5        .90712E-02** at limit **
   2  Index         2.5173        5.8865        .50000       -.40330E-05
   3  Normalizat    1.2093        .80990E-01    .34667E-01   -.22107E-04
   4  Prefactor     .67042        .91307E-01    .66160E-01    .42504E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.51729
  Normalizat = 1.20928
  Prefactor  = 0.670421
 **********
 **   18 **HESSE 
 **********

 FCN=   6570.317     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5173        6.2582        .50000       -.51961    
   3  Normalizat    1.2093        .17337        .19918E-03   -.86317    
   4  Prefactor     .67042        .19575        .29274E-03   -1.0470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02115e-11
Minuit parameter uncertainties:
  1  0.000106167
  2  4.6437
  3  0.173456
  4  0.195954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250490': 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) = 6570.31745372
delta logL = -8.0459358287e-08

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  1.062e-04  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.517e+00  4.644e+00  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:  6.704e-01  1.960e-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.209e+00  1.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 359.817 -31.583

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/250490/cmap_HighResolution_638755201_639014401_4FGL_J2359.2-3134_daily_bin1541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-03', job_status='DONE', photon_flux_upper_limit='6.10e-08', time_completed='2021-09-30 12:32:33.460888', job_id='250490', GAL2='0.67', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1633030353.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='-8.05e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1541' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:32:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 250490: <4FGL_J2359.2-3134_daily_bin1541> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1541> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:20:53 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:20:55 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:20:55 2021
Terminated at Thu Sep 30 12:32:34 2021
Results reported at Thu Sep 30 12:32:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1541 359.817 -31.5832 638755201 639014401 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 :                                   663.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            701 sec.

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

