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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1580
RA = 203.323, Dec = 27.4221
tmin = 648864001, tmax = 649123201
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='773795', job_status='RUN', time_executed='2021-09-08 03:22:52.546585', time_epoch_executed='1631096572.55' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1580'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/773795

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/773795/ft1_4FGL_J1333.2+2725_daily_bin1580.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/773795/ft2_4FGL_J1333.2+2725_daily_bin1580.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/773795/ft1_4FGL_J1333.2+2725_daily_bin1580.fits outfile=/scratch/kocevski/773795/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1580.fits ra=203.323 dec=27.4221 rad=12.0 tmin=648864001.0 tmax=649123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.05
user 2.80
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/773795/ft1_filtered_4FGL_J1333.2+2725_daily_bin1580.fits" evtable="EVENTS" scfile=/scratch/kocevski/773795/ft2_4FGL_J1333.2+2725_daily_bin1580.fits sctable="SC_DATA" outfile=/scratch/kocevski/773795/ltcube_648864001_649123201_4FGL_J1333.2+2725_daily_bin1580.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/773795/ft2_4FGL_J1333.2+2725_daily_bin1580.fits
.....................!
real 17.07
user 16.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/773795/ft1_filtered_4FGL_J1333.2+2725_daily_bin1580.fits evtable="EVENTS" scfile=/scratch/kocevski/773795/ft2_4FGL_J1333.2+2725_daily_bin1580.fits sctable="SC_DATA" expcube=/scratch/kocevski/773795/ltcube_648864001_649123201_4FGL_J1333.2+2725_daily_bin1580.fits outfile=/scratch/kocevski/773795/expmap_648864001_649123201_4FGL_J1333.2+2725_daily_bin1580.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/773795/ltcube_648864001_649123201_4FGL_J1333.2+2725_daily_bin1580.fits
.....................!
real 192.01
user 187.02
sys 4.46

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/773795/ft1_filtered_4FGL_J1333.2+2725_daily_bin1580.fits scfile=/scratch/kocevski/773795/ft2_4FGL_J1333.2+2725_daily_bin1580.fits outfile=/scratch/kocevski/773795/cmap_648864001_649123201_4FGL_J1333.2+2725_daily_bin1580.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=203.323 yref=27.4221 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/773795/ft1_filtered_4FGL_J1333.2+2725_daily_bin1580.fits scfile=/scratch/kocevski/773795/ft2_4FGL_J1333.2+2725_daily_bin1580.fits outfile=/scratch/kocevski/773795/cmap_HighResolution_648864001_649123201_4FGL_J1333.2+2725_daily_bin1580.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.718       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6591       1.0000         .10000E-03   10000.    
     3 'norm      '    13.498       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10814E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .46935       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4789       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.9727       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4400       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28173E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.524       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2190       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3478       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .33206E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4813       1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.274       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1487       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0043       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9201.639     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     2175 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.715        1.1160       -.27324E-06    .10296E-02
   2  Prefactor     3.6588        2.2926        .11107E-05    .23039E-02
   3  norm          13.493        3.1561        .28906E-05    .54940E-02
   4  Prefactor     .10058E-03    62.950        .92483E-05** at limit **
   5  norm          .46905        2.4959       -.33723E-06   -.40883E-03
   6  Prefactor     1.4736        1.0947        .34746E-06    .32735E-04
   7  norm          .10000E-03    2.5108       -.14439E-06** at limit **
   8  norm          5.9672        3.1841       -.46862E-06    .65502E-03
   9  norm          .10000E-03    4.7165        .54553E-07** at limit **
  10  norm          3.4401        6.2918        .13557E-04    .42182E-03
  11  Prefactor     .10000E-03    1.3135        .14065E-06** at limit **
  12  Prefactor     .10094E-03    159.57       -.36080E-04** at limit **
  13  norm          .10000E-03    1.7509       -.39517E-07** at limit **
  14  Prefactor     30.493        3.3213       -.16523E-05    .46342E-02
  15  norm          .10000E-03    2.7131       -.12458E-06** at limit **
  16  Prefactor     2.2195        6.9875        .13706E-04    .14560E-02
  17  Prefactor     9.3478        1.3929        .10267E-05   -.24340E-04
  18  Prefactor     .10000E-03    28.734       -.22358E-05** at limit **
  19  Prefactor     .12186E-01    14.428        .56745E-05   -.18062E-02
  20  Prefactor     9.4803        5.9084       -.76877E-05    .24324E-02
  21  Prefactor     20.274        3.5943        .13260E-05   -.13639E-02
  22  Normalizat    1.1488        .16554       -.23840E-06    .13025E-02
  23  Prefactor     1.0042        .17879        .24231E-06    .10866E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.7153
  Prefactor  = 3.65879
  norm       = 13.493
  Prefactor  = 0.00010058
  norm       = 0.469049
  Prefactor  = 1.47364
  norm       = 0.0001
  norm       = 5.96715
  norm       = 0.000100002
  norm       = 3.44007
  Prefactor  = 0.0001
  Prefactor  = 0.000100945
  norm       = 0.0001
  Prefactor  = 30.4926
  norm       = 0.0001
  Prefactor  = 2.21948
  Prefactor  = 9.34784
  Prefactor  = 0.000100001
  Prefactor  = 0.0121858
  Prefactor  = 9.48033
  Prefactor  = 20.2742
  Normalizat = 1.14885
  Prefactor  = 1.00423
 **********
 **   18 **HESSE 
 **********

 FCN=   9201.639     FROM HESSE     STATUS=OK           434 CALLS     2609 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.715        37.279        .18073E-02   -1.4599    
   2  Prefactor     3.6588        5.3522        .52793E-02   -1.5325    
   3  norm          13.493        4.7562        .27256E-02   -1.4973    
   4  Prefactor     .10058E-03    63.700        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .46905        2.4780        .11145E-01   -1.5571    
   6  Prefactor     1.4736        25.211        .88251E-02   -1.5465    
   7  norm          .10000E-03    2.4730        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.9672        3.3754        .41076E-02   -1.5219    
   9  norm          .10000E-03    4.6723        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4401        6.5704        .54518E-02   -1.5337    
  11  Prefactor     .10000E-03    1.2978        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10094E-03    8.4998        .91630E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.7227        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.493        43.563        .18130E-02   -1.4603    
  15  norm          .10000E-03    2.6665        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2195        9.2136        .69016E-02   -1.5410    
  17  Prefactor     9.3478        13.723        .32770E-02   -1.5096    
  18  Prefactor     .10000E-03    28.772        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .12186E-01    1.2705        .67361E-01   -1.5686    
  20  Prefactor     9.4803        10.017        .32537E-02   -1.5092    
  21  Prefactor     20.274        4.9543        .22238E-02   -1.4807    
  22  Normalizat    1.1488        .14589        .52610E-01   -.88199    
  23  Prefactor     1.0042        .15320        .44355E-01   -.92589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8158e-07
