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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin921
RA = 357.665, Dec = -30.087
tmin = 478051201, tmax = 478310401
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='159924', job_status='RUN', time_executed='2021-09-30 07:13:09.948320', time_epoch_executed='1633011189.95' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='921'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159924

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159924/ft1_4FGL_J2350.6-3005_daily_bin921.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159924/ft2_4FGL_J2350.6-3005_daily_bin921.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159924/ft1_4FGL_J2350.6-3005_daily_bin921.fits outfile=/scratch/kocevski/159924/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin921.fits ra=357.665 dec=-30.087 rad=12.0 tmin=478051201.0 tmax=478310401.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.57
user 3.33
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159924/ft1_filtered_4FGL_J2350.6-3005_daily_bin921.fits" evtable="EVENTS" scfile=/scratch/kocevski/159924/ft2_4FGL_J2350.6-3005_daily_bin921.fits sctable="SC_DATA" outfile=/scratch/kocevski/159924/ltcube_478051201_478310401_4FGL_J2350.6-3005_daily_bin921.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/159924/ft2_4FGL_J2350.6-3005_daily_bin921.fits
.....................!
real 11.70
user 11.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159924/ft1_filtered_4FGL_J2350.6-3005_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/159924/ft2_4FGL_J2350.6-3005_daily_bin921.fits sctable="SC_DATA" expcube=/scratch/kocevski/159924/ltcube_478051201_478310401_4FGL_J2350.6-3005_daily_bin921.fits outfile=/scratch/kocevski/159924/expmap_478051201_478310401_4FGL_J2350.6-3005_daily_bin921.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/159924/ltcube_478051201_478310401_4FGL_J2350.6-3005_daily_bin921.fits
.....................!
real 190.12
user 185.04
sys 4.71

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/159924/ft1_filtered_4FGL_J2350.6-3005_daily_bin921.fits scfile=/scratch/kocevski/159924/ft2_4FGL_J2350.6-3005_daily_bin921.fits outfile=/scratch/kocevski/159924/cmap_478051201_478310401_4FGL_J2350.6-3005_daily_bin921.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159924/ft1_filtered_4FGL_J2350.6-3005_daily_bin921.fits scfile=/scratch/kocevski/159924/ft2_4FGL_J2350.6-3005_daily_bin921.fits outfile=/scratch/kocevski/159924/cmap_HighResolution_478051201_478310401_4FGL_J2350.6-3005_daily_bin921.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.61
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159924/ft1_filtered_4FGL_J2350.6-3005_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/159924/ft2_4FGL_J2350.6-3005_daily_bin921.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159924/Model_4FGL_J2350.6-3005_daily_bin921.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/159924/ft1_filtered_4FGL_J2350.6-3005_daily_bin921.fits.....................!
real 40.11
user 38.69
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10394E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.8462       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.344       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0321       1.0000         .10000E-03   10000.    
    12 'norm      '    3.5746       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.649       1.0000         .10000E-03   10000.    
    15 'norm      '    .19783E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    66.096       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.3185       1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.451       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86072       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1405       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=   4804.116     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2188 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.368       -.30274E-05** at limit **
   2  Prefactor     .10000E-03    229.86        .73056E-05** at limit **
   3  Prefactor     .10000E-03    4.2868        .23167E-06** at limit **
   4  Prefactor     .10000E-03    7.8147        .89422E-07** at limit **
   5  Prefactor     6.8459        10.318       -.89540E-06   -.74990E-04
   6  norm          .10000E-03    1.5655        .14932E-07** at limit **
   7  norm          .10000E-03    .23077       -.11001E-07** at limit **
   8  Prefactor     .10000E-03    12.077        .10257E-04** at limit **
   9  norm          .10000E-03    3.7388        .21739E-07** at limit **
  10  norm          15.342        12.035       -.32402E-05   -.85161E-04
  11  Prefactor     8.0778        90.345        .83728E-04    .41230E-05
  12  norm          3.5754        3.9863        .24613E-06    .24916E-03
  13  norm          .10000E-03    2.1855        .25395E-07** at limit **
  14  Prefactor     35.650        33.787        .10257E-05   -.22028E-04
  15  norm          .10007E-03    3.9007       -.22277E-05** at limit **
  16  Prefactor     .10000E-03    39.651        .30065E-06** at limit **
  17  Prefactor     66.084        46.424       -.59880E-05   -.17420E-04
  18  Prefactor     8.3196        8.1131       -.30075E-06   -.18860E-03
  19  Prefactor     31.449        50.017        .25567E-06   -.20928E-04
  20  Normalizat    .86048        .18904       -.43642E-05    .93548E-04
  21  Prefactor     1.1407        .20446        .13302E-05   -.12304E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.84591
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 15.3416
  Prefactor  = 8.07782
  norm       = 3.57543
  norm       = 0.0001
  Prefactor  = 35.6497
  norm       = 0.00010007
  Prefactor  = 0.0001
  Prefactor  = 66.0842
  Prefactor  = 8.31959
  Prefactor  = 31.4491
  Normalizat = 0.860476
  Prefactor  = 1.14074
 **********
 **   18 **HESSE 
 **********

 FCN=   4804.116     FROM HESSE     STATUS=OK           315 CALLS     2503 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    232.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.4498        .27906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.8198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.8459        10.316        .15334E-03   -1.5185    
   6  norm          .10000E-03    1.5669        .84695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .23447        .32503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.7528        .13086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.342        12.043        .10225E-03   -1.4924    
  11  Prefactor     8.0778        90.488        .14147E-03   -1.5139    
  12  norm          3.5754        3.9652        .14095E-03   -1.5330    
  13  norm          .10000E-03    2.2259        .99883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.650        33.768        .67121E-04   -1.4513    
  15  norm          .10007E-03    11.709        .26171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    39.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     66.084        46.450        .49366E-04   -1.4080    
  18  Prefactor     8.3196        8.1128        .13900E-03   -1.5131    
  19  Prefactor     31.449        49.937        .71447E-04   -1.4586    
  20  Normalizat    .86048        .22471        .24421E-03   -.97863    
  21  Prefactor     1.1407        .24304        .24301E-03   -.88175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.23181e-09
