/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 162 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1635.3+4258_daily_bin75
RA = 248.846, Dec = 42.9756
tmin = 258768001, tmax = 259027201
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='697119', job_status='RUN', time_executed='2021-09-14 22:13:18.656912', time_epoch_executed='1631682798.66' WHERE source_name='4FGL J1635.3+4258' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/697119

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/697119/ft1_4FGL_J1635.3+4258_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/697119/ft1_4FGL_J1635.3+4258_daily_bin75.fits outfile=/scratch/kocevski/697119/ft1_filteredMKT_4FGL_J1635.3+4258_daily_bin75.fits ra=248.846 dec=42.9756 rad=12.0 tmin=258768001.0 tmax=259027201.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 0.95
user 0.79
sys 0.14

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.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/697119/ft1_filteredMKT_4FGL_J1635.3+4258_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.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.43
user 0.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/697119/ltcube_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.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/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits
.....................!
real 8.07
user 7.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/697119/ltcube_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.fits outfile=/scratch/kocevski/697119/expmap_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.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/697119/ltcube_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.fits
.....................!
real 157.67
user 152.41
sys 4.20

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 210 point sources and 0 extended sources

Setting source of interest to:
4FGL J1635.3+4258 @ 248.846 42.9756

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.fits scfile=/scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits outfile=/scratch/kocevski/697119/cmap_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.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.846 yref=42.9756 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.48
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.fits scfile=/scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits outfile=/scratch/kocevski/697119/cmap_HighResolution_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.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.846 yref=42.9756 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.47
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/697119/Model_4FGL_J1635.3+4258_daily_bin75.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/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.fits.....................!
real 34.93
user 33.80
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.fits', '/scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits', expMap='/scratch/kocevski/697119/expmap_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.fits', expCube='/scratch/kocevski/697119/ltcube_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/697119/Model_4FGL_J1635.3+4258_daily_bin75.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1635.3+4258'

4FGL J1635.3+4258
   Spectrum: LogParabola
