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


Performing analysis on: 4FGL_J1331.2-1325_daily_bin1425
RA = 202.819, Dec = -13.4282
tmin = 608688001, tmax = 608947201
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='733324', job_status='RUN', time_executed='2021-09-08 01:25:44.403415', time_epoch_executed='1631089544.4' WHERE source_name='4FGL J1331.2-1325' and cadence='daily' and bin_id='1425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733324

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733324/ft1_4FGL_J1331.2-1325_daily_bin1425.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733324/ft1_4FGL_J1331.2-1325_daily_bin1425.fits outfile=/scratch/kocevski/733324/ft1_filteredMKT_4FGL_J1331.2-1325_daily_bin1425.fits ra=202.819 dec=-13.4282 rad=12.0 tmin=608688001.0 tmax=608947201.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.11
user 2.82
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.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/733324/ft1_filteredMKT_4FGL_J1331.2-1325_daily_bin1425.fits evtable="EVENTS" outfile="/scratch/kocevski/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.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.66
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.fits" evtable="EVENTS" scfile=/scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits sctable="SC_DATA" outfile=/scratch/kocevski/733324/ltcube_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.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/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits
.....................!
real 17.06
user 16.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits sctable="SC_DATA" expcube=/scratch/kocevski/733324/ltcube_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.fits outfile=/scratch/kocevski/733324/expmap_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.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/733324/ltcube_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.fits
.....................!
real 192.42
user 185.59
sys 5.86

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 J1331.2-1325 @ 202.819 -13.4282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.fits scfile=/scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits outfile=/scratch/kocevski/733324/cmap_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.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=202.819 yref=-13.4282 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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.fits scfile=/scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits outfile=/scratch/kocevski/733324/cmap_HighResolution_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.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=202.819 yref=-13.4282 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.62
user 0.38
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/733324/Model_4FGL_J1331.2-1325_daily_bin1425.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/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.fits.......................!
real 16.64
user 14.63
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.fits', '/scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits', expMap='/scratch/kocevski/733324/expmap_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.fits', expCube='/scratch/kocevski/733324/ltcube_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/733324/Model_4FGL_J1331.2-1325_daily_bin1425.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1331.2-1325'

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  5.475e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.600e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/733324/ft1_filtered_4FGL_J1331.2-1325_daily_bin1425.fits
Spacecraft file(s): /scratch/kocevski/733324/ft2_4FGL_J1331.2-1325_daily_bin1425.fits
Exposure map: /scratch/kocevski/733324/expmap_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.fits
Exposure cube: /scratch/kocevski/733324/ltcube_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/733324/Model_4FGL_J1331.2-1325_daily_bin1425.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) = 292.381827644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9716       1.0000         .10000E-03   10000.    
     2 'norm      '    611.12       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1742       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .48931       1.0000         .10000E-03   10000.    
     5 'norm      '    .24577E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .31925E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10516E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23790E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    88.974       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16425       1.0000         .10000E-03   10000.    
    11 'norm      '    8.0646       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2209       1.0000         .10000E-03   10000.    
    13 'norm      '    .27579E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1439       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.6273       1.0000         .10000E-03   10000.    
    16 'norm      '    .17512       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2346       1.0000         .10000E-03   10000.    
    18 'norm      '    2.7629       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2260       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7417       1.0000         .10000E-03   10000.    
    21 'norm      '    .52741       1.0000         .10000E-03   10000.    
    22 'norm      '    41.987       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73653       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .53290E-06   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   291.3089     FROM MIGRAD    STATUS=CONVERGED    164 CALLS      561 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9749        1.5650       -.81571E-06    .10622E-03
   2  norm          612.16        77.742        .37773E-04   -.51658E-01
   3  norm          .10223E-03    267.47       -.19747E-03** at limit **
   4  Prefactor     .10000E-03    172.80        .28706E-05** at limit **
   5  norm          .32951E-03    41.967       -.10841E-03** at limit **
   6  norm          .10000E-03    17.881       -.33014E-05** at limit **
   7  norm          .10000E-03    33.855        .48168E-08** at limit **
   8  Prefactor     .10000E-03    167.96        .10251E-04** at limit **
   9  Prefactor     92.385        149.41        .75986E-04    .90434E-02
  10  Prefactor     .17258E-03    809.30       -.42605E-03** at limit **
  11  norm          8.0692        8.9539       -.56706E-05    .40221E-04
  12  norm          .10010E-03    209.75       -.83511E-05** at limit **
  13  norm          .10489E-03    123.54       -.13086E-03** at limit **
  14  Prefactor     1.1439        1.1603         .0000         .0000    
  15  Prefactor     8.6273        1.0017         .0000         .0000    
  16  norm          .10000E-03    103.27       -.87441E-06** at limit **
  17  Prefactor     3.2346        1.0125         .0000         .0000    
  18  norm          2.7629        1.0174         .0000         .0000    
  19  Prefactor     .10554E-03    550.19        .10301E-03** at limit **
  20  Prefactor     3.7417        1.0092         .0000         .0000    
  21  norm          .10678E-03    310.99        .36844E-03** at limit **
  22  norm          43.539        91.606       -.12754E-03   -.56692E-02
  23  Normalizat    .72707        .79427        .32050E-04    .82989E-05
  24  Prefactor     .72164E-14    .87884        .43682E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 4.97492
  norm       = 612.161
  norm       = 0.000102231
  Prefactor  = 0.0001
  norm       = 0.000329505
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 92.3853
  Prefactor  = 0.000172576
  norm       = 8.06923
  norm       = 0.000100098
  norm       = 0.000104888
  Prefactor  = 1.14393
  Prefactor  = 8.62728
  norm       = 0.0001
  Prefactor  = 3.23462
  norm       = 2.76293
  Prefactor  = 0.000105535
  Prefactor  = 3.74169
  norm       = 0.000106776
  norm       = 43.5387
  Normalizat = 0.727072
  Prefactor  = 7.21645e-15
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   291.3089     FROM HESSE     STATUS=FAILED        61 CALLS      622 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9749        1.4813        .25079E-02   -1.5262    
   2  norm          612.16        786.80        .41748E-03   -1.0708    
   3  norm          .10223E-03    267.92        .10573E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    172.89        .11227E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .32951E-03    557.20        .90712E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    17.914        .10682E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    33.785        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    167.77        .91414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     92.385        136.71        .10649E-02   -1.3783    
  10  Prefactor     .17258E-03    971.76        .98132E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.0692        7.8331        .35296E-02   -1.5140    
  12  norm          .10010E-03    209.97        .68983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10489E-03    895.27        .91601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     585.07        583.63         .0000       -1.5494    
  15  Prefactor     8.6273        1.0017         .0000       -1.5120    
  16  norm          .10000E-03    .24322       -.87441E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.2346        1.0125         .0000       -1.5348    
  18  norm          2.7629        1.0174         .0000       -1.5376    
  19  Prefactor     .10554E-03    .25842        .10301E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.7417        1.0092         .0000       -1.5321    
  21  norm          .10678E-03    .32388        .36844E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          43.539        1.0183       -.12754E-03   -1.4387    
  23  Normalizat    .72707        1.0697        .32050E-04   -1.0283    
  24  Prefactor     .72164E-14    .25740        .43682E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.42335e-10
