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


Performing analysis on: 4FGL_J2007.9-4432_daily_bin707
RA = 301.983, Dec = -44.5363
tmin = 422582401, tmax = 422841601
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='660102', job_status='RUN', time_executed='2021-09-24 14:11:36.062666', time_epoch_executed='1632517896.06' WHERE source_name='4FGL J2007.9-4432' and cadence='daily' and bin_id='707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/660102

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/660102/ft1_4FGL_J2007.9-4432_daily_bin707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/660102/ft1_4FGL_J2007.9-4432_daily_bin707.fits outfile=/scratch/kocevski/660102/ft1_filteredMKT_4FGL_J2007.9-4432_daily_bin707.fits ra=301.983 dec=-44.5363 rad=12.0 tmin=422582401.0 tmax=422841601.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.53
user 3.30
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.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/660102/ft1_filteredMKT_4FGL_J2007.9-4432_daily_bin707.fits evtable="EVENTS" outfile="/scratch/kocevski/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.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.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.fits" evtable="EVENTS" scfile=/scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits sctable="SC_DATA" outfile=/scratch/kocevski/660102/ltcube_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.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/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits
.....................!
real 13.93
user 13.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.fits evtable="EVENTS" scfile=/scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits sctable="SC_DATA" expcube=/scratch/kocevski/660102/ltcube_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.fits outfile=/scratch/kocevski/660102/expmap_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.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/660102/ltcube_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.fits
.....................!
real 190.59
user 185.78
sys 4.46

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

Setting source of interest to:
4FGL J2007.9-4432 @ 301.983 -44.5363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.fits scfile=/scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits outfile=/scratch/kocevski/660102/cmap_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.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=301.983 yref=-44.5363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.61
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.fits scfile=/scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits outfile=/scratch/kocevski/660102/cmap_HighResolution_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.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=301.983 yref=-44.5363 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.82
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.fits evtable="EVENTS" scfile=/scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/660102/Model_4FGL_J2007.9-4432_daily_bin707.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/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.fits.....................!
real 65.59
user 64.26
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.fits', '/scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits', expMap='/scratch/kocevski/660102/expmap_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.fits', expCube='/scratch/kocevski/660102/ltcube_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/660102/Model_4FGL_J2007.9-4432_daily_bin707.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2007.9-4432'

4FGL J2007.9-4432
   Spectrum: LogParabola
348         norm:  7.940e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  2.468e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.316e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  4.576e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/660102/ft1_filtered_4FGL_J2007.9-4432_daily_bin707.fits
Spacecraft file(s): /scratch/kocevski/660102/ft2_4FGL_J2007.9-4432_daily_bin707.fits
Exposure map: /scratch/kocevski/660102/expmap_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.fits
Exposure cube: /scratch/kocevski/660102/ltcube_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/660102/Model_4FGL_J2007.9-4432_daily_bin707.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) = 7666.88082456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    21.039       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0381       1.0000         .10000E-03   10000.    
     7 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.287       1.0000         .10000E-03   10000.    
     9 'norm      '    .10088E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.494       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4232       1.0000         .10000E-03   10000.    
    16 'norm      '    .12562E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.6766       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .85799       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7666.867     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1754 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3896       -.41090E-07** at limit **
   2  Prefactor     .10000E-03    6.1542        .24796E-05** at limit **
   3  Prefactor     .10000E-03    7.8158        .10118E-06** at limit **
   4  Prefactor     .10000E-03    14.875        .18794E-05** at limit **
   5  norm          21.044        22.541        .63240E-05   -.41183E-06
   6  norm          1.0385        1.4020       -.47685E-06   -.14694E-02
   7  norm          .10000E-03    6.0039       -.21807E-05** at limit **
   8  norm          13.286        19.882       -.15155E-05    .49414E-05
   9  norm          .10000E-03    .59678       -.13192E-07** at limit **
  10  Prefactor     .10000E-03    22.002       -.78107E-05** at limit **
  11  norm          .10000E-03    1.0237        .96062E-07** at limit **
  12  norm          .10000E-03    18.705        .10527E-04** at limit **
  13  Prefactor     .10000E-03    14.091       -.50063E-05** at limit **
  14  Prefactor     24.494        68.076       -.46724E-06   -.64081E-06
  15  Prefactor     4.4230        15.188       -.76553E-06   -.61018E-04
  16  norm          .10000E-03    .98226        .14736E-07** at limit **
  17  Normalizat    1.6767        .25512        .80392E-06   -.41666E-04
  18  Prefactor     .85799        .97200E-01   -.24922E-06    .47448E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.044
  norm       = 1.03852
  norm       = 0.0001
  norm       = 13.286
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.494
  Prefactor  = 4.42299
  norm       = 0.0001
  Normalizat = 1.67669
  Prefactor  = 0.857985
 **********
 **   18 **HESSE 
 **********

 FCN=   7666.867     FROM HESSE     STATUS=OK           244 CALLS     1998 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4539        .20150E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.2421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.8184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          21.044        22.574        .87323E-04   -1.4790    
   6  norm          1.0385        1.3963        .11399E-03   -1.5504    
   7  norm          .10000E-03    6.0167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.286        19.890        .10988E-03   -1.4979    
   9  norm          .10000E-03    1.7358        .13195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.0255        .86505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    18.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.494        68.185        .80938E-04   -1.4718    
  15  Prefactor     4.4230        15.205        .19148E-03   -1.5287    
  16  norm          .10000E-03    4.8824        .16528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.6767        .30032        .33946E-03   -.72927    
  18  Prefactor     .85799        .11598        .17610E-03   -.97625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83247e-10