311         norm:  1.168e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
312        alpha:  1.825e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  4.797e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  1.661e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/697119/ft1_filtered_4FGL_J1635.3+4258_daily_bin75.fits
Spacecraft file(s): /scratch/kocevski/697119/ft2_4FGL_J1635.3+4258_daily_bin75.fits
Exposure map: /scratch/kocevski/697119/expmap_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.fits
Exposure cube: /scratch/kocevski/697119/ltcube_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/697119/Model_4FGL_J1635.3+4258_daily_bin75.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) = 4767.94274287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12224E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2325       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .83406E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    13.850       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5667       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22439E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3634       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13082E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5061       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0933       1.0000         .10000E-03   10000.    
    19 'norm      '    6.1111       1.0000         .10000E-03   10000.    
    20 'norm      '    1.0824       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.2449       1.0000         .10000E-03   10000.    
    23 'norm      '    13.021       1.0000         .10000E-03   10000.    
    24 'norm      '    2.2383       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    34.086       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .62040       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1378       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4767.913     FROM MIGRAD    STATUS=CONVERGED    703 CALLS     3048 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.7356       -.38522E-05** at limit **
   2  Prefactor     .10000E-03    42.560       -.57178E-05** at limit **
   3  Prefactor     .10003E-03    2.8127        .11139E-05** at limit **
   4  Prefactor     4.2371        7.1831       -.73132E-06   -.54436E-03
   5  Prefactor     .10000E-03    24.944        .13066E-04** at limit **
   6  Prefactor     .10000E-03    2.5314        .27847E-07** at limit **
   7  Prefactor     .10000E-03    1.6446       -.14337E-07** at limit **
   8  norm          .10000E-03    7.9609        .20678E-05** at limit **
   9  norm          .83439E-01    .15426        .11667E-08   -.24875E-02
  10  norm          13.850        13.621        .44246E-06    .33856E-03
  11  Prefactor     6.5646        23.839       -.28122E-05   -.14418E-03
  12  Prefactor     .10000E-03    2.4502        .20562E-07** at limit **
  13  norm          .10000E-03    19.401       -.10997E-04** at limit **
  14  Prefactor     2.3631        1.7501        .51666E-08   -.68728E-03
  15  Prefactor     .10000E-03    .90625        .73836E-07** at limit **
  16  Prefactor     3.5066        3.4085       -.48560E-06   -.25058E-03
  17  Prefactor     .10000E-03    1.5093        .31579E-07** at limit **
  18  Prefactor     2.0926        12.711       -.12642E-05   -.23733E-03
  19  norm          6.1109        2.4198        .38631E-08   -.61169E-04
  20  norm          1.0826        1.0872        .17154E-07   -.49537E-03
  21  Prefactor     .10000E-03    3.9302        .37931E-07** at limit **
  22  norm          1.2449        .98691       -.14566E-07   -.34849E-03
  23  norm          13.020        10.667       -.60401E-06   -.67023E-03
  24  norm          2.2382        2.1770       -.11147E-06   -.45179E-03
  25  Prefactor     .10000E-03    1.7948       -.89386E-08** at limit **
  26  norm          34.085        12.717        .90955E-07   -.60799E-05
  27  Normalizat    .62043        .22477        .25437E-06   -.27282E-03
  28  Prefactor     1.1378        .19485        .20794E-06   -.27181E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100029
  Prefactor  = 4.23713
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0834391
  norm       = 13.8502
  Prefactor  = 6.56457
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 2.36311
  Prefactor  = 0.0001
  Prefactor  = 3.50655
  Prefactor  = 0.0001
  Prefactor  = 2.09262
  norm       = 6.11091
  norm       = 1.08259
  Prefactor  = 0.0001
  norm       = 1.24487
  norm       = 13.0204
  norm       = 2.23815
  Prefactor  = 0.0001
  norm       = 34.0853
  Normalizat = 0.620425
  Prefactor  = 1.1378
 **********
 **   18 **HESSE 
 **********

 FCN=   4767.913     FROM HESSE     STATUS=OK           529 CALLS     3577 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    42.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    11.801        .21253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.2371        7.2279        .19586E-03   -1.5296    
   5  Prefactor     .10000E-03    24.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.5387        .10727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.6721        .86402E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.9532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .83439E-01    .12896        .29162E-03   -1.5650    
  10  norm          13.850        13.685        .53814E-03   -1.4963    
  11  Prefactor     6.5646        22.797        .15660E-03   -1.5195    
  12  Prefactor     .10000E-03    13.156        .20517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    19.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3631        1.4276        .56332E-04   -1.5401    
  15  Prefactor     .10000E-03    9.7090        .99956E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.5066        3.3641        .11648E-03   -1.5333    
  17  Prefactor     .10000E-03    1.5373        .82765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.0926        12.887        .28530E-03   -1.5419    
  19  norm          6.1109        2.4089        .64604E-04   -1.5214    
  20  norm          1.0826        1.0433        .66523E-03   -1.5500    
  21  Prefactor     .10000E-03    3.9680        .13355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.2449        .97278        .57742E-04   -1.5485    
  23  norm          13.020        10.794        .55502E-03   -1.4986    
  24  norm          2.2382        2.1652        .94796E-04   -1.5409    
  25  Prefactor     .10000E-03    1.7981        .90339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          34.085        12.721        .68638E-04   -1.4540    
  27  Normalizat    .62043        .25908        .30446E-03   -1.0712    
  28  Prefactor     1.1378        .23095        .21161E-03   -.88267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9062e-09
Minuit parameter uncertainties:
  1  6.09664e-07
  2  8.95806e-06
  3  0.00117972
  4  7.22935
  5  3.57345e-05
  6  1.01558e-06
  7  1.17585e-07
  8  2.18557e-06
  9  0.128956
  10  13.6877
  11  22.8272
  12  0.000202962
  13  4.35674e-07
  14  1.42765
  15  8.41064e-06
  16  3.36432
  17  8.55656e-08
  18  10.3891
  19  2.40898
  20  1.04328
  21  1.78179e-06
  22  0.972789
  23  10.7956
  24  2.16527
  25  8.53063e-08
  26  12.7219
  27  0.259589
  28  0.231155