Minuit parameter uncertainties:
  1  37.3077
  2  5.3529
  3  4.75638
  4  0.0121704
  5  2.15609
  6  12.1961
  7  3.42109e-05
  8  3.37553
  9  0.000190545
  10  6.57181
  11  1.73067e-05
  12  0.00566793
  13  2.79795e-05
  14  43.6083
  15  1.75231e-05
  16  9.04641
  17  13.7279
  18  0.000401028
  19  0.247839
  20  10.0192
  21  4.95441
  22  0.145943
  23  0.153266
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  9.348e+00  1.373e+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.004e+00  1.533e-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.149e+00  1.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/773795/likelihoodResults_648864001_649123201_4FGL_J1333.2+2725_daily_bin1580.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) = 9201.50295246
delta logL = 0.136180412863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9201.49278863
delta logL = 0.146344240789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.116       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8628       1.0000          .0000       10.000    
     3 'Normalizat'    1.1560       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99832       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=   9201.493     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      282 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.095        15.600        .11508E-03   -.24815E-03
   2  Index         1.8619        .74304        .13719E-01   -.54902E-04
   3  Normalizat    1.1562        .16256        .23193E-03   -.23603E-03
   4  Prefactor     .99809        .17820        .27050E-03    .13222E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0951
  Index      = 1.86188
  Normalizat = 1.15622
  Prefactor  = 0.998085
 **********
 **   18 **HESSE 
 **********

 FCN=   9201.493     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.095        15.664        .46034E-05   -1.5012    
   2  Index         1.8619        .74623        .54876E-03   -.67850    
   3  Normalizat    1.1562        .16269        .46387E-04   -.87967    
   4  Prefactor     .99809        .17834        .10820E-04   -.92793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.92145e-10
Minuit parameter uncertainties:
  1  15.669
  2  0.750883
  3  0.162765
  4  0.178447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/773795': 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) = 9201.49278625
delta logL = 0.146346621754

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.210e+01  1.567e+01  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  1.862e+00  7.509e-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:  9.981e-01  1.784e-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.156e+00  1.628e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.62
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/773795/cmap_HighResolution_648864001_649123201_4FGL_J1333.2+2725_daily_bin1580.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.75e-03', job_status='DONE', photon_flux_upper_limit='6.18e-08', time_completed='2021-09-08 03:36:17.627107', job_id='773795', GAL2='1.00', fit_tolerance='1e-08', EG2='1.16', EG='1.15', time_epoch_completed='1631097377.63', return_code2='0', ts='0.62', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.46e-01', ts2='0.91', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1580' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:36:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 773795: <4FGL_J1333.2+2725_daily_bin1580> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1580 203.323 27.4221 648864001 649123201 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 :                                   797.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            932 sec.

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

