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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1521
RA = 203.323, Dec = 27.4221
tmin = 633571201, tmax = 633830401
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='773695', job_status='RUN', time_executed='2021-09-08 03:20:54.489049', time_epoch_executed='1631096454.49' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1521'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/773695

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/773695/ft1_4FGL_J1333.2+2725_daily_bin1521.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/773695/ft2_4FGL_J1333.2+2725_daily_bin1521.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/773695/ft1_4FGL_J1333.2+2725_daily_bin1521.fits outfile=/scratch/kocevski/773695/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1521.fits ra=203.323 dec=27.4221 rad=12.0 tmin=633571201.0 tmax=633830401.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.59
user 3.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/773695/ft1_filtered_4FGL_J1333.2+2725_daily_bin1521.fits" evtable="EVENTS" scfile=/scratch/kocevski/773695/ft2_4FGL_J1333.2+2725_daily_bin1521.fits sctable="SC_DATA" outfile=/scratch/kocevski/773695/ltcube_633571201_633830401_4FGL_J1333.2+2725_daily_bin1521.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/773695/ft2_4FGL_J1333.2+2725_daily_bin1521.fits
.....................!
real 16.24
user 15.81
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/773695/ft1_filtered_4FGL_J1333.2+2725_daily_bin1521.fits evtable="EVENTS" scfile=/scratch/kocevski/773695/ft2_4FGL_J1333.2+2725_daily_bin1521.fits sctable="SC_DATA" expcube=/scratch/kocevski/773695/ltcube_633571201_633830401_4FGL_J1333.2+2725_daily_bin1521.fits outfile=/scratch/kocevski/773695/expmap_633571201_633830401_4FGL_J1333.2+2725_daily_bin1521.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/773695/ltcube_633571201_633830401_4FGL_J1333.2+2725_daily_bin1521.fits
.....................!
real 190.69
user 185.46
sys 4.78

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/773695/ft1_filtered_4FGL_J1333.2+2725_daily_bin1521.fits scfile=/scratch/kocevski/773695/ft2_4FGL_J1333.2+2725_daily_bin1521.fits outfile=/scratch/kocevski/773695/cmap_633571201_633830401_4FGL_J1333.2+2725_daily_bin1521.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/773695/ft1_filtered_4FGL_J1333.2+2725_daily_bin1521.fits scfile=/scratch/kocevski/773695/ft2_4FGL_J1333.2+2725_daily_bin1521.fits outfile=/scratch/kocevski/773695/cmap_HighResolution_633571201_633830401_4FGL_J1333.2+2725_daily_bin1521.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.880       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.5246       1.0000         .10000E-03   10000.    
     3 'norm      '    3.7951       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.110       1.0000         .10000E-03   10000.    
     5 'norm      '    .49825E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.818       1.0000         .10000E-03   10000.    
     7 'norm      '    3.8224       1.0000         .10000E-03   10000.    
     8 'norm      '    24.993       1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    19.667       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.848       1.0000         .10000E-03   10000.    
    13 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    28.777       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.7267       1.0000         .10000E-03   10000.    
    20 'Prefactor '    16.219       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.9812       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90571       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2420       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=   6826.633     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2554 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.878        36.458       -.60689E-07    .22682E-04
   2  Prefactor     7.5265        6.0959        .79166E-07    .20655E-03
   3  norm          3.7964        3.7686        .80189E-07   -.25652E-04
   4  Prefactor     31.087        35.078        .14957E-05    .20882E-03
   5  norm          .10000E-03    28.566       -.18251E-04** at limit **
   6  Prefactor     12.819        23.297        .54737E-06    .48703E-04
   7  norm          3.8212        5.8777       -.14577E-05    .42638E-04
   8  norm          24.995        6.6943       -.30525E-06    .74325E-03
   9  norm          .10000E-03    5.5639       -.12463E-05** at limit **
  10  norm          19.679        23.990        .21859E-06    .38052E-04
  11  Prefactor     .10000E-03    2.1647        .36467E-06** at limit **
  12  Prefactor     20.847        16.303       -.47094E-06    .45736E-04
  13  norm          .10000E-03    5.0033       -.10435E-05** at limit **
  14  Prefactor     .10000E-03    20.050       -.11080E-05** at limit **
  15  norm          28.778        12.007       -.34874E-06    .46405E-03
  16  Prefactor     .10000E-03    4.1831       -.16827E-06** at limit **
  17  Prefactor     .10000E-03    14.144        .50735E-06** at limit **
  18  Prefactor     .10000E-03    18.031       -.13311E-05** at limit **
  19  Prefactor     3.7259        3.7580       -.76485E-06    .14259E-03
  20  Prefactor     16.216        11.627       -.40747E-06    .11798E-03
  21  Prefactor     4.9805        4.6442       -.60159E-06    .12030E-03
  22  Normalizat    .90574        .17932        .16607E-05    .69648E-03
  23  Prefactor     1.2421        .19114        .12564E-05    .19038E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8775
  Prefactor  = 7.52654
  norm       = 3.7964
  Prefactor  = 31.0871
  norm       = 0.000100001
  Prefactor  = 12.8189
  norm       = 3.82118
  norm       = 24.9948
  norm       = 0.0001
  norm       = 19.6793
  Prefactor  = 0.0001
  Prefactor  = 20.8472
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 28.7781
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.72586
  Prefactor  = 16.2165
  Prefactor  = 4.98046
  Normalizat = 0.905744
  Prefactor  = 1.24209
 **********
 **   18 **HESSE 
 **********

 FCN=   6826.633     FROM HESSE     STATUS=OK           370 CALLS     2924 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.878        36.451        .11161E-03   -1.4990    
   2  Prefactor     7.5265        6.0851        .14620E-03   -1.5159    
   3  norm          3.7964        3.7589        .14996E-03   -1.5318    
   4  Prefactor     31.087        35.108        .71836E-04   -1.4592    
   5  norm          .10000E-03    28.031        .22933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.819        23.171        .11188E-03   -1.4992    
   7  norm          3.8212        5.8338        .20644E-03   -1.5317    
   8  norm          24.995        6.6693        .80128E-04   -1.4708    
   9  norm          .10000E-03    5.5394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          19.679        23.950        .90316E-04   -1.4820    
  11  Prefactor     .10000E-03    2.2051        .23648E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.847        16.284        .87723E-04   -1.4794    
  13  norm          .10000E-03    5.0372        .18030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.778        12.012        .37342E-03   -1.4635    
  16  Prefactor     .10000E-03    4.1882        .16505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.7259        3.7740        .15277E-03   -1.5322    
  20  Prefactor     16.216        11.646        .99451E-04   -1.4902    
  21  Prefactor     4.9805        4.6504        .16518E-03   -1.5262    
  22  Normalizat    .90574        .21036        .27208E-03   -.96259    
  23  Prefactor     1.2421        .21907        .26053E-03   -.85046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60356e-09
