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


Performing analysis on: 4FGL_J2007.9-4432_daily_bin1152
RA = 301.983, Dec = -44.5363
tmin = 537926401, tmax = 538185601
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='663262', job_status='RUN', time_executed='2021-09-24 14:19:50.392236', time_epoch_executed='1632518390.39' WHERE source_name='4FGL J2007.9-4432' and cadence='daily' and bin_id='1152'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/663262

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/663262/ft1_4FGL_J2007.9-4432_daily_bin1152.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/663262/ft1_4FGL_J2007.9-4432_daily_bin1152.fits outfile=/scratch/kocevski/663262/ft1_filteredMKT_4FGL_J2007.9-4432_daily_bin1152.fits ra=301.983 dec=-44.5363 rad=12.0 tmin=537926401.0 tmax=538185601.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 6.48
user 6.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/663262/ft1_filtered_4FGL_J2007.9-4432_daily_bin1152.fits" evtable="EVENTS" scfile=/scratch/kocevski/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits sctable="SC_DATA" outfile=/scratch/kocevski/663262/ltcube_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.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/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits
.....................!
real 12.64
user 12.26
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/663262/ft1_filtered_4FGL_J2007.9-4432_daily_bin1152.fits evtable="EVENTS" scfile=/scratch/kocevski/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits sctable="SC_DATA" expcube=/scratch/kocevski/663262/ltcube_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.fits outfile=/scratch/kocevski/663262/expmap_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.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/663262/ltcube_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.fits
.....................!
real 192.95
user 187.23
sys 5.37

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/663262/ft1_filtered_4FGL_J2007.9-4432_daily_bin1152.fits scfile=/scratch/kocevski/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits outfile=/scratch/kocevski/663262/cmap_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/663262/ft1_filtered_4FGL_J2007.9-4432_daily_bin1152.fits scfile=/scratch/kocevski/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits outfile=/scratch/kocevski/663262/cmap_HighResolution_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/663262/ft1_filtered_4FGL_J2007.9-4432_daily_bin1152.fits evtable="EVENTS" scfile=/scratch/kocevski/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/663262/Model_4FGL_J2007.9-4432_daily_bin1152.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/663262/ft1_filtered_4FGL_J2007.9-4432_daily_bin1152.fits.....................!
real 64.15
user 62.83
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/663262/ft1_filtered_4FGL_J2007.9-4432_daily_bin1152.fits', '/scratch/kocevski/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits', expMap='/scratch/kocevski/663262/expmap_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.fits', expCube='/scratch/kocevski/663262/ltcube_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/663262/Model_4FGL_J2007.9-4432_daily_bin1152.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/663262/ft1_filtered_4FGL_J2007.9-4432_daily_bin1152.fits
Spacecraft file(s): /scratch/kocevski/663262/ft2_4FGL_J2007.9-4432_daily_bin1152.fits
Exposure map: /scratch/kocevski/663262/expmap_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.fits
Exposure cube: /scratch/kocevski/663262/ltcube_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/663262/Model_4FGL_J2007.9-4432_daily_bin1152.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) = 7302.096719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6320       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.9971       1.0000         .10000E-03   10000.    
     6 'norm      '    .42976       1.0000         .10000E-03   10000.    
     7 'norm      '    4.1448       1.0000         .10000E-03   10000.    
     8 'norm      '    22.889       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0573       1.0000         .10000E-03   10000.    
    10 'Prefactor '    50.991       1.0000         .10000E-03   10000.    
    11 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.796       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4912       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4697       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96444       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=   7302.073     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1697 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6301        4.1106        .26348E-06   -.24154E-03
   2  Prefactor     .10000E-03    3.8976       -.19614E-07** at limit **
   3  Prefactor     .10000E-03    34.851        .23047E-04** at limit **
   4  Prefactor     .10000E-03    5.6529        .49270E-07** at limit **
   5  norm          7.9916        15.409       -.15804E-05   -.19127E-04
   6  norm          .42915        .91161       -.25330E-06   -.20126E-02
   7  norm          4.1475        7.9265        .56998E-05   -.67969E-04
   8  norm          22.875        23.193       -.11954E-04   -.25176E-04
   9  norm          2.0575        1.4195        .52197E-07    .14003E-03
  10  Prefactor     50.990        52.211       -.21937E-05    .58108E-05
  11  norm          .10000E-03    1.8442        .87664E-07** at limit **
  12  norm          .10000E-03    25.845        .56530E-05** at limit **
  13  Prefactor     .10000E-03    25.127       -.81221E-05** at limit **
  14  Prefactor     .10000E-03    39.467       -.21272E-04** at limit **
  15  Prefactor     19.803        19.915        .41020E-05    .12900E-05
  16  norm          2.4918        1.7654       -.61896E-07   -.10501E-03
  17  Normalizat    1.4688        .26526        .10296E-05   -.49933E-04
  18  Prefactor     .96483        .10647       -.17682E-07   -.43299E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.6301
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.99159
  norm       = 0.429145
  norm       = 4.14752
  norm       = 22.8753
  norm       = 2.05749
  Prefactor  = 50.9895
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.8028
  norm       = 2.49178
  Normalizat = 1.46884
  Prefactor  = 0.964827
 **********
 **   18 **HESSE 
 **********

 FCN=   7302.073     FROM HESSE     STATUS=OK           246 CALLS     1943 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6301        4.1242        .13095E-03   -1.5193    
   2  Prefactor     .10000E-03    3.9178        .16473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    34.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.9916        15.413        .14178E-03   -1.5143    
   6  norm          .42915        .75638        .11490E-02   -1.5577    
   7  norm          4.1475        7.8895        .19799E-03   -1.5301    
   8  norm          22.875        23.197        .83724E-04   -1.4751    
   9  norm          2.0575        1.4212        .82322E-04   -1.5421    
  10  Prefactor     50.990        52.185        .56162E-04   -1.4279    
  11  norm          .10000E-03    1.8629        .11331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    25.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    39.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.803        19.966        .90020E-04   -1.4818    
  16  norm          2.4918        1.7628        .92383E-04   -1.5392    
  17  Normalizat    1.4688        .31427        .37315E-03   -.78658    
  18  Prefactor     .96483        .12630        .17931E-03   -.93911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71231e-10
