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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1440
RA = 230.545, Dec = 31.7395
tmin = 612576001, tmax = 612835201
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='513541', job_status='RUN', time_executed='2021-09-12 02:27:37.189209', time_epoch_executed='1631438857.19' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513541

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513541/ft1_4FGL_J1522.1+3144_daily_bin1440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513541/ft2_4FGL_J1522.1+3144_daily_bin1440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513541/ft1_4FGL_J1522.1+3144_daily_bin1440.fits outfile=/scratch/kocevski/513541/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1440.fits ra=230.545 dec=31.7395 rad=12.0 tmin=612576001.0 tmax=612835201.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.77
user 2.55
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/513541/ft2_4FGL_J1522.1+3144_daily_bin1440.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/513541/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1440.fits evtable="EVENTS" outfile="/scratch/kocevski/513541/ft1_filtered_4FGL_J1522.1+3144_daily_bin1440.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513541/ft1_filtered_4FGL_J1522.1+3144_daily_bin1440.fits" evtable="EVENTS" scfile=/scratch/kocevski/513541/ft2_4FGL_J1522.1+3144_daily_bin1440.fits sctable="SC_DATA" outfile=/scratch/kocevski/513541/ltcube_612576001_612835201_4FGL_J1522.1+3144_daily_bin1440.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/513541/ft2_4FGL_J1522.1+3144_daily_bin1440.fits
.....................!
real 12.67
user 12.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513541/ft1_filtered_4FGL_J1522.1+3144_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/513541/ft2_4FGL_J1522.1+3144_daily_bin1440.fits sctable="SC_DATA" expcube=/scratch/kocevski/513541/ltcube_612576001_612835201_4FGL_J1522.1+3144_daily_bin1440.fits outfile=/scratch/kocevski/513541/expmap_612576001_612835201_4FGL_J1522.1+3144_daily_bin1440.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/513541/ltcube_612576001_612835201_4FGL_J1522.1+3144_daily_bin1440.fits
.....................!
real 191.84
user 186.38
sys 5.14

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/513541/ft1_filtered_4FGL_J1522.1+3144_daily_bin1440.fits scfile=/scratch/kocevski/513541/ft2_4FGL_J1522.1+3144_daily_bin1440.fits outfile=/scratch/kocevski/513541/cmap_612576001_612835201_4FGL_J1522.1+3144_daily_bin1440.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513541/ft1_filtered_4FGL_J1522.1+3144_daily_bin1440.fits scfile=/scratch/kocevski/513541/ft2_4FGL_J1522.1+3144_daily_bin1440.fits outfile=/scratch/kocevski/513541/cmap_HighResolution_612576001_612835201_4FGL_J1522.1+3144_daily_bin1440.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3688       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.5337       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10717E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.2196       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7460       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.2971       1.0000         .10000E-03   10000.    
    14 'norm      '    1.9454       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .57928E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6920       1.0000         .10000E-03   10000.    
    18 'norm      '    1.5718       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.3537       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .96097       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .85970       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0864       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=   10374.81     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2329 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3689        3.2055       -.11557E-05   -.58352E-03
   2  Prefactor     .10000E-03    13.046       -.38543E-05** at limit **
   3  norm          6.5334        3.1882        .31422E-06   -.21124E-02
   4  Prefactor     .10000E-03    50.422       -.25796E-05** at limit **
   5  norm          9.2197        5.2050        .10068E-06    .51207E-04
   6  Prefactor     .10000E-03    3.5836       -.14612E-06** at limit **
   7  Prefactor     .10000E-03    1.8732       -.18428E-07** at limit **
   8  Prefactor     .10000E-03    2.6472        .18274E-07** at limit **
   9  norm          1.7461        1.0076        .21434E-07    .46711E-05
  10  Prefactor     .10000E-03    11.677        .31099E-05** at limit **
  11  Prefactor     .10000E-03    4.2802        .48901E-06** at limit **
  12  Prefactor     .10000E-03    4.3437       -.54229E-06** at limit **
  13  Prefactor     7.2965        9.7024        .49765E-06   -.56263E-03
  14  norm          1.9468        .93567        .10100E-07    .18064E-02
  15  Prefactor     .10002E-03    4.8300       -.10869E-05** at limit **
  16  Prefactor     .10000E-03    24.199        .17665E-05** at limit **
  17  Prefactor     4.6916        9.6053       -.30047E-06   -.55143E-04
  18  norm          1.5723        7.8464       -.27649E-06   -.21423E-03
  19  Prefactor     .10000E-03    .74895        .59142E-07** at limit **
  20  Prefactor     .10000E-03    3.7634        .21120E-06** at limit **
  21  Prefactor     8.3537        8.6390        .95417E-07   -.18714E-03
  22  Prefactor     .96130        1.9247        .14310E-06   -.34617E-03
  23  Normalizat    .85966        .13436       -.10254E-06    .20547E-03
  24  Prefactor     1.0864        .11262       -.27743E-08    .20692E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.36887
  Prefactor  = 0.000100001
  norm       = 6.53342
  Prefactor  = 0.0001
  norm       = 9.2197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.74605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.29654
  norm       = 1.94684
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Prefactor  = 4.69165
  norm       = 1.57229
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.35371
  Prefactor  = 0.961301
  Normalizat = 0.859657
  Prefactor  = 1.08637
 **********
 **   18 **HESSE 
 **********

 FCN=   10374.81     FROM HESSE     STATUS=OK           399 CALLS     2728 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3689        3.2534        .17464E-03   -1.5341    
   2  Prefactor     .10000E-03    13.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.5334        4.2832        .78502E-03   -1.5197    
   4  Prefactor     .10000E-03    51.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.2197        5.2055        .13199E-03   -1.5101    
   6  Prefactor     .10000E-03    3.6003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8873        .13598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.6542        .16183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7461        1.0030        .74027E-04   -1.5444    
  10  Prefactor     .10000E-03    11.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.3410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2965        10.912        .74241E-03   -1.5168    
  14  norm          1.9468        .86409        .59793E-04   -1.5429    
  15  Prefactor     .10002E-03    13.802        .38202E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.6916        9.4483        .18578E-03   -1.5275    
  18  norm          1.5723        7.8018        .33904E-03   -1.5457    
  19  Prefactor     .10000E-03    1.3252        .17051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.7657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     8.3537        8.7076        .69352E-03   -1.5130    
  22  Prefactor     .96130        1.8965        .19546E-03   -1.5512    
  23  Normalizat    .85966        .15492        .26208E-03   -.97893    
  24  Prefactor     1.0864        .12949        .20516E-03   -.89903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67247e-09
