/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 50 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 = 7448
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0937.9-1434_daily_bin871
RA = 144.475, Dec = -14.5706
tmin = 465091201, tmax = 465350401
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='375164', job_status='RUN', time_executed='2021-08-31 19:32:00.398862', time_epoch_executed='1630463520.4' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='871'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375164

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375164/ft1_4FGL_J0937.9-1434_daily_bin871.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375164/ft1_4FGL_J0937.9-1434_daily_bin871.fits outfile=/scratch/kocevski/375164/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin871.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=465091201.0 tmax=465350401.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.51
user 3.21
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.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/375164/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin871.fits evtable="EVENTS" outfile="/scratch/kocevski/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.fits" evtable="EVENTS" scfile=/scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits sctable="SC_DATA" outfile=/scratch/kocevski/375164/ltcube_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.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/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits
.....................!
real 14.97
user 14.57
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.fits evtable="EVENTS" scfile=/scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits sctable="SC_DATA" expcube=/scratch/kocevski/375164/ltcube_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.fits outfile=/scratch/kocevski/375164/expmap_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.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/375164/ltcube_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.fits
.....................!
real 191.08
user 186.65
sys 3.99

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

Setting source of interest to:
4FGL J0937.9-1434 @ 144.475 -14.5706

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.fits scfile=/scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits outfile=/scratch/kocevski/375164/cmap_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.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=144.475 yref=-14.5706 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.fits scfile=/scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits outfile=/scratch/kocevski/375164/cmap_HighResolution_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.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=144.475 yref=-14.5706 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.69
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.fits evtable="EVENTS" scfile=/scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375164/Model_4FGL_J0937.9-1434_daily_bin871.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/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.fits.....................!
real 72.14
user 70.71
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.fits', '/scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits', expMap='/scratch/kocevski/375164/expmap_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.fits', expCube='/scratch/kocevski/375164/ltcube_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/375164/Model_4FGL_J0937.9-1434_daily_bin871.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.9-1434'

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/375164/ft1_filtered_4FGL_J0937.9-1434_daily_bin871.fits
Spacecraft file(s): /scratch/kocevski/375164/ft2_4FGL_J0937.9-1434_daily_bin871.fits
Exposure map: /scratch/kocevski/375164/expmap_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.fits
Exposure cube: /scratch/kocevski/375164/ltcube_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/375164/Model_4FGL_J0937.9-1434_daily_bin871.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) = 6840.05527343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34549       1.0000         .10000E-03   10000.    
     2 'norm      '    6.2585       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7505       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .31656E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.827       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9806       1.0000         .10000E-03   10000.    
    12 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .82780       1.0000         .10000E-03   10000.    
    14 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    59.825       1.0000         .10000E-03   10000.    
    17 'norm      '    .17786E-02   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1883       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93936       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+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=   6840.050     FROM MIGRAD    STATUS=CONVERGED    674 CALLS     2190 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31352        170.93        .47433E-02    .44082E-04
   2  norm          6.2550        4.4151        .61570E-03    .96783E-03
   3  Prefactor     .10000E-03    5.1683        .18142E-02** at limit **
   4  Prefactor     9.7462        15.688        .12833E-03    .36844E-03
   5  Prefactor     .10005E-03    14.864        .30967E-02** at limit **
   6  Prefactor     .10000E-03    9.1324        .18142E-02** at limit **
   7  Prefactor     .10000E-03    25.065        .18142E-02** at limit **
   8  Prefactor     40.836        49.228        .62735E-04   -.28089E-04
   9  Prefactor     .10000E-03    43.260        .18142E-02** at limit **
  10  Prefactor     .10000E-03    9.9135        .18142E-02** at limit **
  11  Prefactor     4.9806        8.5414        .18020E-03   -.14952E-04
  12  norm          .10000E-03    4.0921        .16241E-02** at limit **
  13  norm          .82856        4.2107        .32424E-03   -.20091E-03
  14  norm          .10000E-03    4.0305        .16204E-02** at limit **
  15  norm          .10000E-03    1.1678        .86362E-03** at limit **
  16  norm          59.826        17.663        .51873E-04    .52687E-04
  17  norm          .10017E-03    20.126        .12663E-02** at limit **
  18  Normalizat    1.1887        .24655        .30094E-03    .36354E-03
  19  Prefactor     .93913        .14078        .19730E-03    .68728E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.313515
  norm       = 6.25499
  Prefactor  = 0.0001
  Prefactor  = 9.74617
  Prefactor  = 0.000100053
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.8356
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.98064
  norm       = 0.0001
  norm       = 0.828564
  norm       = 0.0001
  norm       = 0.0001
  norm       = 59.8257
  norm       = 0.000100172
  Normalizat = 1.18868
  Prefactor  = 0.93913
 **********
 **   18 **HESSE 
 **********

 FCN=   6840.050     FROM HESSE     STATUS=OK           250 CALLS     2440 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31352        159.51        .18973E-03   -1.5596    
   2  norm          6.2550        4.2892        .24628E-04   -1.5208    
   3  Prefactor     .10000E-03    5.1728        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7462        15.506        .51333E-05   -1.5083    
   5  Prefactor     .10005E-03    15.131        .61933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.1328        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.067        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.836        49.231        .25094E-05   -1.4429    
   9  Prefactor     .10000E-03    43.269        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.9136        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9806        8.5409        .72080E-05   -1.5262    
  12  norm          .10000E-03    4.0937        .32482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .82856        4.2081        .12970E-04   -1.5526    
  14  norm          .10000E-03    4.0307        .32408E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.1680        .17272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          59.826        17.661        .10375E-04   -1.4159    
  17  norm          .10017E-03    21.061        .50650E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1887        .24666        .60188E-04   -.86953    
  19  Prefactor     .93913        .14084        .39460E-04   -.94787    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24394e-08
