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


Performing analysis on: 4FGL_J2130.4-4241_daily_bin1511
RA = 322.601, Dec = -42.6904
tmin = 630979201, tmax = 631238401
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='534935', job_status='RUN', time_executed='2021-09-26 16:10:17.279231', time_epoch_executed='1632697817.28' WHERE source_name='4FGL J2130.4-4241' and cadence='daily' and bin_id='1511'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534935

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534935/ft1_4FGL_J2130.4-4241_daily_bin1511.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534935/ft1_4FGL_J2130.4-4241_daily_bin1511.fits outfile=/scratch/kocevski/534935/ft1_filteredMKT_4FGL_J2130.4-4241_daily_bin1511.fits ra=322.601 dec=-42.6904 rad=12.0 tmin=630979201.0 tmax=631238401.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.89
user 2.67
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.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/534935/ft1_filteredMKT_4FGL_J2130.4-4241_daily_bin1511.fits evtable="EVENTS" outfile="/scratch/kocevski/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits" evtable="EVENTS" scfile=/scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits sctable="SC_DATA" outfile=/scratch/kocevski/534935/ltcube_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.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/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits
.....................!
real 14.88
user 14.48
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits evtable="EVENTS" scfile=/scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits sctable="SC_DATA" expcube=/scratch/kocevski/534935/ltcube_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.fits outfile=/scratch/kocevski/534935/expmap_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.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/534935/ltcube_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.fits
.....................!
real 191.19
user 186.08
sys 4.45

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

Setting source of interest to:
4FGL J2130.4-4241 @ 322.601 -42.6904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits scfile=/scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits outfile=/scratch/kocevski/534935/cmap_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.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=322.601 yref=-42.6904 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/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits scfile=/scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits outfile=/scratch/kocevski/534935/cmap_HighResolution_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.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=322.601 yref=-42.6904 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.63
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits evtable="EVENTS" scfile=/scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/534935/Model_4FGL_J2130.4-4241_daily_bin1511.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/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits.....................!
real 48.97
user 47.63
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits', '/scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits', expMap='/scratch/kocevski/534935/expmap_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.fits', expCube='/scratch/kocevski/534935/ltcube_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/534935/Model_4FGL_J2130.4-4241_daily_bin1511.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2130.4-4241'

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  3.697e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.438e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/534935/ft1_filtered_4FGL_J2130.4-4241_daily_bin1511.fits
Spacecraft file(s): /scratch/kocevski/534935/ft2_4FGL_J2130.4-4241_daily_bin1511.fits
Exposure map: /scratch/kocevski/534935/expmap_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.fits
Exposure cube: /scratch/kocevski/534935/ltcube_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/534935/Model_4FGL_J2130.4-4241_daily_bin1511.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) = 6066.47133798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.965       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .21610E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.312       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.010       1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.405       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11062E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5637       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.5983       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.9298       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.5377       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0753       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0778       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6066.469     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2317 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.962        22.248       -.89003E-06    .43982E-05
   2  Prefactor     .10000E-03    121.18       -.13962E-04** at limit **
   3  Prefactor     31.013        111.61       -.69571E-05   -.19837E-04
   4  Prefactor     21.000        29.660        .44368E-06    .99039E-05
   5  norm          .10000E-03    1.1226       -.48648E-06** at limit **
   6  Prefactor     17.399        36.562       -.89298E-06   -.23891E-05
   7  Prefactor     .10000E-03    89.792        .16069E-05** at limit **
   8  Prefactor     5.5625        6.9946        .69594E-07   -.61256E-05
   9  Prefactor     .10000E-03    35.774       -.25109E-07** at limit **
  10  Prefactor     .10000E-03    12.358        .31277E-06** at limit **
  11  Prefactor     .10000E-03    1.9776        .40010E-06** at limit **
  12  norm          6.5958        5.8227       -.97897E-08   -.21035E-04
  13  Prefactor     9.9294        8.4489        .12892E-05    .14957E-03
  14  Prefactor     8.5371        8.7641       -.24496E-06   -.21643E-04
  15  norm          .10000E-03    3.9544        .32379E-06** at limit **
  16  Prefactor     .10000E-03    8.3389        .18292E-06** at limit **
  17  Prefactor     .10000E-03    2.3105        .25270E-06** at limit **
  18  Prefactor     .10000E-03    21.339        .14916E-06** at limit **
  19  Prefactor     .10000E-03    1.8394        .42755E-06** at limit **
  20  Prefactor     .10000E-03    21.401        .24869E-06** at limit **
  21  Normalizat    1.0754        .21909       -.42797E-05    .88197E-04
  22  Prefactor     1.0777        .14901        .27660E-05   -.15103E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.9617
  Prefactor  = 0.000100003
  Prefactor  = 31.0128
  Prefactor  = 21.0004
  norm       = 0.0001
  Prefactor  = 17.3994
  Prefactor  = 0.0001
  Prefactor  = 5.56248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.59578
  Prefactor  = 9.92945
  Prefactor  = 8.53705
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07543
  Prefactor  = 1.07773
 **********
 **   18 **HESSE 
 **********

 FCN=   6066.469     FROM HESSE     STATUS=OK           336 CALLS     2653 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.962        22.197        .97239E-04   -1.4884    
   2  Prefactor     .10000E-03    123.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.013        112.36        .35802E-03   -1.4594    
   4  Prefactor     21.000        29.681        .87383E-04   -1.4791    
   5  norm          .10000E-03    1.1522        .16102E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.399        36.600        .96003E-04   -1.4873    
   7  Prefactor     .10000E-03    90.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5625        6.9894        .17032E-03   -1.5236    
   9  Prefactor     .10000E-03    35.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.0034        .10707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.5958        5.8175        .15622E-03   -1.5194    
  13  Prefactor     9.9294        8.4901        .63581E-03   -1.5078    
  14  Prefactor     8.5371        8.7601        .13719E-03   -1.5124    
  15  norm          .10000E-03    3.9741        .15124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.3435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.3229        .11568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.8855        .10331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    21.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0754        .23454        .29309E-03   -.90545    
  22  Prefactor     1.0777        .16017        .19867E-03   -.90181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.53269e-10
