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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1428
RA = 203.323, Dec = 27.4221
tmin = 609465601, tmax = 609724801
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='773555', job_status='RUN', time_executed='2021-09-08 03:22:53.242690', time_epoch_executed='1631096573.24' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1428'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/773555

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/773555/ft1_4FGL_J1333.2+2725_daily_bin1428.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/773555/ft2_4FGL_J1333.2+2725_daily_bin1428.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/773555/ft1_4FGL_J1333.2+2725_daily_bin1428.fits outfile=/scratch/kocevski/773555/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1428.fits ra=203.323 dec=27.4221 rad=12.0 tmin=609465601.0 tmax=609724801.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 2.85
user 2.64
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/773555/ft1_filtered_4FGL_J1333.2+2725_daily_bin1428.fits" evtable="EVENTS" scfile=/scratch/kocevski/773555/ft2_4FGL_J1333.2+2725_daily_bin1428.fits sctable="SC_DATA" outfile=/scratch/kocevski/773555/ltcube_609465601_609724801_4FGL_J1333.2+2725_daily_bin1428.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/773555/ft2_4FGL_J1333.2+2725_daily_bin1428.fits
.....................!
real 15.67
user 15.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/773555/ft1_filtered_4FGL_J1333.2+2725_daily_bin1428.fits evtable="EVENTS" scfile=/scratch/kocevski/773555/ft2_4FGL_J1333.2+2725_daily_bin1428.fits sctable="SC_DATA" expcube=/scratch/kocevski/773555/ltcube_609465601_609724801_4FGL_J1333.2+2725_daily_bin1428.fits outfile=/scratch/kocevski/773555/expmap_609465601_609724801_4FGL_J1333.2+2725_daily_bin1428.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/773555/ltcube_609465601_609724801_4FGL_J1333.2+2725_daily_bin1428.fits
.....................!
real 192.10
user 186.93
sys 4.73

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/773555/ft1_filtered_4FGL_J1333.2+2725_daily_bin1428.fits scfile=/scratch/kocevski/773555/ft2_4FGL_J1333.2+2725_daily_bin1428.fits outfile=/scratch/kocevski/773555/cmap_609465601_609724801_4FGL_J1333.2+2725_daily_bin1428.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/773555/ft1_filtered_4FGL_J1333.2+2725_daily_bin1428.fits scfile=/scratch/kocevski/773555/ft2_4FGL_J1333.2+2725_daily_bin1428.fits outfile=/scratch/kocevski/773555/cmap_HighResolution_609465601_609724801_4FGL_J1333.2+2725_daily_bin1428.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    115.29       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.307       1.0000         .10000E-03   10000.    
     7 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.4704       1.0000         .10000E-03   10000.    
     9 'norm      '    8.6373       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .39361       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.0849       1.0000         .10000E-03   10000.    
    15 'norm      '    36.485       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.651       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9895       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13307E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .23331E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.470       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .83473       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96733       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=   6090.619     FROM MIGRAD    STATUS=CONVERGED    517 CALLS     2568 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     115.27        69.492       -.96777E-05    .49539E-05
   2  Prefactor     .10000E-03    5.3558       -.53150E-07** at limit **
   3  norm          .10000E-03    1.3711        .76643E-07** at limit **
   4  Prefactor     .10000E-03    27.972        .96070E-07** at limit **
   5  norm          .10000E-03    1.2764       -.16020E-07** at limit **
   6  Prefactor     16.308        15.104       -.27550E-05    .35196E-05
   7  norm          .10000E-03    1.6164       -.18385E-07** at limit **
   8  norm          3.4710        4.8280        .48008E-06   -.42321E-03
   9  norm          8.6368        6.3275       -.49049E-06    .30918E-04
  10  norm          .10000E-03    9.7133        .10809E-06** at limit **
  11  Prefactor     .10000E-03    1.5917       -.37795E-07** at limit **
  12  Prefactor     .10000E-03    4.4607        .13164E-06** at limit **
  13  norm          .38996        15.637        .22313E-05   -.15551E-03
  14  Prefactor     8.0956        40.538       -.87631E-06    .20129E-06
  15  norm          36.485        18.765       -.26626E-05   -.75750E-03
  16  Prefactor     12.676        26.139       -.10048E-04    .45154E-04
  17  Prefactor     1.9589        147.87       -.12286E-04    .42210E-05
  18  Prefactor     .10000E-03    245.82       -.57974E-05** at limit **
  19  Prefactor     .10000E-03    1.7307        .14090E-06** at limit **
  20  Prefactor     .10000E-03    4.6491       -.14973E-06** at limit **
  21  Prefactor     19.470        5.5525       -.29534E-06    .23065E-04
  22  Normalizat    .83481        .17588        .51960E-05   -.32472E-03
  23  Prefactor     .96740        .17180       -.74166E-06    .32081E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 115.27
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.3079
  norm       = 0.0001
  norm       = 3.47098
  norm       = 8.6368
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.389963
  Prefactor  = 8.09561
  norm       = 36.4853
  Prefactor  = 12.6763
  Prefactor  = 1.95888
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.4696
  Normalizat = 0.834806
  Prefactor  = 0.967399
 **********
 **   18 **HESSE 
 **********

 FCN=   6090.619     FROM HESSE     STATUS=OK           372 CALLS     2940 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     115.27        69.113        .18736E-03   -1.3557    
   2  Prefactor     .10000E-03    5.4117        .17637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.3754        .89173E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.2834        .86090E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.308        15.047        .99181E-04   -1.4900    
   7  norm          .10000E-03    1.6244        .96781E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.4710        4.8017        .15256E-03   -1.5335    
   9  norm          8.6368        6.3496        .13415E-03   -1.5120    
  10  norm          .10000E-03    9.7195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.7375        .18639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.4700        .16091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .38996        124.68        .42222E-02   -1.5583    
  14  Prefactor     8.0956        40.157        .14101E-03   -1.5139    
  15  norm          36.485        20.391        .66349E-04   -1.4499    
  16  Prefactor     12.676        24.518        .11262E-03   -1.4996    
  17  Prefactor     1.9589        130.66        .29375E-03   -1.5428    
  18  Prefactor     .10000E-03    250.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.1757        .19537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.6565        .16434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.470        5.5581        .90771E-04   -1.4825    
  22  Normalizat    .83481        .20129        .24416E-03   -.98790    
  23  Prefactor     .96740        .20060        .24969E-03   -.93824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.72771e-10
