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


Performing analysis on: 4FGL_J0324.8+3412_daily_bin1607
RA = 51.2058, Dec = 34.2119
tmin = 655862401, tmax = 656121601
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='173602', job_status='RUN', time_executed='2021-12-07 14:00:30.962608', time_epoch_executed='1638914430.96' WHERE source_name='4FGL J0324.8+3412' and cadence='daily' and bin_id='1607'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/173602

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/173602/ft1_4FGL_J0324.8+3412_daily_bin1607.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/173602/ft1_4FGL_J0324.8+3412_daily_bin1607.fits outfile=/scratch/kocevski/173602/ft1_filteredMKT_4FGL_J0324.8+3412_daily_bin1607.fits ra=51.2058 dec=34.2119 rad=12.0 tmin=655862401.0 tmax=656121601.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 4.58
user 4.31
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.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/173602/ft1_filteredMKT_4FGL_J0324.8+3412_daily_bin1607.fits evtable="EVENTS" outfile="/scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits" evtable="EVENTS" scfile=/scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits sctable="SC_DATA" outfile=/scratch/kocevski/173602/ltcube_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.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/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits
.....................!
real 12.35
user 11.98
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits sctable="SC_DATA" expcube=/scratch/kocevski/173602/ltcube_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.fits outfile=/scratch/kocevski/173602/expmap_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.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/173602/ltcube_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.fits
.....................!
real 191.57
user 185.71
sys 5.53

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
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Added 157 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0324.8+3412 @ 51.2058 34.2119

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits scfile=/scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits outfile=/scratch/kocevski/173602/cmap_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.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=51.2058 yref=34.2119 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits scfile=/scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits outfile=/scratch/kocevski/173602/cmap_HighResolution_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.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=51.2058 yref=34.2119 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits evtable="EVENTS" scfile=/scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/173602/Model_4FGL_J0324.8+3412_daily_bin1607.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
adding source HB 9
Working on...
/scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits.....................!
real 294.45
user 292.60
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits', '/scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits', expMap='/scratch/kocevski/173602/expmap_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.fits', expCube='/scratch/kocevski/173602/ltcube_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/173602/Model_4FGL_J0324.8+3412_daily_bin1607.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8+3412'

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.300e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/173602/ft1_filtered_4FGL_J0324.8+3412_daily_bin1607.fits
Spacecraft file(s): /scratch/kocevski/173602/ft2_4FGL_J0324.8+3412_daily_bin1607.fits
Exposure map: /scratch/kocevski/173602/expmap_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.fits
Exposure cube: /scratch/kocevski/173602/ltcube_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/173602/Model_4FGL_J0324.8+3412_daily_bin1607.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) = 14636.6407081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    21.537       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2215       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.9574       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4140       1.0000         .10000E-03   10000.    
     9 'norm      '    7.9843       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .98300       1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.048       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .94782       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .96777       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14636.63     FROM MIGRAD    STATUS=CONVERGED    309 CALLS     1437 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6310       -.20780E-07** at limit **
   2  norm          21.537        3.5778       -.13931E-08    .33720E-04
   3  Prefactor     .10001E-03    52.813        .22192E-04** at limit **
   4  norm          .10002E-03    57.703       -.22630E-04** at limit **
   5  Prefactor     6.2215        10.676       -.33574E-06   -.12996E-03
   6  Prefactor     .10000E-03    18.324        .22642E-05** at limit **
   7  norm          1.9575        .60694        .63405E-08   -.25188E-03
   8  Prefactor     4.4139        1.8907        .11226E-06    .27595E-05
   9  norm          7.9843        4.2036        .82667E-07   -.38343E-03
  10  norm          .10000E-03    3.9502        .42178E-07** at limit **
  11  norm          .98308        1.8634       -.10686E-05   -.26233E-02
  12  Prefactor     64.045        50.016       -.26400E-05    .72931E-04
  13  norm          .10000E-03    20.287       -.31797E-05** at limit **
  14  norm          .10000E-03    .97215       -.77159E-08** at limit **
  15  Normalizat    .94790        .23529        .12025E-06    .81902E-04
  16  Prefactor     .96775        .56872E-01    .21763E-06    .37798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 21.5371
  Prefactor  = 0.000100012
  norm       = 0.000100017
  Prefactor  = 6.22151
  Prefactor  = 0.0001
  norm       = 1.95746
  Prefactor  = 4.41391
  norm       = 7.98425
  norm       = 0.0001
  norm       = 0.983075
  Prefactor  = 64.0453
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.947896
  Prefactor  = 0.967749
 **********
 **   18 **HESSE 
 **********

 FCN=   14636.63     FROM HESSE     STATUS=OK           199 CALLS     1636 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.6331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          21.537        3.5786        .86308E-04   -1.4779    
   3  Prefactor     .10001E-03    50.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10002E-03    55.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.2215        10.722        .16094E-03   -1.5209    
   6  Prefactor     .10000E-03    18.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9575        .60762        .45961E-04   -1.5428    
   8  Prefactor     4.4139        1.8634        .96966E-04   -1.5288    
   9  norm          7.9843        4.2024        .14190E-03   -1.5143    
  10  norm          .10000E-03    3.9545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .98308        1.9851        .21935E-03   -1.5510    
  12  Prefactor     64.045        49.971        .50144E-04   -1.4106    
  13  norm          .10000E-03    20.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .98094        .11646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .94790        .24631        .56067E-03   -.94797    
  16  Prefactor     .96775        .60325E-01    .14342E-03   -.93812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55404e-09
