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


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1290
RA = 203.323, Dec = 27.4221
tmin = 573696001, tmax = 573955201
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='772294', job_status='RUN', time_executed='2021-09-08 03:21:36.814699', time_epoch_executed='1631096496.81' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1290'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/772294

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/772294/ft1_4FGL_J1333.2+2725_daily_bin1290.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/772294/ft2_4FGL_J1333.2+2725_daily_bin1290.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/772294/ft1_4FGL_J1333.2+2725_daily_bin1290.fits outfile=/scratch/kocevski/772294/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1290.fits ra=203.323 dec=27.4221 rad=12.0 tmin=573696001.0 tmax=573955201.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 4.53
user 4.24
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/772294/ft1_filtered_4FGL_J1333.2+2725_daily_bin1290.fits" evtable="EVENTS" scfile=/scratch/kocevski/772294/ft2_4FGL_J1333.2+2725_daily_bin1290.fits sctable="SC_DATA" outfile=/scratch/kocevski/772294/ltcube_573696001_573955201_4FGL_J1333.2+2725_daily_bin1290.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/772294/ft2_4FGL_J1333.2+2725_daily_bin1290.fits
.....................!
real 14.88
user 14.38
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/772294/ft1_filtered_4FGL_J1333.2+2725_daily_bin1290.fits evtable="EVENTS" scfile=/scratch/kocevski/772294/ft2_4FGL_J1333.2+2725_daily_bin1290.fits sctable="SC_DATA" expcube=/scratch/kocevski/772294/ltcube_573696001_573955201_4FGL_J1333.2+2725_daily_bin1290.fits outfile=/scratch/kocevski/772294/expmap_573696001_573955201_4FGL_J1333.2+2725_daily_bin1290.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/772294/ltcube_573696001_573955201_4FGL_J1333.2+2725_daily_bin1290.fits
.....................!
real 190.22
user 185.50
sys 4.28

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/772294/ft1_filtered_4FGL_J1333.2+2725_daily_bin1290.fits scfile=/scratch/kocevski/772294/ft2_4FGL_J1333.2+2725_daily_bin1290.fits outfile=/scratch/kocevski/772294/cmap_573696001_573955201_4FGL_J1333.2+2725_daily_bin1290.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.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/772294/ft1_filtered_4FGL_J1333.2+2725_daily_bin1290.fits scfile=/scratch/kocevski/772294/ft2_4FGL_J1333.2+2725_daily_bin1290.fits outfile=/scratch/kocevski/772294/cmap_HighResolution_573696001_573955201_4FGL_J1333.2+2725_daily_bin1290.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/772294/ft1_filtered_4FGL_J1333.2+2725_daily_bin1290.fits evtable="EVENTS" scfile=/scratch/kocevski/772294/ft2_4FGL_J1333.2+2725_daily_bin1290.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/772294/Model_4FGL_J1333.2+2725_daily_bin1290.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/772294/ft1_filtered_4FGL_J1333.2+2725_daily_bin1290.fits.....................!
real 43.88
user 42.51
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0577       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.6239       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.8923       1.0000         .10000E-03   10000.    
     7 'norm      '    7.7877       1.0000         .10000E-03   10000.    
     8 'norm      '    .19750       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    21.569       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.387       1.0000         .10000E-03   10000.    
    13 'norm      '    7.0152       1.0000         .10000E-03   10000.    
    14 'Prefactor '    222.19       1.0000         .10000E-03   10000.    
    15 'norm      '    .31408       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    118.73       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.8299       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5644       1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.206       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0402       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .68567       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=   4895.819     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2549 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    67.693       -.29103E-05** at limit **
   2  Prefactor     4.0584        6.5619       -.22309E-06   -.30092E-03
   3  norm          .10000E-03    1.5696        .71696E-07** at limit **
   4  Prefactor     .10000E-03    12.439       -.61347E-05** at limit **
   5  norm          1.6229        1.4715        .85879E-07   -.90082E-03
   6  Prefactor     9.8924        10.687        .57353E-07    .20126E-04
   7  norm          7.7881        6.2069        .33340E-06    .69526E-04
   8  norm          .20345        2.5718       -.25891E-06    .51505E-03
   9  norm          .10000E-03    3.5269        .36261E-06** at limit **
  10  norm          21.570        20.318        .43255E-06   -.15208E-04
  11  Prefactor     .10000E-03    2.2671        .43531E-06** at limit **
  12  Prefactor     13.388        18.403       -.19867E-05    .32327E-04
  13  norm          7.0146        5.7632       -.10899E-05   -.14687E-03
  14  Prefactor     222.19        84.604        .21281E-05    .24770E-05
  15  norm          .31129        6.5450        .87979E-06   -.17015E-03
  16  Prefactor     .10000E-03    13.197        .34613E-05** at limit **
  17  Prefactor     .10000E-03    10.925        .21850E-05** at limit **
  18  Prefactor     118.73        85.747        .62641E-06    .18130E-05
  19  Prefactor     5.8302        5.4832       -.92392E-06   -.46069E-04
  20  Prefactor     6.5644        10.663       -.48561E-06   -.11982E-04
  21  Prefactor     21.206        6.9638       -.11779E-06    .68356E-05
  22  Normalizat    1.0402        .18230        .67514E-06   -.59628E-04
  23  Prefactor     .68566        .17830        .15199E-07   -.14184E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.05836
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.62292
  Prefactor  = 9.89244
  norm       = 7.78814
  norm       = 0.203453
  norm       = 0.0001
  norm       = 21.5702
  Prefactor  = 0.0001
  Prefactor  = 13.3881
  norm       = 7.01465
  Prefactor  = 222.188
  norm       = 0.311285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 118.728
  Prefactor  = 5.8302
  Prefactor  = 6.56444
  Prefactor  = 21.2062
  Normalizat = 1.04018
  Prefactor  = 0.685665
 **********
 **   18 **HESSE 
 **********

 FCN=   4895.819     FROM HESSE     STATUS=OK           378 CALLS     2927 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    67.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.0584        6.6668        .10008E-02   -1.5305    
   3  norm          .10000E-03    1.5759        .85583E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6229        4.3637        .11255E-02   -1.5453    
   6  Prefactor     9.8924        10.687        .12740E-03   -1.5079    
   7  norm          7.7881        6.1965        .14369E-03   -1.5150    
   8  norm          .20345        24.322        .19203E-02   -1.5618    
   9  norm          .10000E-03    3.5425        .12818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          21.570        20.402        .86245E-04   -1.4779    
  11  Prefactor     .10000E-03    2.3112        .20492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.388        19.181        .10947E-03   -1.4976    
  13  norm          7.0146        5.7400        .14158E-03   -1.5178    
  14  Prefactor     222.19        84.769        .13569E-03   -1.2716    
  15  norm          .31129        23.641        .32982E-02   -1.5596    
  16  Prefactor     .10000E-03    13.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     118.73        86.074        .36930E-04   -1.3524    
  19  Prefactor     5.8302        5.5376        .14740E-03   -1.5225    
  20  Prefactor     6.5644        10.687        .15663E-03   -1.5195    
  21  Prefactor     21.206        6.9839        .86978E-04   -1.4787    
  22  Normalizat    1.0402        .21616        .22015E-03   -.91696    
  23  Prefactor     .68566        .20844        .27438E-03   -1.0409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84714e-09
