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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin11
RA = 357.665, Dec = -30.087
tmin = 242179201, tmax = 242438401
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='156520', job_status='RUN', time_executed='2021-09-30 07:03:37.648615', time_epoch_executed='1633010617.65' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='11'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156520

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156520/ft1_4FGL_J2350.6-3005_daily_bin11.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156520/ft2_4FGL_J2350.6-3005_daily_bin11.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156520/ft1_4FGL_J2350.6-3005_daily_bin11.fits outfile=/scratch/kocevski/156520/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin11.fits ra=357.665 dec=-30.087 rad=12.0 tmin=242179201.0 tmax=242438401.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.43
user 1.25
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156520/ft1_filtered_4FGL_J2350.6-3005_daily_bin11.fits" evtable="EVENTS" scfile=/scratch/kocevski/156520/ft2_4FGL_J2350.6-3005_daily_bin11.fits sctable="SC_DATA" outfile=/scratch/kocevski/156520/ltcube_242179201_242438401_4FGL_J2350.6-3005_daily_bin11.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/156520/ft2_4FGL_J2350.6-3005_daily_bin11.fits
.....................!
real 12.78
user 12.39
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156520/ft1_filtered_4FGL_J2350.6-3005_daily_bin11.fits evtable="EVENTS" scfile=/scratch/kocevski/156520/ft2_4FGL_J2350.6-3005_daily_bin11.fits sctable="SC_DATA" expcube=/scratch/kocevski/156520/ltcube_242179201_242438401_4FGL_J2350.6-3005_daily_bin11.fits outfile=/scratch/kocevski/156520/expmap_242179201_242438401_4FGL_J2350.6-3005_daily_bin11.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/156520/ltcube_242179201_242438401_4FGL_J2350.6-3005_daily_bin11.fits
.....................!
real 191.05
user 184.76
sys 5.91

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/156520/ft1_filtered_4FGL_J2350.6-3005_daily_bin11.fits scfile=/scratch/kocevski/156520/ft2_4FGL_J2350.6-3005_daily_bin11.fits outfile=/scratch/kocevski/156520/cmap_242179201_242438401_4FGL_J2350.6-3005_daily_bin11.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/156520/ft1_filtered_4FGL_J2350.6-3005_daily_bin11.fits scfile=/scratch/kocevski/156520/ft2_4FGL_J2350.6-3005_daily_bin11.fits outfile=/scratch/kocevski/156520/cmap_HighResolution_242179201_242438401_4FGL_J2350.6-3005_daily_bin11.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.55
user 0.35
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/156520/ft1_filtered_4FGL_J2350.6-3005_daily_bin11.fits evtable="EVENTS" scfile=/scratch/kocevski/156520/ft2_4FGL_J2350.6-3005_daily_bin11.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156520/Model_4FGL_J2350.6-3005_daily_bin11.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/156520/ft1_filtered_4FGL_J2350.6-3005_daily_bin11.fits.....................!
real 42.85
user 41.51
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    70.227       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8052       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .64090       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    16.837       1.0000         .10000E-03   10000.    
    11 'Prefactor '    56.251       1.0000         .10000E-03   10000.    
    12 'norm      '    4.8384       1.0000         .10000E-03   10000.    
    13 'norm      '    5.8022       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.875       1.0000         .10000E-03   10000.    
    15 'norm      '    1.1505       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.4717       1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.248       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0283       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2523       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .68875       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=   5286.603     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2177 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.5382        .34363E-07** at limit **
   2  Prefactor     70.132        79.978       -.56063E-06   -.45742E-04
   3  Prefactor     2.8053        2.9914       -.22931E-07   -.16910E-04
   4  Prefactor     .10000E-03    9.5794        .47045E-07** at limit **
   5  Prefactor     .10000E-03    4.7232        .14291E-06** at limit **
   6  norm          .10000E-03    3.1165        .15206E-06** at limit **
   7  norm          .64089        .61095        .54703E-07    .45631E-04
   8  Prefactor     .10000E-03    8.4434        .16875E-06** at limit **
   9  norm          .10000E-03    6.7939       -.41057E-06** at limit **
  10  norm          16.840        11.348       -.87548E-08   -.18335E-04
  11  Prefactor     56.200        68.587       -.51372E-06   -.26878E-04
  12  norm          4.8402        5.0498       -.47859E-08   -.13804E-04
  13  norm          5.8034        3.7326        .66570E-06   -.37776E-04
  14  Prefactor     10.840        37.036       -.27280E-06   -.89141E-05
  15  norm          1.1497        3.9266        .75486E-06    .10618E-04
  16  Prefactor     9.5672        330.56       -.33237E-05    .99216E-05
  17  Prefactor     25.270        25.521       -.17154E-06   -.31455E-04
  18  Prefactor     8.0289        6.5191        .18061E-05   -.46144E-04
  19  Prefactor     .10000E-03    12.200       -.73512E-07** at limit **
  20  Normalizat    1.2521        .19089        .69578E-06   -.81631E-04
  21  Prefactor     .68900        .19562       -.19517E-05    .20305E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 70.132
  Prefactor  = 2.80534
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.640888
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 16.8405
  Prefactor  = 56.2005
  norm       = 4.84023
  norm       = 5.80344
  Prefactor  = 10.8404
  norm       = 1.14971
  Prefactor  = 9.56717
  Prefactor  = 25.2704
  Prefactor  = 8.02887
  Prefactor  = 0.0001
  Normalizat = 1.25211
  Prefactor  = 0.689005
 **********
 **   18 **HESSE 
 **********

 FCN=   5286.603     FROM HESSE     STATUS=OK           321 CALLS     2498 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.5387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     70.132        80.148        .23951E-03   -1.4031    
   3  Prefactor     2.8053        2.9921        .12473E-03   -1.5373    
   4  Prefactor     .10000E-03    9.5922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7309        .15433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.1331        .12536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .64089        .58205        .53660E-03   -1.5548    
   8  Prefactor     .10000E-03    8.5039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    6.8269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          16.840        11.341        .97608E-04   -1.4887    
  11  Prefactor     56.200        68.833        .53486E-04   -1.4207    
  12  norm          4.8402        4.9624        .15432E-03   -1.5268    
  13  norm          5.8034        3.7268        .51504E-03   -1.5226    
  14  Prefactor     10.840        36.910        .12149E-03   -1.5049    
  15  norm          1.1497        3.8400        .24852E-03   -1.5494    
  16  Prefactor     9.5672        327.38        .13022E-03   -1.5089    
  17  Prefactor     25.270        25.520        .79723E-04   -1.4702    
  18  Prefactor     8.0289        6.5983        .70752E-03   -1.5141    
  19  Prefactor     .10000E-03    12.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2521        .22947        .21540E-03   -.85007    
  21  Prefactor     .68900        .22996        .30007E-03   -1.0396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.04722e-11