Minuit parameter uncertainties:
  1  14.179
  2  4.28938
  3  4.18518e-06
  4  15.5122
  5  0.00178598
  6  5.87328e-05
  7  4.26688e-05
  8  49.2801
  9  0.000394415
  10  0.000137819
  11  8.54297
  12  2.0112e-05
  13  3.73471
  14  1.12214e-05
  15  6.2e-06
  16  17.6628
  17  0.00380525
  18  0.246902
  19  0.140896
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.378e-04  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.391e-01  1.409e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.189e+00  2.469e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.475 -14.571
Photon Flux Upper Limit: 4.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/375164/likelihoodResults_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.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) = 6840.05084869
delta logL = -0.000480355909531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6840.05036854
delta logL = -2.11195583688e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9511       1.0000          .0000       10.000    
     3 'Normalizat'    1.1885       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93923       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+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=   6840.050     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      238 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10102E-03    59.808        .18142E-02** at limit **
   2  Index         1.9039        6.3757        .50000        .18951E-04
   3  Normalizat    1.1887        .12707E-01    .30094E-03   -.66186E-04
   4  Prefactor     .93913        .75473E-02    .19730E-03   -.16844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101016
  Index      = 1.90385
  Normalizat = 1.18868
  Prefactor  = 0.939128
 **********
 **   18 **HESSE 
 **********

 FCN=   6840.050     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      267 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10102E-03    265.73        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9039        8.1035        .50000       -.66776    
   3  Normalizat    1.1887        .27444E-01    .12038E-04   -.86953    
   4  Prefactor     .93913        .16300E-01    .39460E-04   -.94787    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09619e-08
Minuit parameter uncertainties:
  1  0.0330044
  2  333.034
  3  0.0274442
  4  0.0163004
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375164': 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): 102
logL (Free Index) = 6840.05036798
delta logL = 3.54658368451e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.010e-04  3.300e-02  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.904e+00  3.330e+02  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.391e-01  1.630e-02  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.189e+00  2.744e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.475 -14.571

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/375164/cmap_HighResolution_465091201_465350401_4FGL_J0937.9-1434_daily_bin871.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2021-08-31 19:42:32.834952', job_id='375164', GAL2='0.94', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630464152.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='871' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:42:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 375164: <4FGL_J0937.9-1434_daily_bin871> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin871> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 19:30:52 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:30:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 19:30:54 2021
Terminated at Tue Aug 31 19:42:33 2021
Results reported at Tue Aug 31 19:42:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin871 144.475 -14.5706 465091201 465350401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0937.9-1434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   607.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            701 sec.

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

