/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 114 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 = 7476
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1333.2+2725_daily_bin98
RA = 203.323, Dec = 27.4221
tmin = 264729601, tmax = 264988801
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='765050', job_status='RUN', time_executed='2021-09-08 03:01:26.869287', time_epoch_executed='1631095286.87' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='98'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/765050

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/765050/ft1_4FGL_J1333.2+2725_daily_bin98.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/765050/ft2_4FGL_J1333.2+2725_daily_bin98.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/765050/ft1_4FGL_J1333.2+2725_daily_bin98.fits outfile=/scratch/kocevski/765050/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin98.fits ra=203.323 dec=27.4221 rad=12.0 tmin=264729601.0 tmax=264988801.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 1.27
user 1.06
sys 0.13

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/765050/ft1_filtered_4FGL_J1333.2+2725_daily_bin98.fits" evtable="EVENTS" scfile=/scratch/kocevski/765050/ft2_4FGL_J1333.2+2725_daily_bin98.fits sctable="SC_DATA" outfile=/scratch/kocevski/765050/ltcube_264729601_264988801_4FGL_J1333.2+2725_daily_bin98.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/765050/ft2_4FGL_J1333.2+2725_daily_bin98.fits
.....................!
real 15.56
user 15.17
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/765050/ft1_filtered_4FGL_J1333.2+2725_daily_bin98.fits evtable="EVENTS" scfile=/scratch/kocevski/765050/ft2_4FGL_J1333.2+2725_daily_bin98.fits sctable="SC_DATA" expcube=/scratch/kocevski/765050/ltcube_264729601_264988801_4FGL_J1333.2+2725_daily_bin98.fits outfile=/scratch/kocevski/765050/expmap_264729601_264988801_4FGL_J1333.2+2725_daily_bin98.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/765050/ltcube_264729601_264988801_4FGL_J1333.2+2725_daily_bin98.fits
.....................!
real 154.06
user 149.66
sys 3.38

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/765050/ft1_filtered_4FGL_J1333.2+2725_daily_bin98.fits scfile=/scratch/kocevski/765050/ft2_4FGL_J1333.2+2725_daily_bin98.fits outfile=/scratch/kocevski/765050/cmap_264729601_264988801_4FGL_J1333.2+2725_daily_bin98.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.50
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/765050/ft1_filtered_4FGL_J1333.2+2725_daily_bin98.fits scfile=/scratch/kocevski/765050/ft2_4FGL_J1333.2+2725_daily_bin98.fits outfile=/scratch/kocevski/765050/cmap_HighResolution_264729601_264988801_4FGL_J1333.2+2725_daily_bin98.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.50
user 0.33
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.6075       1.0000         .10000E-03   10000.    
     3 'norm      '    2.2060       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.972       1.0000         .10000E-03   10000.    
     5 'norm      '    12.944       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.5583       1.0000         .10000E-03   10000.    
     7 'norm      '    9.0198       1.0000         .10000E-03   10000.    
     8 'norm      '    2.8988       1.0000         .10000E-03   10000.    
     9 'norm      '    17.952       1.0000         .10000E-03   10000.    
    10 'norm      '    12.652       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.6621       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.2039       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2696       1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.363       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9073       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2831       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0579       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0497       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9239.305     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2587 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.322         .0000    ** at limit **
   2  Prefactor     9.6069        6.6345         .0000        .59243E-03
   3  norm          2.2081        3.0052         .0000        .46356E-03
   4  Prefactor     39.942        24.928         .0000       -.11228E-02
   5  norm          12.943        4.1900         .0000        .11704E-03
   6  Prefactor     7.5563        13.945         .0000        .11581E-02
   7  norm          9.0195        5.1740         .0000        .24255E-02
   8  norm          2.9000        5.5213         .0000        .22425E-01
   9  norm          17.950        9.7767         .0000        .42384E-02
  10  norm          12.651        16.348         .0000       -.44036E-02
  11  Prefactor     .10000E-03    1.8230         .0000    ** at limit **
  12  Prefactor     .10000E-03    5.4280         .0000    ** at limit **
  13  norm          1.6585        8.0913         .0000        .25073E-01
  14  Prefactor     .10000E-03    27.713         .0000    ** at limit **
  15  norm          9.2056        8.1337         .0000        .44884E-02
  16  Prefactor     .10000E-03    2.6877         .0000    ** at limit **
  17  Prefactor     7.2654        13.528         .0000        .25007E-03
  18  Prefactor     28.900        86.369         .0000        .19983E-03
  19  Prefactor     2.9063        2.7548         .0000        .53140E-03
  20  Prefactor     3.2805        10.547         .0000       -.13845E-02
  21  Prefactor     .10000E-03    1.4292         .0000    ** at limit **
  22  Normalizat    1.0585        .15399         .0000        .10418E-03
  23  Prefactor     1.0493        .15604         .0000        .76731E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.60691
  norm       = 2.20807
  Prefactor  = 39.9419
  norm       = 12.9431
  Prefactor  = 7.55626
  norm       = 9.01947
  norm       = 2.90005
  norm       = 17.9499
  norm       = 12.6506
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.65853
  Prefactor  = 0.0001
  norm       = 9.20556
  Prefactor  = 0.0001
  Prefactor  = 7.26545
  Prefactor  = 28.8999
  Prefactor  = 2.90627
  Prefactor  = 3.28053
  Prefactor  = 0.0001
  Normalizat = 1.05846
  Prefactor  = 1.04927
 **********
 **   18 **HESSE 
 **********

 FCN=   9239.305     FROM HESSE     STATUS=OK           370 CALLS     2957 TOTAL
                     EDM=   .78E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.6069        6.6315        .12929E-03   -1.5088    
   3  norm          2.2081        2.9757        .18126E-03   -1.5411    
   4  Prefactor     39.942        24.742        .63400E-04   -1.4443    
   5  norm          12.943        4.1930        .10658E-03   -1.4988    
   6  Prefactor     7.5563        13.931        .72936E-03   -1.5158    
   7  norm          9.0195        5.1646        .66727E-03   -1.5107    
   8  norm          2.9000        5.4534        .98672E-03   -1.5367    
   9  norm          17.950        9.7170        .94530E-04   -1.4860    
  10  norm          12.651        16.188        .11262E-03   -1.4996    
  11  Prefactor     .10000E-03    1.8817        .25278E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.4544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.6585        7.2976        .16360E-02   -1.5450    
  14  Prefactor     .10000E-03    27.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.2056        7.7730        .13210E-03   -1.5101    
  16  Prefactor     .10000E-03    2.6896        .15389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.2654        13.528        .14876E-03   -1.5169    
  18  Prefactor     28.900        86.931        .73937E-04   -1.4632    
  19  Prefactor     2.9063        2.7490        .14876E-03   -1.5367    
  20  Prefactor     3.2805        10.520        .22347E-03   -1.5346    
  21  Prefactor     .10000E-03    1.4506        .11219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0585        .18258        .24769E-03   -.91097    
  23  Prefactor     1.0493        .18499        .26661E-03   -.91105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.84107e-08