Minuit parameter uncertainties:
  1  1.48128
  2  801.661
  3  0.0491201
  4  7.02553e-05
  5  0.722021
  6  4.09232e-05
  7  6.31571e-06
  8  0.00176535
  9  137.182
  10  0.540137
  11  7.83406
  12  0.00908625
  13  0.134363
  14  1.16033
  15  1.00169
  16  1.39832e-06
  17  1.01247
  18  1.01739
  19  0.00239199
  20  1.00922
  21  0.00296278
  22  1.0183
  23  1.10304
  24  8.59756e-08
Done.

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

Extracting fit parameters...

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  1.726e-04  5.401e-01  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.600e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
567    Prefactor:  7.216e-15  8.598e-08  0.000e+00  1.000e+01 ( 1.000e+00)
568        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
569        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  7.271e-01  1.103e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 202.819 -13.428
Photon Flux Upper Limit: 1.92e-05 ph cm-2 s-1
Energy Flux Upper Limit: 1.50e+00 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/733324/likelihoodResults_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.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) = 291.308939312
delta logL = -4.72860403988e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 291.308940903
delta logL = -6.32007913737e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   291.3089     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      210 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10600E-03    2076.3        .90734E-02** at limit **
   2  Index         2.5716        7.4554        .50000        .26171E-06
   3  Normalizat    .72708        .39667E-01    .88123E-01    .53462E-04
   4  Prefactor     .65398E-09    .25549E-02    .22569    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106004
  Index      = 2.57164
  Normalizat = 0.727078
  Prefactor  = 6.53984e-10
 **********
 **   18 **HESSE 
 **********

 FCN=   291.3089     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      241 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10600E-03    8664.4        .18147E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5716        6.2301        .50000       -.50713    
   3  Normalizat    .72708        .86594E-01    .39033E-03   -1.0283    
   4  Prefactor     .65398E-09    .18714E-01    .81116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.30316e-10
Minuit parameter uncertainties:
  1  0.503611
  2  4205.4
  3  0.0866101
  4  6.99885e-06
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733324': 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) = 291.308934549
delta logL = 3.43937358593e-08

Extracting fit parameters...

4FGL J1331.2-1325
   Spectrum: PowerLaw
287    Prefactor:  1.060e-04  5.036e-01  1.000e-04  1.000e+04 ( 1.000e-13)
288        Index:  2.572e+00  4.205e+03  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  1.117e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
567    Prefactor:  6.540e-10  6.999e-06  0.000e+00  1.000e+01 ( 1.000e+00)
568        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
569        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  7.271e-01  8.661e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 202.819 -13.428

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/733324/cmap_HighResolution_608688001_608947201_4FGL_J1331.2-1325_daily_bin1425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e+00', job_status='DONE', photon_flux_upper_limit='1.92e-05', time_completed='2021-09-08 01:34:07.696519', job_id='733324', GAL2='0.00', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1631090047.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='3.44e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1425' AND source_name='4FGL J1331.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 01:34:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 733324: <4FGL_J1331.2-1325_daily_bin1425> in cluster <slac> Done

Job <4FGL_J1331.2-1325_daily_bin1425> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  8 01:21:08 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 01:22:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 01:22:42 2021
Terminated at Wed Sep  8 01:34:08 2021
Results reported at Wed Sep  8 01:34:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1331.2-1325_daily_bin1425 202.819 -13.4282 608688001 608947201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1331.2-1325 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   328.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             210.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   686 sec.
    Turnaround time :                            780 sec.

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

