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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1120
RA = 203.323, Dec = 27.4221
tmin = 529632001, tmax = 529891201
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='772075', job_status='RUN', time_executed='2021-09-08 03:20:06.921808', time_epoch_executed='1631096406.92' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/772075

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/772075/ft1_4FGL_J1333.2+2725_daily_bin1120.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/772075/ft2_4FGL_J1333.2+2725_daily_bin1120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/772075/ft1_4FGL_J1333.2+2725_daily_bin1120.fits outfile=/scratch/kocevski/772075/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1120.fits ra=203.323 dec=27.4221 rad=12.0 tmin=529632001.0 tmax=529891201.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 5.58
user 3.42
sys 0.28

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/772075/ft1_filtered_4FGL_J1333.2+2725_daily_bin1120.fits evtable="EVENTS" scfile=/scratch/kocevski/772075/ft2_4FGL_J1333.2+2725_daily_bin1120.fits sctable="SC_DATA" expcube=/scratch/kocevski/772075/ltcube_529632001_529891201_4FGL_J1333.2+2725_daily_bin1120.fits outfile=/scratch/kocevski/772075/expmap_529632001_529891201_4FGL_J1333.2+2725_daily_bin1120.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/772075/ltcube_529632001_529891201_4FGL_J1333.2+2725_daily_bin1120.fits
.....................!
real 193.43
user 188.05
sys 4.78

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/772075/ft1_filtered_4FGL_J1333.2+2725_daily_bin1120.fits scfile=/scratch/kocevski/772075/ft2_4FGL_J1333.2+2725_daily_bin1120.fits outfile=/scratch/kocevski/772075/cmap_529632001_529891201_4FGL_J1333.2+2725_daily_bin1120.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/772075/ft1_filtered_4FGL_J1333.2+2725_daily_bin1120.fits scfile=/scratch/kocevski/772075/ft2_4FGL_J1333.2+2725_daily_bin1120.fits outfile=/scratch/kocevski/772075/cmap_HighResolution_529632001_529891201_4FGL_J1333.2+2725_daily_bin1120.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10785E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4237       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .31613       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.819       1.0000         .10000E-03   10000.    
     7 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .26577       1.0000         .10000E-03   10000.    
     9 'norm      '    .10676E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .91065       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .83629E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9718       1.0000         .10000E-03   10000.    
    13 'norm      '    36.001       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.593       1.0000         .10000E-03   10000.    
    15 'norm      '    3.1193       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.1650       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9649       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23584E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.757       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99712       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0488       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=   5912.489     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2331 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.024        .32839E-07** at limit **
   2  Prefactor     .10001E-03    4.6493       -.24875E-06** at limit **
   3  norm          2.4250        3.4601        .99910E-07   -.97793E-06
   4  Prefactor     .10000E-03    8.0899        .65238E-07** at limit **
   5  norm          .31214        2.3603        .18331E-06    .10181E-03
   6  Prefactor     13.823        13.775        .45980E-06    .78276E-05
   7  norm          .10000E-03    1.9265       -.11778E-07** at limit **
   8  norm          .26662        3.1146       -.73086E-06   -.50769E-03
   9  norm          .10000E-03    3.1535        .60730E-06** at limit **
  10  norm          .93003        14.935       -.29310E-05    .36202E-03
  11  Prefactor     .74181E-01    1.3495       -.22060E-06   -.24125E-03
  12  Prefactor     2.9892        9.2580        .35108E-05    .12494E-03
  13  norm          35.998        10.313       -.11664E-06    .11458E-03
  14  Prefactor     16.628        32.802        .51648E-05    .22505E-04
  15  norm          3.1192        6.2329        .73593E-06    .42790E-04
  16  Prefactor     9.1700        12.863       -.14677E-06   -.13656E-04
  17  Prefactor     6.9653        18.677        .32779E-05    .19341E-04
  18  Prefactor     .10000E-03    29.912       -.40561E-06** at limit **
  19  Prefactor     .10000E-03    1.7930       -.25890E-08** at limit **
  20  Prefactor     .14022        5.6956        .58911E-06   -.11856E-03
  21  Prefactor     15.759        5.5213        .88258E-07   -.52852E-05
  22  Normalizat    .99732        .16778       -.49925E-06   -.25501E-04
  23  Prefactor     1.0482        .17811       -.71065E-06   -.74157E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  norm       = 2.42496
  Prefactor  = 0.0001
  norm       = 0.312139
  Prefactor  = 13.8233
  norm       = 0.0001
  norm       = 0.266616
  norm       = 0.0001
  norm       = 0.930032
  Prefactor  = 0.0741813
  Prefactor  = 2.9892
  norm       = 35.9976
  Prefactor  = 16.6283
  norm       = 3.11923
  Prefactor  = 9.17005
  Prefactor  = 6.96526
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.140225
  Prefactor  = 15.7588
  Normalizat = 0.997323
  Prefactor  = 1.04821
 **********
 **   18 **HESSE 
 **********

 FCN=   5912.489     FROM HESSE     STATUS=OK           388 CALLS     2719 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    29.698        .31237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4250        3.4414        .16479E-03   -1.5397    
   4  Prefactor     .10000E-03    8.0987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .31214        11.537        .21885E-02   -1.5596    
   6  Prefactor     13.823        13.769        .10775E-03   -1.4964    
   7  norm          .10000E-03    1.9335        .10417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .26662        2.6446        .23833E-03   -1.5605    
   9  norm          .10000E-03    5.7387        .23750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .93003        67.333        .50728E-02   -1.5515    
  11  Prefactor     .74181E-01    15.720        .16366E-02   -1.5654    
  12  Prefactor     2.9892        9.8097        .11776E-02   -1.5362    
  13  norm          35.998        10.317        .66793E-04   -1.4507    
  14  Prefactor     16.628        32.381        .98322E-04   -1.4892    
  15  norm          3.1192        6.2009        .22957E-03   -1.5355    
  16  Prefactor     9.1700        12.842        .13239E-03   -1.5102    
  17  Prefactor     6.9653        18.538        .15201E-03   -1.5180    
  18  Prefactor     .10000E-03    29.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.8156        .10048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .14022        142.65        .34640E-02   -1.5633    
  21  Prefactor     15.759        5.5275        .10090E-03   -1.4914    
  22  Normalizat    .99732        .19594        .23367E-03   -.93120    
  23  Prefactor     1.0482        .21039        .25370E-03   -.91139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7486e-09
