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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1296
RA = 203.323, Dec = 27.4221
tmin = 575251201, tmax = 575510401
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='772300', job_status='RUN', time_executed='2021-09-08 03:21:42.497958', time_epoch_executed='1631096502.5' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/772300

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/772300/ft1_4FGL_J1333.2+2725_daily_bin1296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/772300/ft2_4FGL_J1333.2+2725_daily_bin1296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/772300/ft1_4FGL_J1333.2+2725_daily_bin1296.fits outfile=/scratch/kocevski/772300/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1296.fits ra=203.323 dec=27.4221 rad=12.0 tmin=575251201.0 tmax=575510401.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 4.35
user 4.08
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/772300/ft2_4FGL_J1333.2+2725_daily_bin1296.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/772300/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1296.fits evtable="EVENTS" outfile="/scratch/kocevski/772300/ft1_filtered_4FGL_J1333.2+2725_daily_bin1296.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.45
user 0.30
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/772300/ft1_filtered_4FGL_J1333.2+2725_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/772300/ft2_4FGL_J1333.2+2725_daily_bin1296.fits sctable="SC_DATA" expcube=/scratch/kocevski/772300/ltcube_575251201_575510401_4FGL_J1333.2+2725_daily_bin1296.fits outfile=/scratch/kocevski/772300/expmap_575251201_575510401_4FGL_J1333.2+2725_daily_bin1296.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/772300/ltcube_575251201_575510401_4FGL_J1333.2+2725_daily_bin1296.fits
.....................!
real 157.49
user 152.56
sys 4.56

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/772300/ft1_filtered_4FGL_J1333.2+2725_daily_bin1296.fits scfile=/scratch/kocevski/772300/ft2_4FGL_J1333.2+2725_daily_bin1296.fits outfile=/scratch/kocevski/772300/cmap_575251201_575510401_4FGL_J1333.2+2725_daily_bin1296.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.48
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/772300/ft1_filtered_4FGL_J1333.2+2725_daily_bin1296.fits scfile=/scratch/kocevski/772300/ft2_4FGL_J1333.2+2725_daily_bin1296.fits outfile=/scratch/kocevski/772300/cmap_HighResolution_575251201_575510401_4FGL_J1333.2+2725_daily_bin1296.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.49
user 0.33
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    139.99       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.9426       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.0407       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.7020       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1272       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14526E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10750E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    106.46       1.0000         .10000E-03   10000.    
    15 'norm      '    8.7874       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.209       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11208E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.6490       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.3887       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .58319       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3030       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=   4880.489     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2227 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     139.91        95.920       -.56839E-05   -.30615E-03
   2  Prefactor     .10000E-03    6.2169       -.27889E-06** at limit **
   3  norm          6.9457        7.0461        .43311E-05   -.19037E-03
   4  Prefactor     .10000E-03    18.552       -.28482E-06** at limit **
   5  norm          3.0408        3.1007        .17036E-06   -.16641E-04
   6  Prefactor     .10000E-03    12.279        .83661E-07** at limit **
   7  norm          6.7038        5.2551       -.42350E-06   -.49810E-03
   8  norm          3.1297        3.6951       -.10158E-05   -.77953E-03
   9  norm          .10000E-03    2.3695        .26509E-07** at limit **
  10  norm          .10000E-03    15.539       -.70122E-07** at limit **
  11  Prefactor     .10001E-03    1.9977        .22645E-05** at limit **
  12  Prefactor     .10000E-03    5.0349        .66421E-06** at limit **
  13  norm          .10000E-03    7.6169        .11448E-06** at limit **
  14  Prefactor     106.53        69.105       -.15868E-06    .13840E-03
  15  norm          8.7909        7.4463        .87178E-06   -.23894E-04
  16  Prefactor     .10000E-03    13.288        .75912E-08** at limit **
  17  Prefactor     10.203        15.843        .23329E-06   -.57529E-04
  18  Prefactor     .10000E-03    29.986        .21816E-06** at limit **
  19  Prefactor     .10000E-03    2.4777        .11391E-06** at limit **
  20  Prefactor     6.6451        10.916        .41566E-05   -.90569E-05
  21  Prefactor     8.3894        4.7336        .14788E-06   -.28434E-04
  22  Normalizat    .58267        .17574       -.22956E-05   -.32151E-03
  23  Prefactor     1.3036        .19368       -.62264E-06   -.31197E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 139.915
  Prefactor  = 0.0001
  norm       = 6.94568
  Prefactor  = 0.0001
  norm       = 3.0408
  Prefactor  = 0.0001
  norm       = 6.70377
  norm       = 3.12967
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 106.532
  norm       = 8.79087
  Prefactor  = 0.0001
  Prefactor  = 10.2026
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.64507
  Prefactor  = 8.38939
  Normalizat = 0.582673
  Prefactor  = 1.30357
 **********
 **   18 **HESSE 
 **********

 FCN=   4880.489     FROM HESSE     STATUS=OK           368 CALLS     2595 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     139.91        96.185        .17023E-03   -1.3337    
   2  Prefactor     .10000E-03    6.3588        .17003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.9457        7.0786        .76130E-03   -1.5181    
   4  Prefactor     .10000E-03    18.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.0408        3.0915        .12029E-03   -1.5359    
   6  Prefactor     .10000E-03    12.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.7038        5.2448        .13673E-03   -1.5190    
   8  norm          3.1297        3.6873        .13427E-03   -1.5354    
   9  norm          .10000E-03    2.3709        .10490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    15.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    3.3395        .17689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.0456        .15308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.7705        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     106.53        68.670        .19488E-03   -1.3640    
  15  norm          8.7909        7.4288        .67608E-03   -1.5115    
  16  Prefactor     .10000E-03    13.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.203        15.850        .12541E-03   -1.5069    
  18  Prefactor     .10000E-03    29.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.4386        .21144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.6451        10.975        .77810E-03   -1.5192    
  21  Prefactor     8.3894        4.7366        .11023E-03   -1.5129    
  22  Normalizat    .58267        .20680        .27328E-03   -1.0872    
  23  Prefactor     1.3036        .23032        .21609E-03   -.83201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24828e-09
