/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 = 7400
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2350.6-3005_daily_bin821
RA = 357.665, Dec = -30.087
tmin = 452131201, tmax = 452390401
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='159750', job_status='RUN', time_executed='2021-09-30 07:10:49.624549', time_epoch_executed='1633011049.62' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='821'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159750

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159750/ft1_4FGL_J2350.6-3005_daily_bin821.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159750/ft1_4FGL_J2350.6-3005_daily_bin821.fits outfile=/scratch/kocevski/159750/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin821.fits ra=357.665 dec=-30.087 rad=12.0 tmin=452131201.0 tmax=452390401.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.37
user 3.15
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.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/159750/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin821.fits evtable="EVENTS" outfile="/scratch/kocevski/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.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.45
user 0.33
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.fits" evtable="EVENTS" scfile=/scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits sctable="SC_DATA" outfile=/scratch/kocevski/159750/ltcube_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.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/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits
.....................!
real 15.05
user 11.66
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.fits evtable="EVENTS" scfile=/scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits sctable="SC_DATA" expcube=/scratch/kocevski/159750/ltcube_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.fits outfile=/scratch/kocevski/159750/expmap_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.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/159750/ltcube_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.fits
.....................!
real 191.32
user 185.19
sys 5.16

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

Setting source of interest to:
4FGL J2350.6-3005 @ 357.665 -30.087

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.fits scfile=/scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits outfile=/scratch/kocevski/159750/cmap_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.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=357.665 yref=-30.087 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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.fits scfile=/scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits outfile=/scratch/kocevski/159750/cmap_HighResolution_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.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=357.665 yref=-30.087 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.fits evtable="EVENTS" scfile=/scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159750/Model_4FGL_J2350.6-3005_daily_bin821.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/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.fits.....................!
real 43.96
user 42.59
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.fits', '/scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits', expMap='/scratch/kocevski/159750/expmap_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.fits', expCube='/scratch/kocevski/159750/ltcube_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159750/Model_4FGL_J2350.6-3005_daily_bin821.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2350.6-3005'

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  8.104e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/159750/ft1_filtered_4FGL_J2350.6-3005_daily_bin821.fits
Spacecraft file(s): /scratch/kocevski/159750/ft2_4FGL_J2350.6-3005_daily_bin821.fits
Exposure map: /scratch/kocevski/159750/expmap_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.fits
Exposure cube: /scratch/kocevski/159750/ltcube_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159750/Model_4FGL_J2350.6-3005_daily_bin821.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) = 5710.55054006

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    25.961       1.0000         .10000E-03   10000.    
     2 'Prefactor '    35.544       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5457       1.0000         .10000E-03   10000.    
     6 'norm      '    1.8395       1.0000         .10000E-03   10000.    
     7 'norm      '    .33591E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.6003       1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    56.080       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.302       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.436       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0745       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .85126       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70983       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5710.500     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2177 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          25.961        26.860       -.63721E-06   -.21066E-05
   2  Prefactor     35.542        31.937       -.24895E-05    .20750E-05
   3  Prefactor     .10000E-03    .65061        .10720E-07** at limit **
   4  Prefactor     .10000E-03    5.2647        .23278E-06** at limit **
   5  Prefactor     2.5403        8.7401        .27906E-05   -.28859E-03
   6  norm          1.8400        3.5659        .12644E-06   -.54367E-03
   7  norm          .34002E-01    .37633       -.37662E-06   -.46813E-03
   8  Prefactor     .10000E-03    6.3633       -.50944E-07** at limit **
   9  norm          2.6003        2.8069       -.35548E-07    .17913E-03
  10  norm          .10000E-03    4.7303       -.45712E-07** at limit **
  11  Prefactor     56.078        35.956       -.29364E-05    .17150E-04
  12  norm          .10000E-03    1.0058        .51974E-08** at limit **
  13  norm          .10000E-03    .83279       -.63826E-08** at limit **
  14  Prefactor     35.302        22.467       -.21184E-06    .10901E-04
  15  norm          .10000E-03    .77629        .27189E-08** at limit **
  16  Prefactor     .10000E-03    26.433       -.10805E-06** at limit **
  17  Prefactor     25.436        25.653        .15560E-06    .39702E-05
  18  Prefactor     .10000E-03    1.7016        .10874E-06** at limit **
  19  Prefactor     8.0697        24.595       -.10761E-04   -.19053E-04
  20  Normalizat    .85133        .13097        .82442E-06    .55313E-04
  21  Prefactor     .70977        .14550        .22031E-06    .10411E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 25.9609
  Prefactor  = 35.5423
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.54032
  norm       = 1.84
  norm       = 0.0340025
  Prefactor  = 0.0001
  norm       = 2.60027
  norm       = 0.0001
  Prefactor  = 56.0778
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 35.302
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.4362
  Prefactor  = 0.0001
  Prefactor  = 8.06974
  Normalizat = 0.851331
  Prefactor  = 0.709768
 **********
 **   18 **HESSE 
 **********

 FCN=   5710.500     FROM HESSE     STATUS=OK           319 CALLS     2496 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          25.961        26.877        .78622E-04   -1.4688    
   2  Prefactor     35.542        31.977        .67219E-04   -1.4515    
   3  Prefactor     .10000E-03    .65335        .59513E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.2719        .16937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5403        8.4816        .25593E-03   -1.5389    
   6  norm          1.8400        3.5444        .19322E-03   -1.5437    
   7  norm          .34002E-01    1.2628        .89757E-03   -1.5671    
   8  Prefactor     .10000E-03    6.4417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.6003        2.8118        .12843E-03   -1.5385    
  10  norm          .10000E-03    4.8341        .16042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     56.078        36.085        .53566E-04   -1.4209    
  12  norm          .10000E-03    1.0112        .74000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .84040        .67269E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.302        22.489        .67448E-04   -1.4519    
  15  norm          .10000E-03    .77735        .65022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    26.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.436        25.654        .79428E-04   -1.4699    
  18  Prefactor     .10000E-03    1.7183        .96283E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0697        24.945        .14110E-03   -1.5140    
  20  Normalizat    .85133        .15534        .19160E-03   -.98192    
  21  Prefactor     .70977        .17241        .23348E-03   -1.0315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14841e-08