Minuit parameter uncertainties:
  1  1.43178e-05
  2  0.00121714
  3  3.44164
  4  2.3679e-06
  5  3.79555
  6  13.7723
  7  2.29721e-06
  8  1.67918
  9  2.54652e-05
  10  15.8445
  11  2.15886
  12  9.81499
  13  10.3171
  14  32.4152
  15  6.2022
  16  12.8461
  17  18.5531
  18  5.27597e-06
  19  7.61497e-07
  20  8.96337
  21  5.52772
  22  0.196077
  23  0.210555
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  6.965e+00  1.855e+01  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.048e+00  2.106e-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:  9.973e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/772075/likelihoodResults_529632001_529891201_4FGL_J1333.2+2725_daily_bin1120.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) = 5912.42735831
delta logL = 0.0611547407716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5911.31321494
delta logL = 1.17529810939

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.7638       1.0000          .0000       10.000    
     3 'Normalizat'    .93062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1025       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=   5911.313     FROM MIGRAD    STATUS=CONVERGED    192 CALLS      488 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .35384E-02    .31091E-03** at limit **
   2  Index         8.7637        2.7011        .17954        .85523E-04
   3  Normalizat    .93065        .45223E-01    .45292E-01   -.45188E-04
   4  Prefactor     1.1025        .49999E-01    .56150E-01   -.92734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.76374
  Normalizat = 0.930647
  Prefactor  = 1.10255
 **********
 **   18 **HESSE 
 **********

 FCN=   5911.313     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      529 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .20408E-01    .15831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.7637        8.3709        .75588E-02    .85223    
   3  Normalizat    .93065        .10044        .24060E-03   -.95391    
   4  Prefactor     1.1025        .11138        .24828E-03   -.89385    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.6242e-07
Minuit parameter uncertainties:
  1  1.40199e-07
  2  4.90521
  3  0.100462
  4  0.111403
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/772075': 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) = 5911.31318068
delta logL = 1.17533237287

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.402e-07  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  8.764e+00  4.905e+00  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.103e+00  1.114e-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:  9.306e-01  1.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.64
Ra Dec: 203.323 27.422
Photon Index (Free Index): 8.76 +/- 4.91
Photon Flux (Free Index): 5.45e-08 +/- 5.57e-07
Energy Flux (Free Index): 6.22e-06 +/- 6.34e-05

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/772075/cmap_HighResolution_529632001_529891201_4FGL_J1333.2+2725_daily_bin1120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', comment='SUCCESS', energy_flux2='6.22e-06', dlogl='1.18e+00', photon_flux2='5.45e-08', job_status='DONE', time_completed='2021-09-08 03:32:16.072563', photon_index_error2='4.91', photon_index2='8.76', ts='0.17', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='7.60e-08', energy_flux_error2='6.34e-05', EG='1.00', time_epoch_completed='1631097136.07', return_code='0', job_id='772075', GAL2='1.10', EG2='0.93', return_code2='102', photon_flux_error2='5.57e-07', ts2='2.64', photon_index='2.32' WHERE bin_id='1120' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:32:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 772075: <4FGL_J1333.2+2725_daily_bin1120> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1120> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 03:15:42 2021
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 03:17: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 03:17:42 2021
Terminated at Wed Sep  8 03:32:16 2021
Results reported at Wed Sep  8 03:32:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1120 203.323 27.4221 529632001 529891201 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 :                                   643.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            994 sec.

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