Minuit parameter uncertainties:
  1  3.25353
  2  0.000175807
  3  4.28335
  4  0.00019642
  5  5.20579
  6  8.71627e-07
  7  8.82489e-07
  8  1.73957e-07
  9  1.00304
  10  0.000144628
  11  1.37365e-05
  12  1.53592e-05
  13  10.915
  14  0.864098
  15  0.000976177
  16  0.000149674
  17  9.45125
  18  7.00602
  19  1.06809e-06
  20  5.5492e-06
  21  8.70895
  22  1.89662
  23  0.154995
  24  0.129528
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.947e+00  8.641e-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.086e+00  1.295e-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:  8.597e-01  1.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.08
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.35e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 2.00e-05 +/- 8.88e-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) = 10374.6955673
delta logL = 0.114797672168

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10374.6895304
delta logL = 0.120834596019

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8948       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6129       1.0000          .0000       5.0000    
     3 'Normalizat'    .84131       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0954       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=   10374.69     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      196 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8949        10.727        .75556E-02    .12652E-02
   2  alpha         2.6129        3.7998        .39512        .74530E-04
   3  Normalizat    .84131        .60445E-01    .44147E-01    .14113E-03
   4  Prefactor     1.0954        .44535E-01    .37765E-01    .28354E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.89485
  alpha      = 2.61291
  Normalizat = 0.841307
  Prefactor  = 1.09537
 **********
 **   18 **HESSE 
 **********

 FCN=   10374.69     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8949        .84046        .54808E-04   -1.5433    
   2  alpha         2.6129        .49690        .14323E-01    .45179E-01
   3  Normalizat    .84131        .15183        .26458E-03   -.98554    
   4  Prefactor     1.0954        .12870        .20440E-03   -.89615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.48319e-11
Minuit parameter uncertainties:
  1  0.84047
  2  0.500235
  3  0.151906
  4  0.128736
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513541': 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) = 10374.6895304
delta logL = 0.120834598305

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.895e+00  8.405e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.613e+00  5.002e-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.095e+00  1.287e-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:  8.413e-01  1.519e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.35
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.61 +/- 0.50
Photon Flux (Free Index): 7.79e-08 +/- 4.15e-08
Energy Flux (Free Index): 1.98e-05 +/- 8.21e-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/513541/cmap_HighResolution_612576001_612835201_4FGL_J1522.1+3144_daily_bin1440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.35e-08', energy_flux2='1.98e-05', photon_flux_error='2.82e-08', dlogl='1.21e-01', energy_flux='2.00e-05', photon_flux2='7.79e-08', job_status='DONE', time_completed='2021-09-12 02:42:04.001209', photon_index_error2='0.50', photon_index2='2.61', ts='13.08', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='8.21e-06', EG='0.86', time_epoch_completed='1631439724.0', return_code='0', job_id='513541', GAL2='1.10', EG2='0.84', return_code2='0', energy_flux_error='8.88e-06', photon_flux_error2='4.15e-08', ts2='13.35', photon_index='2.37' WHERE bin_id='1440' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:42:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 513541: <4FGL_J1522.1+3144_daily_bin1440> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1440> 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) <bullet0082>, 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:04 2021
Results reported at Sun Sep 12 02:42:04 2021

Your job looked like:

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

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

