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


Performing analysis on: 4FGL_J2132.0-5418_daily_bin1640
RA = 323.023, Dec = -54.3125
tmin = 664416001, tmax = 664675201
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='283671', job_status='RUN', time_executed='2022-01-24 00:37:25.987407', time_epoch_executed='1643013445.99' WHERE source_name='4FGL J2132.0-5418' and cadence='daily' and bin_id='1640'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/283671

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/283671/ft1_4FGL_J2132.0-5418_daily_bin1640.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/283671/ft1_4FGL_J2132.0-5418_daily_bin1640.fits outfile=/scratch/kocevski/283671/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1640.fits ra=323.023 dec=-54.3125 rad=12.0 tmin=664416001.0 tmax=664675201.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.62
user 3.39
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.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/283671/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1640.fits evtable="EVENTS" outfile="/scratch/kocevski/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.fits" evtable="EVENTS" scfile=/scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits sctable="SC_DATA" outfile=/scratch/kocevski/283671/ltcube_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.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/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits
.....................!
real 12.24
user 11.77
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.fits evtable="EVENTS" scfile=/scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits sctable="SC_DATA" expcube=/scratch/kocevski/283671/ltcube_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.fits outfile=/scratch/kocevski/283671/expmap_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.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/283671/ltcube_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.fits
.....................!
real 190.90
user 185.28
sys 5.29

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 J2132.0-5418 @ 323.023 -54.3125

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.fits scfile=/scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits outfile=/scratch/kocevski/283671/cmap_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.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=323.023 yref=-54.3125 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.fits scfile=/scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits outfile=/scratch/kocevski/283671/cmap_HighResolution_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.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=323.023 yref=-54.3125 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.fits evtable="EVENTS" scfile=/scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/283671/Model_4FGL_J2132.0-5418_daily_bin1640.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/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.fits.....................!
real 51.50
user 50.08
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.fits', '/scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits', expMap='/scratch/kocevski/283671/expmap_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.fits', expCube='/scratch/kocevski/283671/ltcube_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/283671/Model_4FGL_J2132.0-5418_daily_bin1640.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2132.0-5418'

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  6.328e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.416e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/283671/ft1_filtered_4FGL_J2132.0-5418_daily_bin1640.fits
Spacecraft file(s): /scratch/kocevski/283671/ft2_4FGL_J2132.0-5418_daily_bin1640.fits
Exposure map: /scratch/kocevski/283671/expmap_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.fits
Exposure cube: /scratch/kocevski/283671/ltcube_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/283671/Model_4FGL_J2132.0-5418_daily_bin1640.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) = 6230.89937132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70420       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3562       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.2075       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.6490       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.8775       1.0000         .10000E-03   10000.    
    11 'norm      '    23.288       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10518E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.116       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9620       1.0000         .10000E-03   10000.    
    16 'Prefactor '    73.776       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    51.431       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6144       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3248       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81692       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6230.878     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2549 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70419        2.4931        .35890E-06   -.38640E-04
   2  Prefactor     .10000E-03    18.741        .12205E-06** at limit **
   3  norm          3.3562        2.0008        .32417E-07    .16363E-04
   4  norm          .10000E-03    .79151       -.15527E-07** at limit **
   5  Prefactor     .10000E-03    45.425       -.13472E-05** at limit **
   6  Prefactor     .10001E-03    35.998        .20591E-05** at limit **
   7  Prefactor     9.2093        11.810        .30550E-06    .21777E-04
   8  Prefactor     .10000E-03    22.425       -.56584E-06** at limit **
   9  Prefactor     8.6445        32.175        .99273E-06    .59999E-05
  10  Prefactor     8.8777        6.9148        .91313E-07   -.64062E-04
  11  norm          23.288        9.0115        .49061E-07    .51074E-04
  12  norm          .10000E-03    .19655        .10131E-09** at limit **
  13  Prefactor     .10001E-03    108.28        .15826E-07** at limit **
  14  Prefactor     15.115        13.682        .15859E-06   -.10888E-03
  15  Prefactor     6.9621        5.1145        .70592E-06   -.44388E-04
  16  Prefactor     73.810        109.96       -.14612E-05    .53423E-04
  17  norm          .10000E-03    4.6007        .10156E-06** at limit **
  18  Prefactor     .10000E-03    10.355        .24874E-06** at limit **
  19  Prefactor     51.441        51.856       -.76114E-05    .28967E-04
  20  Prefactor     1.6202        51.317        .25279E-04    .27159E-04
  21  Prefactor     .10000E-03    45.608       -.12692E-05** at limit **
  22  Normalizat    1.3246        .22567       -.14494E-05   -.50610E-04
  23  Prefactor     .81704        .13128        .43478E-06   -.58200E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.704185
  Prefactor  = 0.0001
  norm       = 3.35616
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100006
  Prefactor  = 9.20931
  Prefactor  = 0.0001
  Prefactor  = 8.64449
  Prefactor  = 8.87771
  norm       = 23.2885
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 15.1145
  Prefactor  = 6.9621
  Prefactor  = 73.8104
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.4414
  Prefactor  = 1.6202
  Prefactor  = 0.000100002
  Normalizat = 1.32462
  Prefactor  = 0.81704
 **********
 **   18 **HESSE 
 **********

 FCN=   6230.878     FROM HESSE     STATUS=OK           372 CALLS     2921 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70419        2.4814        .22055E-03   -1.5540    
   2  Prefactor     .10000E-03    18.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3562        1.9973        .82917E-04   -1.5342    
   4  norm          .10000E-03    .79870        .68569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    45.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    36.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.2093        11.836        .13208E-03   -1.5101    
   8  Prefactor     .10000E-03    22.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.6445        32.220        .13630E-03   -1.5120    
  10  Prefactor     8.8777        6.9090        .13452E-03   -1.5112    
  11  norm          23.288        9.0099        .83004E-04   -1.4742    
  12  norm          .10000E-03    .19659        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    111.09        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.115        13.696        .10302E-03   -1.4930    
  15  Prefactor     6.9621        5.1055        .71985E-03   -1.5180    
  16  Prefactor     73.810        110.15        .23372E-03   -1.3988    
  17  norm          .10000E-03    4.6412        .16535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     51.441        53.223        .55923E-04   -1.4272    
  20  Prefactor     1.6202        53.284        .16663E-02   -1.5453    
  21  Prefactor     .10000E-03    45.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3246        .27052        .27613E-03   -.82834    
  23  Prefactor     .81704        .15655        .21341E-03   -.99103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53836e-10
