/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 155 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 = 7483
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1633.8+0701_daily_bin365
RA = 248.454, Dec = 7.0309
tmin = 333936001, tmax = 334195201
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='675675', job_status='RUN', time_executed='2021-09-14 21:03:49.030549', time_epoch_executed='1631678629.03' WHERE source_name='4FGL J1633.8+0701' and cadence='daily' and bin_id='365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675675

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675675/ft1_4FGL_J1633.8+0701_daily_bin365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675675/ft1_4FGL_J1633.8+0701_daily_bin365.fits outfile=/scratch/kocevski/675675/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin365.fits ra=248.454 dec=7.0309 rad=12.0 tmin=333936001.0 tmax=334195201.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.57
user 3.33
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.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/675675/ft1_filteredMKT_4FGL_J1633.8+0701_daily_bin365.fits evtable="EVENTS" outfile="/scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.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.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.fits" evtable="EVENTS" scfile=/scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits sctable="SC_DATA" outfile=/scratch/kocevski/675675/ltcube_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.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/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits
.....................!
real 14.90
user 14.41
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits sctable="SC_DATA" expcube=/scratch/kocevski/675675/ltcube_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.fits outfile=/scratch/kocevski/675675/expmap_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.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/675675/ltcube_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.fits
.....................!
real 191.30
user 185.83
sys 4.70

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 163 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1633.8+0701 @ 248.454 7.0309

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.fits scfile=/scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits outfile=/scratch/kocevski/675675/cmap_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.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=248.454 yref=7.0309 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.fits scfile=/scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits outfile=/scratch/kocevski/675675/cmap_HighResolution_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.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=248.454 yref=7.0309 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/675675/Model_4FGL_J1633.8+0701_daily_bin365.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.fits.....................!
real 94.81
user 93.25
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.fits', '/scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits', expMap='/scratch/kocevski/675675/expmap_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.fits', expCube='/scratch/kocevski/675675/ltcube_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/675675/Model_4FGL_J1633.8+0701_daily_bin365.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1633.8+0701'

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  1.015e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.146e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/675675/ft1_filtered_4FGL_J1633.8+0701_daily_bin365.fits
Spacecraft file(s): /scratch/kocevski/675675/ft2_4FGL_J1633.8+0701_daily_bin365.fits
Exposure map: /scratch/kocevski/675675/expmap_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.fits
Exposure cube: /scratch/kocevski/675675/ltcube_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/675675/Model_4FGL_J1633.8+0701_daily_bin365.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) = 12064.9027273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6023       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    102.34       1.0000         .10000E-03   10000.    
     4 'norm      '    2.0636       1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    23.161       1.0000         .10000E-03   10000.    
     7 'norm      '    45.442       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8918       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2747       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .65877       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10626E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.052       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2355       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12064.89     FROM MIGRAD    STATUS=CONVERGED    373 CALLS     1831 TOTAL
                     EDM=   .98E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6021        4.4407       -.77493E-08   -.35003E-03
   2  norm          .10000E-03    .59308        .19093E-07** at limit **
   3  Prefactor     102.33        68.994       -.12719E-04   -.11870E-04
   4  norm          2.0627        3.0668        .23027E-06   -.11175E-02
   5  norm          .10000E-03    .36712        .23126E-07** at limit **
   6  norm          23.159        14.367        .34064E-06    .10427E-04
   7  norm          45.444        53.552        .14622E-05    .10827E-05
   8  Prefactor     .10000E-03    23.059        .12420E-07** at limit **
   9  Prefactor     .10000E-03    9.4148       -.28972E-07** at limit **
  10  Prefactor     2.8908        7.6472       -.29948E-06   -.21486E-04
  11  Prefactor     3.2727        5.3069       -.10018E-06   -.74799E-03
  12  Prefactor     .65326        2.2367       -.21772E-06    .10278E-04
  13  Prefactor     .10000E-03    6.8302       -.30866E-07** at limit **
  14  Prefactor     .10000E-03    37.394       -.31449E-07** at limit **
  15  Prefactor     10.048        7.4009        .10104E-06    .11141E-04
  16  Prefactor     .10000E-03    83.458        .15256E-06** at limit **
  17  Normalizat    1.2358        .23976        .16259E-05   -.55213E-07
  18  Prefactor     1.0099        .76207E-01   -.20124E-06    .21344E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.60211
  norm       = 0.0001
  Prefactor  = 102.328
  norm       = 2.06271
  norm       = 0.0001
  norm       = 23.1589
  norm       = 45.4437
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.89083
  Prefactor  = 3.27274
  Prefactor  = 0.653264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0485
  Prefactor  = 0.0001
  Normalizat = 1.23584
  Prefactor  = 1.00987
 **********
 **   18 **HESSE 
 **********

 FCN=   12064.89     FROM HESSE     STATUS=OK           244 CALLS     2075 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6021        4.4735        .72723E-03   -1.5156    
   2  norm          .10000E-03    .59369        .82610E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     102.33        69.016        .39744E-04   -1.3681    
   4  norm          2.0627        5.6977        .14382E-02   -1.5421    
   5  norm          .10000E-03    .37092        .64992E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          23.159        14.422        .83232E-04   -1.4745    
   7  norm          45.444        53.552        .59477E-04   -1.4359    
   8  Prefactor     .10000E-03    23.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.4235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8908        7.6154        .23897E-03   -1.5368    
  11  Prefactor     3.2727        5.9773        .11189E-02   -1.5346    
  12  Prefactor     .65326        7.4010        .28488E-02   -1.5546    
  13  Prefactor     .10000E-03    7.0757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    37.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.048        7.4033        .12639E-03   -1.5074    
  16  Prefactor     .10000E-03    83.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2358        .28285        .43778E-03   -.85502    
  18  Prefactor     1.0099        .90614E-01    .15810E-03   -.92401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60743e-09
