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


Performing analysis on: 4FGL_J2104.0-3546_daily_bin425
RA = 316.01, Dec = -35.7678
tmin = 349488001, tmax = 349747201
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='284514', job_status='RUN', time_executed='2021-09-26 01:46:45.513569', time_epoch_executed='1632646005.51' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/284514

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/284514/ft1_4FGL_J2104.0-3546_daily_bin425.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/284514/ft1_4FGL_J2104.0-3546_daily_bin425.fits outfile=/scratch/kocevski/284514/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin425.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=349488001.0 tmax=349747201.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.42
user 3.18
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.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/284514/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin425.fits evtable="EVENTS" outfile="/scratch/kocevski/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.fits" evtable="EVENTS" scfile=/scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits sctable="SC_DATA" outfile=/scratch/kocevski/284514/ltcube_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.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/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits
.....................!
real 13.26
user 12.87
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.fits evtable="EVENTS" scfile=/scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits sctable="SC_DATA" expcube=/scratch/kocevski/284514/ltcube_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.fits outfile=/scratch/kocevski/284514/expmap_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.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/284514/ltcube_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.fits
.....................!
real 192.46
user 186.41
sys 5.49

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

Setting source of interest to:
4FGL J2104.0-3546 @ 316.01 -35.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.fits scfile=/scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits outfile=/scratch/kocevski/284514/cmap_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.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=316.01 yref=-35.7678 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.fits scfile=/scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits outfile=/scratch/kocevski/284514/cmap_HighResolution_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.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=316.01 yref=-35.7678 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.fits evtable="EVENTS" scfile=/scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/284514/Model_4FGL_J2104.0-3546_daily_bin425.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/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.fits.....................!
real 61.74
user 60.03
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.fits', '/scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits', expMap='/scratch/kocevski/284514/expmap_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.fits', expCube='/scratch/kocevski/284514/ltcube_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/284514/Model_4FGL_J2104.0-3546_daily_bin425.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2104.0-3546'

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  6.791e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.368e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  9.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/284514/ft1_filtered_4FGL_J2104.0-3546_daily_bin425.fits
Spacecraft file(s): /scratch/kocevski/284514/ft2_4FGL_J2104.0-3546_daily_bin425.fits
Exposure map: /scratch/kocevski/284514/expmap_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.fits
Exposure cube: /scratch/kocevski/284514/ltcube_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/284514/Model_4FGL_J2104.0-3546_daily_bin425.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) = 7125.75751194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.112       1.0000         .10000E-03   10000.    
     2 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .27386E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1037       1.0000         .10000E-03   10000.    
     7 'Prefactor '    105.65       1.0000         .10000E-03   10000.    
     8 'Prefactor '    105.48       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4813       1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.732       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.391       1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.129       1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.117       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.9174       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.8869       1.0000         .10000E-03   10000.    
    21 'norm      '    5.5367       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93278       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2625       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7125.742     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2503 TOTAL
                     EDM=   .60E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.087        59.543        .23143E-06   -.11827E-04
   2  norm          .10000E-03    7.8407       -.81046E-07** at limit **
   3  Prefactor     .10000E-03    388.74       -.85970E-05** at limit **
   4  norm          .10000E-03    16.168       -.10055E-06** at limit **
   5  Prefactor     .10000E-03    16.665       -.14038E-06** at limit **
   6  Prefactor     9.1078        7.7322       -.11219E-05    .12404E-04
   7  Prefactor     105.62        93.830        .41214E-06   -.10667E-04
   8  Prefactor     105.50        111.17        .17183E-06    .38932E-05
   9  norm          .10000E-03    12.127        .16595E-06** at limit **
  10  norm          3.4812        2.3248        .53062E-06    .30857E-04
  11  Prefactor     36.729        29.368        .32760E-06   -.12399E-05
  12  Prefactor     .10000E-03    113.87        .11822E-05** at limit **
  13  Prefactor     13.384        11.946        .23231E-06    .15585E-04
  14  Prefactor     33.127        13.787        .10193E-06   -.72704E-05
  15  Prefactor     27.133        41.767        .26777E-06    .11332E-05
  16  norm          .10000E-03    2.6765        .11828E-07** at limit **
  17  norm          3.9157        5.1078        .33764E-06    .76078E-05
  18  Prefactor     .10000E-03    4.8040        .96143E-07** at limit **
  19  Prefactor     .10000E-03    3.8286        .80968E-07** at limit **
  20  norm          2.8868        6.0817        .59194E-06    .45556E-05
  21  norm          5.5353        7.0142        .43521E-06   -.44592E-05
  22  Normalizat    .93292        .28881       -.21024E-05   -.81832E-05
  23  Prefactor     1.2625        .13618       -.11782E-06   -.60060E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.0873
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.10778
  Prefactor  = 105.62
  Prefactor  = 105.497
  norm       = 0.0001
  norm       = 3.48116
  Prefactor  = 36.7294
  Prefactor  = 0.0001
  Prefactor  = 13.3838
  Prefactor  = 33.1267
  Prefactor  = 27.1327
  norm       = 0.0001
  norm       = 3.91568
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.8868
  norm       = 5.53533
  Normalizat = 0.93292
  Prefactor  = 1.26249
 **********
 **   18 **HESSE 
 **********

 FCN=   7125.742     FROM HESSE     STATUS=OK           370 CALLS     2873 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.087        59.644        .51749E-04   -1.4156    
   2  norm          .10000E-03    7.8659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    390.41        .19925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.1078        7.6992        .13283E-03   -1.5104    
   7  Prefactor     105.62        93.872        .19562E-03   -1.3649    
   8  Prefactor     105.50        111.15        .39154E-04   -1.3650    
   9  norm          .10000E-03    12.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4812        2.3281        .51010E-03   -1.5335    
  11  Prefactor     36.729        29.372        .66127E-04   -1.4495    
  12  Prefactor     .10000E-03    115.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.384        11.941        .10946E-03   -1.4976    
  14  Prefactor     33.127        13.791        .69619E-04   -1.4556    
  15  Prefactor     27.133        41.717        .76932E-04   -1.4666    
  16  norm          .10000E-03    2.6774        .13488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.9157        5.0817        .19472E-03   -1.5312    
  18  Prefactor     .10000E-03    4.8992        .18070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.8492        .16132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.8868        6.0637        .23919E-03   -1.5368    
  21  norm          5.5353        7.0406        .17075E-03   -1.5237    
  22  Normalizat    .93292        .31995        .43098E-03   -.95313    
  23  Prefactor     1.2625        .15280        .18931E-03   -.84429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25706e-11
