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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1465
RA = 203.323, Dec = 27.4221
tmin = 619056001, tmax = 619315201
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='773609', job_status='RUN', time_executed='2021-09-08 03:20:52.831939', time_epoch_executed='1631096452.83' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/773609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/773609/ft1_4FGL_J1333.2+2725_daily_bin1465.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/773609/ft1_4FGL_J1333.2+2725_daily_bin1465.fits outfile=/scratch/kocevski/773609/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1465.fits ra=203.323 dec=27.4221 rad=12.0 tmin=619056001.0 tmax=619315201.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.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.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/773609/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1465.fits evtable="EVENTS" outfile="/scratch/kocevski/773609/ft1_filtered_4FGL_J1333.2+2725_daily_bin1465.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/773609/ft1_filtered_4FGL_J1333.2+2725_daily_bin1465.fits" evtable="EVENTS" scfile=/scratch/kocevski/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.fits sctable="SC_DATA" outfile=/scratch/kocevski/773609/ltcube_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.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/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.fits
.....................!
real 15.39
user 15.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/773609/ft1_filtered_4FGL_J1333.2+2725_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.fits sctable="SC_DATA" expcube=/scratch/kocevski/773609/ltcube_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.fits outfile=/scratch/kocevski/773609/expmap_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.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/773609/ltcube_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.fits
.....................!
real 193.09
user 187.23
sys 5.08

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/773609/ft1_filtered_4FGL_J1333.2+2725_daily_bin1465.fits scfile=/scratch/kocevski/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.fits outfile=/scratch/kocevski/773609/cmap_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/773609/ft1_filtered_4FGL_J1333.2+2725_daily_bin1465.fits scfile=/scratch/kocevski/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.fits outfile=/scratch/kocevski/773609/cmap_HighResolution_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.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.58
user 0.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/773609/ft1_filtered_4FGL_J1333.2+2725_daily_bin1465.fits', '/scratch/kocevski/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.fits', expMap='/scratch/kocevski/773609/expmap_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.fits', expCube='/scratch/kocevski/773609/ltcube_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/773609/Model_4FGL_J1333.2+2725_daily_bin1465.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/773609/ft1_filtered_4FGL_J1333.2+2725_daily_bin1465.fits
Spacecraft file(s): /scratch/kocevski/773609/ft2_4FGL_J1333.2+2725_daily_bin1465.fits
Exposure map: /scratch/kocevski/773609/expmap_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.fits
Exposure cube: /scratch/kocevski/773609/ltcube_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/773609/Model_4FGL_J1333.2+2725_daily_bin1465.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) = 5937.21701849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.420       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1440       1.0000         .10000E-03   10000.    
     3 'norm      '    11.799       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.4896       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5338       1.0000         .10000E-03   10000.    
     8 'norm      '    .85289       1.0000         .10000E-03   10000.    
     9 'norm      '    7.7840       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8957       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    23.047       1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.265       1.0000         .10000E-03   10000.    
    15 'norm      '    4.4506       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .50211       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.191       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.826       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0174       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0644       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=   5937.205     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2529 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     55.396        76.298       -.73847E-06   -.79061E-04
   2  Prefactor     6.1411        7.4692        .13142E-06   -.10636E-04
   3  norm          11.793        6.8293       -.28162E-07   -.22315E-03
   4  Prefactor     .10000E-03    35.629        .19638E-06** at limit **
   5  norm          2.4886        2.8991        .22541E-07   -.23315E-04
   6  Prefactor     .10000E-03    10.009        .12830E-07** at limit **
   7  norm          1.5333        3.5477        .49200E-06   -.47218E-04
   8  norm          .85953        11.741        .25548E-05    .83858E-04
   9  norm          7.7715        12.193       -.12235E-05   -.29182E-03
  10  norm          .10000E-03    6.7164        .58526E-07** at limit **
  11  Prefactor     2.8938        4.1291       -.19212E-06   -.13377E-03
  12  Prefactor     .10000E-03    5.9186       -.19571E-06** at limit **
  13  norm          23.044        9.6744       -.18644E-05   -.69249E-04
  14  Prefactor     32.226        57.306       -.12180E-05   -.14004E-03
  15  norm          4.4478        9.4436        .92897E-05   -.27877E-03
  16  Prefactor     .23334        13.658       -.13660E-05    .17254E-03
  17  Prefactor     .10000E-03    10.971        .16089E-06** at limit **
  18  Prefactor     19.058        116.95       -.10357E-04   -.14981E-03
  19  Prefactor     .10000E-03    3.0120        .32252E-06** at limit **
  20  Prefactor     .10000E-03    5.9174        .40716E-06** at limit **
  21  Prefactor     14.822        6.3543       -.26556E-07    .32079E-04
  22  Normalizat    1.0182        .20071        .40017E-05   -.26584E-03
  23  Prefactor     1.0639        .19941       -.53051E-05    .22245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 55.396
  Prefactor  = 6.14107
  norm       = 11.7935
  Prefactor  = 0.0001
  norm       = 2.48857
  Prefactor  = 0.0001
  norm       = 1.53331
  norm       = 0.859535
  norm       = 7.77153
  norm       = 0.0001
  Prefactor  = 2.89377
  Prefactor  = 0.0001
  norm       = 23.0442
  Prefactor  = 32.2261
  norm       = 4.4478
  Prefactor  = 0.233337
  Prefactor  = 0.0001
  Prefactor  = 19.0584
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.822
  Normalizat = 1.01825
  Prefactor  = 1.06393
 **********
 **   18 **HESSE 
 **********

 FCN=   5937.205     FROM HESSE     STATUS=OK           376 CALLS     2905 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     55.396        76.346        .53883E-04   -1.4218    
   2  Prefactor     6.1411        7.4637        .16197E-03   -1.5212    
   3  norm          11.793        6.7613        .11662E-03   -1.5021    
   4  Prefactor     .10000E-03    35.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.4886        2.8933        .13677E-03   -1.5392    
   6  Prefactor     .10000E-03    10.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5333        3.4852        .21065E-03   -1.5460    
   8  norm          .85953        8.4880        .25084E-03   -1.5523    
   9  norm          7.7715        10.520        .14373E-03   -1.5150    
  10  norm          .10000E-03    6.7187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.8938        4.0540        .16118E-03   -1.5368    
  12  Prefactor     .10000E-03    5.9252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          23.044        9.6692        .83437E-04   -1.4748    
  14  Prefactor     32.226        57.153        .70542E-04   -1.4572    
  15  norm          4.4478        9.5165        .95437E-03   -1.5286    
  16  Prefactor     .23334        24.010        .79100E-01   -1.5611    
  17  Prefactor     .10000E-03    10.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.058        120.56        .91427E-04   -1.4835    
  19  Prefactor     .10000E-03    3.1410        .26099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.9465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     14.822        6.3652        .10402E-03   -1.4938    
  22  Normalizat    1.0182        .23397        .25334E-03   -.92422    
  23  Prefactor     1.0639        .22917        .26372E-03   -.90628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99662e-09