Minuit parameter uncertainties:
  1  4.47366
  2  1.13945e-06
  3  69.0702
  4  5.69916
  5  1.76105e-06
  6  14.4242
  7  53.6084
  8  5.43239e-06
  9  2.56375e-06
  10  7.61791
  11  5.97837
  12  4.398
  13  1.63676e-05
  14  1.5906e-05
  15  7.40395
  16  9.73332e-06
  17  0.283203
  18  0.0906279
Done.

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

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  3.273e+00  5.978e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  2.146e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.010e+00  9.063e-02  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.236e+00  2.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 248.454 7.031
Photon Flux Upper Limit: 9.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675675/likelihoodResults_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12064.8555822
delta logL = 0.032735936702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12064.8487024
delta logL = 0.0396156487532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0617       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8686       1.0000          .0000       10.000    
     3 'Normalizat'    1.2419       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0087       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+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=   12064.85     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      247 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0608        7.1213        .20006E-03    .71680E-03
   2  Index         1.8686        .95624        .14993E-01    .18835E-03
   3  Normalizat    1.2418        .27066        .43687E-03   -.24920E-03
   4  Prefactor     1.0088        .90008E-01    .15818E-03   -.81269E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.06083
  Index      = 1.86862
  Normalizat = 1.24175
  Prefactor  = 1.00879
 **********
 **   18 **HESSE 
 **********

 FCN=   12064.85     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0608        7.0435        .80025E-05   -1.5305    
   2  Index         1.8686        .94671        .59970E-03   -.67677    
   3  Normalizat    1.2418        .27077        .17475E-04   -.85322    
   4  Prefactor     1.0088        .90061E-01    .31635E-04   -.92437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69256e-09
Minuit parameter uncertainties:
  1  7.04497
  2  0.956277
  3  0.271073
  4  0.0900747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675675': 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) = 12064.8487023
delta logL = 0.0396157966698

Extracting fit parameters...

4FGL J1633.8+0701
   Spectrum: PowerLaw
245    Prefactor:  4.061e+00  7.045e+00  1.000e-04  1.000e+04 ( 1.000e-13)
246        Index:  1.869e+00  9.563e-01  0.000e+00  1.000e+01 (-1.000e+00)
247        Scale:  1.918e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
548    Prefactor:  1.009e+00  9.007e-02  0.000e+00  1.000e+01 ( 1.000e+00)
549        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
550        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.242e+00  2.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
Ra Dec: 248.454 7.031

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/675675/cmap_HighResolution_333936001_334195201_4FGL_J1633.8+0701_daily_bin365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.87e-03', job_status='DONE', photon_flux_upper_limit='9.05e-08', time_completed='2021-09-14 21:17:04.990222', job_id='675675', GAL2='1.01', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1631679424.99', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.96e-02', ts2='0.49', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='365' AND source_name='4FGL J1633.8+0701' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 21:17:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 675675: <4FGL_J1633.8+0701_daily_bin365> in cluster <slac> Done

Job <4FGL_J1633.8+0701_daily_bin365> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 14 21:00:30 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 21:01:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 14 21:01:05 2021
Terminated at Tue Sep 14 21:17:05 2021
Results reported at Tue Sep 14 21:17:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1633.8+0701_daily_bin365 248.454 7.0309 333936001 334195201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1633.8+0701 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   792.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            995 sec.

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

