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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1194
RA = 230.545, Dec = 31.7395
tmin = 548812801, tmax = 549072001
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='512040', job_status='RUN', time_executed='2021-09-12 02:24:25.130959', time_epoch_executed='1631438665.13' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1194'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/512040

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/512040/ft1_4FGL_J1522.1+3144_daily_bin1194.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/512040/ft1_4FGL_J1522.1+3144_daily_bin1194.fits outfile=/scratch/kocevski/512040/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1194.fits ra=230.545 dec=31.7395 rad=12.0 tmin=548812801.0 tmax=549072001.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 2.86
user 2.61
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.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/512040/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1194.fits evtable="EVENTS" outfile="/scratch/kocevski/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits" evtable="EVENTS" scfile=/scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits sctable="SC_DATA" outfile=/scratch/kocevski/512040/ltcube_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.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/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits
.....................!
real 12.44
user 12.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits evtable="EVENTS" scfile=/scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits sctable="SC_DATA" expcube=/scratch/kocevski/512040/ltcube_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.fits outfile=/scratch/kocevski/512040/expmap_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.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/512040/ltcube_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.fits
.....................!
real 190.26
user 185.51
sys 4.38

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

Setting source of interest to:
4FGL J1522.1+3144 @ 230.545 31.7395

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits scfile=/scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits outfile=/scratch/kocevski/512040/cmap_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.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=230.545 yref=31.7395 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.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits scfile=/scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits outfile=/scratch/kocevski/512040/cmap_HighResolution_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.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=230.545 yref=31.7395 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits evtable="EVENTS" scfile=/scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/512040/Model_4FGL_J1522.1+3144_daily_bin1194.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/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits.....................!
real 68.82
user 67.28
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits', '/scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits', expMap='/scratch/kocevski/512040/expmap_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.fits', expCube='/scratch/kocevski/512040/ltcube_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/512040/Model_4FGL_J1522.1+3144_daily_bin1194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1522.1+3144'

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  8.555e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.370e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.148e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/512040/ft1_filtered_4FGL_J1522.1+3144_daily_bin1194.fits
Spacecraft file(s): /scratch/kocevski/512040/ft2_4FGL_J1522.1+3144_daily_bin1194.fits
Exposure map: /scratch/kocevski/512040/expmap_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.fits
Exposure cube: /scratch/kocevski/512040/ltcube_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/512040/Model_4FGL_J1522.1+3144_daily_bin1194.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) = 9983.46019551

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.882       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.880       1.0000         .10000E-03   10000.    
     5 'norm      '    9.7509       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2133       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.3582       1.0000         .10000E-03   10000.    
     9 'norm      '    1.3849       1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.025       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.9816       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    55.258       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .78009       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.1623       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96095       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9983.456     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2674 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10012E-03    4.5298        .23444E-05** at limit **
   2  Prefactor     .10001E-03    17.493       -.35459E-05** at limit **
   3  norm          10.882        4.5661        .36845E-07   -.48423E-04
   4  Prefactor     23.880        25.999        .62674E-06   -.11336E-03
   5  norm          9.7510        6.3612       -.75623E-07   -.46986E-03
   6  Prefactor     .10000E-03    3.6878        .91179E-06** at limit **
   7  Prefactor     1.2140        5.2233        .38734E-05   -.40418E-03
   8  Prefactor     7.3578        7.0599        .10187E-06   -.28064E-04
   9  norm          1.3850        1.2836       -.56316E-06   -.13202E-02
  10  Prefactor     40.031        50.569        .26163E-05    .17324E-03
  11  Prefactor     .10000E-03    3.0477       -.12720E-06** at limit **
  12  Prefactor     .10000E-03    8.0821       -.16728E-05** at limit **
  13  Prefactor     .10000E-03    6.2601        .70899E-06** at limit **
  14  norm          2.9817        .94803       -.19450E-07   -.96757E-03
  15  Prefactor     .10000E-03    2.2850       -.29771E-07** at limit **
  16  Prefactor     55.257        28.197       -.14494E-06   -.76898E-04
  17  Prefactor     .10000E-03    6.9585        .38115E-08** at limit **
  18  norm          .10000E-03    7.0377       -.15581E-06** at limit **
  19  Prefactor     .78001        1.7090        .57269E-06   -.22254E-03
  20  Prefactor     .10000E-03    3.8841       -.11128E-05** at limit **
  21  Prefactor     .10000E-03    6.4469        .57268E-06** at limit **
  22  Prefactor     3.1623        2.5482        .10533E-06   -.80663E-04
  23  Normalizat    .96082        .14490       -.56171E-06   -.66987E-03
  24  Prefactor     1.0102        .11936       -.12607E-06   -.61738E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010012
  Prefactor  = 0.000100014
  norm       = 10.8823
  Prefactor  = 23.8801
  norm       = 9.75103
  Prefactor  = 0.000100001
  Prefactor  = 1.21399
  Prefactor  = 7.35778
  norm       = 1.38503
  Prefactor  = 40.0309
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100001
  norm       = 2.98166
  Prefactor  = 0.0001
  Prefactor  = 55.2574
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.780008
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.16228
  Normalizat = 0.960817
  Prefactor  = 1.01016
 **********
 **   18 **HESSE 
 **********

 FCN=   9983.456     FROM HESSE     STATUS=OK           393 CALLS     3067 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10012E-03    15.201        .34818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    18.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.882        4.5659        .12145E-03   -1.5048    
   4  Prefactor     23.880        26.177        .40986E-03   -1.4730    
   5  norm          9.7510        6.3230        .12833E-03   -1.5083    
   6  Prefactor     .10000E-03    3.7822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.2140        5.8231        .40461E-03   -1.5488    
   8  Prefactor     7.3578        7.0603        .14786E-03   -1.5165    
   9  norm          1.3850        1.2854        .36960E-04   -1.5473    
  10  Prefactor     40.031        51.275        .63358E-04   -1.4442    
  11  Prefactor     .10000E-03    3.0708        .17032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.3753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.3577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.9817        .94702        .52367E-04   -1.5363    
  15  Prefactor     .10000E-03    2.2932        .14734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     55.257        28.165        .53962E-04   -1.4220    
  17  Prefactor     .10000E-03    6.9740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7.0870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .78001        1.6777        .18613E-03   -1.5531    
  20  Prefactor     .10000E-03    4.0015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.5099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.1623        2.5438        .13848E-03   -1.5352    
  23  Normalizat    .96082        .16645        .26124E-03   -.94355    
  24  Prefactor     1.0102        .13819        .22023E-03   -.92392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02033e-08
