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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin256
RA = 230.545, Dec = 31.7395
tmin = 305683201, tmax = 305942401
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='506462', job_status='RUN', time_executed='2021-09-12 02:06:13.654049', time_epoch_executed='1631437573.65' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506462

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506462/ft1_4FGL_J1522.1+3144_daily_bin256.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506462/ft2_4FGL_J1522.1+3144_daily_bin256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506462/ft1_4FGL_J1522.1+3144_daily_bin256.fits outfile=/scratch/kocevski/506462/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin256.fits ra=230.545 dec=31.7395 rad=12.0 tmin=305683201.0 tmax=305942401.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.72
user 4.45
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506462/ft1_filtered_4FGL_J1522.1+3144_daily_bin256.fits evtable="EVENTS" scfile=/scratch/kocevski/506462/ft2_4FGL_J1522.1+3144_daily_bin256.fits sctable="SC_DATA" expcube=/scratch/kocevski/506462/ltcube_305683201_305942401_4FGL_J1522.1+3144_daily_bin256.fits outfile=/scratch/kocevski/506462/expmap_305683201_305942401_4FGL_J1522.1+3144_daily_bin256.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/506462/ltcube_305683201_305942401_4FGL_J1522.1+3144_daily_bin256.fits
.....................!
real 190.17
user 185.03
sys 4.59

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/506462/ft1_filtered_4FGL_J1522.1+3144_daily_bin256.fits scfile=/scratch/kocevski/506462/ft2_4FGL_J1522.1+3144_daily_bin256.fits outfile=/scratch/kocevski/506462/cmap_305683201_305942401_4FGL_J1522.1+3144_daily_bin256.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506462/ft1_filtered_4FGL_J1522.1+3144_daily_bin256.fits scfile=/scratch/kocevski/506462/ft2_4FGL_J1522.1+3144_daily_bin256.fits outfile=/scratch/kocevski/506462/cmap_HighResolution_305683201_305942401_4FGL_J1522.1+3144_daily_bin256.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.72
user 0.39
sys 0.32

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3074       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.005       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6546       1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.900       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .30938       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.9597       1.0000         .10000E-03   10000.    
    14 'norm      '    13.139       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.0741       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.325       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5980       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .91225       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98260       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=   6960.685     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2671 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3081        5.9470        .29933E-05   -.21845E-03
   2  Prefactor     .10000E-03    42.934        .16838E-09** at limit **
   3  norm          .10000E-03    1.1863       -.42237E-08** at limit **
   4  Prefactor     10.957        29.575       -.17131E-05   -.18553E-03
   5  norm          .10000E-03    5.3879       -.10556E-06** at limit **
   6  Prefactor     .10000E-03    6.3484       -.33389E-06** at limit **
   7  Prefactor     .10000E-03    2.8256        .11506E-07** at limit **
   8  Prefactor     2.6543        4.1743        .21011E-06   -.32353E-04
   9  norm          .10000E-03    .52799        .99238E-07** at limit **
  10  Prefactor     33.906        46.877        .10878E-06    .23289E-04
  11  Prefactor     .34701        7.4245        .10743E-05   -.24324E-03
  12  Prefactor     .10000E-03    10.642        .26762E-07** at limit **
  13  Prefactor     7.9641        13.621       -.79682E-07    .20070E-05
  14  norm          13.140        2.0331       -.19849E-07   -.34725E-03
  15  Prefactor     .10000E-03    3.6440        .58555E-07** at limit **
  16  Prefactor     .10000E-03    8.8940        .80844E-07** at limit **
  17  Prefactor     .10000E-03    8.6175        .12958E-06** at limit **
  18  norm          6.0737        11.042        .41287E-06   -.66770E-05
  19  Prefactor     .10000E-03    1.1932        .16832E-06** at limit **
  20  Prefactor     18.326        16.480        .12880E-07    .61970E-05
  21  Prefactor     .10000E-03    12.967        .33630E-06** at limit **
  22  Prefactor     2.5981        3.1479        .24067E-06   -.32841E-04
  23  Normalizat    .91203        .18070        .10480E-05   -.22762E-03
  24  Prefactor     .98278        .14223       -.17118E-05   -.78665E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.30812
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.9569
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.65434
  norm       = 0.0001
  Prefactor  = 33.9058
  Prefactor  = 0.347014
  Prefactor  = 0.0001
  Prefactor  = 7.96409
  norm       = 13.1398
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.07373
  Prefactor  = 0.0001
  Prefactor  = 18.3262
  Prefactor  = 0.0001
  Prefactor  = 2.59805
  Normalizat = 0.912027
  Prefactor  = 0.982778
 **********
 **   18 **HESSE 
 **********

 FCN=   6960.685     FROM HESSE     STATUS=OK           395 CALLS     3066 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3081        6.0197        .87229E-03   -1.5247    
   2  Prefactor     .10000E-03    43.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.1894        .88738E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.957        29.742        .12077E-03   -1.5046    
   5  norm          .10000E-03    5.4381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.3871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.8415        .13693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.6543        4.1593        .20804E-03   -1.5382    
   9  norm          .10000E-03    .54024        .11823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.906        46.906        .68825E-04   -1.4543    
  11  Prefactor     .34701        58.456        .41766E-02   -1.5590    
  12  Prefactor     .10000E-03    10.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.9641        13.632        .14212E-03   -1.5143    
  14  norm          13.140        2.0357        .44379E-04   -1.4983    
  15  Prefactor     .10000E-03    3.6522        .15543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.8954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.6186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.0737        11.026        .16291E-03   -1.5215    
  19  Prefactor     .10000E-03    1.2203        .88972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.326        16.483        .93561E-04   -1.4852    
  21  Prefactor     .10000E-03    13.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.5981        3.1393        .15732E-03   -1.5386    
  23  Normalizat    .91203        .20936        .27546E-03   -.96039    
  24  Prefactor     .98278        .16435        .21664E-03   -.93306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19548e-09
