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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1060
RA = 203.323, Dec = 27.4221
tmin = 514080001, tmax = 514339201
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='771988', job_status='RUN', time_executed='2021-09-08 03:17:28.678900', time_epoch_executed='1631096248.68' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/771988

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/771988/ft1_4FGL_J1333.2+2725_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/771988/ft1_4FGL_J1333.2+2725_daily_bin1060.fits outfile=/scratch/kocevski/771988/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1060.fits ra=203.323 dec=27.4221 rad=12.0 tmin=514080001.0 tmax=514339201.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.02
user 2.77
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.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/771988/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1060.fits evtable="EVENTS" outfile="/scratch/kocevski/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.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.48
user 0.27
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/771988/ltcube_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.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/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits
.....................!
real 14.69
user 14.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/771988/ltcube_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.fits outfile=/scratch/kocevski/771988/expmap_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.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/771988/ltcube_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.fits
.....................!
real 155.56
user 149.99
sys 5.21

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

Setting source of interest to:
4FGL J1333.2+2725 @ 203.323 27.4221

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.fits scfile=/scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits outfile=/scratch/kocevski/771988/cmap_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.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=203.323 yref=27.4221 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.47
user 0.30
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.fits scfile=/scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits outfile=/scratch/kocevski/771988/cmap_HighResolution_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.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=203.323 yref=27.4221 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.48
user 0.31
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/771988/Model_4FGL_J1333.2+2725_daily_bin1060.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/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.fits.....................!
real 42.64
user 40.80
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.fits', '/scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits', expMap='/scratch/kocevski/771988/expmap_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.fits', expCube='/scratch/kocevski/771988/ltcube_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/771988/Model_4FGL_J1333.2+2725_daily_bin1060.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1333.2+2725'

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.668e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/771988/ft1_filtered_4FGL_J1333.2+2725_daily_bin1060.fits
Spacecraft file(s): /scratch/kocevski/771988/ft2_4FGL_J1333.2+2725_daily_bin1060.fits
Exposure map: /scratch/kocevski/771988/expmap_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.fits
Exposure cube: /scratch/kocevski/771988/ltcube_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/771988/Model_4FGL_J1333.2+2725_daily_bin1060.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) = 5773.17140354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.877       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.6002       1.0000         .10000E-03   10000.    
     3 'norm      '    2.1177       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.9190       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.9415       1.0000         .10000E-03   10000.    
     9 'norm      '    .47880E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5249       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.8496       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10938E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.0327       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1035       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.247       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    59.951       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.069       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6864       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6226       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .39138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5773.167     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2537 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.896        73.848        .58003E-07   -.68448E-05
   2  Prefactor     7.6004        6.4893        .13180E-06    .39093E-04
   3  norm          2.1172        3.6634       -.98195E-07    .27812E-03
   4  Prefactor     .10000E-03    15.249       -.12173E-06** at limit **
   5  norm          2.9195        4.2889       -.62286E-07    .41073E-03
   6  Prefactor     .10000E-03    5.0235        .38646E-07** at limit **
   7  norm          .10000E-03    1.4859        .25904E-07** at limit **
   8  norm          3.9405        3.2292       -.20335E-05   -.86289E-03
   9  norm          .10001E-03    11.601        .97671E-05** at limit **
  10  norm          1.5796        73.225        .16781E-05    .21651E-04
  11  Prefactor     7.8456        4.0711        .16897E-07   -.36863E-03
  12  Prefactor     .10000E-03    10.552        .13600E-06** at limit **
  13  norm          8.0404        8.5555       -.19350E-05    .74906E-03
  14  Prefactor     .10000E-03    23.620        .40869E-06** at limit **
  15  norm          1.0883        15.127        .95400E-05    .15187E-03
  16  Prefactor     10.242        16.706        .30133E-06   -.85270E-04
  17  Prefactor     .10000E-03    12.733        .12890E-06** at limit **
  18  Prefactor     59.882        72.910        .22339E-05   -.76709E-04
  19  Prefactor     .10000E-03    1.6952        .39697E-07** at limit **
  20  Prefactor     18.069        14.225        .10801E-06   -.66464E-04
  21  Prefactor     5.6854        5.0766        .73647E-07   -.11244E-03
  22  Normalizat    1.6229        .19555       -.54745E-06    .56207E-03
  23  Prefactor     .39116        .19197       -.32574E-06   -.19634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.8961
  Prefactor  = 7.60035
  norm       = 2.11718
  Prefactor  = 0.0001
  norm       = 2.91955
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.94046
  norm       = 0.000100011
  norm       = 1.57965
  Prefactor  = 7.84557
  Prefactor  = 0.0001
  norm       = 8.04036
  Prefactor  = 0.0001
  norm       = 1.08828
  Prefactor  = 10.2422
  Prefactor  = 0.0001
  Prefactor  = 59.8824
  Prefactor  = 0.0001
  Prefactor  = 18.0689
  Prefactor  = 5.68542
  Normalizat = 1.62289
  Prefactor  = 0.391158
 **********
 **   18 **HESSE 
 **********

 FCN=   5773.167     FROM HESSE     STATUS=OK           378 CALLS     2915 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.896        73.998        .81976E-04   -1.4730    
   2  Prefactor     7.6004        6.4808        .72733E-03   -1.5157    
   3  norm          2.1172        3.6335        .18079E-03   -1.5417    
   4  Prefactor     .10000E-03    15.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.9195        4.2660        .18006E-03   -1.5366    
   6  Prefactor     .10000E-03    5.0259        .16632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.4878        .90441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.9405        3.3321        .59964E-03   -1.5311    
   9  norm          .10001E-03    41.551        .34014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5796        71.172        .34584E-03   -1.5457    
  11  Prefactor     7.8456        4.0835        .10402E-03   -1.5148    
  12  Prefactor     .10000E-03    10.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.0404        8.6759        .14147E-03   -1.5141    
  14  Prefactor     .10000E-03    23.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0883        17.668        .22575E-02   -1.5499    
  16  Prefactor     10.242        16.786        .12517E-03   -1.5068    
  17  Prefactor     .10000E-03    12.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     59.882        73.019        .25909E-03   -1.4159    
  19  Prefactor     .10000E-03    1.7069        .96574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.069        14.198        .94221E-04   -1.4858    
  21  Prefactor     5.6854        5.0878        .15566E-03   -1.5231    
  22  Normalizat    1.6229        .22028        .20436E-03   -.74381    
  23  Prefactor     .39116        .20945        .38874E-03   -1.1726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28856e-09