Minuit parameter uncertainties:
  1  0.00269932
  2  0.00100551
  3  4.56609
  4  26.1893
  5  6.32348
  6  0.000111263
  7  5.31819
  8  7.06115
  9  1.28541
  10  51.3318
  11  1.1739e-05
  12  0.000306072
  13  0.000117696
  14  0.947028
  15  6.53466e-07
  16  28.1721
  17  1.2127e-06
  18  2.85215e-05
  19  1.67781
  20  0.000142893
  21  9.49315e-05
  22  2.54392
  23  0.166537
  24  0.138235
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  2.982e+00  9.470e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.370e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.148e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.010e+00  1.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  9.608e-01  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.71
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 9.73e-08 +/- 3.09e-08
Energy Flux (Fixed Index): 3.06e-05 +/- 9.73e-06

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) = 9983.20899227
delta logL = 0.247355672114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9983.18906669
delta logL = 0.267281258804

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9983.189     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      203 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0993        1.3331        .57587E-02    .90403E-04
   2  alpha         2.1500        .36851        .26013       -.27183E-05
   3  Normalizat    .97523        .13656        .45856E-01    .23257E-04
   4  Prefactor     1.0028        .11753        .44741E-01    .11633E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.09931
  alpha      = 2.14996
  Normalizat = 0.975225
  Prefactor  = 1.00275
 **********
 **   18 **HESSE 
 **********

 FCN=   9983.189     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0993        .99909        .54638E-04   -1.5356    
   2  alpha         2.1500        .29501        .10764E-01   -.14048    
   3  Normalizat    .97523        .15753        .25959E-03   -.93865    
   4  Prefactor     1.0028        .13525        .22095E-03   -.92638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92425e-12
Minuit parameter uncertainties:
  1  0.999096
  2  0.295716
  3  0.157607
  4  0.135294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/512040': 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) = 9983.18906668
delta logL = 0.267281264931

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  3.099e+00  9.991e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.150e+00  2.957e-01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.148e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.003e+00  1.353e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  9.752e-01  1.576e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.23
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.15 +/- 0.30
Photon Flux (Free Index): 8.41e-08 +/- 3.27e-08
Energy Flux (Free Index): 3.45e-05 +/- 1.30e-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/512040/cmap_HighResolution_548812801_549072001_4FGL_J1522.1+3144_daily_bin1194.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.73e-08', energy_flux2='3.45e-05', photon_flux_error='3.09e-08', dlogl='2.67e-01', energy_flux='3.06e-05', photon_flux2='8.41e-08', job_status='DONE', time_completed='2021-09-12 02:37:23.988576', photon_index_error2='0.30', photon_index2='2.15', ts='23.71', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='0.96', time_epoch_completed='1631439443.99', return_code='0', job_id='512040', GAL2='1.00', EG2='0.98', return_code2='0', energy_flux_error='9.73e-06', photon_flux_error2='3.27e-08', ts2='24.23', photon_index='2.37' WHERE bin_id='1194' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:37:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 512040: <4FGL_J1522.1+3144_daily_bin1194> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1194> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 02:21:01 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:21:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 02:21:02 2021
Terminated at Sun Sep 12 02:37:24 2021
Results reported at Sun Sep 12 02:37:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1194 230.545 31.7395 548812801 549072001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1522.1+3144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            983 sec.

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

