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


Performing analysis on: 4FGL_J0325.7+2225_daily_bin46
RA = 51.4421, Dec = 22.4326
tmin = 251251201, tmax = 251510401
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='490512', job_status='RUN', time_executed='2021-08-18 09:00:33.152387', time_epoch_executed='1629302433.15' WHERE source_name='4FGL J0325.7+2225' and cadence='daily' and bin_id='46'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/490512

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/490512/ft1_4FGL_J0325.7+2225_daily_bin46.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/490512/ft1_4FGL_J0325.7+2225_daily_bin46.fits outfile=/scratch/kocevski/490512/ft1_filteredMKT_4FGL_J0325.7+2225_daily_bin46.fits ra=51.4421 dec=22.4326 rad=12.0 tmin=251251201.0 tmax=251510401.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.32
user 1.07
sys 1.45

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.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/490512/ft1_filteredMKT_4FGL_J0325.7+2225_daily_bin46.fits evtable="EVENTS" outfile="/scratch/kocevski/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.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 3.04
user 0.29
sys 1.41

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.fits" evtable="EVENTS" scfile=/scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits sctable="SC_DATA" outfile=/scratch/kocevski/490512/ltcube_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.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/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits
.....................!
real 17.34
user 12.51
sys 1.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits sctable="SC_DATA" expcube=/scratch/kocevski/490512/ltcube_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.fits outfile=/scratch/kocevski/490512/expmap_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.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/490512/ltcube_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.fits
.....................!
real 168.48
user 150.97
sys 6.17

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

Setting source of interest to:
4FGL J0325.7+2225 @ 51.4421 22.4326

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.fits scfile=/scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits outfile=/scratch/kocevski/490512/cmap_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.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.4421 yref=22.4326 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 1.86
user 0.32
sys 1.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.fits scfile=/scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits outfile=/scratch/kocevski/490512/cmap_HighResolution_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.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.4421 yref=22.4326 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 2.14
user 0.32
sys 1.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.fits evtable="EVENTS" scfile=/scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/490512/Model_4FGL_J0325.7+2225_daily_bin46.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/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.fits.....................!
real 147.73
user 139.70
sys 2.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.fits', '/scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits', expMap='/scratch/kocevski/490512/expmap_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.fits', expCube='/scratch/kocevski/490512/ltcube_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/490512/Model_4FGL_J0325.7+2225_daily_bin46.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0325.7+2225'

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  2.137e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
327        alpha:  2.537e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.671e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/490512/ft1_filtered_4FGL_J0325.7+2225_daily_bin46.fits
Spacecraft file(s): /scratch/kocevski/490512/ft2_4FGL_J0325.7+2225_daily_bin46.fits
Exposure map: /scratch/kocevski/490512/expmap_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.fits
Exposure cube: /scratch/kocevski/490512/ltcube_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/490512/Model_4FGL_J0325.7+2225_daily_bin46.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) = 10551.6651149

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.138       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.193       1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.501       1.0000         .10000E-03   10000.    
     4 'norm      '    7.2856       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.3538       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3969       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5984       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.0036       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.322       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .75998       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0209       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10551.65     FROM MIGRAD    STATUS=CONVERGED    290 CALLS     1439 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.104        23.730       -.18570E-04   -.44203E-04
   2  Prefactor     12.192        9.0493        .44093E-06   -.40738E-04
   3  Prefactor     42.505        32.835        .11923E-04    .37737E-04
   4  norm          7.2859        7.1367       -.16981E-06    .83993E-04
   5  Prefactor     8.3052        216.93       -.15653E-03    .50221E-05
   6  Prefactor     .10000E-03    1.5565        .36483E-07** at limit **
   7  Prefactor     .10000E-03    8.0306        .67070E-07** at limit **
   8  Prefactor     6.3970        2.4234       -.38235E-07   -.13159E-03
   9  norm          2.5982        2.5650       -.31293E-06   -.90264E-03
  10  norm          .10000E-03    6.7868       -.11979E-07** at limit **
  11  norm          4.0041        2.6340       -.40008E-06   -.85427E-03
  12  norm          .10000E-03    1.5484       -.63946E-09** at limit **
  13  norm          .10000E-03    87.918        .67580E-05** at limit **
  14  Prefactor     21.300        25.804       -.16530E-04   -.97620E-05
  15  Normalizat    .76016        .26077        .51391E-05    .19644E-04
  16  Prefactor     1.0208        .72320E-01    .34313E-06   -.12834E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1044
  Prefactor  = 12.1924
  Prefactor  = 42.5052
  norm       = 7.28594
  Prefactor  = 8.30521
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.39696
  norm       = 2.59817
  norm       = 0.0001
  norm       = 4.0041
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 21.2998
  Normalizat = 0.760162
  Prefactor  = 1.02082
 **********
 **   18 **HESSE 
 **********

 FCN=   10551.65     FROM HESSE     STATUS=OK           205 CALLS     1644 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.104        23.737        .12584E-03   -1.5072    
   2  Prefactor     12.192        9.0439        .11472E-03   -1.5009    
   3  Prefactor     42.505        32.785        .61492E-04   -1.4403    
   4  norm          7.2859        7.1406        .14860E-03   -1.5168    
   5  Prefactor     8.3052        217.30        .13870E-03   -1.5132    
   6  Prefactor     .10000E-03    1.5576        .12513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.0484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3970        2.4186        .92901E-04   -1.5202    
   9  norm          2.5982        2.5482        .15128E-03   -1.5386    
  10  norm          .10000E-03    6.8183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0041        2.6337        .12547E-03   -1.5308    
  12  norm          .10000E-03    1.5491        .12483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    88.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.300        25.806        .86742E-04   -1.4785    
  15  Normalizat    .76016        .27247        .54754E-03   -1.0156    
  16  Prefactor     1.0208        .76809E-01    .13978E-03   -.92039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.90548e-10