Minuit parameter uncertainties:
  1  6.29037e-08
  2  1.11458e-05
  3  1.29323e-06
  4  7.72307e-05
  5  22.5831
  6  1.39631
  7  1.20481e-05
  8  19.9
  9  4.30926e-06
  10  6.95578e-06
  11  8.15811e-07
  12  1.67553e-05
  13  1.6981e-06
  14  68.4028
  15  15.2185
  16  4.34936e-05
  17  0.300644
  18  0.116012
Done.

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

Extracting fit parameters...

4FGL J2007.9-4432
   Spectrum: LogParabola
348         norm:  1.329e+01  1.990e+01  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  2.468e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.316e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  4.576e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
634    Prefactor:  8.580e-01  1.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
635        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
636        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.677e+00  3.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.55
Ra Dec: 301.983 -44.536
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/660102/likelihoodResults_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.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) = 7666.85903247
delta logL = 0.00782654792692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7666.85886618
delta logL = 0.00799283559445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.102       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5936       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85883       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6370E+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=   7666.859     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      257 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.103        19.936        .11066E-03   -.10078E-02
   2  alpha         2.5934        .99378        .30319E-01   -.15162E-03
   3  Normalizat    1.6731        .29726        .33976E-03    .11307E-03
   4  Prefactor     .85880        .11482        .17603E-03    .17771E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.1033
  alpha      = 2.59339
  Normalizat = 1.67308
  Prefactor  = 0.858802
 **********
 **   18 **HESSE 
 **********

 FCN=   7666.859     FROM HESSE     STATUS=OK            23 CALLS      280 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.103        19.612        .22132E-04   -1.4984    
   2  alpha         2.5934        .97843        .12127E-02    .37366E-01
   3  Normalizat    1.6731        .29764        .13590E-04   -.73024    
   4  Prefactor     .85880        .11492        .35206E-04   -.97596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69663e-09
Minuit parameter uncertainties:
  1  19.6218
  2  1.00535
  3  0.297955
  4  0.11495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/660102': 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) = 7666.85886613
delta logL = 0.00799288687176

Extracting fit parameters...

4FGL J2007.9-4432
   Spectrum: LogParabola
348         norm:  1.310e+01  1.962e+01  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  2.593e+00  1.005e+00  0.000e+00  5.000e+00 ( 1.000e+00)
350         beta:  1.316e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  4.576e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
634    Prefactor:  8.588e-01  1.150e-01  0.000e+00  1.000e+01 ( 1.000e+00)
635        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
636        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
633   Normalization:  1.673e+00  2.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
Ra Dec: 301.983 -44.536

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/660102/cmap_HighResolution_422582401_422841601_4FGL_J2007.9-4432_daily_bin707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-05', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2021-09-24 14:22:25.059395', job_id='660102', GAL2='0.86', fit_tolerance='1e-08', EG2='1.67', EG='1.68', time_epoch_completed='1632518545.06', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='7.99e-03', ts2='0.56', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='707' AND source_name='4FGL J2007.9-4432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 14:22:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 660102: <4FGL_J2007.9-4432_daily_bin707> in cluster <slac> Done

Job <4FGL_J2007.9-4432_daily_bin707> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 24 14:06:34 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 14:09:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 24 14:09:01 2021
Terminated at Fri Sep 24 14:22:26 2021
Results reported at Fri Sep 24 14:22:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2007.9-4432_daily_bin707 301.983 -44.5363 422582401 422841601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2007.9-4432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   646.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            952 sec.

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