Minuit parameter uncertainties:
  1  74.2846
  2  6.48145
  3  3.63391
  4  0.000134541
  5  4.26641
  6  1.65262e-06
  7  3.57014e-06
  8  3.33229
  9  0.00134335
  10  21.2325
  11  4.08366
  12  7.74008e-05
  13  8.67726
  14  0.000125474
  15  8.77249
  16  16.7935
  17  1.46454e-05
  18  73.128
  19  1.88516e-06
  20  14.2011
  21  5.08818
  22  0.220409
  23  0.209862
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.465e-05  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  3.912e-01  2.099e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.623e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 203.323 27.422
Photon Flux Upper Limit: 7.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/771988/likelihoodResults_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.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) = 5773.16724468
delta logL = -0.000373347197637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5773.16687135
delta logL = -9.36142896535e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5773.167     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      253 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10019E-03    180.05        .18142E-02** at limit **
   2  Index         2.2847        8.1742        .50000        .30822E-05
   3  Normalizat    1.6229        .17240E-01    .20436E-03    .36549E-04
   4  Prefactor     .39116        .17244E-01    .38874E-03   -.24595E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100187
  Index      = 2.28474
  Normalizat = 1.62289
  Prefactor  = 0.391164
 **********
 **   18 **HESSE 
 **********

 FCN=   5773.167     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10019E-03    770.88        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2847        8.7482        .50000       -.57407    
   3  Normalizat    1.6229        .38213E-01    .81745E-05   -.74381    
   4  Prefactor     .39116        .38217E-01    .15550E-04   -1.1726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.32091e-09
Minuit parameter uncertainties:
  1  0.024312
  2  1311.24
  3  0.0382134
  4  0.0382198
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/771988': 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) = 5773.16687132
delta logL = 1.73868102138e-08

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.002e-04  2.431e-02  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.285e+00  1.311e+03  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  9.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  3.912e-01  3.822e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.623e+00  3.821e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

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/771988/cmap_HighResolution_514080001_514339201_4FGL_J1333.2+2725_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2021-09-08 03:26:11.480344', job_id='771988', GAL2='0.39', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1631096771.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.39', dlogl='1.74e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1060' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:26:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 771988: <4FGL_J1333.2+2725_daily_bin1060> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1060> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 03:15:36 2021
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 03:17:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 03:17:13 2021
Terminated at Wed Sep  8 03:26:12 2021
Results reported at Wed Sep  8 03:26:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1060 203.323 27.4221 514080001 514339201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1333.2+2725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   517.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             295.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   538 sec.
    Turnaround time :                            636 sec.

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

