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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin36
RA = 230.545, Dec = 31.7395
tmin = 248659201, tmax = 248918401
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='506110', job_status='RUN', time_executed='2021-09-12 02:07:44.459943', time_epoch_executed='1631437664.46' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='36'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/506110

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/506110/ft1_4FGL_J1522.1+3144_daily_bin36.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/506110/ft2_4FGL_J1522.1+3144_daily_bin36.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/506110/ft1_4FGL_J1522.1+3144_daily_bin36.fits outfile=/scratch/kocevski/506110/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin36.fits ra=230.545 dec=31.7395 rad=12.0 tmin=248659201.0 tmax=248918401.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.40
user 1.21
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/506110/ft1_filtered_4FGL_J1522.1+3144_daily_bin36.fits evtable="EVENTS" scfile=/scratch/kocevski/506110/ft2_4FGL_J1522.1+3144_daily_bin36.fits sctable="SC_DATA" expcube=/scratch/kocevski/506110/ltcube_248659201_248918401_4FGL_J1522.1+3144_daily_bin36.fits outfile=/scratch/kocevski/506110/expmap_248659201_248918401_4FGL_J1522.1+3144_daily_bin36.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/506110/ltcube_248659201_248918401_4FGL_J1522.1+3144_daily_bin36.fits
.....................!
real 191.17
user 185.82
sys 4.96

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/506110/ft1_filtered_4FGL_J1522.1+3144_daily_bin36.fits scfile=/scratch/kocevski/506110/ft2_4FGL_J1522.1+3144_daily_bin36.fits outfile=/scratch/kocevski/506110/cmap_248659201_248918401_4FGL_J1522.1+3144_daily_bin36.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66991E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.5649       1.0000         .10000E-03   10000.    
     3 'norm      '    6.5447       1.0000         .10000E-03   10000.    
     4 'Prefactor '    65.206       1.0000         .10000E-03   10000.    
     5 'norm      '    16.764       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.329       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .22877E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5813       1.0000         .10000E-03   10000.    
     9 'norm      '    4.4049       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .22245E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.9561       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7186       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.142       1.0000         .10000E-03   10000.    
    18 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3699       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.104       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .65580E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89772       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .93163       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=   5383.401     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2781 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10034E-03    21.052        .48671E-05** at limit **
   2  Prefactor     8.4646        45.698       -.56052E-05   -.15001E-03
   3  norm          6.5449        4.9579       -.10741E-06   -.86316E-04
   4  Prefactor     65.215        47.190        .17322E-06   -.70537E-04
   5  norm          16.758        11.799       -.49748E-06   -.38561E-03
   6  Prefactor     13.329        17.677       -.31717E-06   -.11172E-03
   7  Prefactor     .10004E-03    23.264        .94052E-06** at limit **
   8  Prefactor     7.5808        7.1813        .80477E-08    .25457E-04
   9  norm          4.4073        2.2636        .48695E-06    .20157E-02
  10  Prefactor     .10000E-03    30.265       -.19602E-06** at limit **
  11  Prefactor     .10013E-03    6.6537        .90612E-06** at limit **
  12  Prefactor     .10000E-03    19.089       -.27748E-06** at limit **
  13  Prefactor     .10000E-03    10.830       -.15740E-06** at limit **
  14  norm          5.9565        2.0086        .17862E-06    .68471E-03
  15  Prefactor     2.7192        9.8389       -.11115E-05   -.92351E-04
  16  Prefactor     .10000E-03    35.222       -.96075E-08** at limit **
  17  Prefactor     25.145        18.650        .11216E-06    .28350E-04
  18  norm          .10000E-03    4.8569       -.12241E-07** at limit **
  19  Prefactor     3.3696        2.8572        .14523E-07    .56461E-04
  20  Prefactor     12.106        17.565        .35691E-07    .74904E-05
  21  Prefactor     .10000E-03    6.7867       -.13538E-06** at limit **
  22  Prefactor     .10005E-03    3.4562        .14738E-05** at limit **
  23  Normalizat    .89709        .21615       -.29249E-05   -.12624E-03
  24  Prefactor     .93210        .16692        .25029E-05   -.33902E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100338
  Prefactor  = 8.46462
  norm       = 6.54486
  Prefactor  = 65.2149
  norm       = 16.758
  Prefactor  = 13.3292
  Prefactor  = 0.000100044
  Prefactor  = 7.58082
  norm       = 4.40732
  Prefactor  = 0.0001
  Prefactor  = 0.000100133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.95651
  Prefactor  = 2.71922
  Prefactor  = 0.0001
  Prefactor  = 25.1452
  norm       = 0.0001
  Prefactor  = 3.36965
  Prefactor  = 12.1055
  Prefactor  = 0.0001
  Prefactor  = 0.000100053
  Normalizat = 0.89709
  Prefactor  = 0.932101
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.401     FROM HESSE     STATUS=OK           407 CALLS     3188 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10034E-03    70.319        .36439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.4646        48.260        .13697E-03   -1.5126    
   3  norm          6.5449        4.9542        .13752E-03   -1.5196    
   4  Prefactor     65.215        47.467        .49699E-04   -1.4091    
   5  norm          16.758        11.850        .97819E-04   -1.4889    
   6  Prefactor     13.329        17.742        .10971E-03   -1.4978    
   7  Prefactor     .10004E-03    26.745        .34503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.5808        7.1837        .14565E-03   -1.5157    
   9  norm          4.4073        2.2763        .74097E-04   -1.5288    
  10  Prefactor     .10000E-03    30.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10013E-03    122.47        .33928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.9565        2.0011        .50241E-04   -1.5220    
  15  Prefactor     2.7192        9.7811        .24700E-03   -1.5378    
  16  Prefactor     .10000E-03    35.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.145        18.644        .79890E-04   -1.4705    
  18  norm          .10000E-03    4.8586        .15785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3696        2.8496        .10833E-03   -1.5341    
  20  Prefactor     12.106        17.561        .11514E-03   -1.5012    
  21  Prefactor     .10000E-03    6.8103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10005E-03    18.685        .17451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89709        .23312        .26911E-03   -.96562    
  24  Prefactor     .93210        .17985        .21796E-03   -.95028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06517e-08
