/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 200 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 = 7395
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin432
RA = 201.73, Dec = 22.1732
tmin = 351302401, tmax = 351561601
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='588869', job_status='RUN', time_executed='2021-09-07 18:24:44.815066', time_epoch_executed='1631064284.82' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588869

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588869/ft1_4FGL_J1326.9+2210_daily_bin432.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588869/ft1_4FGL_J1326.9+2210_daily_bin432.fits outfile=/scratch/kocevski/588869/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin432.fits ra=201.73 dec=22.1732 rad=12.0 tmin=351302401.0 tmax=351561601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.44
user 3.21
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.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/588869/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin432.fits evtable="EVENTS" outfile="/scratch/kocevski/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.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.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.fits" evtable="EVENTS" scfile=/scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits sctable="SC_DATA" outfile=/scratch/kocevski/588869/ltcube_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.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/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits
.....................!
real 14.03
user 13.67
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits sctable="SC_DATA" expcube=/scratch/kocevski/588869/ltcube_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.fits outfile=/scratch/kocevski/588869/expmap_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.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/588869/ltcube_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.fits
.....................!
real 190.65
user 186.03
sys 4.14

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

Setting source of interest to:
4FGL J1326.9+2210 @ 201.73 22.1732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.fits scfile=/scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits outfile=/scratch/kocevski/588869/cmap_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.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.73 yref=22.1732 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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.fits scfile=/scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits outfile=/scratch/kocevski/588869/cmap_HighResolution_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.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.73 yref=22.1732 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588869/Model_4FGL_J1326.9+2210_daily_bin432.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/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.fits.....................!
real 54.37
user 52.91
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.fits', '/scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits', expMap='/scratch/kocevski/588869/expmap_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.fits', expCube='/scratch/kocevski/588869/ltcube_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/588869/Model_4FGL_J1326.9+2210_daily_bin432.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1326.9+2210'

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  7.707e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/588869/ft1_filtered_4FGL_J1326.9+2210_daily_bin432.fits
Spacecraft file(s): /scratch/kocevski/588869/ft2_4FGL_J1326.9+2210_daily_bin432.fits
Exposure map: /scratch/kocevski/588869/expmap_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.fits
Exposure cube: /scratch/kocevski/588869/ltcube_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/588869/Model_4FGL_J1326.9+2210_daily_bin432.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) = 6581.79265571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4051       1.0000         .10000E-03   10000.    
     3 'norm      '    10.849       1.0000         .10000E-03   10000.    
     4 'norm      '    .32922       1.0000         .10000E-03   10000.    
     5 'norm      '    9.8810       1.0000         .10000E-03   10000.    
     6 'norm      '    21.294       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.9487       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.614       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1506       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12859E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .34583       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6119       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2739       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92782       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6581.789     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     1766 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.809         .0000    ** at limit **
   2  Prefactor     2.4058        8.5729         .0000        .68609E-02
   3  norm          10.850        5.0933         .0000       -.19743E-03
   4  norm          .27873        2.5800         .0000        .65534E-03
   5  norm          9.9511        7.4708         .0000        .60369E-04
   6  norm          21.294        18.909         .0000       -.53250E-04
   7  Prefactor     .10000E-03    8.5281         .0000    ** at limit **
   8  norm          6.9489        6.6033         .0000       -.43824E-03
   9  Prefactor     39.611        31.707         .0000        .13316E-02
  10  norm          4.1504        8.8763         .0000        .58770E-02
  11  Prefactor     .10000E-03    6.4833         .0000    ** at limit **
  12  Prefactor     .10000E-03    5.4726         .0000    ** at limit **
  13  Prefactor     .10000E-03    89.210         .0000    ** at limit **
  14  Prefactor     .34601        1.8865         .0000        .20266E-02
  15  Prefactor     .10000E-03    9.4643         .0000    ** at limit **
  16  Prefactor     1.6130        13.246         .0000        .96530E-02
  17  Normalizat    1.2740        .17539         .0000        .13783E-04
  18  Prefactor     .92766        .16854         .0000        .18866E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.40579
  norm       = 10.8504
  norm       = 0.278725
  norm       = 9.95115
  norm       = 21.2941
  Prefactor  = 0.0001
  norm       = 6.94885
  Prefactor  = 39.6111
  norm       = 4.15039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.346011
  Prefactor  = 0.0001
  Prefactor  = 1.61299
  Normalizat = 1.27404
  Prefactor  = 0.927661
 **********
 **   18 **HESSE 
 **********

 FCN=   6581.789     FROM HESSE     STATUS=OK           248 CALLS     2014 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.274        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4058        8.5553        .13200E-02   -1.5398    
   3  norm          10.850        5.0956        .11953E-03   -1.5049    
   4  norm          .27873        35.175        .19989E-02   -1.5602    
   5  norm          9.9511        13.245        .12748E-03   -1.5077    
   6  norm          21.294        18.907        .86799E-04   -1.4785    
   7  Prefactor     .10000E-03    8.6187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.9489        6.5608        .15219E-03   -1.5181    
   9  Prefactor     39.611        31.708        .63684E-04   -1.4448    
  10  norm          4.1504        8.8194        .98922E-03   -1.5300    
  11  Prefactor     .10000E-03    6.5062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.4787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    89.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .34601        1.8134        .21637E-03   -1.5590    
  15  Prefactor     .10000E-03    9.5129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.6130        13.269        .16680E-02   -1.5454    
  17  Normalizat    1.2740        .20688        .23409E-03   -.84344    
  18  Prefactor     .92766        .19814        .26333E-03   -.95181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06422e-09