Minuit parameter uncertainties:
  1  6.48612e-05
  2  6.63205
  3  2.97588
  4  24.7479
  5  4.19311
  6  13.9369
  7  5.1649
  8  5.45434
  9  9.71783
  10  16.1936
  11  8.5781e-06
  12  1.07956e-06
  13  6.95916
  14  5.62069e-05
  15  7.7738
  16  5.13878e-06
  17  13.534
  18  87.3151
  19  2.7491
  20  10.5259
  21  1.03888e-06
  22  0.182691
  23  0.185107
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  7.265e+00  1.353e+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.049e+00  1.851e-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.058e+00  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/765050/likelihoodResults_264729601_264988801_4FGL_J1333.2+2725_daily_bin98.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) = 9239.30514902
delta logL = 4.59775692434e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9239.30514152
delta logL = 5.34795090061e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3124       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3044       1.0000          .0000       10.000    
     3 'Normalizat'    1.0585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0493       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9239.305     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      266 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3187        15.170        .74162E-03   -.17844E-04
   2  Index         2.3051        .99235        .14088E-01    .24091E-03
   3  Normalizat    1.0586        .16891        .24768E-03   -.18939E-03
   4  Prefactor     1.0492        .18108        .26662E-03    .91932E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.31868
  Index      = 2.30513
  Normalizat = 1.05857
  Prefactor  = 1.04919
 **********
 **   18 **HESSE 
 **********

 FCN=   9239.305     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3187        14.582        .29665E-04   -1.5167    
   2  Index         2.3051        .95519        .28176E-02   -.56922    
   3  Normalizat    1.0586        .16908        .99070E-05   -.91093    
   4  Prefactor     1.0492        .18122        .10665E-04   -.91107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40218e-10
Minuit parameter uncertainties:
  1  14.5892
  2  0.963579
  3  0.169161
  4  0.181326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/765050': 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) = 9239.30514075
delta logL = 5.42479447176e-05

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  7.319e+00  1.459e+01  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.305e+00  9.636e-01  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.049e+00  1.813e-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.059e+00  1.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
Ra Dec: 203.323 27.422

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/765050/cmap_HighResolution_264729601_264988801_4FGL_J1333.2+2725_daily_bin98.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2021-09-08 03:12:22.970673', job_id='765050', GAL2='1.05', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631095942.97', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='5.42e-05', ts2='0.36', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='98' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:12:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 765050: <4FGL_J1333.2+2725_daily_bin98> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin98> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  8 02:56:04 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 02:59:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 02:59:24 2021
Terminated at Wed Sep  8 03:12:23 2021
Results reported at Wed Sep  8 03:12:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin98 203.323 27.4221 264729601 264988801 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 :                                   645.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   779 sec.
    Turnaround time :                            979 sec.

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

