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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin1324
RA = 357.665, Dec = -30.087
tmin = 582508801, tmax = 582768001
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='161708', job_status='RUN', time_executed='2021-09-30 07:19:56.546479', time_epoch_executed='1633011596.55' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='1324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/161708

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/161708/ft1_4FGL_J2350.6-3005_daily_bin1324.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/161708/ft2_4FGL_J2350.6-3005_daily_bin1324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/161708/ft1_4FGL_J2350.6-3005_daily_bin1324.fits outfile=/scratch/kocevski/161708/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin1324.fits ra=357.665 dec=-30.087 rad=12.0 tmin=582508801.0 tmax=582768001.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.66
user 3.44
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/161708/ft1_filtered_4FGL_J2350.6-3005_daily_bin1324.fits" evtable="EVENTS" scfile=/scratch/kocevski/161708/ft2_4FGL_J2350.6-3005_daily_bin1324.fits sctable="SC_DATA" outfile=/scratch/kocevski/161708/ltcube_582508801_582768001_4FGL_J2350.6-3005_daily_bin1324.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/161708/ft2_4FGL_J2350.6-3005_daily_bin1324.fits
.....................!
real 13.03
user 12.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/161708/ft1_filtered_4FGL_J2350.6-3005_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/161708/ft2_4FGL_J2350.6-3005_daily_bin1324.fits sctable="SC_DATA" expcube=/scratch/kocevski/161708/ltcube_582508801_582768001_4FGL_J2350.6-3005_daily_bin1324.fits outfile=/scratch/kocevski/161708/expmap_582508801_582768001_4FGL_J2350.6-3005_daily_bin1324.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/161708/ltcube_582508801_582768001_4FGL_J2350.6-3005_daily_bin1324.fits
.....................!
real 190.21
user 184.80
sys 5.02

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/161708/ft1_filtered_4FGL_J2350.6-3005_daily_bin1324.fits scfile=/scratch/kocevski/161708/ft2_4FGL_J2350.6-3005_daily_bin1324.fits outfile=/scratch/kocevski/161708/cmap_582508801_582768001_4FGL_J2350.6-3005_daily_bin1324.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/161708/ft1_filtered_4FGL_J2350.6-3005_daily_bin1324.fits scfile=/scratch/kocevski/161708/ft2_4FGL_J2350.6-3005_daily_bin1324.fits outfile=/scratch/kocevski/161708/cmap_HighResolution_582508801_582768001_4FGL_J2350.6-3005_daily_bin1324.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/161708/ft1_filtered_4FGL_J2350.6-3005_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/161708/ft2_4FGL_J2350.6-3005_daily_bin1324.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/161708/Model_4FGL_J2350.6-3005_daily_bin1324.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/161708/ft1_filtered_4FGL_J2350.6-3005_daily_bin1324.fits.....................!
real 39.55
user 38.25
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.095       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3761       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.548       1.0000         .10000E-03   10000.    
     6 'norm      '    4.0922       1.0000         .10000E-03   10000.    
     7 'norm      '    4.3395       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10593E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .19834E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11299E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11298E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6813       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10657E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.6041       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .57613       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=   4700.130     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     1945 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.247        45.091       -.33385E-05   -.93990E-04
   2  Prefactor     .10000E-03    40.429       -.33561E-06** at limit **
   3  Prefactor     9.3768        5.9815       -.77107E-06    .49024E-04
   4  Prefactor     .10000E-03    15.103        .59430E-06** at limit **
   5  Prefactor     14.548        14.093        .40770E-07    .21256E-05
   6  norm          4.0925        6.9493       -.24353E-06   -.25925E-04
   7  norm          4.3391        1.3629        .42893E-07   -.68586E-03
   8  Prefactor     .10000E-03    48.924        .12113E-05** at limit **
   9  norm          .10000E-03    2.9094        .20392E-07** at limit **
  10  norm          .10000E-03    29.759        .94601E-05** at limit **
  11  Prefactor     .10000E-03    31.996       -.31865E-07** at limit **
  12  norm          .10000E-03    2.3163        .51819E-07** at limit **
  13  norm          .10000E-03    1.4358        .17461E-07** at limit **
  14  Prefactor     .10000E-03    145.08       -.23209E-05** at limit **
  15  norm          .10000E-03    1.4689        .20313E-07** at limit **
  16  Prefactor     .10000E-03    27.819        .69222E-06** at limit **
  17  Prefactor     .10000E-03    98.488        .27826E-06** at limit **
  18  Prefactor     3.6860        8.5301       -.12126E-06    .38491E-04
  19  Prefactor     .10000E-03    37.705       -.27305E-07** at limit **
  20  Normalizat    1.6041        .22026       -.71327E-07   -.17623E-04
  21  Prefactor     .57585        .22947        .86382E-06   -.27789E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.2471
  Prefactor  = 0.0001
  Prefactor  = 9.37679
  Prefactor  = 0.0001
  Prefactor  = 14.5484
  norm       = 4.09248
  norm       = 4.33908
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.68602
  Prefactor  = 0.0001
  Normalizat = 1.60413
  Prefactor  = 0.575851
 **********
 **   18 **HESSE 
 **********

 FCN=   4700.130     FROM HESSE     STATUS=OK           309 CALLS     2254 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.247        45.722        .11069E-03   -1.4980    
   2  Prefactor     .10000E-03    40.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.3768        6.0339        .63499E-03   -1.5095    
   4  Prefactor     .10000E-03    15.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.548        14.093        .10501E-03   -1.4945    
   6  norm          4.0925        6.9369        .19929E-03   -1.5303    
   7  norm          4.3391        1.3549        .43018E-04   -1.5291    
   8  Prefactor     .10000E-03    50.229        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.9141        .11421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    29.441        .36946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    32.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.3540        .10189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.4457        .80202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    149.99        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.4719        .81145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    99.205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.6860        8.5484        .21051E-03   -1.5324    
  19  Prefactor     .10000E-03    37.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.6041        .25928        .21331E-03   -.74893    
  21  Prefactor     .57585        .26587        .35389E-03   -1.0861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17756e-10
