/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 2 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7462
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0253.5+3216_daily_bin808
RA = 43.3829, Dec = 32.2826
tmin = 448761601, tmax = 449020801
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='934263', job_status='RUN', time_executed='2021-08-17 03:06:47.005510', time_epoch_executed='1629194807.01' WHERE source_name='4FGL J0253.5+3216' and cadence='daily' and bin_id='808'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934263

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934263/ft1_4FGL_J0253.5+3216_daily_bin808.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934263/ft1_4FGL_J0253.5+3216_daily_bin808.fits outfile=/scratch/kocevski/934263/ft1_filteredMKT_4FGL_J0253.5+3216_daily_bin808.fits ra=43.3829 dec=32.2826 rad=12.0 tmin=448761601.0 tmax=449020801.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 6.21
user 5.47
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.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/934263/ft1_filteredMKT_4FGL_J0253.5+3216_daily_bin808.fits evtable="EVENTS" outfile="/scratch/kocevski/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.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 1.80
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.fits" evtable="EVENTS" scfile=/scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits sctable="SC_DATA" outfile=/scratch/kocevski/934263/ltcube_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.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/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits
.....................!
real 14.94
user 13.99
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.fits evtable="EVENTS" scfile=/scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits sctable="SC_DATA" expcube=/scratch/kocevski/934263/ltcube_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.fits outfile=/scratch/kocevski/934263/expmap_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.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/934263/ltcube_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.fits
.....................!
real 194.35
user 186.07
sys 5.48

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

Setting source of interest to:
4FGL J0253.5+3216 @ 43.3829 32.2826

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.fits scfile=/scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits outfile=/scratch/kocevski/934263/cmap_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.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=43.3829 yref=32.2826 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.65
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.fits scfile=/scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits outfile=/scratch/kocevski/934263/cmap_HighResolution_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.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=43.3829 yref=32.2826 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.fits evtable="EVENTS" scfile=/scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934263/Model_4FGL_J0253.5+3216_daily_bin808.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/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.fits.....................!
real 117.10
user 114.27
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.fits', '/scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits', expMap='/scratch/kocevski/934263/expmap_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.fits', expCube='/scratch/kocevski/934263/ltcube_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934263/Model_4FGL_J0253.5+3216_daily_bin808.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0253.5+3216'

4FGL J0253.5+3216
   Spectrum: PowerLaw
282    Prefactor:  8.270e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
283        Index:  2.173e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/934263/ft1_filtered_4FGL_J0253.5+3216_daily_bin808.fits
Spacecraft file(s): /scratch/kocevski/934263/ft2_4FGL_J0253.5+3216_daily_bin808.fits
Exposure map: /scratch/kocevski/934263/expmap_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.fits
Exposure cube: /scratch/kocevski/934263/ltcube_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934263/Model_4FGL_J0253.5+3216_daily_bin808.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) = 6823.6627591

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.282       1.0000         .10000E-03   10000.    
     2 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .28020       1.0000         .10000E-03   10000.    
     6 'norm      '    .87524       1.0000         .10000E-03   10000.    
     7 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.2111       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.4097       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9025       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .70619       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.486       1.0000         .10000E-03   10000.    
    18 'Prefactor '    118.99       1.0000         .10000E-03   10000.    
    19 'norm      '    4.1060       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.9940       1.0000         .10000E-03   10000.    
    21 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.6192       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.6948       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94870       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6823.583     FROM MIGRAD    STATUS=CONVERGED    635 CALLS     3389 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.223        36.248        .53043E-04   -.24339E-05
   2  norm          .10000E-03    4.3705       -.34637E-06** at limit **
   3  Prefactor     .10000E-03    6.4304       -.58579E-06** at limit **
   4  norm          .10000E-03    4.7883        .55732E-07** at limit **
   5  Prefactor     .35040        11.521        .30569E-06   -.38604E-03
   6  norm          .87499        .90423       -.10591E-06   -.10591E-02
   7  norm          .10000E-03    49.790       -.52599E-05** at limit **
   8  Prefactor     8.2116        7.8267        .62596E-06   -.13145E-03
   9  Prefactor     .10000E-03    37.056        .47708E-06** at limit **
  10  norm          .10000E-03    4.1192       -.29511E-07** at limit **
  11  Prefactor     .10000E-03    21.995       -.24463E-08** at limit **
  12  norm          7.4097        3.3671        .94054E-07    .30690E-06
  13  Prefactor     5.8989        12.720        .34650E-05   -.79970E-04
  14  Prefactor     .49004        61.964       -.77986E-05    .28101E-03
  15  norm          .10000E-03    5.8425       -.71431E-07** at limit **
  16  norm          .10000E-03    14.585        .97879E-07** at limit **
  17  Prefactor     16.489        22.063        .10957E-05    .34956E-04
  18  Prefactor     118.93        119.42       -.36507E-04    .52494E-04
  19  norm          4.1065        1.2530        .89257E-06   -.22240E-02
  20  Prefactor     8.9946        2.8650        .17105E-06   -.44174E-04
  21  norm          .10000E-03    12.440       -.47756E-07** at limit **
  22  norm          2.6191        2.6228       -.86469E-07   -.54260E-03
  23  Prefactor     .10000E-03    64.573        .83437E-05** at limit **
  24  Normalizat    1.6944        .33222       -.54348E-05    .20741E-03
  25  Prefactor     .94877        .10226        .93355E-06   -.17416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.2229
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.350398
  norm       = 0.874991
  norm       = 0.0001
  Prefactor  = 8.21164
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.40975
  Prefactor  = 5.89887
  Prefactor  = 0.490039
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 16.4886
  Prefactor  = 118.932
  norm       = 4.10649
  Prefactor  = 8.99459
  norm       = 0.0001
  norm       = 2.61912
  Prefactor  = 0.0001
  Normalizat = 1.69445
  Prefactor  = 0.94877
 **********
 **   18 **HESSE 
 **********

 FCN=   6823.583     FROM HESSE     STATUS=OK           435 CALLS     3824 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.223        36.348        .10599E-03   -1.4954    
   2  norm          .10000E-03    4.5131        .33728E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.4686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.8899        .35032E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .35040        154.06        .51347E-02   -1.5590    
   6  norm          .87499        .85808        .74141E-03   -1.5521    
   7  norm          .10000E-03    49.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.2116        7.8449        .13991E-03   -1.5135    
   9  Prefactor     .10000E-03    37.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.1279        .16356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4097        3.3731        .97380E-04   -1.5163    
  13  Prefactor     5.8989        12.756        .16529E-03   -1.5222    
  14  Prefactor     .49004        60.838        .19916       -1.5568    
  15  norm          .10000E-03    5.8442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    14.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.489        22.131        .98643E-04   -1.4896    
  18  Prefactor     118.93        120.13        .18445E-03   -1.3523    
  19  norm          4.1065        1.2688        .42071E-04   -1.5303    
  20  Prefactor     8.9946        2.8643        .72378E-04   -1.5108    
  21  norm          .10000E-03    12.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.6191        2.6134        .12365E-03   -1.5384    
  23  Prefactor     .10000E-03    64.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.6944        .38262        .42291E-03   -.72452    
  25  Prefactor     .94877        .11583        .18299E-03   -.94457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26937e-08