Minuit parameter uncertainties:
  1  2.74315e-06
  2  6.66801
  3  6.31106e-07
  4  5.14158e-06
  5  4.36459
  6  10.6892
  7  6.19699
  8  4.44976
  9  8.78618e-06
  10  20.409
  11  5.03784e-06
  12  19.19
  13  5.74048
  14  84.8159
  15  5.42691
  16  5.96349e-06
  17  7.1676e-07
  18  86.1653
  19  5.53804
  20  10.6899
  21  6.98418
  22  0.216346
  23  0.208676
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  7.168e-07  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:  6.857e-01  2.087e-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.040e+00  2.163e-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.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/772294/likelihoodResults_573696001_573955201_4FGL_J1333.2+2725_daily_bin1290.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) = 4895.81974323
delta logL = -0.000435014435425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4895.81930821
delta logL = -3.84261511499e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3147       1.0000          .0000       10.000    
     3 'Normalizat'    1.0402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68567       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=   4895.819     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.209        .90712E-02** at limit **
   2  Index         2.3143        5.4133        .50000        .29686E-06
   3  Normalizat    1.0402        .77702E-02    .41267E-01   -.10915E-04
   4  Prefactor     .68566        .80557E-02    .62027E-01    .12269E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.3143
  Normalizat = 1.04018
  Prefactor  = 0.685665
 **********
 **   18 **HESSE 
 **********

 FCN=   4895.819     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    366.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3143        5.2132        .50000       -.56704    
   3  Normalizat    1.0402        .26418E-01    .22015E-03   -.91696    
   4  Prefactor     .68566        .27356E-01    .27438E-03   -1.0409    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11212e-08
Minuit parameter uncertainties:
  1  2.13309e-05
  2  1484.39
  3  0.0264188
  4  0.0273569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/772294': 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) = 4895.81930821
delta logL = 6.36646291241e-11

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  2.133e-05  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.314e+00  1.484e+03  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:  6.857e-01  2.736e-02  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.040e+00  2.642e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/772294/cmap_HighResolution_573696001_573955201_4FGL_J1333.2+2725_daily_bin1290.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', job_status='DONE', photon_flux_upper_limit='5.98e-08', time_completed='2021-09-08 03:32:35.445572', job_id='772294', GAL2='0.69', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1631097155.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='6.37e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1290' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 03:32:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 772294: <4FGL_J1333.2+2725_daily_bin1290> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1290 203.323 27.4221 573696001 573955201 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 :                                   572.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            999 sec.

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

