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


Performing analysis on: 4FGL_J1326.9+2210_daily_bin234
RA = 201.73, Dec = 22.1732
tmin = 299980801, tmax = 300240001
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='587293', job_status='RUN', time_executed='2021-09-07 18:18:02.043904', time_epoch_executed='1631063882.04' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='234'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587293

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587293/ft1_4FGL_J1326.9+2210_daily_bin234.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587293/ft2_4FGL_J1326.9+2210_daily_bin234.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587293/ft1_4FGL_J1326.9+2210_daily_bin234.fits outfile=/scratch/kocevski/587293/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin234.fits ra=201.73 dec=22.1732 rad=12.0 tmin=299980801.0 tmax=300240001.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.49
user 3.23
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/587293/ft2_4FGL_J1326.9+2210_daily_bin234.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/587293/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin234.fits evtable="EVENTS" outfile="/scratch/kocevski/587293/ft1_filtered_4FGL_J1326.9+2210_daily_bin234.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/587293/ft1_filtered_4FGL_J1326.9+2210_daily_bin234.fits" evtable="EVENTS" scfile=/scratch/kocevski/587293/ft2_4FGL_J1326.9+2210_daily_bin234.fits sctable="SC_DATA" outfile=/scratch/kocevski/587293/ltcube_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.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/587293/ft2_4FGL_J1326.9+2210_daily_bin234.fits
.....................!
real 16.65
user 16.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587293/ft1_filtered_4FGL_J1326.9+2210_daily_bin234.fits evtable="EVENTS" scfile=/scratch/kocevski/587293/ft2_4FGL_J1326.9+2210_daily_bin234.fits sctable="SC_DATA" expcube=/scratch/kocevski/587293/ltcube_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.fits outfile=/scratch/kocevski/587293/expmap_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.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/587293/ltcube_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.fits
.....................!
real 194.15
user 188.85
sys 4.81

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/587293/ft1_filtered_4FGL_J1326.9+2210_daily_bin234.fits scfile=/scratch/kocevski/587293/ft2_4FGL_J1326.9+2210_daily_bin234.fits outfile=/scratch/kocevski/587293/cmap_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/587293/ft1_filtered_4FGL_J1326.9+2210_daily_bin234.fits scfile=/scratch/kocevski/587293/ft2_4FGL_J1326.9+2210_daily_bin234.fits outfile=/scratch/kocevski/587293/cmap_HighResolution_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.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.58
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/587293/ft1_filtered_4FGL_J1326.9+2210_daily_bin234.fits', '/scratch/kocevski/587293/ft2_4FGL_J1326.9+2210_daily_bin234.fits', expMap='/scratch/kocevski/587293/expmap_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.fits', expCube='/scratch/kocevski/587293/ltcube_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/587293/Model_4FGL_J1326.9+2210_daily_bin234.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/587293/ft1_filtered_4FGL_J1326.9+2210_daily_bin234.fits
Spacecraft file(s): /scratch/kocevski/587293/ft2_4FGL_J1326.9+2210_daily_bin234.fits
Exposure map: /scratch/kocevski/587293/expmap_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.fits
Exposure cube: /scratch/kocevski/587293/ltcube_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/587293/Model_4FGL_J1326.9+2210_daily_bin234.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) = 6089.5139468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5957       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .94396E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.6939       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.122       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8384       1.0000         .10000E-03   10000.    
     8 'norm      '    5.5886       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.8821       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.444       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.410       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3961       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .59006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3653       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86961       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.

 FCN=   6089.481     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1561 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6014        9.0002        .83592E-06    .19315E-03
   2  Prefactor     .38212        12.135        .52290E-06   -.53288E-04
   3  norm          .10000E-03    2.0365        .76864E-07** at limit **
   4  norm          4.6962        3.8087        .19596E-05    .11200E-02
   5  norm          .10000E-03    4.3678       -.79070E-06** at limit **
   6  norm          12.125        12.342        .12595E-06    .10348E-03
   7  Prefactor     2.8421        9.4185        .11972E-06    .77893E-04
   8  norm          5.5901        5.2014        .77164E-07    .80779E-04
   9  Prefactor     .10000E-03    20.898       -.61315E-07** at limit **
  10  norm          3.8860        6.6297        .60274E-06    .15611E-03
  11  Prefactor     .10000E-03    4.9023        .10178E-06** at limit **
  12  Prefactor     42.453        19.005        .67027E-06    .73306E-03
  13  Prefactor     39.420        33.217        .64383E-06    .16263E-03
  14  Prefactor     3.3995        3.9402        .33518E-06    .65121E-04
  15  Prefactor     .83610E-03    14.179        .43226E-05** at limit **
  16  Prefactor     .10000E-03    10.716       -.17737E-06** at limit **
  17  Normalizat    1.3647        .18837       -.14671E-05   -.27841E-03
  18  Prefactor     .86976        .17696        .82289E-06   -.37048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.6014
  Prefactor  = 0.382125
  norm       = 0.0001
  norm       = 4.69617
  norm       = 0.000100001
  norm       = 12.1251
  Prefactor  = 2.84208
  norm       = 5.59013
  Prefactor  = 0.0001
  norm       = 3.88604
  Prefactor  = 0.0001
  Prefactor  = 42.4535
  Prefactor  = 39.4195
  Prefactor  = 3.39955
  Prefactor  = 0.000836101
  Prefactor  = 0.0001
  Normalizat = 1.36467
  Prefactor  = 0.869755
 **********
 **   18 **HESSE 
 **********

 FCN=   6089.481     FROM HESSE     STATUS=OK           254 CALLS     1815 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6014        9.0050        .18776E-03   -1.5279    
   2  Prefactor     .38212        139.40        .50848E-02   -1.5584    
   3  norm          .10000E-03    2.0499        .10869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.6962        3.8246        .65830E-03   -1.5275    
   5  norm          .10000E-03    4.5157        .16102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.125        12.350        .11505E-03   -1.5011    
   7  Prefactor     2.8421        9.3911        .24136E-03   -1.5371    
   8  norm          5.5901        5.1889        .16126E-03   -1.5235    
   9  Prefactor     .10000E-03    20.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.8860        6.6059        .20479E-03   -1.5314    
  11  Prefactor     .10000E-03    4.9119        .16873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     42.453        19.349        .30767E-03   -1.4404    
  13  Prefactor     39.420        33.356        .63848E-04   -1.4451    
  14  Prefactor     3.3995        3.9401        .15967E-03   -1.5339    
  15  Prefactor     .83610E-03    20.145        .71632E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.026        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3647        .21878        .23031E-03   -.81656    
  18  Prefactor     .86976        .20568        .27233E-03   -.97206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66906e-08