Minuit parameter uncertainties:
  1  6.56002e-06
  2  0.000798549
  3  4.84981e-05
  4  9.93202e-06
  5  10.3185
  6  1.79011e-06
  7  5.30549e-07
  8  3.11724e-05
  9  3.673e-06
  10  12.0453
  11  54.1756
  12  3.96547
  13  3.72367e-06
  14  33.7863
  15  0.00180688
  16  1.12564e-05
  17  46.4758
  18  8.11383
  19  50.0034
  20  0.224957
  21  0.243275
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  6.608e+01  4.648e+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:  1.141e+00  2.433e-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.605e-01  2.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.32
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 3.46e-08 +/- 2.43e-08
Energy Flux (Fixed Index): 2.27e-05 +/- 1.59e-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) = 4802.84946796
delta logL = 1.26695713279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4802.84003321
delta logL = 1.27639188757

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    71.906       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1857       1.0000          .0000       10.000    
     3 'Normalizat'    .88454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1290       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=   4802.840     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     71.820        57.814       -.21400E-04   -.51913E-04
   2  Index         1.1856        .46865       -.98140E-04    .34125E-04
   3  Normalizat    .88480        .17863        .25048E-05    .98774E-03
   4  Prefactor     1.1289        .20264       -.33230E-06    .80325E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 71.8197
  Index      = 1.18563
  Normalizat = 0.884799
  Prefactor  = 1.12893
 **********
 **   18 **HESSE 
 **********

 FCN=   4802.840     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     71.820        57.119        .23671E-03   -1.4011    
   2  Index         1.1856        .46321        .84329E-02   -.86775    
   3  Normalizat    .88480        .21258        .24118E-03   -.96996    
   4  Prefactor     1.1289        .24107        .24412E-03   -.88547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27372e-09
Minuit parameter uncertainties:
  1  57.1622
  2  0.464812
  3  0.212776
  4  0.241304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159924': 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) = 4802.8400298
delta logL = 1.27639529252

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  7.182e+01  5.716e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.186e+00  4.648e-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:  1.129e+00  2.413e-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.848e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.88
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.19 +/- 0.46
Photon Flux (Free Index): 1.11e-08 +/- 9.85e-09
Energy Flux (Free Index): 9.70e-05 +/- 1.09e-04

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/159924/cmap_HighResolution_478051201_478310401_4FGL_J2350.6-3005_daily_bin921.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.46e-08', energy_flux2='9.70e-05', photon_flux_error='2.43e-08', dlogl='1.28e+00', energy_flux='2.27e-05', photon_flux2='1.11e-08', job_status='DONE', time_completed='2021-09-30 07:21:30.909547', photon_index_error2='0.46', photon_index2='1.19', ts='10.32', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='1.09e-04', EG='0.86', time_epoch_completed='1633011690.91', return_code='0', job_id='159924', GAL2='1.13', EG2='0.88', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='9.85e-09', ts2='12.88', photon_index='2.02' WHERE bin_id='921' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:21:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 159924: <4FGL_J2350.6-3005_daily_bin921> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin921> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 07:10:54 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:10:56 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:56 2021
Terminated at Thu Sep 30 07:21:31 2021
Results reported at Thu Sep 30 07:21:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin921 357.665 -30.087 478051201 478310401 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 :                                   498.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            637 sec.

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

