/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 62 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 = 7487
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1333.2+2725_daily_bin1641
RA = 203.323, Dec = 27.4221
tmin = 664675201, tmax = 664934401
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='365112', job_status='RUN', time_executed='2022-01-27 00:15:38.994774', time_epoch_executed='1643271338.99' WHERE source_name='4FGL J1333.2+2725' and cadence='daily' and bin_id='1641'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/365112

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/365112/ft1_4FGL_J1333.2+2725_daily_bin1641.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/365112/ft2_4FGL_J1333.2+2725_daily_bin1641.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/365112/ft1_4FGL_J1333.2+2725_daily_bin1641.fits outfile=/scratch/kocevski/365112/ft1_filteredMKT_4FGL_J1333.2+2725_daily_bin1641.fits ra=203.323 dec=27.4221 rad=12.0 tmin=664675201.0 tmax=664934401.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.64
user 3.41
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/365112/ft1_filtered_4FGL_J1333.2+2725_daily_bin1641.fits" evtable="EVENTS" scfile=/scratch/kocevski/365112/ft2_4FGL_J1333.2+2725_daily_bin1641.fits sctable="SC_DATA" outfile=/scratch/kocevski/365112/ltcube_664675201_664934401_4FGL_J1333.2+2725_daily_bin1641.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/365112/ft2_4FGL_J1333.2+2725_daily_bin1641.fits
.....................!
real 18.73
user 18.26
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/365112/ft1_filtered_4FGL_J1333.2+2725_daily_bin1641.fits evtable="EVENTS" scfile=/scratch/kocevski/365112/ft2_4FGL_J1333.2+2725_daily_bin1641.fits sctable="SC_DATA" expcube=/scratch/kocevski/365112/ltcube_664675201_664934401_4FGL_J1333.2+2725_daily_bin1641.fits outfile=/scratch/kocevski/365112/expmap_664675201_664934401_4FGL_J1333.2+2725_daily_bin1641.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/365112/ltcube_664675201_664934401_4FGL_J1333.2+2725_daily_bin1641.fits
.....................!
real 192.15
user 186.40
sys 5.07

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/365112/ft1_filtered_4FGL_J1333.2+2725_daily_bin1641.fits scfile=/scratch/kocevski/365112/ft2_4FGL_J1333.2+2725_daily_bin1641.fits outfile=/scratch/kocevski/365112/cmap_664675201_664934401_4FGL_J1333.2+2725_daily_bin1641.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/365112/ft1_filtered_4FGL_J1333.2+2725_daily_bin1641.fits scfile=/scratch/kocevski/365112/ft2_4FGL_J1333.2+2725_daily_bin1641.fits outfile=/scratch/kocevski/365112/cmap_HighResolution_664675201_664934401_4FGL_J1333.2+2725_daily_bin1641.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.82
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11845E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .52566E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.443       1.0000         .10000E-03   10000.    
     5 'norm      '    3.0464       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.2932       1.0000         .10000E-03   10000.    
     7 'norm      '    4.8907       1.0000         .10000E-03   10000.    
     8 'norm      '    37.484       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5960       1.0000         .10000E-03   10000.    
    10 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2087       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2805       1.0000         .10000E-03   10000.    
    13 'norm      '    4.6080       1.0000         .10000E-03   10000.    
    14 'Prefactor '    141.49       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.839       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.7041       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.0418       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .77971       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1634       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=   6923.260     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2627 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    502.43       -.13168E-04** at limit **
   2  Prefactor     .10000E-03    1.9071        .53926E-07** at limit **
   3  norm          .69501E-01    4.0765       -.69814E-06    .77053E-03
   4  Prefactor     19.388        38.524       -.14361E-05    .29012E-03
   5  norm          3.0463        2.5141        .12112E-07    .10597E-04
   6  Prefactor     4.2944        20.055        .83413E-06    .68025E-04
   7  norm          4.8909        5.5554        .92151E-06    .46941E-03
   8  norm          37.480        8.7491        .12296E-06    .18241E-02
   9  norm          2.5982        10.038        .14240E-05    .16306E-03
  10  norm          .10000E-03    11.610        .48466E-07** at limit **
  11  Prefactor     3.2108        4.5246       -.10404E-05   -.34875E-03
  12  Prefactor     6.2803        16.736        .52750E-05   -.10693E-03
  13  norm          4.6081        4.4757       -.71851E-07   -.12249E-03
  14  Prefactor     141.47        77.432       -.26596E-05   -.13424E-03
  15  norm          .10000E-03    2.4769       -.10070E-07** at limit **
  16  Prefactor     22.840        17.245        .20879E-06   -.41779E-04
  17  Prefactor     .10000E-03    6.7267        .27393E-08** at limit **
  18  Prefactor     .10000E-03    71.611       -.57495E-06** at limit **
  19  Prefactor     .10000E-03    2.2061        .10805E-06** at limit **
  20  Prefactor     6.7045        8.8990       -.10495E-05   -.29335E-03
  21  Prefactor     4.0422        4.6159        .75675E-07   -.15746E-03
  22  Normalizat    .77968        .16816       -.10548E-05    .13012E-03
  23  Prefactor     1.1634        .17244        .47022E-06    .20454E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  norm       = 0.0695012
  Prefactor  = 19.3881
  norm       = 3.04634
  Prefactor  = 4.29436
  norm       = 4.89092
  norm       = 37.4802
  norm       = 2.59824
  norm       = 0.0001
  Prefactor  = 3.21085
  Prefactor  = 6.2803
  norm       = 4.60809
  Prefactor  = 141.473
  norm       = 0.0001
  Prefactor  = 22.8399
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.70454
  Prefactor  = 4.04218
  Normalizat = 0.779683
  Prefactor  = 1.16341
 **********
 **   18 **HESSE 
 **********

 FCN=   6923.260     FROM HESSE     STATUS=OK           382 CALLS     3009 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    518.16        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.9112        .11221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .69501E-01    11.498        .44011E-01   -1.5655    
   4  Prefactor     19.388        43.175        .90834E-04   -1.4827    
   5  norm          3.0463        2.5121        .11635E-03   -1.5359    
   6  Prefactor     4.2944        19.785        .19443E-03   -1.5293    
   7  norm          4.8909        5.5493        .18188E-03   -1.5266    
   8  norm          37.480        8.8960        .65462E-04   -1.4483    
   9  norm          2.5982        9.8153        .25323E-03   -1.5386    
  10  norm          .10000E-03    11.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2108        4.4794        .17082E-03   -1.5350    
  12  Prefactor     6.2803        17.416        .80087E-03   -1.5207    
  13  norm          4.6081        4.4758        .16753E-03   -1.5279    
  14  Prefactor     141.47        77.158        .16934E-03   -1.3323    
  15  norm          .10000E-03    2.4851        .12784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.840        17.293        .41908E-03   -1.4752    
  17  Prefactor     .10000E-03    6.7314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    71.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.4356        .23711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.7045        9.0087        .15497E-03   -1.5190    
  21  Prefactor     4.0422        4.6351        .18313E-03   -1.5306    
  22  Normalizat    .77968        .20115        .27505E-03   -1.0083    
  23  Prefactor     1.1634        .20820        .24785E-03   -.87465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79384e-09
