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


Performing analysis on: 4FGL_J1324.9+4748_daily_bin73
RA = 201.24, Dec = 47.8086
tmin = 258249601, tmax = 258508801
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='532944', job_status='RUN', time_executed='2021-09-07 15:16:04.961095', time_epoch_executed='1631052964.96' WHERE source_name='4FGL J1324.9+4748' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532944

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532944/ft1_4FGL_J1324.9+4748_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532944/ft1_4FGL_J1324.9+4748_daily_bin73.fits outfile=/scratch/kocevski/532944/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin73.fits ra=201.24 dec=47.8086 rad=12.0 tmin=258249601.0 tmax=258508801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.22
user 1.00
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.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/532944/ft1_filteredMKT_4FGL_J1324.9+4748_daily_bin73.fits evtable="EVENTS" outfile="/scratch/kocevski/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.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 1.00
user 0.35
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/532944/ltcube_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.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/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits
.....................!
real 13.93
user 13.35
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/532944/ltcube_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.fits outfile=/scratch/kocevski/532944/expmap_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.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/532944/ltcube_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.fits
.....................!
real 195.18
user 189.90
sys 3.96

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

Setting source of interest to:
4FGL J1324.9+4748 @ 201.24 47.8086

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.fits scfile=/scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits outfile=/scratch/kocevski/532944/cmap_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.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=201.24 yref=47.8086 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.fits scfile=/scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits outfile=/scratch/kocevski/532944/cmap_HighResolution_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.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=201.24 yref=47.8086 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/532944/Model_4FGL_J1324.9+4748_daily_bin73.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/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.fits.....................!
real 34.88
user 33.54
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.fits', '/scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits', expMap='/scratch/kocevski/532944/expmap_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.fits', expCube='/scratch/kocevski/532944/ltcube_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/532944/Model_4FGL_J1324.9+4748_daily_bin73.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1324.9+4748'

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  9.462e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.674e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  6.942e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/532944/ft1_filtered_4FGL_J1324.9+4748_daily_bin73.fits
Spacecraft file(s): /scratch/kocevski/532944/ft2_4FGL_J1324.9+4748_daily_bin73.fits
Exposure map: /scratch/kocevski/532944/expmap_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.fits
Exposure cube: /scratch/kocevski/532944/ltcube_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/532944/Model_4FGL_J1324.9+4748_daily_bin73.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) = 3356.46256864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.315       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.0605       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.082       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8957       1.0000         .10000E-03   10000.    
    10 'norm      '    12.606       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.511       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .17017E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10400E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    11.984       1.0000         .10000E-03   10000.    
    20 'norm      '    .11224E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.1885       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.360       1.0000         .10000E-03   10000.    
    27 'Prefactor '    9.9063       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    74.263       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .69981       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.4503       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3356.454     FROM MIGRAD    STATUS=CONVERGED    803 CALLS     4132 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.314        14.328        .17834E-06   -.70028E-04
   2  Prefactor     .10000E-03    41.793        .40833E-05** at limit **
   3  Prefactor     .10000E-03    9.8714        .11352E-06** at limit **
   4  norm          5.0604        4.5204       -.22886E-07    .32036E-04
   5  Prefactor     20.078        29.376        .51424E-06    .25174E-05
   6  norm          .10000E-03    1.4205        .46904E-07** at limit **
   7  Prefactor     .10001E-03    210.77        .57444E-05** at limit **
   8  Prefactor     .10000E-03    29.181       -.11798E-05** at limit **
   9  Prefactor     2.8932        98.833        .31073E-05    .52019E-05
  10  norm          12.605        20.071        .11302E-06   -.10167E-04
  11  norm          .10000E-03    2.6767        .39898E-07** at limit **
  12  Prefactor     .10000E-03    34.606        .19068E-05** at limit **
  13  Prefactor     12.579        27.163       -.12807E-05   -.30850E-04
  14  Prefactor     .10004E-03    264.60       -.16175E-04** at limit **
  15  norm          .10000E-03    10.270       -.97452E-06** at limit **
  16  Prefactor     .10000E-03    28.840       -.16825E-05** at limit **
  17  Prefactor     .10001E-03    63.722       -.57528E-05** at limit **
  18  Prefactor     .10000E-03    23.614        .22110E-05** at limit **
  19  norm          11.984        3.6580       -.17799E-07    .26315E-03
  20  norm          .10001E-03    106.30        .65457E-05** at limit **
  21  norm          5.1886        7.0246        .44021E-05   -.65589E-03
  22  norm          .10000E-03    6.0541        .40287E-07** at limit **
  23  Prefactor     .10000E-03    28.831       -.16355E-05** at limit **
  24  Prefactor     .10000E-03    53.067       -.16982E-05** at limit **
  25  Prefactor     .10000E-03    7.1948       -.64438E-07** at limit **
  26  Prefactor     18.365        39.219        .16397E-05    .32613E-04
  27  Prefactor     9.9060        5.0774       -.14390E-06    .15406E-04
  28  Prefactor     .10000E-03    20.376       -.71945E-06** at limit **
  29  Prefactor     74.207        111.04       -.73205E-05   -.12560E-03
  30  Normalizat    .69982        .24805       -.15183E-05    .55255E-04
  31  Prefactor     1.4504        .29029       -.56899E-07    .16782E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 36.3141
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 5.06044
  Prefactor  = 20.0781
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 2.89317
  norm       = 12.6051
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 12.579
  Prefactor  = 0.000100041
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100007
  Prefactor  = 0.000100001
  norm       = 11.9839
  norm       = 0.000100009
  norm       = 5.1886
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.365
  Prefactor  = 9.90602
  Prefactor  = 0.0001
  Prefactor  = 74.2066
  Normalizat = 0.69982
  Prefactor  = 1.45036
 **********
 **   18 **HESSE 
 **********

 FCN=   3356.454     FROM HESSE     STATUS=OK           612 CALLS     4744 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.314        14.321        .66504E-04   -1.4502    
   2  Prefactor     .10000E-03    42.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.9296        .17769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.0604        4.5210        .11298E-03   -1.5258    
   5  Prefactor     20.078        29.406        .89378E-04   -1.4811    
   6  norm          .10000E-03    1.4294        .67422E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    213.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    29.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8932        98.729        .23880E-03   -1.5368    
  10  norm          12.605        20.082        .11282E-03   -1.4998    
  11  norm          .10000E-03    2.6935        .92549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    34.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.579        26.928        .11325E-03   -1.4998    
  14  Prefactor     .10004E-03    273.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.391        .35633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    28.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    64.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    23.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          11.984        3.6653        .57104E-04   -1.5015    
  20  norm          .10001E-03    107.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.1886        7.3224        .88241E-03   -1.5252    
  22  norm          .10000E-03    6.0566        .13923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    28.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    53.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.2264        .15158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     18.365        39.529        .93474E-04   -1.4851    
  27  Prefactor     9.9060        5.0793        .90070E-04   -1.5078    
  28  Prefactor     .10000E-03    20.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     74.207        113.59        .23296E-03   -1.3983    
  30  Normalizat    .69982        .29134        .28971E-03   -1.0390    
  31  Prefactor     1.4504        .34255        .26648E-03   -.78940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40575e-09