Done.

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

Extracting fit parameters...

4FGL J1635.3+4258
   Spectrum: LogParabola
311         norm:  1.385e+01  1.369e+01  1.000e-04  1.000e+04 ( 1.000e-13)
312        alpha:  1.825e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  4.797e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  1.661e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.138e+00  2.312e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  6.204e-01  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.71
Ra Dec: 248.846 42.976
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 8.16e-09 +/- 8.06e-09
Energy Flux (Fixed Index): 9.92e-06 +/- 9.81e-06

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) = 4767.89497895
delta logL = 0.0184764086271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4767.89416784
delta logL = 0.0192875152798

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.429       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6058       1.0000          .0000       5.0000    
     3 'Normalizat'    .62035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4767.894     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      227 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.417        38.557        .26361E-02   -.32479E-04
   2  alpha         1.6066        3.3005        .45104       -.13412E-04
   3  Normalizat    .62053        .20810        .68788E-01    .90033E-04
   4  Prefactor     1.1382        .19154        .36286E-01    .18023E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.417
  alpha      = 1.60657
  Normalizat = 0.620533
  Prefactor  = 1.13825
 **********
 **   18 **HESSE 
 **********

 FCN=   4767.894     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.417        14.454        .10544E-03   -1.4948    
   2  alpha         1.6066        1.0770        .28415E-01   -.36545    
   3  Normalizat    .62053        .24303        .30444E-03   -1.0712    
   4  Prefactor     1.1382        .22487        .21158E-03   -.88253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87768e-10
Minuit parameter uncertainties:
  1  14.4579
  2  1.1194
  3  0.243449
  4  0.225053
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/697119': 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) = 4767.89416589
delta logL = 0.0192894701977

Extracting fit parameters...

4FGL J1635.3+4258
   Spectrum: LogParabola
311         norm:  1.442e+01  1.446e+01  1.000e-04  1.000e+04 ( 1.000e-13)
312        alpha:  1.607e+00  1.119e+00  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  4.797e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  1.661e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
674    Prefactor:  1.138e+00  2.251e-01  0.000e+00  1.000e+01 ( 1.000e+00)
675        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
676        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
673   Normalization:  6.205e-01  2.434e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.74
Ra Dec: 248.846 42.976
Photon Index (Free Index): 1.61 +/- 1.12
Photon Flux (Free Index): 7.30e-09 +/- 8.20e-09
Energy Flux (Free Index): 1.10e-05 +/- 1.28e-05

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/697119/cmap_HighResolution_258768001_259027201_4FGL_J1635.3+4258_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.16e-09', energy_flux2='1.10e-05', photon_flux_error='8.06e-09', dlogl='1.93e-02', energy_flux='9.92e-06', photon_flux2='7.30e-09', job_status='DONE', time_completed='2021-09-14 22:21:41.224087', photon_index_error2='1.12', photon_index2='1.61', ts='5.71', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='0.62', time_epoch_completed='1631683301.22', return_code='0', job_id='697119', GAL2='1.14', EG2='0.62', return_code2='0', energy_flux_error='9.81e-06', photon_flux_error2='8.20e-09', ts2='5.74', photon_index='1.82' WHERE bin_id='75' AND source_name='4FGL J1635.3+4258' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 14 22:21:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 697119: <4FGL_J1635.3+4258_daily_bin75> in cluster <slac> Done

Job <4FGL_J1635.3+4258_daily_bin75> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 14 22:10:21 2021
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 14 22:10:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 14 22:10:29 2021
Terminated at Tue Sep 14 22:21:41 2021
Results reported at Tue Sep 14 22:21:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.3+4258_daily_bin75 248.846 42.9756 258768001 259027201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1635.3+4258 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   502.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            680 sec.

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

