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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin31
RA = 357.665, Dec = -30.087
tmin = 247363201, tmax = 247622401
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='156549', job_status='RUN', time_executed='2021-09-30 07:02:56.429509', time_epoch_executed='1633010576.43' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='31'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156549

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156549/ft1_4FGL_J2350.6-3005_daily_bin31.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156549/ft1_4FGL_J2350.6-3005_daily_bin31.fits outfile=/scratch/kocevski/156549/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin31.fits ra=357.665 dec=-30.087 rad=12.0 tmin=247363201.0 tmax=247622401.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 1.49
user 1.29
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.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/156549/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin31.fits evtable="EVENTS" outfile="/scratch/kocevski/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits" evtable="EVENTS" scfile=/scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits sctable="SC_DATA" outfile=/scratch/kocevski/156549/ltcube_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.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/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits
.....................!
real 12.79
user 12.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits sctable="SC_DATA" expcube=/scratch/kocevski/156549/ltcube_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.fits outfile=/scratch/kocevski/156549/expmap_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.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/156549/ltcube_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.fits
.....................!
real 190.65
user 185.75
sys 4.50

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/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits scfile=/scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits outfile=/scratch/kocevski/156549/cmap_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits scfile=/scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits outfile=/scratch/kocevski/156549/cmap_HighResolution_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.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/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156549/Model_4FGL_J2350.6-3005_daily_bin31.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/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits.....................!
real 41.26
user 39.36
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits', '/scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits', expMap='/scratch/kocevski/156549/expmap_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.fits', expCube='/scratch/kocevski/156549/ltcube_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/156549/Model_4FGL_J2350.6-3005_daily_bin31.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/156549/ft1_filtered_4FGL_J2350.6-3005_daily_bin31.fits
Spacecraft file(s): /scratch/kocevski/156549/ft2_4FGL_J2350.6-3005_daily_bin31.fits
Exposure map: /scratch/kocevski/156549/expmap_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.fits
Exposure cube: /scratch/kocevski/156549/ltcube_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/156549/Model_4FGL_J2350.6-3005_daily_bin31.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) = 5143.90777796

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.090       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .30575E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.616       1.0000         .10000E-03   10000.    
     6 'norm      '    3.8726       1.0000         .10000E-03   10000.    
     7 'norm      '    .46533       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .26573E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    20.388       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.5036       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.3694       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    58.028       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .88005       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96691       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=   5143.870     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     1940 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.201        .96916E-06** at limit **
   2  Prefactor     19.088        44.429       -.46744E-05   -.39964E-05
   3  Prefactor     .10094E-03    1.7302       -.62696E-06** at limit **
   4  Prefactor     .10000E-03    14.245        .19414E-06** at limit **
   5  Prefactor     12.617        11.784       -.13983E-07    .19921E-04
   6  norm          3.8724        3.8967        .11392E-05    .14291E-03
   7  norm          .46536        .76297       -.37446E-06   -.28909E-02
   8  Prefactor     .10000E-03    12.695        .15767E-05** at limit **
   9  norm          .10000E-03    2.4585       -.22588E-07** at limit **
  10  norm          20.388        9.3246       -.27455E-07   -.10324E-04
  11  Prefactor     .10000E-03    19.481       -.78934E-06** at limit **
  12  norm          .10000E-03    1.6213       -.20153E-06** at limit **
  13  norm          7.5030        3.6764        .29428E-06   -.48865E-04
  14  Prefactor     .10000E-03    26.307       -.45995E-05** at limit **
  15  norm          2.3691        4.0706        .22173E-05   -.40112E-03
  16  Prefactor     .10000E-03    28.595        .32941E-05** at limit **
  17  Prefactor     58.031        43.058        .30840E-05   -.18269E-05
  18  Prefactor     .10000E-03    3.2124        .10982E-06** at limit **
  19  Prefactor     .10000E-03    40.494        .11160E-04** at limit **
  20  Normalizat    .88012        .17061       -.51562E-06    .40228E-04
  21  Prefactor     .96690        .18642        .32644E-06   -.38875E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 19.0876
  Prefactor  = 0.000100944
  Prefactor  = 0.0001
  Prefactor  = 12.6167
  norm       = 3.87245
  norm       = 0.465359
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 20.3876
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.50299
  Prefactor  = 0.0001
  norm       = 2.36914
  Prefactor  = 0.0001
  Prefactor  = 58.0307
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.880116
  Prefactor  = 0.966904
 **********
 **   18 **HESSE 
 **********

 FCN=   5143.870     FROM HESSE     STATUS=OK           327 CALLS     2267 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.088        44.405        .91669E-04   -1.4834    
   3  Prefactor     .10094E-03    3.7971        .32561E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.617        11.786        .11278E-03   -1.4997    
   6  norm          3.8724        3.9103        .13859E-03   -1.5314    
   7  norm          .46536        .65473        .69001E-03   -1.5572    
   8  Prefactor     .10000E-03    42.739        .42472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.4660        .10983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          20.388        9.3265        .88705E-04   -1.4805    
  11  Prefactor     .10000E-03    19.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.6294        .89192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.5030        3.6731        .92079E-04   -1.5160    
  14  Prefactor     .10000E-03    26.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.3691        3.9192        .17781E-03   -1.5400    
  16  Prefactor     .10000E-03    28.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     58.031        42.855        .52665E-04   -1.4183    
  18  Prefactor     .10000E-03    3.2682        .12546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    39.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .88012        .20238        .22934E-03   -.97162    
  21  Prefactor     .96690        .22089        .24420E-03   -.93841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77361e-09