Minuit parameter uncertainties:
  1  96.2933
  2  2.35764e-05
  3  7.07944
  4  7.6702e-06
  5  3.09165
  6  3.58225e-06
  7  5.24521
  8  3.68753
  9  2.66573e-06
  10  1.21112e-05
  11  0.000305213
  12  2.08849e-05
  13  3.83624e-05
  14  68.7211
  15  7.42955
  16  1.24982e-05
  17  15.8561
  18  1.51177e-05
  19  9.37987e-05
  20  10.9785
  21  4.73677
  22  0.207074
  23  0.230499
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.020e+01  1.586e+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.304e+00  2.305e-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:  5.827e-01  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/772300/likelihoodResults_575251201_575510401_4FGL_J1333.2+2725_daily_bin1296.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4880.48505937
delta logL = 0.0035315887435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4880.48381487
delta logL = 0.00477608852816

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4371       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4598       1.0000          .0000       10.000    
     3 'Normalizat'    .57896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3063       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=   4880.484     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      261 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4422        18.392        .13045E-03    .22832E-04
   2  Index         2.4568        1.5590        .11142E-01    .14016E-04
   3  Normalizat    .57895        .20273        .27414E-03    .89187E-03
   4  Prefactor     1.3063        .22851        .21590E-03    .11892E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.44217
  Index      = 2.45679
  Normalizat = 0.578945
  Prefactor  = 1.30631
 **********
 **   18 **HESSE 
 **********

 FCN=   4880.484     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4422        17.264        .52182E-05   -1.5093    
   2  Index         2.4568        1.4644        .44567E-03   -.53361    
   3  Normalizat    .57895        .20225        .54828E-04   -1.0889    
   4  Prefactor     1.3063        .22827        .43181E-04   -.83119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47468e-09
Minuit parameter uncertainties:
  1  17.2729
  2  1.49426
  3  0.202507
  4  0.228442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/772300': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4880.48381203
delta logL = 0.0047789232658

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  9.442e+00  1.727e+01  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.457e+00  1.494e+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.306e+00  2.284e-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:  5.789e-01  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.63
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/772300/cmap_HighResolution_575251201_575510401_4FGL_J1333.2+2725_daily_bin1296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.95e-03', job_status='DONE', photon_flux_upper_limit='7.74e-08', time_completed='2021-09-08 03:31:03.489088', job_id='772300', GAL2='1.31', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1631097063.49', return_code2='0', ts='0.63', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='4.78e-03', ts2='0.64', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1296' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:31:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 772300: <4FGL_J1333.2+2725_daily_bin1296> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1296 203.323 27.4221 575251201 575510401 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 :                                   467.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             213.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            904 sec.

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