Minuit parameter uncertainties:
  1  45.8433
  2  0.000120241
  3  6.03427
  4  0.00012243
  5  14.0965
  6  6.9383
  7  1.35496
  8  0.000347415
  9  8.041e-07
  10  0.000183864
  11  4.11752e-05
  12  1.28115e-06
  13  1.17157e-07
  14  0.000838513
  15  8.24244e-08
  16  0.000164785
  17  5.19866e-05
  18  8.5512
  19  1.58785e-05
  20  0.259502
  21  0.266452
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  5.199e-05  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:  5.759e-01  2.665e-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:  1.604e+00  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/161708/likelihoodResults_582508801_582768001_4FGL_J2350.6-3005_daily_bin1324.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) = 4700.13021316
delta logL = -4.79058489873e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4700.12979166
delta logL = 0.0003735895516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10558       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9039       1.0000          .0000       10.000    
     3 'Normalizat'    1.6041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57585       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=   4700.128     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      307 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97130        117.02        .95378E-02    .17589E-03
   2  Index         2.7168        .33006        .50000        .13736E-04
   3  Normalizat    1.6020        .72211E-02    .48281E-01    .46723E-03
   4  Prefactor     .57637        .76287E-02    .79875E-01    .19696E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.971297
  Index      = 2.71684
  Normalizat = 1.602
  Prefactor  = 0.576374
 **********
 **   18 **HESSE 
 **********

 FCN=   4700.128     FROM HESSE     STATUS=OK            31 CALLS      338 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97130        89.527        .38151E-03   -1.5511    
   2  Index         2.7168        3.6713        .35936E-02   -.47421    
   3  Normalizat    1.6020        .25283        .21342E-03   -.74951    
   4  Prefactor     .57637        .26352        .35374E-03   -1.0859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89971e-10
Minuit parameter uncertainties:
  1  18.6781
  2  4.31827
  3  0.253037
  4  0.264087
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/161708': 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) = 4700.12834869
delta logL = 0.00181656426503

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  9.713e-01  1.868e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.717e+00  4.318e+00  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:  5.764e-01  2.641e-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:  1.602e+00  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.665 -30.087

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/161708/cmap_HighResolution_582508801_582768001_4FGL_J2350.6-3005_daily_bin1324.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.14e-03', job_status='DONE', photon_flux_upper_limit='6.85e-08', time_completed='2021-09-30 07:30:43.043388', job_id='161708', GAL2='0.58', fit_tolerance='1e-08', EG2='1.60', EG='1.60', time_epoch_completed='1633012243.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='1.82e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='1324' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:30:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 161708: <4FGL_J2350.6-3005_daily_bin1324> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin1324> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:16:40 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:16:43 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:16:43 2021
Terminated at Thu Sep 30 07:30:43 2021
Results reported at Thu Sep 30 07:30:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin1324 357.665 -30.087 582508801 582768001 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 :                                   532.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            843 sec.

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