Minuit parameter uncertainties:
  1  69.161
  2  1.98557e-05
  3  7.73421e-06
  4  6.45712e-05
  5  3.08009e-06
  6  15.0507
  7  5.90654e-06
  8  4.80227
  9  6.35013
  10  5.05822e-06
  11  2.77516e-06
  12  8.60866e-06
  13  13.9732
  14  36.0996
  15  20.3948
  16  24.5373
  17  32.0687
  18  0.00152222
  19  9.53582e-05
  20  7.18089e-06
  21  5.55827
  22  0.201469
  23  0.200753
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.959e+00  3.207e+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:  9.674e-01  2.008e-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:  8.348e-01  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/773555/likelihoodResults_609465601_609724801_4FGL_J1333.2+2725_daily_bin1428.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) = 6089.36174789
delta logL = 1.25718531177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6089.32027079
delta logL = 1.29866241301

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38313       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0542       1.0000          .0000       10.000    
     3 'Normalizat'    .73442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       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=   6089.320     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      242 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38261        3.8696        .72844E-02    .12801E-02
   2  Index         5.0552        2.4354        .11373        .15963E-03
   3  Normalizat    .73444        .39925E-01    .42748E-01    .19697E-04
   4  Prefactor     1.0370        .43926E-01    .40740E-01    .38450E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.382612
  Index      = 5.0552
  Normalizat = 0.734435
  Prefactor  = 1.03699
 **********
 **   18 **HESSE 
 **********

 FCN=   6089.320     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      275 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38261        9.2395        .33006E-04   -1.5584    
   2  Index         5.0552        4.0712        .42675E-02    .11040E-01
   3  Normalizat    .73444        .16463        .25843E-03   -1.0255    
   4  Prefactor     1.0370        .17557        .24210E-03   -.91506    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.72527e-10
Minuit parameter uncertainties:
  1  3.76055
  2  4.75716
  3  0.164743
  4  0.175669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/773555': 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) = 6089.32027017
delta logL = 1.29866303444

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  3.826e-01  3.761e+00  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  5.055e+00  4.757e+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.037e+00  1.757e-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:  7.344e-01  1.647e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.85
Ra Dec: 203.323 27.422
Photon Index (Free Index): 5.06 +/- 4.76
Photon Flux (Free Index): 8.86e-08 +/- 6.47e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.08e-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/773555/cmap_HighResolution_609465601_609724801_4FGL_J1333.2+2725_daily_bin1428.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', comment='SUCCESS', energy_flux2='1.17e-05', dlogl='1.30e+00', photon_flux2='8.86e-08', job_status='DONE', time_completed='2021-09-08 03:35:42.367736', photon_index_error2='4.76', photon_index2='5.06', ts='0.01', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='9.12e-08', energy_flux_error2='1.08e-05', EG='0.83', time_epoch_completed='1631097342.37', return_code='0', job_id='773555', GAL2='1.04', EG2='0.73', return_code2='102', photon_flux_error2='6.47e-08', ts2='2.85', photon_index='2.32' WHERE bin_id='1428' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:35:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 773555: <4FGL_J1333.2+2725_daily_bin1428> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1428 203.323 27.4221 609465601 609724801 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 :                                   625.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            913 sec.

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

