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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1286
RA = 203.323, Dec = 27.4221
tmin = 572659201, tmax = 572918401
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='772290', job_status='RUN', time_executed='2021-09-08 03:19:15.557670', time_epoch_executed='1631096355.56' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1286'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/772290

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/772290/ft1_4FGL_J1333.2+2725_daily_bin1286.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/772290/ft2_4FGL_J1333.2+2725_daily_bin1286.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/772290/ft1_4FGL_J1333.2+2725_daily_bin1286.fits outfile=/scratch/kocevski/772290/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1286.fits ra=203.323 dec=27.4221 rad=12.0 tmin=572659201.0 tmax=572918401.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.65
user 3.40
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/772290/ft1_filtered_4FGL_J1333.2+2725_daily_bin1286.fits" evtable="EVENTS" scfile=/scratch/kocevski/772290/ft2_4FGL_J1333.2+2725_daily_bin1286.fits sctable="SC_DATA" outfile=/scratch/kocevski/772290/ltcube_572659201_572918401_4FGL_J1333.2+2725_daily_bin1286.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/772290/ft2_4FGL_J1333.2+2725_daily_bin1286.fits
.....................!
real 14.99
user 14.49
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/772290/ft1_filtered_4FGL_J1333.2+2725_daily_bin1286.fits evtable="EVENTS" scfile=/scratch/kocevski/772290/ft2_4FGL_J1333.2+2725_daily_bin1286.fits sctable="SC_DATA" expcube=/scratch/kocevski/772290/ltcube_572659201_572918401_4FGL_J1333.2+2725_daily_bin1286.fits outfile=/scratch/kocevski/772290/expmap_572659201_572918401_4FGL_J1333.2+2725_daily_bin1286.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/772290/ltcube_572659201_572918401_4FGL_J1333.2+2725_daily_bin1286.fits
.....................!
real 194.71
user 187.37
sys 5.52

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/772290/ft1_filtered_4FGL_J1333.2+2725_daily_bin1286.fits scfile=/scratch/kocevski/772290/ft2_4FGL_J1333.2+2725_daily_bin1286.fits outfile=/scratch/kocevski/772290/cmap_572659201_572918401_4FGL_J1333.2+2725_daily_bin1286.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/772290/ft1_filtered_4FGL_J1333.2+2725_daily_bin1286.fits scfile=/scratch/kocevski/772290/ft2_4FGL_J1333.2+2725_daily_bin1286.fits outfile=/scratch/kocevski/772290/cmap_HighResolution_572659201_572918401_4FGL_J1333.2+2725_daily_bin1286.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/772290/ft1_filtered_4FGL_J1333.2+2725_daily_bin1286.fits evtable="EVENTS" scfile=/scratch/kocevski/772290/ft2_4FGL_J1333.2+2725_daily_bin1286.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/772290/Model_4FGL_J1333.2+2725_daily_bin1286.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/772290/ft1_filtered_4FGL_J1333.2+2725_daily_bin1286.fits.....................!
real 57.36
user 55.49
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    58.904       1.0000         .10000E-03   10000.    
     5 'norm      '    9.1114       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0654       1.0000         .10000E-03   10000.    
     7 'norm      '    8.3707       1.0000         .10000E-03   10000.    
     8 'norm      '    .10846E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.8721       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.811       1.0000         .10000E-03   10000.    
    14 'Prefactor '    50.531       1.0000         .10000E-03   10000.    
    15 'norm      '    8.0963       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.642       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .46270E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8789       1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.095       1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.533       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93976       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0691       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=   7018.954     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2578 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.171       -.13039E-05** at limit **
   2  Prefactor     .10000E-03    1.6540       -.98365E-07** at limit **
   3  norm          .10000E-03    5.2676       -.10796E-05** at limit **
   4  Prefactor     58.921        35.051        .11432E-04    .33338E-03
   5  norm          9.1113        4.2922       -.32765E-06    .25445E-04
   6  Prefactor     5.0660        17.230       -.59957E-06   -.45580E-04
   7  norm          8.3695        7.8158        .10737E-05    .99380E-04
   8  norm          .10003E-03    3.1861       -.73242E-06** at limit **
   9  norm          5.8828        8.8662       -.53248E-05    .29505E-03
  10  norm          .10000E-03    8.3450        .38313E-06** at limit **
  11  Prefactor     .10000E-03    3.2083       -.78355E-06** at limit **
  12  Prefactor     .10000E-03    17.731        .18483E-05** at limit **
  13  norm          12.811        8.5151       -.59541E-06    .40566E-04
  14  Prefactor     50.547        51.962        .17653E-04    .33685E-04
  15  norm          8.0970        9.4188       -.48727E-06    .34576E-05
  16  Prefactor     23.660        19.529        .12633E-05    .40306E-03
  17  Prefactor     .10001E-03    94.670       -.37419E-04** at limit **
  18  Prefactor     .10000E-03    73.041        .23052E-04** at limit **
  19  Prefactor     1.8787        4.4074       -.13570E-05   -.90173E-03
  20  Prefactor     33.093        14.106        .52138E-06    .19032E-04
  21  Prefactor     27.533        7.1861        .15084E-06    .39288E-04
  22  Normalizat    .93985        .18716       -.32914E-05    .62099E-03
  23  Prefactor     1.0690        .18606        .16725E-05    .25756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 58.9205
  norm       = 9.11129
  Prefactor  = 5.06601
  norm       = 8.36952
  norm       = 0.000100026
  norm       = 5.88277
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 12.8112
  Prefactor  = 50.5473
  norm       = 8.09697
  Prefactor  = 23.66
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 1.87867
  Prefactor  = 33.093
  Prefactor  = 27.5325
  Normalizat = 0.93985
  Prefactor  = 1.06904
 **********
 **   18 **HESSE 
 **********

 FCN=   7018.954     FROM HESSE     STATUS=OK           366 CALLS     2944 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6566        .10522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.4497        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     58.921        34.355        .52274E-04   -1.4171    
   5  norm          9.1113        4.2947        .11466E-03   -1.5104    
   6  Prefactor     5.0660        17.126        .17865E-03   -1.5258    
   7  norm          8.3695        7.7565        .13856E-03   -1.5129    
   8  norm          .10003E-03    18.127        .23177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8828        7.6376        .16572E-03   -1.5223    
  10  norm          .10000E-03    8.3514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.2938        .29227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.811        8.4990        .11191E-03   -1.4992    
  14  Prefactor     50.547        51.696        .56416E-04   -1.4285    
  15  norm          8.0970        9.3909        .14091E-03   -1.5139    
  16  Prefactor     23.660        19.580        .82381E-04   -1.4735    
  17  Prefactor     .10001E-03    96.443        .38615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    72.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8787        4.4387        .25220E-03   -1.5434    
  20  Prefactor     33.093        14.114        .69654E-04   -1.4557    
  21  Prefactor     27.533        7.1935        .76349E-04   -1.4658    
  22  Normalizat    .93985        .22174        .27015E-03   -.95074    
  23  Prefactor     1.0690        .22199        .26905E-03   -.90462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83033e-09