Minuit parameter uncertainties:
  1  23.7589
  2  9.04492
  3  32.799
  4  7.14141
  5  85.3104
  6  5.28965e-06
  7  2.66598e-05
  8  2.41865
  9  2.54835
  10  7.41521e-06
  11  2.6338
  12  6.15533e-07
  13  2.85787e-06
  14  25.8195
  15  0.272964
  16  0.076817
Done.

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

Extracting fit parameters...

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  2.598e+00  2.548e+00  1.000e-04  1.000e+04 ( 1.000e-11)
327        alpha:  2.537e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
328         beta:  1.671e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.021e+00  7.682e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  7.602e-01  2.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.43
Ra Dec: 51.442 22.433
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 5.85e-08 +/- 5.73e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 1.49e-05

TS (Fixed Index): 1.43
Ra Dec: 51.442 22.433
Photon Flux Upper Limit: 1.74e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.52e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/490512/likelihoodResults_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.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) = 10551.0006919
delta logL = 0.651013983952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10550.9970632
delta logL = 0.654642662525

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7613       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6984       1.0000          .0000       5.0000    
     3 'Normalizat'    .66923       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10551.00     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      249 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7610        19.164        .78929E-02    .12989E-02
   2  alpha         3.6984        4.1412        .49754        .68791E-04
   3  Normalizat    .66926        .80223E-01    .13105        .64605E-04
   4  Prefactor     1.0369        .23619E-01    .40747E-01   -.17862E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.761
  alpha      = 3.69844
  Normalizat = 0.669262
  Prefactor  = 1.03688
 **********
 **   18 **HESSE 
 **********

 FCN=   10551.00     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7610        3.0596        .83987E-04   -1.5443    
   2  alpha         3.6984        1.4552        .25464E-01    .49994    
   3  Normalizat    .66926        .27400        .58150E-03   -1.0512    
   4  Prefactor     1.0369        .77451E-01    .13880E-03   -.91510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99157e-08
Minuit parameter uncertainties:
  1  3.05986
  2  1.59099
  3  0.274561
  4  0.0774598
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/490512': 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) = 10550.9970632
delta logL = 0.654642681329

Extracting fit parameters...

4FGL J0325.7+2225
   Spectrum: LogParabola
326         norm:  1.761e+00  3.060e+00  1.000e-04  1.000e+04 ( 1.000e-11)
327        alpha:  3.698e+00  1.591e+00  0.000e+00  5.000e+00 ( 1.000e+00)
328         beta:  1.671e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
329           Eb:  4.327e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.037e+00  7.746e-02  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  6.693e-01  2.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.01
Ra Dec: 51.442 22.433
Photon Index (Free Index): 3.70 +/- 1.59
Photon Flux (Free Index): 1.19e-07 +/- 8.10e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.43e-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/490512/cmap_HighResolution_251251201_251510401_4FGL_J0325.7+2225_daily_bin46.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-05', comment='SUCCESS', photon_flux='5.85e-08', energy_flux2='1.96e-05', photon_flux_error='5.73e-08', dlogl='6.55e-01', energy_flux='1.52e-05', photon_flux2='1.19e-07', job_status='DONE', time_completed='2021-08-18 09:12:07.159920', photon_index_error2='1.59', photon_index2='3.70', ts='1.43', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.74e-07', energy_flux_error2='1.43e-05', EG='0.76', time_epoch_completed='1629303127.16', return_code='0', job_id='490512', GAL2='1.04', EG2='0.67', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='8.10e-08', ts2='3.01', photon_index='2.54' WHERE bin_id='46' AND source_name='4FGL J0325.7+2225' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 18 09:12:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 490512: <4FGL_J0325.7+2225_daily_bin46> in cluster <slac> Done

Job <4FGL_J0325.7+2225_daily_bin46> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Aug 18 08:55:56 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 18 08:56:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 18 08:56:01 2021
Terminated at Wed Aug 18 09:12:08 2021
Results reported at Wed Aug 18 09:12:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0325.7+2225_daily_bin46 51.4421 22.4326 251251201 251510401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0325.7+2225 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   679.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            972 sec.

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

