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


Performing analysis on: 4FGL_J2130.4-4241_daily_bin1456
RA = 322.601, Dec = -42.6904
tmin = 616723201, tmax = 616982401
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='534854', job_status='RUN', time_executed='2021-09-26 16:10:08.177206', time_epoch_executed='1632697808.18' WHERE source_name='4FGL J2130.4-4241' and cadence='daily' and bin_id='1456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/534854

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/534854/ft1_4FGL_J2130.4-4241_daily_bin1456.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/534854/ft2_4FGL_J2130.4-4241_daily_bin1456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/534854/ft1_4FGL_J2130.4-4241_daily_bin1456.fits outfile=/scratch/kocevski/534854/ft1_filteredMKT_4FGL_J2130.4-4241_daily_bin1456.fits ra=322.601 dec=-42.6904 rad=12.0 tmin=616723201.0 tmax=616982401.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 3.05
user 2.86
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/534854/ft2_4FGL_J2130.4-4241_daily_bin1456.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/534854/ft1_filteredMKT_4FGL_J2130.4-4241_daily_bin1456.fits evtable="EVENTS" outfile="/scratch/kocevski/534854/ft1_filtered_4FGL_J2130.4-4241_daily_bin1456.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.54
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/534854/ft1_filtered_4FGL_J2130.4-4241_daily_bin1456.fits" evtable="EVENTS" scfile=/scratch/kocevski/534854/ft2_4FGL_J2130.4-4241_daily_bin1456.fits sctable="SC_DATA" outfile=/scratch/kocevski/534854/ltcube_616723201_616982401_4FGL_J2130.4-4241_daily_bin1456.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/534854/ft2_4FGL_J2130.4-4241_daily_bin1456.fits
.....................!
real 14.56
user 14.15
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/534854/ft1_filtered_4FGL_J2130.4-4241_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/534854/ft2_4FGL_J2130.4-4241_daily_bin1456.fits sctable="SC_DATA" expcube=/scratch/kocevski/534854/ltcube_616723201_616982401_4FGL_J2130.4-4241_daily_bin1456.fits outfile=/scratch/kocevski/534854/expmap_616723201_616982401_4FGL_J2130.4-4241_daily_bin1456.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/534854/ltcube_616723201_616982401_4FGL_J2130.4-4241_daily_bin1456.fits
.....................!
real 190.53
user 185.69
sys 4.17

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/534854/ft1_filtered_4FGL_J2130.4-4241_daily_bin1456.fits scfile=/scratch/kocevski/534854/ft2_4FGL_J2130.4-4241_daily_bin1456.fits outfile=/scratch/kocevski/534854/cmap_616723201_616982401_4FGL_J2130.4-4241_daily_bin1456.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/534854/ft1_filtered_4FGL_J2130.4-4241_daily_bin1456.fits scfile=/scratch/kocevski/534854/ft2_4FGL_J2130.4-4241_daily_bin1456.fits outfile=/scratch/kocevski/534854/cmap_HighResolution_616723201_616982401_4FGL_J2130.4-4241_daily_bin1456.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.59
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/534854/ft1_filtered_4FGL_J2130.4-4241_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/534854/ft2_4FGL_J2130.4-4241_daily_bin1456.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/534854/Model_4FGL_J2130.4-4241_daily_bin1456.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/534854/ft1_filtered_4FGL_J2130.4-4241_daily_bin1456.fits..............!
real 14.76
user 13.43
sys 1.13

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

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 183.367287467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 182.48183471

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6676       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8215       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5932       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8195       1.0000         .10000E-03   10000.    
     5 'norm      '    6.9744       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8155       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3678       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.356       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9926       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.1304       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0826       1.0000         .10000E-03   10000.    
    12 'norm      '    .60156       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0229       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .23814       1.0000         .10000E-03   10000.    
    15 'norm      '    .50843E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .32793       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.6354       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    180.17       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1258       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   176.4875     FROM MIGRAD    STATUS=CONVERGED    471 CALLS      675 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6676        1.0540         .0000         .0000    
   2  Prefactor     3.0765        1.0616       -.11834E-06   -.38974E-05
   3  Prefactor     9.9268        1.3373       -.89749E-06   -.78395E-04
   4  Prefactor    10000.0        .14976        .44038E-03** at limit **
   5  norm         10000.0        .36057E-01    .20039E-03** at limit **
   6  Prefactor     54.097        2.8183       -.64674E-05   -.93271E-03
   7  Prefactor    10000.0        .47011E-01   -.36392E-03** at limit **
   8  Prefactor    10000.0        .22082E-01    .11685E-03** at limit **
   9  Prefactor     .10062E-03    .50613E-01    .42376E-03** at limit **
  10  Prefactor     .10007E-03    .41081E-01    .12322E-03** at limit **
  11  Prefactor     .10001E-03    .62209E-01   -.39096E-04** at limit **
  12  norm          .10000E-03    .34097        .38405E-05** at limit **
  13  Prefactor     25.949        6.4669       -.38220E-04   -.20064E-04
  14  Prefactor     .10000E-03    .25757       -.37535E-05** at limit **
  15  norm          .10000E-03    .27955        .10491E-04** at limit **
  16  Prefactor     .10000E-03    .27809       -.10830E-04** at limit **
  17  Prefactor     .10000E-03    .20571       -.49846E-06** at limit **
  18  Prefactor     .10002E-03    .98577E-01   -.43284E-04** at limit **
  19  Prefactor     .10000E-03    .20571       -.10190E-05** at limit **
  20  Prefactor     100.06        .74826        .22957E-04   -.45415E-04
  21  Normalizat    .10000E-01    .25505        .18174E-04** at limit **
  22  Prefactor     .81710        .98236       -.28233E-04    .11676E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66756
  Prefactor  = 3.07654
  Prefactor  = 9.9268
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 54.0967
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100623
  Prefactor  = 0.000100069
  Prefactor  = 0.000100014
  norm       = 0.0001
  Prefactor  = 25.9491
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 100.056
  Normalizat = 0.01
  Prefactor  = 0.817098
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   176.4875     FROM HESSE     STATUS=FAILED         9 CALLS      684 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          574.70        572.87         .0000       -1.5450    
   2  Prefactor     3.0765        1.0616       -.11834E-06   -1.5357    
   3  Prefactor     9.9268        1.3373       -.89749E-06   -1.5078    
   4  Prefactor    10000.0        .14976        .44038E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm         10000.0        .36057E-01    .20039E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     54.097        2.8183       -.64674E-05   -1.4236    
   7  Prefactor    10000.0        .47011E-01   -.36392E-03    1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        .22082E-01    .11685E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10062E-03    .50613E-01    .42376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10007E-03    .41081E-01    .12322E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    .62209E-01   -.39096E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .34097        .38405E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.949        6.4669       -.38220E-04   -1.4689    
  14  Prefactor     .10000E-03    .25757       -.37535E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .27955        .10491E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .27809       -.10830E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .20571       -.49846E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    .98577E-01   -.43284E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .20571       -.10190E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     100.06        .74826        .22957E-04   -1.3704    
  21  Normalizat    .10000E-01    .25505        .18174E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .81710        .98236       -.28233E-04   -.99101    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.32753e-10