Minuit parameter uncertainties:
  1  6.02037
  2  6.4649e-06
  3  7.73683e-07
  4  29.7827
  5  1.15991e-05
  6  2.2039e-05
  7  5.11409e-06
  8  4.15979
  9  1.10202e-06
  10  46.9567
  11  9.01541
  12  3.79443e-05
  13  13.637
  14  2.03568
  15  7.85509e-07
  16  1.46605e-05
  17  1.5886e-05
  18  11.0294
  19  1.65203e-06
  20  16.4866
  21  2.32036e-05
  22  3.13948
  23  0.209543
  24  0.164431
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.314e+01  2.036e+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.828e-01  1.644e-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.120e-01  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 130.36
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 4.29e-07 +/- 6.64e-08
Energy Flux (Fixed Index): 1.35e-04 +/- 2.09e-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) = 6960.02859079
delta logL = 0.656479357836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6959.95938906
delta logL = 0.725681087427

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.958       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1686       1.0000          .0000       5.0000    
     3 'Normalizat'    .95424       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96020       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=   6959.959     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      200 TOTAL
                     EDM=   .82E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.958        2.4400        .26802E-02    .24624E-04
   2  alpha         2.1686        .17558        .11585        .91029E-05
   3  Normalizat    .95424        .17259        .45591E-01    .15148E-04
   4  Prefactor     .96021        .13860        .45768E-01    .25115E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 13.9579
  alpha      = 2.1686
  Normalizat = 0.954237
  Prefactor  = 0.960208
 **********
 **   18 **HESSE 
 **********

 FCN=   6959.959     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .85E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.958        2.2342        .46760E-04   -1.4961    
   2  alpha         2.1686        .16299        .50596E-03   -.13295    
   3  Normalizat    .95424        .20234        .27039E-03   -.94580    
   4  Prefactor     .96021        .16199        .21891E-03   -.94068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.45057e-14
Minuit parameter uncertainties:
  1  2.23424
  2  0.163111
  3  0.202505
  4  0.162072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506462': 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) = 6959.95938904
delta logL = 0.725681106665

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.396e+01  2.234e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.169e+00  1.631e-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:  9.602e-01  1.621e-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.542e-01  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 131.16
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.17 +/- 0.16
Photon Flux (Free Index): 3.84e-07 +/- 7.15e-08
Energy Flux (Free Index): 1.54e-04 +/- 3.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/506462/cmap_HighResolution_305683201_305942401_4FGL_J1522.1+3144_daily_bin256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.29e-07', energy_flux2='1.54e-04', photon_flux_error='6.64e-08', dlogl='7.26e-01', energy_flux='1.35e-04', photon_flux2='3.84e-07', job_status='DONE', time_completed='2021-09-12 02:16:56.953986', photon_index_error2='0.16', photon_index2='2.17', ts='130.36', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='3.06e-05', EG='0.91', time_epoch_completed='1631438216.95', return_code='0', job_id='506462', GAL2='0.96', EG2='0.95', return_code2='0', energy_flux_error='2.09e-05', photon_flux_error2='7.15e-08', ts2='131.16', photon_index='2.37' WHERE bin_id='256' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:16:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 506462: <4FGL_J1522.1+3144_daily_bin256> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin256> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 02:05:54 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:05:56 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:05:56 2021
Terminated at Sun Sep 12 02:16:57 2021
Results reported at Sun Sep 12 02:16:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin256 230.545 31.7395 305683201 305942401 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 :                                   637.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            663 sec.

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