Minuit parameter uncertainties:
  1  22.2074
  2  0.00131558
  3  113.144
  4  29.7014
  5  2.75684e-06
  6  36.6468
  7  0.000290997
  8  6.99045
  9  1.29532e-05
  10  1.37612e-05
  11  7.86686e-06
  12  5.81804
  13  8.49114
  14  8.76141
  15  3.23059e-06
  16  9.25201e-06
  17  6.72738e-06
  18  1.35945e-05
  19  9.22923e-06
  20  1.524e-05
  21  0.234765
  22  0.160238
Done.

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

Extracting fit parameters...

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  1.295e-05  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.438e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.078e+00  1.602e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.075e+00  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 322.601 -42.690
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534935/likelihoodResults_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.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) = 6066.46947284
delta logL = -0.000132621589728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6066.46934033
delta logL = -1.07284904516e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3676       1.0000          .0000       10.000    
     3 'Normalizat'    1.0754       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0777       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6066.469     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      237 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2210.0        .90712E-02** at limit **
   2  Index         2.3906        5.2476        .50000       -.61706E-05
   3  Normalizat    1.0754        .48859E-01    .66252E-01    .30187E-04
   4  Prefactor     1.0777        .33298E-01    .38501E-01    .22970E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3906
  Normalizat = 1.07542
  Prefactor  = 1.07773
 **********
 **   18 **HESSE 
 **********

 FCN=   6066.469     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7690.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3906        5.7837        .50000       -.54905    
   3  Normalizat    1.0754        .11823        .29309E-03   -.90545    
   4  Prefactor     1.0777        .80702E-01    .19867E-03   -.90181    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.57918e-09
Minuit parameter uncertainties:
  1  0.00328119
  2  60.4369
  3  0.118262
  4  0.0807112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534935': 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): 102
logL (Free Index) = 6066.46934029
delta logL = -6.95335984346e-08

Extracting fit parameters...

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  3.281e-03  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.391e+00  6.044e+01  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  9.156e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.078e+00  8.071e-02  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  1.075e+00  1.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 322.601 -42.690

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/534935/cmap_HighResolution_630979201_631238401_4FGL_J2130.4-4241_daily_bin1511.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.44e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-26 16:20:54.480876', job_id='534935', GAL2='1.08', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1632698454.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-6.95e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1511' AND source_name='4FGL J2130.4-4241' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 16:20:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 534935: <4FGL_J2130.4-4241_daily_bin1511> in cluster <slac> Done

Job <4FGL_J2130.4-4241_daily_bin1511> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 16:05:30 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 16:10:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 16:10:09 2021
Terminated at Sun Sep 26 16:20:55 2021
Results reported at Sun Sep 26 16:20:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2130.4-4241_daily_bin1511 322.601 -42.6904 630979201 631238401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2130.4-4241 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   616.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            925 sec.

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