Minuit parameter uncertainties:
  1  4.72518e-07
  2  80.2716
  3  2.99229
  4  2.57515e-06
  5  9.46307e-07
  6  1.10812e-06
  7  0.582052
  8  1.61968e-06
  9  2.60205e-06
  10  11.3422
  11  68.9302
  12  4.96279
  13  3.72691
  14  36.9883
  15  3.84087
  16  112.604
  17  25.5312
  18  6.59886
  19  1.62018e-05
  20  0.229654
  21  0.230274
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.527e+01  2.553e+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:  6.890e-01  2.303e-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.252e+00  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.32e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 8.67e-06 +/- 8.76e-06

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) = 5285.97317715
delta logL = 0.630039834717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5285.95377434
delta logL = 0.649442645293

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.388       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1969       1.0000          .0000       10.000    
     3 'Normalizat'    1.2618       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68335       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=   5285.954     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      246 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.409        33.643        .71519E-04   -.82882E-04
   2  Index         1.1974        .63015        .11897E-01   -.20016E-04
   3  Normalizat    1.2618        .21269        .21468E-03   -.13281E-02
   4  Prefactor     .68337        .22715        .30119E-03   -.78013E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.4092
  Index      = 1.19744
  Normalizat = 1.26182
  Prefactor  = 0.683371
 **********
 **   18 **HESSE 
 **********

 FCN=   5285.954     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.409        34.012        .14304E-04   -1.4586    
   2  Index         1.1974        .63708        .47587E-03   -.86410    
   3  Normalizat    1.2618        .21286        .42935E-04   -.84713    
   4  Prefactor     .68337        .22733        .60239E-04   -1.0418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67141e-09
Minuit parameter uncertainties:
  1  34.0332
  2  0.641242
  3  0.213004
  4  0.227641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156520': 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) = 5285.95377385
delta logL = 0.649443132083

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  3.141e+01  3.403e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.197e+00  6.412e-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.834e-01  2.276e-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.262e+00  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.15
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.20 +/- 0.64
Photon Flux (Free Index): 4.89e-09 +/- 5.88e-09
Energy Flux (Free Index): 4.12e-05 +/- 6.72e-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/156520/cmap_HighResolution_242179201_242438401_4FGL_J2350.6-3005_daily_bin11.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.32e-08', energy_flux2='4.12e-05', photon_flux_error='1.34e-08', dlogl='6.49e-01', energy_flux='8.67e-06', photon_flux2='4.89e-09', job_status='DONE', time_completed='2021-09-30 07:12:13.609523', photon_index_error2='0.64', photon_index2='1.20', ts='4.86', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='6.72e-05', EG='1.25', time_epoch_completed='1633011133.61', return_code='0', job_id='156520', GAL2='0.68', EG2='1.26', return_code2='0', energy_flux_error='8.76e-06', photon_flux_error2='5.88e-09', ts2='6.15', photon_index='2.02' WHERE bin_id='11' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:12:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 156520: <4FGL_J2350.6-3005_daily_bin11> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin11 357.665 -30.087 242179201 242438401 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 :                                   514.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