Minuit parameter uncertainties:
  1  7.6179e-05
  2  1.82847e-06
  3  0.000278564
  4  34.367
  5  4.29483
  6  17.1423
  7  7.75739
  8  0.00136456
  9  7.63885
  10  1.65073e-05
  11  0.000114541
  12  0.00025303
  13  8.49984
  14  51.7418
  15  9.39262
  16  19.5857
  17  0.00170056
  18  0.000103941
  19  4.43949
  20  14.1152
  21  7.1937
  22  0.221954
  23  0.222181
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  1.701e-03  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.069e+00  2.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.398e-01  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/772290/likelihoodResults_572659201_572918401_4FGL_J1333.2+2725_daily_bin1286.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) = 7018.95402425
delta logL = -4.93577017551e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7018.95397494
delta logL = -4.25570760854e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3589       1.0000          .0000       10.000    
     3 'Normalizat'    .93985       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0691       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=   7018.954     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    126.44        .90712E-02** at limit **
   2  Index         2.3276        6.1189        .50000        .29867E-05
   3  Normalizat    .93985        .17232        .45409E-01    .61484E-04
   4  Prefactor     1.0690        .18262        .60837E-01   -.80141E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.32762
  Normalizat = 0.939846
  Prefactor  = 1.06904
 **********
 **   18 **HESSE 
 **********

 FCN=   7018.954     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    93.508        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3276        6.1638        .50000       -.56389    
   3  Normalizat    .93985        .20406        .27016E-03   -.95074    
   4  Prefactor     1.0690        .21627        .26905E-03   -.90462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.60774e-11
Minuit parameter uncertainties:
  1  0.000200607
  2  4.27572
  3  0.20423
  4  0.216451
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/772290': 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) = 7018.9539749
delta logL = -8.51014192449e-09

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  2.006e-04  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.328e+00  4.276e+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.069e+00  2.165e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  9.398e-01  2.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 203.323 27.422

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/772290/cmap_HighResolution_572659201_572918401_4FGL_J1333.2+2725_daily_bin1286.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='7.89e-08', time_completed='2021-09-08 03:30:47.224623', job_id='772290', GAL2='1.07', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631097047.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-8.51e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1286' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:30:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0014>
Subject: Job 772290: <4FGL_J1333.2+2725_daily_bin1286> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1286 203.323 27.4221 572659201 572918401 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 :                                   680.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            892 sec.

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