Minuit parameter uncertainties:
  1  36.5143
  2  6.08555
  3  3.75916
  4  35.1314
  5  0.000342614
  6  23.1868
  7  5.83464
  8  6.66947
  9  6.37786e-05
  10  23.9617
  11  1.79555e-05
  12  16.2876
  13  9.37258e-06
  14  0.000107632
  15  12.0135
  16  6.0103e-06
  17  2.8393e-05
  18  0.000142176
  19  3.77422
  20  11.648
  21  4.6507
  22  0.210548
  23  0.219235
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  2.839e-05  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.242e+00  2.192e-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.057e-01  2.105e-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: 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/773695/likelihoodResults_633571201_633830401_4FGL_J1333.2+2725_daily_bin1521.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) = 6826.63283913
delta logL = -0.000335311754498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6826.63250383
delta logL = -5.25687937625e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3406       1.0000          .0000       10.000    
     3 'Normalizat'    .90566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2422       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=   6826.633     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2074.2        .90712E-02** at limit **
   2  Index         2.3673        5.6947        .50000       -.16272E-04
   3  Normalizat    .90574        .67827E-01    .44974E-01    .77744E-04
   4  Prefactor     1.2421        .74551E-01    .58916E-01    .48846E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 2.36727
  Normalizat = 0.905738
  Prefactor  = 1.24209
 **********
 **   18 **HESSE 
 **********

 FCN=   6826.633     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6457.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3673        5.3161        .50000       -.55453    
   3  Normalizat    .90574        .11242        .27208E-03   -.96259    
   4  Prefactor     1.2421        .12429        .26053E-03   -.85046    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.4814e-10
Minuit parameter uncertainties:
  1  0.00777036
  2  62.6634
  3  0.11245
  4  0.124321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/773695': 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) = 6826.63250363
delta logL = 1.95145730686e-07

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  7.770e-03  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.367e+00  6.266e+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.242e+00  1.243e-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.057e-01  1.124e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/773695/cmap_HighResolution_633571201_633830401_4FGL_J1333.2+2725_daily_bin1521.png

Cleaning up...

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

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:32:28.141416', job_id='773695', GAL2='1.24', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1631097148.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.95e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1521' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:32:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 773695: <4FGL_J1333.2+2725_daily_bin1521> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1521 203.323 27.4221 633571201 633830401 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 :                                   677.35 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             325.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            708 sec.

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