Minuit parameter uncertainties:
  1  0.00574266
  2  2.24453e-06
  3  1.78691
  4  43.2447
  5  2.51222
  6  18.4448
  7  5.54992
  8  8.89627
  9  9.82137
  10  7.60198e-06
  11  4.47986
  12  17.4296
  13  4.47611
  14  77.2126
  15  1.75127e-06
  16  17.2971
  17  5.67533e-07
  18  9.34039e-05
  19  4.16996e-06
  20  9.01057
  21  4.63555
  22  0.201346
  23  0.208349
Done.

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

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  5.675e-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:  1.163e+00  2.083e-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:  7.797e-01  2.013e-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: 4.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/365112/likelihoodResults_664675201_664934401_4FGL_J1333.2+2725_daily_bin1641.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) = 6923.26086246
delta logL = -0.000706183854163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6923.26015627
delta logL = 9.75796865532e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3060       1.0000          .0000       10.000    
     3 'Normalizat'    .77970       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1634       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=   6923.260     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      250 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10082E-03    142.42        .18142E-02** at limit **
   2  Index         2.2431        8.6421        .50000        .89500E-05
   3  Normalizat    .77968        .18729E-01    .27505E-03   -.18600E-05
   4  Prefactor     1.1634        .20331E-01    .24785E-03   -.24770E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100816
  Index      = 2.24311
  Normalizat = 0.779682
  Prefactor  = 1.16342
 **********
 **   18 **HESSE 
 **********

 FCN=   6923.260     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10082E-03    570.95        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2431        6.1237        .50000       -.58402    
   3  Normalizat    .77968        .41190E-01    .11002E-04   -1.0083    
   4  Prefactor     1.1634        .44710E-01    .99139E-05   -.87465    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.4151e-08
Minuit parameter uncertainties:
  1  0.0435995
  2  1465.69
  3  0.0411918
  4  0.0447117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/365112': 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) = 6923.26015616
delta logL = 1.16684532259e-07

Extracting fit parameters...

4FGL J1333.2+2725
   Spectrum: PowerLaw
301    Prefactor:  1.008e-04  4.360e-02  1.000e-04  1.000e+04 ( 1.000e-13)
302        Index:  2.243e+00  1.466e+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:  1.163e+00  4.471e-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:  7.797e-01  4.119e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/365112/cmap_HighResolution_664675201_664934401_4FGL_J1333.2+2725_daily_bin1641.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2022-01-27 00:27:13.174648', job_id='365112', GAL2='1.16', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1643272033.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.32' WHERE bin_id='1641' AND source_name='4FGL J1333.2+2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 27 00:27:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 365161: <4FGL_J1333.2+2725_daily_bin1641> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1641> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jan 27 00:10:46 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 27 00:10:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 27 00:10:50 2022
Terminated at Thu Jan 27 00:24:43 2022
Results reported at Thu Jan 27 00:24:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1641 203.323 27.4221 664675201 664934401 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.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            837 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 365112: <4FGL_J1333.2+2725_daily_bin1641> in cluster <slac> Done

Job <4FGL_J1333.2+2725_daily_bin1641> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 27 00:10:43 2022
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 27 00:10:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 27 00:10:46 2022
Terminated at Thu Jan 27 00:27:14 2022
Results reported at Thu Jan 27 00:27:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1333.2+2725_daily_bin1641 203.323 27.4221 664675201 664934401 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 :                                   683.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            991 sec.

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