Minuit parameter uncertainties:
  1  59.703
  2  1.43689e-05
  3  0.00043765
  4  3.18366e-06
  5  1.57757e-05
  6  7.69999
  7  94.004
  8  111.373
  9  7.7224e-06
  10  2.32815
  11  29.3837
  12  0.000460381
  13  11.9429
  14  13.7921
  15  41.7614
  16  5.04848e-07
  17  5.08227
  18  6.59092e-06
  19  3.14809e-06
  20  6.06501
  21  7.04162
  22  0.320605
  23  0.152857
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  4.604e-04  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.368e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  9.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.262e+00  1.529e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  9.329e-01  3.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 316.010 -35.768
Photon Flux Upper Limit: 1.44e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/284514/likelihoodResults_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.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) = 7125.74236292
delta logL = -4.10113598264e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7125.74232201
delta logL = -1.01228579297e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3275       1.0000          .0000       10.000    
     3 'Normalizat'    .93293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2625       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   7125.742     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      283 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    9776.4        .18142E-02** at limit **
   2  Index         2.4204        5.5306        .50000       -.85950E-05
   3  Normalizat    .93292        .18153        .43099E-03   -.12530E-04
   4  Prefactor     1.2625        .91869E-01    .18931E-03   -.30146E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100013
  Index      = 2.42038
  Normalizat = 0.932919
  Prefactor  = 1.26249
 **********
 **   18 **HESSE 
 **********

 FCN=   7125.742     FROM HESSE     STATUS=OK            29 CALLS      312 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    154.03        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4204        6.2101        .50000       -.54209    
   3  Normalizat    .93292        .29241        .17240E-04   -.95313    
   4  Prefactor     1.2625        .14828        .75725E-05   -.84429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20536e-10
Minuit parameter uncertainties:
  1  0.0027925
  2  4.43703
  3  0.292912
  4  0.148325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/284514': 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) = 7125.7423218
delta logL = 1.03173988464e-07

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  2.792e-03  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.420e+00  4.437e+00  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  9.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.262e+00  1.483e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  9.329e-01  2.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 316.010 -35.768

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/284514/cmap_HighResolution_349488001_349747201_4FGL_J2104.0-3546_daily_bin425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.44e-07', time_completed='2021-09-26 01:57:52.418996', job_id='284514', GAL2='1.26', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1632646672.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='1.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='425' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 01:57:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 284514: <4FGL_J2104.0-3546_daily_bin425> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin425> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Sep 26 01:45:45 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:46:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 01:46:33 2021
Terminated at Sun Sep 26 01:57:53 2021
Results reported at Sun Sep 26 01:57:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin425 316.01 -35.7678 349488001 349747201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2104.0-3546 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   664.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            728 sec.

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