Minuit parameter uncertainties:
  1  36.4045
  2  6.43935e-05
  3  0.000164112
  4  6.68573e-06
  5  14.7309
  6  0.858092
  7  2.30629e-06
  8  7.84591
  9  3.63842e-06
  10  2.51991e-06
  11  8.06079e-06
  12  3.37315
  13  12.7624
  14  10.9305
  15  1.18881e-08
  16  1.86643e-05
  17  22.1423
  18  120.378
  19  1.26884
  20  2.86435
  21  4.84111e-06
  22  2.61348
  23  1.65802e-05
  24  0.38329
  25  0.115859
Done.

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

Extracting fit parameters...

4FGL J0253.5+3216
   Spectrum: PowerLaw
282    Prefactor:  4.900e-01  1.093e+01  1.000e-04  1.000e+04 ( 1.000e-14)
283        Index:  2.173e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.488e-01  1.159e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.694e+00  3.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 43.383 32.283
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934263/likelihoodResults_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.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) = 6823.58264625
delta logL = 0.000192097750187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6823.58241091
delta logL = 0.000427441358624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48982       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3915       1.0000          .0000       10.000    
     3 'Normalizat'    1.6942       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94880       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6823.475     FROM MIGRAD    STATUS=CONVERGED    158 CALLS      338 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10688E-02    .40609E-01    .11229E-02** at limit **
   2  Index         6.2346        2.6253        .12439        .13300E-03
   3  Normalizat    1.6570        .48426E-01    .96361E-01   -.34863E-03
   4  Prefactor     .95569        .16413E-01    .45624E-01   -.80163E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00106875
  Index      = 6.23463
  Normalizat = 1.65702
  Prefactor  = 0.955693
 **********
 **   18 **HESSE 
 **********

 FCN=   6823.475     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      367 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10688E-02    .31371        .60703E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2346        7.7935        .86247E-02    .24951    
   3  Normalizat    1.6570        .24860        .42677E-03   -.73457    
   4  Prefactor     .95569        .83185E-01    .18242E-03   -.94221    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.41515e-06
Minuit parameter uncertainties:
  1  0.0348662
  2  11.3134
  3  0.248786
  4  0.0831958
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934263': 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) = 6823.47476005
delta logL = 0.108078295825

Extracting fit parameters...

4FGL J0253.5+3216
   Spectrum: PowerLaw
282    Prefactor:  1.069e-03  3.487e-02  1.000e-04  1.000e+04 ( 1.000e-14)
283        Index:  6.235e+00  1.131e+01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  2.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.557e-01  8.320e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  1.657e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 43.383 32.283

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/934263/cmap_HighResolution_448761601_449020801_4FGL_J0253.5+3216_daily_bin808.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-08-17 03:21:41.974669', job_id='934263', GAL2='0.96', fit_tolerance='1e-08', EG2='1.66', EG='1.69', time_epoch_completed='1629195701.97', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.08e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='808' AND source_name='4FGL J0253.5+3216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 03:21:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 934263: <4FGL_J0253.5+3216_daily_bin808> in cluster <slac> Done

Job <4FGL_J0253.5+3216_daily_bin808> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 17 03:05:46 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 03:06:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 17 03:06:10 2021
Terminated at Tue Aug 17 03:21:42 2021
Results reported at Tue Aug 17 03:21:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0253.5+3216_daily_bin808 43.3829 32.2826 448761601 449020801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0253.5+3216 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   881.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            956 sec.

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

