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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin620
RA = 230.545, Dec = 31.7395
tmin = 400032001, tmax = 400291201
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='509687', job_status='RUN', time_executed='2021-09-12 02:15:42.441782', time_epoch_executed='1631438142.44' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/509687

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/509687/ft1_4FGL_J1522.1+3144_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/509687/ft2_4FGL_J1522.1+3144_daily_bin620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/509687/ft1_4FGL_J1522.1+3144_daily_bin620.fits outfile=/scratch/kocevski/509687/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin620.fits ra=230.545 dec=31.7395 rad=12.0 tmin=400032001.0 tmax=400291201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.33
user 4.11
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/509687/ft2_4FGL_J1522.1+3144_daily_bin620.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/509687/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin620.fits evtable="EVENTS" outfile="/scratch/kocevski/509687/ft1_filtered_4FGL_J1522.1+3144_daily_bin620.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/509687/ft1_filtered_4FGL_J1522.1+3144_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/509687/ft2_4FGL_J1522.1+3144_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/509687/ltcube_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.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/509687/ft2_4FGL_J1522.1+3144_daily_bin620.fits
.....................!
real 11.58
user 11.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/509687/ft1_filtered_4FGL_J1522.1+3144_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/509687/ft2_4FGL_J1522.1+3144_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/509687/ltcube_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.fits outfile=/scratch/kocevski/509687/expmap_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.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/509687/ltcube_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.fits
.....................!
real 190.24
user 185.01
sys 4.92

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/509687/ft1_filtered_4FGL_J1522.1+3144_daily_bin620.fits scfile=/scratch/kocevski/509687/ft2_4FGL_J1522.1+3144_daily_bin620.fits outfile=/scratch/kocevski/509687/cmap_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/509687/ft1_filtered_4FGL_J1522.1+3144_daily_bin620.fits scfile=/scratch/kocevski/509687/ft2_4FGL_J1522.1+3144_daily_bin620.fits outfile=/scratch/kocevski/509687/cmap_HighResolution_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.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.53
user 0.36
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/509687/ft1_filtered_4FGL_J1522.1+3144_daily_bin620.fits', '/scratch/kocevski/509687/ft2_4FGL_J1522.1+3144_daily_bin620.fits', expMap='/scratch/kocevski/509687/expmap_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.fits', expCube='/scratch/kocevski/509687/ltcube_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/509687/Model_4FGL_J1522.1+3144_daily_bin620.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/509687/ft1_filtered_4FGL_J1522.1+3144_daily_bin620.fits
Spacecraft file(s): /scratch/kocevski/509687/ft2_4FGL_J1522.1+3144_daily_bin620.fits
Exposure map: /scratch/kocevski/509687/expmap_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.fits
Exposure cube: /scratch/kocevski/509687/ltcube_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/509687/Model_4FGL_J1522.1+3144_daily_bin620.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) = 7170.57448429

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    44.055       1.0000         .10000E-03   10000.    
     3 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.324       1.0000         .10000E-03   10000.    
     5 'norm      '    14.021       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.414       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12565E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10517E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .86312       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.417       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.2799       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.402       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.8535       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .55813E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2058       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91428       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=   7170.568     FROM MIGRAD    STATUS=CONVERGED    568 CALLS     2771 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7812       -.17536E-07** at limit **
   2  Prefactor     44.047        39.840       -.78916E-06   -.80229E-04
   3  norm          .10000E-03    4.2115        .21481E-07** at limit **
   4  Prefactor     21.303        29.730       -.21696E-05   -.19183E-03
   5  norm          14.021        9.6026       -.23641E-07   -.73611E-05
   6  Prefactor     11.399        15.723        .29311E-06    .37873E-04
   7  Prefactor     .10000E-03    5.1788        .61095E-07** at limit **
   8  Prefactor     .10002E-03    4.7466        .93263E-06** at limit **
   9  norm          .10000E-03    .81701        .40855E-07** at limit **
  10  Prefactor     .10000E-03    30.446       -.12404E-06** at limit **
  11  Prefactor     .86415        4.4143        .24362E-05   -.58936E-04
  12  Prefactor     13.415        14.491        .34595E-07    .31328E-05
  13  Prefactor     .10000E-03    6.6167        .23497E-07** at limit **
  14  norm          4.2796        1.3971       -.12761E-07   -.95209E-04
  15  Prefactor     10.402        7.6565        .77935E-08   -.20742E-04
  16  Prefactor     .10000E-03    15.328       -.17380E-06** at limit **
  17  Prefactor     .10000E-03    7.7792        .17997E-07** at limit **
  18  norm          9.8547        12.867        .72292E-07   -.82168E-06
  19  Prefactor     .10000E-03    .86478        .19713E-07** at limit **
  20  Prefactor     .10000E-03    19.711       -.29742E-06** at limit **
  21  Prefactor     .10000E-03    4.5893        .21390E-07** at limit **
  22  Prefactor     .48871E-01    1.5063        .22442E-06   -.35783E-03
  23  Normalizat    1.2061        .17793        .65433E-06   -.23003E-03
  24  Prefactor     .91401        .14187       -.85964E-06   -.12328E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 44.0474
  norm       = 0.0001
  Prefactor  = 21.3031
  norm       = 14.0206
  Prefactor  = 11.3991
  Prefactor  = 0.000100005
  Prefactor  = 0.000100019
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.864148
  Prefactor  = 13.4146
  Prefactor  = 0.0001
  norm       = 4.27962
  Prefactor  = 10.4017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.85467
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0488711
  Normalizat = 1.20609
  Prefactor  = 0.914006
 **********
 **   18 **HESSE 
 **********

 FCN=   7170.568     FROM HESSE     STATUS=OK           407 CALLS     3178 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7881        .11035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     44.047        40.129        .60402E-04   -1.4380    
   3  norm          .10000E-03    4.3835        .33928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.303        31.365        .86738E-04   -1.4785    
   5  norm          14.021        9.5992        .10697E-03   -1.4959    
   6  Prefactor     11.399        15.850        .11858E-03   -1.5033    
   7  Prefactor     .10000E-03    6.1887        .57243E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    17.649        .34092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.1574        .14419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    30.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .86415        4.6696        .35857E-03   -1.5522    
  12  Prefactor     13.415        14.505        .10935E-03   -1.4975    
  13  Prefactor     .10000E-03    6.6310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.2796        1.4010        .52108E-04   -1.5294    
  15  Prefactor     10.402        7.6707        .12423E-03   -1.5063    
  16  Prefactor     .10000E-03    15.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.7816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.8547        12.876        .12766E-03   -1.5080    
  19  Prefactor     .10000E-03    .87543        .76856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.5990        .17717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .48871E-01    43.723        .19835E-02   -1.5664    
  23  Normalizat    1.2061        .21057        .24578E-03   -.86415    
  24  Prefactor     .91401        .16600        .23258E-03   -.95653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95668e-09