Minuit parameter uncertainties:
  1  14.3225
  2  0.000731127
  3  9.4324e-06
  4  4.52132
  5  29.4269
  6  1.18396e-06
  7  0.0021931
  8  0.000173131
  9  33.862
  10  20.0927
  11  3.39041e-06
  12  0.000381084
  13  26.9536
  14  0.00671778
  15  0.00013634
  16  0.000263768
  17  0.00138332
  18  0.000312207
  19  3.66535
  20  0.00193904
  21  7.32367
  22  1.58096e-06
  23  0.000238225
  24  0.000181459
  25  1.55598e-05
  26  39.5852
  27  5.07953
  28  7.09365e-05
  29  113.922
  30  0.29199
  31  0.343089
Done.

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

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  3.811e-04  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.674e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  6.942e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.450e+00  3.431e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  6.998e-01  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 201.240 47.809
Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532944/likelihoodResults_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.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): 102
logL (Free Index) = 3356.45406121
delta logL = -0.000136890260364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3356.45392438
delta logL = -5.63868525205e-08

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 'Index     '    2.6005       1.0000          .0000       10.000    
     3 'Normalizat'    .69982       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4504       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3356.454     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      243 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6822.3        .90712E-02** at limit **
   2  Index         2.6116        8.0390        .50000       -.30697E-05
   3  Normalizat    .69982        .78367E-01    .65477E-01   -.45933E-04
   4  Prefactor     1.4504        .10010        .60262E-01   -.80058E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.61157
  Normalizat = 0.699819
  Prefactor  = 1.45036
 **********
 **   18 **HESSE 
 **********

 FCN=   3356.454     FROM HESSE     STATUS=OK            31 CALLS      274 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6116        6.2496        .50000       -.49802    
   3  Normalizat    .69982        .26066        .28971E-03   -1.0390    
   4  Prefactor     1.4504        .33389        .26647E-03   -.78940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99433e-11
Minuit parameter uncertainties:
  1  0.000175907
  2  5.6455
  3  0.261119
  4  0.33439
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532944': 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) = 3356.45392437
delta logL = -4.58803697256e-08

Extracting fit parameters...

4FGL J1324.9+4748
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.759e-04  1.000e-04  1.000e+04 ( 1.000e-13)
348        Index:  2.612e+00  5.646e+00  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  6.942e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
668    Prefactor:  1.450e+00  3.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
669        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
670        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
667   Normalization:  6.998e-01  2.611e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 201.240 47.809

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/532944/cmap_HighResolution_258249601_258508801_4FGL_J1324.9+4748_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2021-09-07 15:27:33.341530', job_id='532944', GAL2='1.45', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1631053653.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.45', dlogl='-4.59e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='73' AND source_name='4FGL J1324.9+4748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 15:27:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 532944: <4FGL_J1324.9+4748_daily_bin73> in cluster <slac> Done

Job <4FGL_J1324.9+4748_daily_bin73> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 15:11:09 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 15:13:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 15:13:22 2021
Terminated at Tue Sep  7 15:27:34 2021
Results reported at Tue Sep  7 15:27:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1324.9+4748_daily_bin73 201.24 47.8086 258249601 258508801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1324.9+4748 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   685.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            985 sec.

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