Minuit parameter uncertainties:
  1  4.12439
  2  1.03984e-06
  3  6.66935e-05
  4  7.89992e-07
  5  15.4208
  6  0.7564
  7  7.89145
  8  23.206
  9  1.42119
  10  52.2323
  11  1.34614e-05
  12  1.04018e-05
  13  1.74511e-05
  14  1.21613e-05
  15  19.973
  16  1.76283
  17  0.314686
  18  0.126341
Done.

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

Extracting fit parameters...

4FGL J2007.9-4432
   Spectrum: LogParabola
348         norm:  2.288e+01  2.321e+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:  9.648e-01  1.263e-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.469e+00  3.147e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.51
Ra Dec: 301.983 -44.536
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 5.74e-08 +/- 5.82e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 1.61e-05

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

Saving results to:
/scratch/kocevski/663262/likelihoodResults_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.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) = 7302.0645265
delta logL = 0.00894349874034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7302.06398181
delta logL = 0.00948818936104

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.800       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6274       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4598       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96695       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.

 FCN=   7302.064     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      229 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.773        941.58        .20972E-02    .13672E-04
   2  alpha         2.6254        3.6431        .41219        .74017E-05
   3  Normalizat    1.4600        .21098        .84498E-01    .17221E-04
   4  Prefactor     .96692        .73195E-01    .45853E-01    .13259E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.7733
  alpha      = 2.62537
  Normalizat = 1.45996
  Prefactor  = 0.966923
 **********
 **   18 **HESSE 
 **********

 FCN=   7302.064     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.773        23.033        .83886E-04   -1.4753    
   2  alpha         2.6254        1.1340        .30481E-01    .50170E-01
   3  Normalizat    1.4600        .31483        .37408E-03   -.78910    
   4  Prefactor     .96692        .12413        .17914E-03   -.93840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34989e-10
Minuit parameter uncertainties:
  1  23.0421
  2  1.17717
  3  0.315248
  4  0.124165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/663262': 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) = 7302.06397904
delta logL = 0.0094909555728

Extracting fit parameters...

4FGL J2007.9-4432
   Spectrum: LogParabola
348         norm:  2.277e+01  2.304e+01  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  2.625e+00  1.177e+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:  9.669e-01  1.242e-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.460e+00  3.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 301.983 -44.536
Photon Index (Free Index): 2.63 +/- 1.18
Photon Flux (Free Index): 6.53e-08 +/- 8.19e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.59e-05

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/663262/cmap_HighResolution_537926401_538185601_4FGL_J2007.9-4432_daily_bin1152.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-05', comment='SUCCESS', photon_flux='5.74e-08', energy_flux2='1.62e-05', photon_flux_error='5.82e-08', dlogl='9.49e-03', energy_flux='1.59e-05', photon_flux2='6.53e-08', job_status='DONE', time_completed='2021-09-24 14:30:27.156978', photon_index_error2='1.18', photon_index2='2.63', ts='1.51', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.88e-07', energy_flux_error2='1.59e-05', EG='1.47', time_epoch_completed='1632519027.16', return_code='0', job_id='663262', GAL2='0.97', EG2='1.46', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='8.19e-08', ts2='1.53', photon_index='2.47' WHERE bin_id='1152' AND source_name='4FGL J2007.9-4432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 14:30:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 663262: <4FGL_J2007.9-4432_daily_bin1152> in cluster <slac> Done

Job <4FGL_J2007.9-4432_daily_bin1152> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 24 14:16:14 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 14:17: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:17:01 2021
Terminated at Fri Sep 24 14:30:28 2021
Results reported at Fri Sep 24 14:30:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2007.9-4432_daily_bin1152 301.983 -44.5363 537926401 538185601 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 :                                   634.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            854 sec.

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

