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


Performing analysis on: 4FGL_J2130.4-4241_daily_bin1283
RA = 322.601, Dec = -42.6904
tmin = 571881601, tmax = 572140801
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='533549', job_status='RUN', time_executed='2021-09-26 16:07:40.280753', time_epoch_executed='1632697660.28' WHERE source_name='4FGL J2130.4-4241' and cadence='daily' and bin_id='1283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533549

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533549/ft1_4FGL_J2130.4-4241_daily_bin1283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533549/ft1_4FGL_J2130.4-4241_daily_bin1283.fits outfile=/scratch/kocevski/533549/ft1_filteredMKT_4FGL_J2130.4-4241_daily_bin1283.fits ra=322.601 dec=-42.6904 rad=12.0 tmin=571881601.0 tmax=572140801.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.62
user 2.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.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/533549/ft1_filteredMKT_4FGL_J2130.4-4241_daily_bin1283.fits evtable="EVENTS" outfile="/scratch/kocevski/533549/ft1_filtered_4FGL_J2130.4-4241_daily_bin1283.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/533549/ft1_filtered_4FGL_J2130.4-4241_daily_bin1283.fits" evtable="EVENTS" scfile=/scratch/kocevski/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.fits sctable="SC_DATA" outfile=/scratch/kocevski/533549/ltcube_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.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/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.fits
.....................!
real 17.59
user 16.05
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533549/ft1_filtered_4FGL_J2130.4-4241_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.fits sctable="SC_DATA" expcube=/scratch/kocevski/533549/ltcube_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.fits outfile=/scratch/kocevski/533549/expmap_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.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/533549/ltcube_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.fits
.....................!
real 194.32
user 188.89
sys 4.53

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/533549/ft1_filtered_4FGL_J2130.4-4241_daily_bin1283.fits scfile=/scratch/kocevski/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.fits outfile=/scratch/kocevski/533549/cmap_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.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.65
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533549/ft1_filtered_4FGL_J2130.4-4241_daily_bin1283.fits scfile=/scratch/kocevski/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.fits outfile=/scratch/kocevski/533549/cmap_HighResolution_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.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.58
user 0.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/533549/ft1_filtered_4FGL_J2130.4-4241_daily_bin1283.fits', '/scratch/kocevski/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.fits', expMap='/scratch/kocevski/533549/expmap_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.fits', expCube='/scratch/kocevski/533549/ltcube_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/533549/Model_4FGL_J2130.4-4241_daily_bin1283.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/533549/ft1_filtered_4FGL_J2130.4-4241_daily_bin1283.fits
Spacecraft file(s): /scratch/kocevski/533549/ft2_4FGL_J2130.4-4241_daily_bin1283.fits
Exposure map: /scratch/kocevski/533549/expmap_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.fits
Exposure cube: /scratch/kocevski/533549/ltcube_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/533549/Model_4FGL_J2130.4-4241_daily_bin1283.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 423.34938485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 423.232796503

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6197       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0344       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.1150       1.0000         .10000E-03   10000.    
     4 'Prefactor '    108.36       1.0000         .10000E-03   10000.    
     5 'norm      '    207.62       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4700       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.903       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .36214E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14865E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .19774E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4816       1.0000         .10000E-03   10000.    
    12 'norm      '    .70440E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    181.84       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19313E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .72788E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.875       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.671       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.265       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.167       1.0000         .10000E-03   10000.    
    20 'Prefactor '    327.20       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3295       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   420.9534     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     2203 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18248E-02    1085.0       -.88540E-05** at limit **
   2  Prefactor    10000.0        8542.7        .37378E-04** at limit **
   3  Prefactor    10000.0        7610.3       -.11857E-04** at limit **
   4  Prefactor     108.81        130.53       -.15591E-05    .16014E-04
   5  norm          133.17        125.14        .74605E-06   -.14929E-04
   6  Prefactor    10000.0        7664.6       -.28171E-04** at limit **
   7  Prefactor     51.661        134.22       -.47662E-05    .18567E-04
   8  Prefactor     .10000E-03    49.343       -.84522E-06** at limit **
   9  Prefactor     .10000E-03    296.47       -.30619E-06** at limit **
  10  Prefactor     .10000E-03    35.285       -.11842E-06** at limit **
  11  Prefactor     6.9477        18.087        .31090E-05   -.64841E-04
  12  norm          .10000E-03    18.668        .52482E-06** at limit **
  13  Prefactor     158.72        188.72       -.19797E-06   -.44057E-05
  14  Prefactor     .10000E-03    49.162       -.47931E-06** at limit **
  15  norm          .10000E-03    266.21        .22353E-05** at limit **
  16  Prefactor     57.234        176.15       -.21481E-05   -.12509E-05
  17  Prefactor     .10000E-03    69.299       -.17744E-05** at limit **
  18  Prefactor     201.25        435.96        .87550E-05   -.98373E-05
  19  Prefactor     10.354        14.370        .71752E-07    .12863E-05
  20  Prefactor     341.89        291.68        .28607E-05   -.44640E-04
  21  Normalizat    .10000E-01    1.7144       -.44610E-05** at limit **
  22  Prefactor     1.1914        .47196       -.31571E-05    .90837E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00182482
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 108.809
  norm       = 133.173
  Prefactor  = 10000
  Prefactor  = 51.6609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.94766
  norm       = 0.0001
  Prefactor  = 158.722
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 57.2338
  Prefactor  = 0.0001
  Prefactor  = 201.253
  Prefactor  = 10.3536
  Prefactor  = 341.888
  Normalizat = 0.01
  Prefactor  = 1.19136
 **********
 **   18 **HESSE 
 **********

 FCN=   420.9534     FROM HESSE     STATUS=OK           386 CALLS     2589 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18248E-02    9724.3        .83142E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        8534.2        .58236E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        7635.3        .40589E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     108.81        130.88        .96591E-03   -1.3618    
   5  norm          133.17        126.24        .70133E-03   -1.3395    
   6  Prefactor    10000.0        7703.9        .36685E-02    1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     51.661        133.97        .20925E-02   -1.4269    
   8  Prefactor     .10000E-03    48.343        .10654E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    295.17        .90972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    35.165        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9477        17.898        .42904E-02   -1.5181    
  12  norm          .10000E-03    17.813        .10488E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     158.72        188.56        .74842E-03   -1.3182    
  14  Prefactor     .10000E-03    47.846        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    262.94        .93180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     57.234        175.96        .21410E-02   -1.4193    
  17  Prefactor     .10000E-03    68.137        .29316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     201.25        432.14        .25628E-02   -1.2861    
  19  Prefactor     10.354        14.405        .31416E-02   -1.5064    
  20  Prefactor     341.89        288.56        .56210E-03   -1.1989    
  21  Normalizat    .10000E-01    1.3308        .21093       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.1914        .49791        .47301E-01   -.86598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48419e-08