Minuit parameter uncertainties:
  1  3.29214e-08
  2  3.57867
  3  0.00158142
  4  0.00195022
  5  10.7251
  6  9.2277e-05
  7  0.60762
  8  1.86339
  9  4.20257
  10  9.75111e-07
  11  1.98526
  12  50.0037
  13  0.000139128
  14  4.62984e-07
  15  0.246604
  16  0.0603295
Done.

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

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  4.414e+00  1.863e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        Index:  2.818e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.677e-01  6.033e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.479e-01  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.51
Ra Dec: 51.206 34.212
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 1.84e-07 +/- 7.75e-08
Energy Flux (Fixed Index): 4.07e-05 +/- 1.72e-05

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) = 14635.0341548
delta logL = 1.59727506545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14634.955566
delta logL = 1.67586379584

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2082       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2511       1.0000          .0000       10.000    
     3 'Normalizat'    .85291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98567       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14634.96     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      234 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2079        4.2737        .97776E-02    .14572E-02
   2  Index         4.2513        2.3830        .14375        .26624E-03
   3  Normalizat    .85288        .76762E-01    .13236        .71886E-04
   4  Prefactor     .98568        .19811E-01    .32186E-01   -.17828E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.20787
  Index      = 4.25134
  Normalizat = 0.852884
  Prefactor  = 0.985676
 **********
 **   18 **HESSE 
 **********

 FCN=   14634.96     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      267 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2079        6.9431        .43981E-04   -1.5488    
   2  Index         4.2513        3.4673        .56847E-02   -.15030    
   3  Normalizat    .85288        .23664        .58747E-03   -.98136    
   4  Prefactor     .98568        .63081E-01    .14223E-03   -.93209    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.85024e-07
Minuit parameter uncertainties:
  1  5.79264
  2  3.84277
  3  0.236932
  4  0.0630855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/173602': 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) = 14634.955566
delta logL = 1.67586383027

Extracting fit parameters...

4FGL J0324.8+3412
   Spectrum: PowerLaw
274    Prefactor:  1.208e+00  5.793e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        Index:  4.251e+00  3.843e+00  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.642e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  9.857e-01  6.309e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  8.529e-01  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.47
Ra Dec: 51.206 34.212
Photon Index (Free Index): 4.25 +/- 3.84
Photon Flux (Free Index): 2.55e-07 +/- 8.99e-08
Energy Flux (Free Index): 3.67e-05 +/- 2.51e-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/173602/cmap_HighResolution_655862401_656121601_4FGL_J0324.8+3412_daily_bin1607.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.84e-07', energy_flux2='3.67e-05', photon_flux_error='7.75e-08', dlogl='1.68e+00', energy_flux='4.07e-05', photon_flux2='2.55e-07', job_status='DONE', time_completed='2021-12-07 14:15:34.175480', photon_index_error2='3.84', photon_index2='4.25', ts='8.51', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.51e-05', EG='0.95', time_epoch_completed='1638915334.18', return_code='0', job_id='173602', GAL2='0.99', EG2='0.85', return_code2='102', energy_flux_error='1.72e-05', photon_flux_error2='8.99e-08', ts2='12.47', photon_index='2.82' WHERE bin_id='1607' AND source_name='4FGL J0324.8+3412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 14:15:34 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 173602: <4FGL_J0324.8+3412_daily_bin1607> in cluster <slac> Done

Job <4FGL_J0324.8+3412_daily_bin1607> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec  7 14:00:13 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 14:00:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 14:00:19 2021
Terminated at Tue Dec  7 14:15:34 2021
Results reported at Tue Dec  7 14:15:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0324.8+3412_daily_bin1607 51.2058 34.2119 655862401 656121601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0324.8+3412 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   902.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             411.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            921 sec.

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