Minuit parameter uncertainties:
  1  0.00975901
  2  40.4725
  3  4.95446
  4  47.4945
  5  11.8519
  6  17.7493
  7  0.0021764
  8  7.1845
  9  2.27639
  10  4.05073e-05
  11  0.00807787
  12  1.38856e-05
  13  8.80443e-06
  14  2.00112
  15  9.78681
  16  7.59993e-05
  17  18.6486
  18  9.01641e-07
  19  2.84967
  20  17.5684
  21  1.44918e-05
  22  0.00198809
  23  0.233386
  24  0.179962
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  5.957e+00  2.001e+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.321e-01  1.800e-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.971e-01  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.35
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.94e-07 +/- 6.52e-08
Energy Flux (Fixed Index): 6.12e-05 +/- 2.06e-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) = 5383.35358102
delta logL = 0.0473324848026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5383.34266304
delta logL = 0.0582504602862

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.2079       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2542       1.0000          .0000       5.0000    
     3 'Normalizat'    .91355       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92198       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=   5383.343     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.2069        4.0689        .40280E-02    .42475E-03
   2  alpha         2.2549        .65133        .19716        .71548E-04
   3  Normalizat    .91351        .19385        .45075E-01    .76158E-04
   4  Prefactor     .92191        .15873        .45285E-01   -.85497E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.2069
  alpha      = 2.25491
  Normalizat = 0.913512
  Prefactor  = 0.921914
 **********
 **   18 **HESSE 
 **********

 FCN=   5383.343     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.2069        1.9545        .51929E-04   -1.5210    
   2  alpha         2.2549        .33129        .83082E-02   -.98194E-01
   3  Normalizat    .91351        .21851        .26704E-03   -.95987    
   4  Prefactor     .92191        .17736        .21898E-03   -.95379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88593e-11
Minuit parameter uncertainties:
  1  1.9545
  2  0.332277
  3  0.218723
  4  0.17747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/506110': 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) = 5383.34266001
delta logL = 0.0582534905252

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  6.207e+00  1.954e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.255e+00  3.323e-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.219e-01  1.775e-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.135e-01  2.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.37
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.25 +/- 0.33
Photon Flux (Free Index): 1.83e-07 +/- 6.37e-08
Energy Flux (Free Index): 6.56e-05 +/- 2.44e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/506110/cmap_HighResolution_248659201_248918401_4FGL_J1522.1+3144_daily_bin36.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.94e-07', energy_flux2='6.56e-05', photon_flux_error='6.52e-08', dlogl='5.83e-02', energy_flux='6.12e-05', photon_flux2='1.83e-07', job_status='DONE', time_completed='2021-09-12 02:17:14.357644', photon_index_error2='0.33', photon_index2='2.25', ts='27.35', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='2.44e-05', EG='0.90', time_epoch_completed='1631438234.36', return_code='0', job_id='506110', GAL2='0.92', EG2='0.91', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='6.37e-08', ts2='27.37', photon_index='2.37' WHERE bin_id='36' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:17:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 506110: <4FGL_J1522.1+3144_daily_bin36> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin36> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 12 02:05:24 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:05:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 02:05:25 2021
Terminated at Sun Sep 12 02:17:15 2021
Results reported at Sun Sep 12 02:17:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin36 230.545 31.7395 248659201 248918401 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 :                                   567.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

