/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 4 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 = 7418
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1522.1+3144_daily_bin120
RA = 230.545, Dec = 31.7395
tmin = 270432001, tmax = 270691201
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='506242', job_status='RUN', time_executed='2021-09-12 02:05:49.842061', time_epoch_executed='1631437549.84' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506242

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506242/ft1_4FGL_J1522.1+3144_daily_bin120.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506242/ft2_4FGL_J1522.1+3144_daily_bin120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506242/ft1_4FGL_J1522.1+3144_daily_bin120.fits outfile=/scratch/kocevski/506242/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin120.fits ra=230.545 dec=31.7395 rad=12.0 tmin=270432001.0 tmax=270691201.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 1.64
user 1.45
sys 0.18

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/506242/ft1_filtered_4FGL_J1522.1+3144_daily_bin120.fits" evtable="EVENTS" scfile=/scratch/kocevski/506242/ft2_4FGL_J1522.1+3144_daily_bin120.fits sctable="SC_DATA" outfile=/scratch/kocevski/506242/ltcube_270432001_270691201_4FGL_J1522.1+3144_daily_bin120.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/506242/ft2_4FGL_J1522.1+3144_daily_bin120.fits
.....................!
real 12.46
user 12.10
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506242/ft1_filtered_4FGL_J1522.1+3144_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/506242/ft2_4FGL_J1522.1+3144_daily_bin120.fits sctable="SC_DATA" expcube=/scratch/kocevski/506242/ltcube_270432001_270691201_4FGL_J1522.1+3144_daily_bin120.fits outfile=/scratch/kocevski/506242/expmap_270432001_270691201_4FGL_J1522.1+3144_daily_bin120.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/506242/ltcube_270432001_270691201_4FGL_J1522.1+3144_daily_bin120.fits
.....................!
real 189.97
user 185.14
sys 4.49

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/506242/ft1_filtered_4FGL_J1522.1+3144_daily_bin120.fits scfile=/scratch/kocevski/506242/ft2_4FGL_J1522.1+3144_daily_bin120.fits outfile=/scratch/kocevski/506242/cmap_270432001_270691201_4FGL_J1522.1+3144_daily_bin120.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/506242/ft1_filtered_4FGL_J1522.1+3144_daily_bin120.fits scfile=/scratch/kocevski/506242/ft2_4FGL_J1522.1+3144_daily_bin120.fits outfile=/scratch/kocevski/506242/cmap_HighResolution_270432001_270691201_4FGL_J1522.1+3144_daily_bin120.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    58.572       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .16107E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4705       1.0000         .10000E-03   10000.    
     5 'norm      '    5.2298       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5260       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7172       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.8649       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    21.047       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.695       1.0000         .10000E-03   10000.    
    18 'norm      '    4.0466       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3277       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .18208E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11611       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .79999       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0735       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=   8687.870     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2735 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          58.567        11.461       -.21272E-06    .26112E-04
   2  Prefactor     .10000E-03    45.487       -.11463E-05** at limit **
   3  norm          .10000E-03    2.3237       -.18214E-06** at limit **
   4  Prefactor     6.4553        40.561       -.13843E-05   -.85442E-04
   5  norm          5.2290        6.5888        .27714E-05    .37920E-03
   6  Prefactor     .10000E-03    16.359       -.82421E-06** at limit **
   7  Prefactor     .10000E-03    1.7909        .41309E-08** at limit **
   8  Prefactor     6.5255        5.9307        .66070E-06    .12997E-03
   9  norm          1.7165        1.3888        .10278E-06    .13458E-03
  10  Prefactor     .10000E-03    38.837        .13962E-05** at limit **
  11  Prefactor     6.8621        8.4483        .26901E-06    .23778E-04
  12  Prefactor     .10000E-03    6.4508       -.12846E-06** at limit **
  13  Prefactor     .10000E-03    7.3781        .11200E-06** at limit **
  14  norm          21.046        2.3099        .10434E-07   -.14518E-03
  15  Prefactor     .10000E-03    5.6563        .13646E-06** at limit **
  16  Prefactor     .10000E-03    8.7066       -.17540E-08** at limit **
  17  Prefactor     19.688        25.780       -.32638E-06   -.47762E-04
  18  norm          4.0465        13.158        .61108E-06    .44318E-04
  19  Prefactor     1.3272        2.0425        .50683E-06    .19362E-03
  20  Prefactor     .10014E-03    13.543       -.23074E-05** at limit **
  21  Prefactor     .10000E-03    7.4837        .15189E-06** at limit **
  22  Prefactor     .94334E-01    1.6647        .77315E-06   -.10415E-02
  23  Normalizat    .80019        .18625        .98042E-06   -.13766E-03
  24  Prefactor     1.0734        .14343       -.13144E-05   -.39250E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 58.5673
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 6.45532
  norm       = 5.22902
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.52548
  norm       = 1.71648
  Prefactor  = 0.000100005
  Prefactor  = 6.86214
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.0464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.6881
  norm       = 4.04654
  Prefactor  = 1.3272
  Prefactor  = 0.000100136
  Prefactor  = 0.0001
  Prefactor  = 0.0943338
  Normalizat = 0.800188
  Prefactor  = 1.07342
 **********
 **   18 **HESSE 
 **********

 FCN=   8687.870     FROM HESSE     STATUS=OK           405 CALLS     3140 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          58.567        11.485        .52421E-04   -1.4176    
   2  Prefactor     .10000E-03    45.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    5.2567        .27432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.4553        41.771        .15778E-03   -1.5200    
   5  norm          5.2290        6.6699        .87886E-03   -1.5251    
   6  Prefactor     .10000E-03    16.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.7929        .12180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.5255        5.9348        .78548E-03   -1.5197    
   9  norm          1.7165        1.3801        .94312E-04   -1.5446    
  10  Prefactor     .10000E-03    39.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.8621        8.4403        .15313E-03   -1.5184    
  12  Prefactor     .10000E-03    6.4694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.4520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          21.046        2.3154        .44251E-04   -1.4790    
  15  Prefactor     .10000E-03    5.7331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.7091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.688        25.618        .90251E-04   -1.4820    
  18  norm          4.0465        13.024        .20045E-03   -1.5306    
  19  Prefactor     1.3272        2.0175        .15775E-03   -1.5478    
  20  Prefactor     .10014E-03    54.956        .62115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.5288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .94334E-01    22.708        .21442E-02   -1.5647    
  23  Normalizat    .80019        .22160        .31618E-03   -1.0006    
  24  Prefactor     1.0734        .16789        .22671E-03   -.90321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12396e-08