Minuit parameter uncertainties:
  1  1.04819e-07
  2  40.1532
  3  3.47649e-06
  4  31.3893
  5  9.60027
  6  15.8557
  7  0.000343752
  8  0.00114583
  9  1.21286e-05
  10  3.53728e-05
  11  4.01784
  12  14.5093
  13  5.31705e-07
  14  1.40101
  15  7.67138
  16  2.90701e-05
  17  2.20001e-08
  18  12.8798
  19  2.86807e-07
  20  6.07912e-05
  21  7.51388e-07
  22  2.92269
  23  0.210714
  24  0.166092
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  4.280e+00  1.401e+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

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.140e-01  1.661e-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:  1.206e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.97
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 4.57e-08
Energy Flux (Fixed Index): 4.40e-05 +/- 1.44e-05

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) = 7169.80520957
delta logL = 0.763074982127

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7169.80444777
delta logL = 0.763836780702

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.3491       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9700       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2487       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89213       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=   7169.804     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      200 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3491        1.4921        .48287E-02    .69616E-02
   2  alpha         1.9701        .29670        .23107       -.84313E-05
   3  Normalizat    1.2487        .16701        .54831E-01    .14088E-04
   4  Prefactor     .89214        .13883        .44905E-01    .77657E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.34912
  alpha      = 1.97008
  Normalizat = 1.24866
  Prefactor  = 0.892144
 **********
 **   18 **HESSE 
 **********

 FCN=   7169.804     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3491        1.4856        .56325E-04   -1.5291    
   2  alpha         1.9701        .31537        .95600E-02   -.21359    
   3  Normalizat    1.2487        .19733        .24245E-03   -.85112    
   4  Prefactor     .89214        .16321        .23511E-03   -.96416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47417e-09
Minuit parameter uncertainties:
  1  1.48564
  2  0.316254
  3  0.197446
  4  0.163297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/509687': 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) = 7169.80444776
delta logL = 0.763836793549

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  4.349e+00  1.486e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  1.970e+00  3.163e-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:  8.921e-01  1.633e-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:  1.249e+00  1.974e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.65
Ra Dec: 230.545 31.739
Photon Index (Free Index): 1.97 +/- 0.32
Photon Flux (Free Index): 1.04e-07 +/- 4.55e-08
Energy Flux (Free Index): 5.65e-05 +/- 2.40e-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/509687/cmap_HighResolution_400032001_400291201_4FGL_J1522.1+3144_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='5.65e-05', photon_flux_error='4.57e-08', dlogl='7.64e-01', energy_flux='4.40e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-12 02:26:45.725333', photon_index_error2='0.32', photon_index2='1.97', ts='29.97', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.21', time_epoch_completed='1631438805.73', return_code='0', job_id='509687', GAL2='0.89', EG2='1.25', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='4.55e-08', ts2='31.65', photon_index='2.37' WHERE bin_id='620' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:26:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 509687: <4FGL_J1522.1+3144_daily_bin620> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin620> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 02:15:24 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:15:25 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:15:25 2021
Terminated at Sun Sep 12 02:26:46 2021
Results reported at Sun Sep 12 02:26:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin620 230.545 31.7395 400032001 400291201 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 :                                   660.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            682 sec.

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

