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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin25
RA = 144.475, Dec = -14.5706
tmin = 245808001, tmax = 246067201
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='368996', job_status='RUN', time_executed='2021-08-31 19:12:55.136768', time_epoch_executed='1630462375.14' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/368996

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/368996/ft1_4FGL_J0937.9-1434_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/368996/ft1_4FGL_J0937.9-1434_daily_bin25.fits outfile=/scratch/kocevski/368996/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin25.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=245808001.0 tmax=246067201.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.45
user 1.28
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.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/368996/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin25.fits evtable="EVENTS" outfile="/scratch/kocevski/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.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.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/368996/ltcube_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.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/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits
.....................!
real 12.14
user 11.80
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/368996/ltcube_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.fits outfile=/scratch/kocevski/368996/expmap_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.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/368996/ltcube_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.fits
.....................!
real 192.70
user 187.71
sys 4.56

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/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.fits scfile=/scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits outfile=/scratch/kocevski/368996/cmap_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.fits scfile=/scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits outfile=/scratch/kocevski/368996/cmap_HighResolution_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/368996/Model_4FGL_J0937.9-1434_daily_bin25.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/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.fits.....................!
real 82.21
user 80.90
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.fits', '/scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits', expMap='/scratch/kocevski/368996/expmap_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.fits', expCube='/scratch/kocevski/368996/ltcube_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/368996/Model_4FGL_J0937.9-1434_daily_bin25.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/368996/ft1_filtered_4FGL_J0937.9-1434_daily_bin25.fits
Spacecraft file(s): /scratch/kocevski/368996/ft2_4FGL_J0937.9-1434_daily_bin25.fits
Exposure map: /scratch/kocevski/368996/expmap_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.fits
Exposure cube: /scratch/kocevski/368996/ltcube_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/368996/Model_4FGL_J0937.9-1434_daily_bin25.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) = 7997.66386249

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .43145E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10364E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.965       1.0000         .10000E-03   10000.    
     9 'Prefactor '    66.520       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.687       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .75526       1.0000         .10000E-03   10000.    
    16 'norm      '    10.357       1.0000         .10000E-03   10000.    
    17 'norm      '    2.1235       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3973       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .87592       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.

 FCN=   7997.608     FROM MIGRAD    STATUS=CONVERGED    376 CALLS     1892 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7950       -.11823E-07** at limit **
   2  norm          .45590E-01    19.160        .79846E-05   -.95012E-04
   3  Prefactor     .10000E-03    1.9284       -.13558E-06** at limit **
   4  Prefactor     .10000E-03    6.8853       -.15683E-06** at limit **
   5  Prefactor     .10000E-03    2.0580        .18777E-07** at limit **
   6  Prefactor     .10000E-03    6.3626        .13384E-05** at limit **
   7  Prefactor     .10000E-03    9.8789       -.16910E-06** at limit **
   8  Prefactor     30.935        32.560        .11523E-05    .28829E-03
   9  Prefactor     66.512        35.468        .47982E-06    .11523E-03
  10  Prefactor     11.684        24.239       -.15730E-06   -.14544E-04
  11  Prefactor     .10000E-03    6.8315       -.16249E-06** at limit **
  12  norm          .10000E-03    3.1190        .16339E-06** at limit **
  13  norm          .10000E-03    1.3756        .15270E-06** at limit **
  14  norm          .10000E-03    2.8615       -.45974E-07** at limit **
  15  norm          .75611        1.0161        .65607E-06    .66050E-03
  16  norm          10.357        9.5373       -.21599E-07   -.83338E-04
  17  norm          2.1235        1.3735       -.60032E-08   -.57892E-03
  18  Normalizat    1.3974        .22217       -.29326E-05    .21263E-03
  19  Prefactor     .87586        .12913        .18027E-05   -.40849E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0455901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 30.9349
  Prefactor  = 66.512
  Prefactor  = 11.6845
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.756106
  norm       = 10.3569
  norm       = 2.12351
  Normalizat = 1.39743
  Prefactor  = 0.875861
 **********
 **   18 **HESSE 
 **********

 FCN=   7997.608     FROM HESSE     STATUS=OK           264 CALLS     2156 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7965        .14601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .45590E-01    18.479        .19684E-02   -1.5665    
   3  Prefactor     .10000E-03    1.9449        .12139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.9355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.0608        .12529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.6043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.8889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.935        32.837        .72003E-04   -1.4595    
   9  Prefactor     66.512        35.475        .49209E-04   -1.4075    
  10  Prefactor     11.684        24.232        .11718E-03   -1.5024    
  11  Prefactor     .10000E-03    6.8762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.1442        .15423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.3892        .10257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.8638        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .75611        1.0184        .12889E-02   -1.5534    
  16  norm          10.357        9.5412        .12450E-03   -1.5064    
  17  norm          2.1235        1.3761        .80730E-04   -1.5417    
  18  Normalizat    1.3974        .22293        .27950E-03   -.80703    
  19  Prefactor     .87586        .12958        .20370E-03   -.96990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79971e-08
Minuit parameter uncertainties:
  1  1.96888e-07
  2  1.83426
  3  2.02932e-05
  4  4.4323e-05
  5  2.72221e-06
  6  0.000287423
  7  4.48903e-05
  8  32.8557
  9  35.4859
  10  24.2526
  11  3.32762e-05
  12  2.60753e-05
  13  1.75907e-05
  14  7.25312e-06
  15  1.0184
  16  9.5426
  17  1.37609
  18  0.223089
  19  0.129624
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.168e+01  2.425e+01  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:  8.759e-01  1.296e-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.397e+00  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/368996/likelihoodResults_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.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): 0
logL (Free Index) = 7997.60057328
delta logL = 0.00737553679664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7997.59814068
delta logL = 0.00980813094429

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9449       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1146       1.0000          .0000       10.000    
     3 'Normalizat'    1.3956       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87643       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=   7997.598     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      261 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9329        28.581        .12707E-03   -.12168E-04
   2  Index         2.1179        1.1372        .12322E-01    .48505E-03
   3  Normalizat    1.3954        .21608        .27967E-03    .72967E-04
   4  Prefactor     .87637        .12881        .20364E-03   -.10836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.93294
  Index      = 2.11787
  Normalizat = 1.3954
  Prefactor  = 0.876366
 **********
 **   18 **HESSE 
 **********

 FCN=   7997.598     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9329        25.433        .50826E-05   -1.5078    
   2  Index         2.1179        1.0154        .24644E-02   -.61435    
   3  Normalizat    1.3954        .21602        .11187E-04   -.80762    
   4  Prefactor     .87637        .12881        .81457E-05   -.96972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.52844e-11
Minuit parameter uncertainties:
  1  25.4605
  2  1.02619
  3  0.216162
  4  0.128856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/368996': 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) = 7997.59813119
delta logL = 0.00981762095762

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  9.933e+00  2.546e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.118e+00  1.026e+00  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:  8.764e-01  1.289e-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.395e+00  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/368996/cmap_HighResolution_245808001_246067201_4FGL_J0937.9-1434_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', job_status='DONE', photon_flux_upper_limit='7.05e-08', time_completed='2021-08-31 19:23:31.118971', job_id='368996', GAL2='0.88', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1630463011.12', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='9.82e-03', ts2='0.32', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='25' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:23:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 368996: <4FGL_J0937.9-1434_daily_bin25> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin25> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 19:10:47 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:10:48 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:10:48 2021
Terminated at Tue Aug 31 19:23:31 2021
Results reported at Tue Aug 31 19:23:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin25 144.475 -14.5706 245808001 246067201 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 :                                   635.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             302.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            764 sec.

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