Minuit parameter uncertainties:
  1  26.8891
  2  31.9927
  3  1.73524e-06
  4  8.24226e-06
  5  8.48557
  6  3.54483
  7  0.413836
  8  2.42397e-05
  9  2.81195
  10  7.00666e-06
  11  36.0988
  12  2.5224e-07
  13  9.78306e-07
  14  22.4941
  15  5.71773e-08
  16  2.18789e-06
  17  25.6651
  18  1.39552e-05
  19  24.977
  20  0.155417
  21  0.172543
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.544e+01  2.567e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  7.098e-01  1.725e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.513e-01  1.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.81
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.33e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 8.72e-06 +/- 8.80e-06

TS (Fixed Index): 1.81
Ra Dec: 357.665 -30.087
Photon Flux Upper Limit: 4.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159750/likelihoodResults_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.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) = 5709.79610622
delta logL = 0.7040273819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5709.42714742
delta logL = 1.07298618045

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5709.427     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      207 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     59.919        145.62        .12971E-02    .17679E-04
   2  Index         1.3707        1.0408        .18672        .16437E-05
   3  Normalizat    .85989        .12970        .44387E-01    .14422E-03
   4  Prefactor     .69933        .14623        .42390E-01    .18288E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 59.9193
  Index      = 1.3707
  Normalizat = 0.85989
  Prefactor  = 0.699332
 **********
 **   18 **HESSE 
 **********

 FCN=   5709.427     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     59.919        47.814        .51882E-04   -1.4158    
   2  Index         1.3707        .38515        .73894E-02   -.81228    
   3  Normalizat    .85989        .15170        .19065E-03   -.97884    
   4  Prefactor     .69933        .17115        .23480E-03   -1.0355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59288e-11
Minuit parameter uncertainties:
  1  47.8442
  2  0.385958
  3  0.151773
  4  0.171274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159750': 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) = 5709.42714132
delta logL = 1.07299228447

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  5.992e+01  4.784e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.371e+00  3.860e-01  0.000e+00  1.000e+01 (-1.000e+00)
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  6.993e-01  1.713e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.599e-01  1.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.97
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.37 +/- 0.39
Photon Flux (Free Index): 1.06e-08 +/- 9.28e-09
Energy Flux (Free Index): 5.14e-05 +/- 6.18e-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/159750/cmap_HighResolution_452131201_452390401_4FGL_J2350.6-3005_daily_bin821.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.69e-03', comment='SUCCESS', photon_flux='1.33e-08', energy_flux2='5.14e-05', photon_flux_error='1.34e-08', dlogl='1.07e+00', energy_flux='8.72e-06', photon_flux2='1.06e-08', job_status='DONE', time_completed='2021-09-30 07:20:47.535873', photon_index_error2='0.39', photon_index2='1.37', ts='1.81', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='4.91e-08', energy_flux_error2='6.18e-05', EG='0.85', time_epoch_completed='1633011647.54', return_code='0', job_id='159750', GAL2='0.70', EG2='0.86', return_code2='0', energy_flux_error='8.80e-06', photon_flux_error2='9.28e-09', ts2='3.97', photon_index='2.02' WHERE bin_id='821' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:20:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 159750: <4FGL_J2350.6-3005_daily_bin821> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin821> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 07:10:38 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:10:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:10:40 2021
Terminated at Thu Sep 30 07:20:48 2021
Results reported at Thu Sep 30 07:20:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin821 357.665 -30.087 452131201 452390401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2350.6-3005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   587.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   607 sec.
    Turnaround time :                            610 sec.

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