Minuit parameter uncertainties:
  1  9.00763
  2  14.6295
  3  1.21725e-06
  4  3.82484
  5  0.000100418
  6  12.3523
  7  9.39601
  8  5.18933
  9  4.89948e-06
  10  6.60716
  11  2.09305e-06
  12  19.3522
  13  33.3715
  14  3.94036
  15  0.243629
  16  1.29904e-05
  17  0.218928
  18  0.205862
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  3.886e+00  6.607e+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:  8.698e-01  2.059e-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.365e+00  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/587293/likelihoodResults_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.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) = 6089.48060186
delta logL = 0.000627845317467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6089.4805352
delta logL = 0.000694500378813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8289       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4293       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87024       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=   6089.481     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      261 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8291        6.7373        .20626E-03   -.66710E-03
   2  alpha         2.4292        1.2325        .31994E-01   -.37858E-04
   3  Normalizat    1.3640        .21021        .23036E-03    .64731E-04
   4  Prefactor     .87020        .20358        .27227E-03    .61547E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.82913
  alpha      = 2.4292
  Normalizat = 1.36398
  Prefactor  = 0.870197
 **********
 **   18 **HESSE 
 **********

 FCN=   6089.481     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8291        6.5601        .82503E-05   -1.5317    
   2  alpha         2.4292        1.2029        .12798E-02   -.28324E-01
   3  Normalizat    1.3640        .21038        .46071E-04   -.81676    
   4  Prefactor     .87020        .20371        .10891E-04   -.97190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75498e-10
Minuit parameter uncertainties:
  1  6.56137
  2  1.25505
  3  0.210508
  4  0.20389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587293': 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) = 6089.48053517
delta logL = 0.000694535340699

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  3.829e+00  6.561e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.429e+00  1.255e+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:  8.702e-01  2.039e-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.364e+00  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
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/587293/cmap_HighResolution_299980801_300240001_4FGL_J1326.9+2210_daily_bin234.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', job_status='DONE', photon_flux_upper_limit='8.15e-08', time_completed='2021-09-07 18:27:14.555632', job_id='587293', GAL2='0.87', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1631064434.56', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.95e-04', ts2='0.47', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='234' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:27:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 587293: <4FGL_J1326.9+2210_daily_bin234> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin234> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep  7 18:15:19 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:15:31 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:15:31 2021
Terminated at Tue Sep  7 18:27:15 2021
Results reported at Tue Sep  7 18:27:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin234 201.73 22.1732 299980801 300240001 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 :                                   552.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            716 sec.

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