Minuit parameter uncertainties:
  1  7.7581e-07
  2  44.4824
  3  0.00378614
  4  1.44759e-05
  5  11.7882
  6  3.91052
  7  0.654745
  8  0.000117049
  9  2.29566e-06
  10  9.32717
  11  1.93668e-07
  12  9.25646e-06
  13  3.67326
  14  1.4685e-05
  15  3.91965
  16  3.91206e-06
  17  42.8779
  18  2.91537e-06
  19  4.41437e-05
  20  0.202554
  21  0.221101
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  5.803e+01  4.288e+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:  9.669e-01  2.211e-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.801e-01  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.47
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.04e-08 +/- 2.24e-08
Energy Flux (Fixed Index): 1.99e-05 +/- 1.47e-05

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) = 5143.69243813
delta logL = 0.177998470513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5143.6661009
delta logL = 0.204335695258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    70.597       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6572       1.0000          .0000       10.000    
     3 'Normalizat'    .89297       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96061       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5143.666     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      245 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     70.619        58.619        .23888E-03    .13801E-05
   2  Index         1.6573        .58263        .90642E-02    .13051E-03
   3  Normalizat    .89284        .19725        .22792E-03    .32921E-05
   4  Prefactor     .96083        .21972        .24497E-03   -.12994E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 70.6194
  Index      = 1.65732
  Normalizat = 0.892838
  Prefactor  = 0.960827
 **********
 **   18 **HESSE 
 **********

 FCN=   5143.666     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     70.619        58.610        .95553E-05   -1.4025    
   2  Index         1.6573        .58260        .18128E-02   -.73224    
   3  Normalizat    .89284        .19741        .91167E-05   -.96712    
   4  Prefactor     .96083        .21993        .97987E-05   -.94047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18668e-13
Minuit parameter uncertainties:
  1  58.6578
  2  0.585011
  3  0.197565
  4  0.220135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156549': 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) = 5143.66610017
delta logL = 0.204336432398

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  7.062e+01  5.866e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.657e+00  5.850e-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:  9.608e-01  2.201e-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.928e-01  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.87
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.66 +/- 0.59
Photon Flux (Free Index): 1.83e-08 +/- 2.36e-08
Energy Flux (Free Index): 3.43e-05 +/- 4.26e-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/156549/cmap_HighResolution_247363201_247622401_4FGL_J2350.6-3005_daily_bin31.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.04e-08', energy_flux2='3.43e-05', photon_flux_error='2.24e-08', dlogl='2.04e-01', energy_flux='1.99e-05', photon_flux2='1.83e-08', job_status='DONE', time_completed='2021-09-30 07:11:11.655061', photon_index_error2='0.59', photon_index2='1.66', ts='10.47', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='4.26e-05', EG='0.88', time_epoch_completed='1633011071.66', return_code='0', job_id='156549', GAL2='0.96', EG2='0.89', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='2.36e-08', ts2='10.87', photon_index='2.02' WHERE bin_id='31' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:11:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 156549: <4FGL_J2350.6-3005_daily_bin31> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin31> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 07:00:25 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:00:26 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:00:26 2021
Terminated at Thu Sep 30 07:11:12 2021
Results reported at Thu Sep 30 07:11:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin31 357.665 -30.087 247363201 247622401 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 :                                   492.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            647 sec.

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