Minuit parameter uncertainties:
  1  2.48178
  2  8.19915e-05
  3  1.99734
  4  6.51965e-07
  5  0.000573947
  6  0.000929972
  7  11.8394
  8  0.000184792
  9  32.285
  10  6.90958
  11  9.01038
  12  6.64162e-08
  13  0.00186018
  14  13.699
  15  5.10586
  16  110.453
  17  9.29798e-06
  18  5.35217e-05
  19  53.2718
  20  18.6003
  21  0.000608241
  22  0.27081
  23  0.156631
Done.

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

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  8.644e+00  3.229e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.416e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  8.170e-01  1.566e-01  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  1.325e+00  2.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 323.023 -54.312
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/283671/likelihoodResults_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.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) = 6230.82785317
delta logL = 0.0504213876256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6230.82409679
delta logL = 0.0541777692306

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6230.824     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      220 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9434        599.96        .37976E-02    .52311E-04
   2  Index         2.9515        6.4711        .22227        .65106E-04
   3  Normalizat    1.3111        .48793E-01    .62694E-01    .96571E-05
   4  Prefactor     .82140        .30181E-01    .43995E-01    .89378E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.94338
  Index      = 2.95147
  Normalizat = 1.31113
  Prefactor  = 0.821402
 **********
 **   18 **HESSE 
 **********

 FCN=   6230.824     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9434        31.983        .15190E-03   -1.5181    
   2  Index         2.9515        2.0470        .11391E-01   -.42213    
   3  Normalizat    1.3111        .24990        .27731E-03   -.83235    
   4  Prefactor     .82140        .15359        .21288E-03   -.98944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26726e-11
Minuit parameter uncertainties:
  1  29.8301
  2  2.12284
  3  0.250128
  4  0.153666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/283671': 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) = 6230.82409497
delta logL = 0.0541795881109

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  6.943e+00  2.983e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.951e+00  2.123e+00  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  8.214e-01  1.537e-01  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  1.311e+00  2.501e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 323.023 -54.312

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/283671/cmap_HighResolution_664416001_664675201_4FGL_J2132.0-5418_daily_bin1640.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.54e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2022-01-24 00:48:13.780482', job_id='283671', GAL2='0.82', fit_tolerance='1e-08', EG2='1.31', EG='1.32', time_epoch_completed='1643014093.78', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='5.42e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='1640' AND source_name='4FGL J2132.0-5418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 24 00:48:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 283671: <4FGL_J2132.0-5418_daily_bin1640> in cluster <slac> Done

Job <4FGL_J2132.0-5418_daily_bin1640> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Jan 24 00:35:45 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 24 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 24 00:35:47 2022
Terminated at Mon Jan 24 00:48:14 2022
Results reported at Mon Jan 24 00:48:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2132.0-5418_daily_bin1640 323.023 -54.3125 664416001 664675201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2132.0-5418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            749 sec.

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

