/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 89 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 = 7427
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1441
RA = 230.545, Dec = 31.7395
tmin = 612835201, tmax = 613094401
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='513542', job_status='RUN', time_executed='2021-09-12 02:27:30.957169', time_epoch_executed='1631438850.96' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513542

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513542/ft1_4FGL_J1522.1+3144_daily_bin1441.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513542/ft2_4FGL_J1522.1+3144_daily_bin1441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513542/ft1_4FGL_J1522.1+3144_daily_bin1441.fits outfile=/scratch/kocevski/513542/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1441.fits ra=230.545 dec=31.7395 rad=12.0 tmin=612835201.0 tmax=613094401.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.91
user 2.67
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513542/ft1_filtered_4FGL_J1522.1+3144_daily_bin1441.fits" evtable="EVENTS" scfile=/scratch/kocevski/513542/ft2_4FGL_J1522.1+3144_daily_bin1441.fits sctable="SC_DATA" outfile=/scratch/kocevski/513542/ltcube_612835201_613094401_4FGL_J1522.1+3144_daily_bin1441.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/513542/ft2_4FGL_J1522.1+3144_daily_bin1441.fits
.....................!
real 13.28
user 12.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513542/ft1_filtered_4FGL_J1522.1+3144_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/513542/ft2_4FGL_J1522.1+3144_daily_bin1441.fits sctable="SC_DATA" expcube=/scratch/kocevski/513542/ltcube_612835201_613094401_4FGL_J1522.1+3144_daily_bin1441.fits outfile=/scratch/kocevski/513542/expmap_612835201_613094401_4FGL_J1522.1+3144_daily_bin1441.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/513542/ltcube_612835201_613094401_4FGL_J1522.1+3144_daily_bin1441.fits
.....................!
real 191.72
user 185.78
sys 5.60

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/513542/ft1_filtered_4FGL_J1522.1+3144_daily_bin1441.fits scfile=/scratch/kocevski/513542/ft2_4FGL_J1522.1+3144_daily_bin1441.fits outfile=/scratch/kocevski/513542/cmap_612835201_613094401_4FGL_J1522.1+3144_daily_bin1441.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513542/ft1_filtered_4FGL_J1522.1+3144_daily_bin1441.fits scfile=/scratch/kocevski/513542/ft2_4FGL_J1522.1+3144_daily_bin1441.fits outfile=/scratch/kocevski/513542/cmap_HighResolution_612835201_613094401_4FGL_J1522.1+3144_daily_bin1441.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0163       1.0000         .10000E-03   10000.    
     4 'Prefactor '    84.234       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .64193E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2564       1.0000         .10000E-03   10000.    
     9 'norm      '    .92797       1.0000         .10000E-03   10000.    
    10 'Prefactor '    51.105       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2438       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12440E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.407       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0020       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1667       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8939       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.804       1.0000         .10000E-03   10000.    
    18 'norm      '    9.6433       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .76126       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.6826       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93582       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0252       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=   9685.333     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2735 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7685        .56425E-07** at limit **
   2  Prefactor     .10000E-03    9.4302        .11893E-06** at limit **
   3  norm          1.0155        2.3797       -.34375E-06    .81548E-05
   4  Prefactor     84.244        32.937        .48284E-06    .86239E-04
   5  norm          .10000E-03    1.5117       -.70912E-08** at limit **
   6  Prefactor     .10000E-03    45.861       -.17042E-04** at limit **
   7  Prefactor     .10000E-03    2.4449        .10235E-06** at limit **
   8  Prefactor     4.2551        9.3793       -.42157E-05    .23008E-03
   9  norm          .92836        .79817        .57664E-09    .55108E-03
  10  Prefactor     51.105        57.110       -.98063E-06   -.25895E-04
  11  Prefactor     3.2422        5.7378       -.46554E-07    .70647E-05
  12  Prefactor     .10000E-03    20.556        .11366E-06** at limit **
  13  Prefactor     14.407        12.394       -.16829E-05   -.81464E-03
  14  norm          1.0022        .67664       -.98623E-08    .22326E-03
  15  Prefactor     3.1670        3.3887       -.12578E-06   -.31023E-04
  16  Prefactor     8.8936        14.625       -.11669E-06   -.14005E-04
  17  Prefactor     15.806        14.405       -.35199E-07   -.56876E-04
  18  norm          9.6433        10.805       -.17111E-06   -.35304E-04
  19  Prefactor     .76066        1.9250       -.15397E-06    .50143E-03
  20  Prefactor     .10000E-03    12.944        .18042E-06** at limit **
  21  Prefactor     .10000E-03    3.6264        .99123E-07** at limit **
  22  Prefactor     6.6830        3.3994       -.14701E-06    .59238E-06
  23  Normalizat    .93552        .15248        .19592E-05    .12676E-03
  24  Prefactor     1.0255        .12365       -.10791E-05   -.20505E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.01553
  Prefactor  = 84.2441
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 4.25511
  norm       = 0.928357
  Prefactor  = 51.1049
  Prefactor  = 3.2422
  Prefactor  = 0.0001
  Prefactor  = 14.4066
  norm       = 1.00216
  Prefactor  = 3.16704
  Prefactor  = 8.89363
  Prefactor  = 15.8064
  norm       = 9.64332
  Prefactor  = 0.760659
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.68301
  Normalizat = 0.935517
  Prefactor  = 1.0255
 **********
 **   18 **HESSE 
 **********

 FCN=   9685.333     FROM HESSE     STATUS=OK           397 CALLS     3132 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7910        .12778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.4330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0155        2.3265        .22539E-03   -1.5506    
   4  Prefactor     84.244        33.061        .43768E-04   -1.3870    
   5  norm          .10000E-03    1.5123        .11816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    45.158        .42264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4630        .15014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2551        9.4729        .97649E-03   -1.5295    
   9  norm          .92836        .79472        .77108E-04   -1.5515    
  10  Prefactor     51.105        57.030        .56100E-04   -1.4277    
  11  Prefactor     3.2422        5.7283        .22489E-03   -1.5348    
  12  Prefactor     .10000E-03    20.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.407        12.621        .10552E-03   -1.4949    
  14  norm          1.0022        .66204        .63307E-04   -1.5508    
  15  Prefactor     3.1670        3.3823        .17983E-03   -1.5352    
  16  Prefactor     8.8936        14.612        .13440E-03   -1.5111    
  17  Prefactor     15.806        14.417        .10075E-03   -1.4913    
  18  norm          9.6433        10.807        .12905E-03   -1.5087    
  19  Prefactor     .76066        1.9229        .20621E-03   -1.5534    
  20  Prefactor     .10000E-03    13.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.6316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.6830        3.3988        .12436E-03   -1.5191    
  23  Normalizat    .93552        .17507        .26592E-03   -.95223    
  24  Prefactor     1.0255        .14529        .21903E-03   -.91884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50996e-09