Minuit parameter uncertainties:
  1  1.05402
  2  1.06157
  3  1.33733
  4  0.000478351
  5  0.000141249
  6  2.8183
  7  0.0131277
  8  0.000140704
  9  0.000355089
  10  0.00010641
  11  5.8787e-05
  12  1.57436e-05
  13  6.46702
  14  5.88464e-05
  15  2.29279e-05
  16  4.76539e-05
  17  1.83233e-06
  18  8.27897e-05
  19  2.2732e-06
  20  0.748257
  21  5.46605e-07
  22  1.00473
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 176.487467798

Extracting fit parameters...

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  1.006e-04  3.551e-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:  8.171e-01  1.005e+00  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  5.466e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -0.662792230864

TS (Fixed Index): -0.00
Ra Dec: 322.601 -42.690
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.75e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/534854/likelihoodResults_616723201_616982401_4FGL_J2130.4-4241_daily_bin1456.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) = 176.487821181
delta logL = -0.000353383065971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 176.487821181
delta logL = -0.000353383055312

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.4359       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=   176.4878     FROM MIGRAD    STATUS=CONVERGED     21 CALLS       89 TOTAL
                     EDM=   .93E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 25.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.4341        5.9018       -.43033E-03    .43173E-06
                               ERR DEF=  .500    
Final values: 
  Index      = 2.43409
 **********
 **   18 **HESSE 
 **********

 FCN=   176.4878     FROM HESSE     STATUS=OK            11 CALLS      100 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       2.4341        3.6111        .50000       -.53889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83203e-13
Minuit parameter uncertainties:
  1  4.2914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/534854': 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) = 176.487821181
delta logL = -0.000353382869037

Extracting fit parameters...

4FGL J2130.4-4241
   Spectrum: PowerLaw
279    Prefactor:  9.625e-03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
280        Index:  2.434e+00  4.291e+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:  8.165e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/534854/cmap_HighResolution_616723201_616982401_4FGL_J2130.4-4241_daily_bin1456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.75e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-26 16:15:53.708779', job_id='534854', GAL2='0.82', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632698153.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.82', dlogl='-3.53e-04', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1456' AND source_name='4FGL J2130.4-4241' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 16:15:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 534854: <4FGL_J2130.4-4241_daily_bin1456> in cluster <slac> Done

Job <4FGL_J2130.4-4241_daily_bin1456> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 16:05:22 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 16:09:15 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:09:15 2021
Terminated at Sun Sep 26 16:15:54 2021
Results reported at Sun Sep 26 16:15:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2130.4-4241_daily_bin1456 322.601 -42.6904 616723201 616982401 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 :                                   320.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   398 sec.
    Turnaround time :                            632 sec.

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