Minuit parameter uncertainties:
  1  15.0126
  2  0.161752
  3  0.359442
  4  131.231
  5  126.494
  6  0.460906
  7  134.764
  8  5.19858e-05
  9  0.000145006
  10  1.51244e-05
  11  17.9119
  12  3.29086e-06
  13  189.28
  14  2.24029e-05
  15  0.000380972
  16  177.6
  17  0.000166406
  18  439.264
  19  14.4096
  20  289.791
  21  1.36752e-06
  22  0.499888
Done.

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

Extracting fit parameters...

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  1.000e-04  1.450e-04  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.191e+00  4.999e-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.000e-02  1.368e-06  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.85e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/533549/likelihoodResults_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.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) = 420.953381779
delta logL = -1.69160977066e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 420.953381121
delta logL = -1.62578854201e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95777E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4379       1.0000          .0000       10.000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1914       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=   420.9534     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      209 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    369.75        .90769E-02** at limit **
   2  Index         2.4371        6.1894        .50000        .21984E-07
   3  Normalizat    .10000E-01    .85095        .21042    ** at limit **
   4  Prefactor     1.1914        .38966        .34838E-01   -.53470E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100099
  Index      = 2.43712
  Normalizat = 0.01
  Prefactor  = 1.19136
 **********
 **   18 **HESSE 
 **********

 FCN=   420.9534     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10010E-03    267.24        .18154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4371        6.2177        .50000       -.53818    
   3  Normalizat    .10000E-01    1.0160        .11870E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1914        .33559        .20905E-03   -.86598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02451e-10
Minuit parameter uncertainties:
  1  0.0103352
  2  4.31954
  3  4.78e-06
  4  0.336189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533549': 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) = 420.953364863
delta logL = -1.61946900334e-10

Extracting fit parameters...

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  1.001e-04  1.034e-02  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.437e+00  4.320e+00  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.191e+00  3.362e-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.000e-02  4.780e-06  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/533549/cmap_HighResolution_571881601_572140801_4FGL_J2130.4-4241_daily_bin1283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-01', job_status='DONE', photon_flux_upper_limit='1.85e-06', time_completed='2021-09-26 16:13:32.854333', job_id='533549', GAL2='1.19', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632698012.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='-1.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1283' AND source_name='4FGL J2130.4-4241' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 16:13:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 533549: <4FGL_J2130.4-4241_daily_bin1283> in cluster <slac> Done

Job <4FGL_J2130.4-4241_daily_bin1283> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 16:00:52 2021
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 16:04:51 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:04:51 2021
Terminated at Sun Sep 26 16:13:33 2021
Results reported at Sun Sep 26 16:13:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2130.4-4241_daily_bin1283 322.601 -42.6904 571881601 572140801 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 :                                   345.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   522 sec.
    Turnaround time :                            761 sec.

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