Minuit parameter uncertainties:
  1  76.4818
  2  7.4648
  3  6.76177
  4  8.0599e-05
  5  2.8935
  6  1.36887e-05
  7  3.48561
  8  5.40281
  9  10.5222
  10  1.21188e-06
  11  4.05437
  12  1.96385e-05
  13  9.66988
  14  57.2507
  15  9.51975
  16  4.73478
  17  1.25255e-06
  18  96.154
  19  1.77097e-06
  20  1.63195e-05
  21  6.36553
  22  0.234203
  23  0.229385
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.253e-06  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:  1.064e+00  2.294e-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.018e+00  2.342e-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: 6.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/773609/likelihoodResults_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.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) = 5937.20553158
delta logL = -0.000433782820437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5937.2050978
delta logL = -1.50612322614e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3133       1.0000          .0000       10.000    
     3 'Normalizat'    1.0183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0639       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.

 FCN=   5937.205     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.896        .90712E-02** at limit **
   2  Index         2.3116        5.6665        .50000        .13336E-05
   3  Normalizat    1.0183        .78679E-02    .43618E-01    .17969E-05
   4  Prefactor     1.0639        .83925E-02    .59636E-01    .49454E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.31159
  Normalizat = 1.01825
  Prefactor  = 1.06392
 **********
 **   18 **HESSE 
 **********

 FCN=   5937.205     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    181.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3116        8.2745        .50000       -.56769    
   3  Normalizat    1.0183        .18764E-01    .25333E-03   -.92421    
   4  Prefactor     1.0639        .20006E-01    .26373E-03   -.90628    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.66316e-08
Minuit parameter uncertainties:
  1  3.82623e-07
  2  682.583
  3  0.018764
  4  0.0200063
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/773609': 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) = 5937.2050978
delta logL = 1.6934791347e-09

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  3.826e-07  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.312e+00  6.826e+02  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:  1.064e+00  2.001e-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.018e+00  1.876e-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/773609/cmap_HighResolution_619056001_619315201_4FGL_J1333.2+2725_daily_bin1465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', job_status='DONE', photon_flux_upper_limit='6.52e-08', time_completed='2021-09-08 03:31:21.565442', job_id='773609', GAL2='1.06', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631097081.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.69e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1465' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:31:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 773609: <4FGL_J1333.2+2725_daily_bin1465> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1465> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 03:20:35 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 03:20:36 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:20:36 2021
Terminated at Wed Sep  8 03:31:30 2021
Results reported at Wed Sep  8 03:31:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1465 203.323 27.4221 619056001 619315201 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 :                                   619.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             369.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            655 sec.

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