Minuit parameter uncertainties:
  1  1.26182e-06
  2  8.55968
  3  5.09577
  4  6.26493
  5  13.2486
  6  18.9125
  7  5.30538e-06
  8  6.56144
  9  31.722
  10  8.82212
  11  1.19317e-06
  12  3.86347e-07
  13  0.000151211
  14  1.58411
  15  5.43364e-06
  16  9.25524
  17  0.207013
  18  0.198297
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  4.150e+00  8.822e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  9.277e-01  1.983e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.274e+00  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.31
Ra Dec: 201.730 22.173
Photon Flux Upper Limit: 9.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588869/likelihoodResults_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.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) = 6581.61275513
delta logL = 0.175859889358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6581.60494463
delta logL = 0.183670390775

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6581.605     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      249 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7534        8.1709        .96319E-03   -.70862E-03
   2  alpha         3.1471        1.4701        .25366E-01   -.47468E-04
   3  Normalizat    1.2509        .20613        .23586E-03   -.57994E-03
   4  Prefactor     .94021        .19835        .26173E-03   -.97951E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.75344
  alpha      = 3.14707
  Normalizat = 1.2509
  Prefactor  = 0.940206
 **********
 **   18 **HESSE 
 **********

 FCN=   6581.605     FROM HESSE     STATUS=OK            25 CALLS      274 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7534        6.6201        .38528E-04   -1.5320    
   2  alpha         3.1471        1.2201        .10146E-02    .26181    
   3  Normalizat    1.2509        .20646        .47172E-04   -.85044    
   4  Prefactor     .94021        .19840        .10469E-04   -.94750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08318e-09
Minuit parameter uncertainties:
  1  6.62135
  2  1.2791
  3  0.206596
  4  0.198549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588869': 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) = 6581.6049435
delta logL = 0.183671520056

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  3.753e+00  6.621e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  3.147e+00  1.279e+00  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  9.402e-01  1.985e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.251e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.31
Ra Dec: 201.730 22.173

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/588869/cmap_HighResolution_351302401_351561601_4FGL_J1326.9+2210_daily_bin432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-05', job_status='DONE', photon_flux_upper_limit='9.19e-08', time_completed='2021-09-07 18:34:14.571732', job_id='588869', GAL2='0.94', fit_tolerance='1e-08', EG2='1.25', EG='1.27', time_epoch_completed='1631064854.57', return_code2='0', ts='0.31', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.84e-01', ts2='0.69', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='432' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:34:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 588869: <4FGL_J1326.9+2210_daily_bin432> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin432> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep  7 18:20:50 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:21:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 18:21:16 2021
Terminated at Tue Sep  7 18:34:15 2021
Results reported at Tue Sep  7 18:34:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin432 201.73 22.1732 351302401 351561601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1326.9+2210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   569.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            805 sec.

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