Minuit parameter uncertainties:
  1  4.06042e-06
  2  4.85003e-06
  3  2.32674
  4  33.0685
  5  2.26515e-06
  6  0.000648734
  7  1.08016e-05
  8  9.47619
  9  0.79473
  10  57.0914
  11  5.72929
  12  0.00012911
  13  12.6237
  14  0.662043
  15  3.38255
  16  14.6174
  17  14.4202
  18  10.809
  19  1.92301
  20  0.000139503
  21  9.6539e-06
  22  3.39895
  23  0.175181
  24  0.145344
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.002e+00  6.620e-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.025e+00  1.453e-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.355e-01  1.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.69
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.27e-08 +/- 2.16e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 6.80e-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) = 9685.15608339
delta logL = 0.176794603331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9685.15368237
delta logL = 0.179195622339

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96790       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0072       1.0000          .0000       5.0000    
     3 'Normalizat'    .94631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0203       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=   9685.154     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      198 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96787        1.0476        .13052E-01   -.11076E-02
   2  alpha         2.0072        .72776        .42210       -.23031E-04
   3  Normalizat    .94631        .14156        .45491E-01    .40300E-03
   4  Prefactor     1.0203        .12188        .42114E-01    .75722E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.967866
  alpha      = 2.0072
  Normalizat = 0.946306
  Prefactor  = 1.02028
 **********
 **   18 **HESSE 
 **********

 FCN=   9685.154     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96787        .68758        .64356E-04   -1.5511    
   2  alpha         2.0072        .58237        .18228E-01   -.19842    
   3  Normalizat    .94631        .16316        .26457E-03   -.94852    
   4  Prefactor     1.0203        .14011        .21954E-03   -.92057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44843e-09
Minuit parameter uncertainties:
  1  0.687589
  2  0.587996
  3  0.16325
  4  0.140161
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513542': 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) = 9685.15368237
delta logL = 0.179195625968

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  9.679e-01  6.876e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.007e+00  5.880e-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.020e+00  1.402e-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.463e-01  1.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.05
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.01 +/- 0.59
Photon Flux (Free Index): 2.37e-08 +/- 2.15e-08
Energy Flux (Free Index): 1.21e-05 +/- 9.45e-06

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/513542/cmap_HighResolution_612835201_613094401_4FGL_J1522.1+3144_daily_bin1441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.27e-08', energy_flux2='1.21e-05', photon_flux_error='2.16e-08', dlogl='1.79e-01', energy_flux='1.03e-05', photon_flux2='2.37e-08', job_status='DONE', time_completed='2021-09-12 02:42:02.261004', photon_index_error2='0.59', photon_index2='2.01', ts='5.69', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='9.45e-06', EG='0.94', time_epoch_completed='1631439722.26', return_code='0', job_id='513542', GAL2='1.02', EG2='0.95', return_code2='0', energy_flux_error='6.80e-06', photon_flux_error2='2.15e-08', ts2='6.05', photon_index='2.37' WHERE bin_id='1441' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:42:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 513542: <4FGL_J1522.1+3144_daily_bin1441> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1441 230.545 31.7395 612835201 613094401 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 :                                   766.20 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