Minuit parameter uncertainties:
  1  11.4855
  2  0.000824763
  3  7.47919e-05
  4  32.8752
  5  6.6708
  6  0.000147161
  7  1.32161e-07
  8  5.9353
  9  1.3801
  10  0.000841816
  11  8.44176
  12  4.16985e-05
  13  1.3621e-05
  14  2.31543
  15  2.46278e-05
  16  2.32314e-06
  17  25.6323
  18  13.0335
  19  2.01763
  20  0.00547351
  21  2.25312e-05
  22  2.9268
  23  0.22185
  24  0.16797
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  2.105e+01  2.315e+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:  1.073e+00  1.680e-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.002e-01  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 268.37
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.87e-07 +/- 7.55e-08
Energy Flux (Fixed Index): 2.16e-04 +/- 2.38e-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) = 8687.60363919
delta logL = 0.266308525712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8687.54403698
delta logL = 0.32591073909

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.945       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2726       1.0000          .0000       5.0000    
     3 'Normalizat'    .83262       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0538       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=   8687.544     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.945        2.9589        .21376E-02   -.46413E-02
   2  alpha         2.2725        .13351        .87550E-01   -.66419E-05
   3  Normalizat    .83264        .17243        .70266E-01   -.61812E-04
   4  Prefactor     1.0538        .13899        .39690E-01    .56758E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.9448
  alpha      = 2.27254
  Normalizat = 0.832643
  Prefactor  = 1.05383
 **********
 **   18 **HESSE 
 **********

 FCN=   8687.544     FROM HESSE     STATUS=OK            29 CALLS      232 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.945        2.6154        .45619E-04   -1.4771    
   2  alpha         2.2725        .11914        .38505E-03   -.91110E-01
   3  Normalizat    .83264        .20314        .31092E-03   -.98869    
   4  Prefactor     1.0538        .16351        .22852E-03   -.90956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.87679e-10
Minuit parameter uncertainties:
  1  2.61545
  2  0.11919
  3  0.203327
  4  0.163589
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506242': 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) = 8687.54403697
delta logL = 0.325910751382

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  2.194e+01  2.615e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.273e+00  1.192e-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.054e+00  1.636e-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.326e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 265.41
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.27 +/- 0.12
Photon Flux (Free Index): 6.58e-07 +/- 8.14e-08
Energy Flux (Free Index): 2.31e-04 +/- 3.20e-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/506242/cmap_HighResolution_270432001_270691201_4FGL_J1522.1+3144_daily_bin120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.87e-07', energy_flux2='2.31e-04', photon_flux_error='7.55e-08', dlogl='3.26e-01', energy_flux='2.16e-04', photon_flux2='6.58e-07', job_status='DONE', time_completed='2021-09-12 02:17:50.752571', photon_index_error2='0.12', photon_index2='2.27', ts='268.37', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='3.20e-05', EG='0.80', time_epoch_completed='1631438270.75', return_code='0', job_id='506242', GAL2='1.05', EG2='0.83', return_code2='0', energy_flux_error='2.38e-05', photon_flux_error2='8.14e-08', ts2='265.41', photon_index='2.37' WHERE bin_id='120' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:17:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 506242: <4FGL_J1522.1+3144_daily_bin120> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin120 230.545 31.7395 270432001 270691201 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 :                                   718.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             368.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

