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


Performing analysis on: 4FGL_J1522.6-2730_daily_bin1276
RA = 230.664, Dec = -27.5059
tmin = 570067201, tmax = 570326401
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='521568', job_status='RUN', time_executed='2021-09-12 02:51:45.940458', time_epoch_executed='1631440305.94' WHERE source_name='4FGL J1522.6-2730' and cadence='daily' and bin_id='1276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/521568

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/521568/ft1_4FGL_J1522.6-2730_daily_bin1276.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/521568/ft1_4FGL_J1522.6-2730_daily_bin1276.fits outfile=/scratch/kocevski/521568/ft1_filteredMKT_4FGL_J1522.6-2730_daily_bin1276.fits ra=230.664 dec=-27.5059 rad=12.0 tmin=570067201.0 tmax=570326401.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 3.99
user 3.40
sys 0.55

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.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/521568/ft1_filteredMKT_4FGL_J1522.6-2730_daily_bin1276.fits evtable="EVENTS" outfile="/scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.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.53
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.fits" evtable="EVENTS" scfile=/scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits sctable="SC_DATA" outfile=/scratch/kocevski/521568/ltcube_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.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/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits
.....................!
real 12.10
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits sctable="SC_DATA" expcube=/scratch/kocevski/521568/ltcube_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.fits outfile=/scratch/kocevski/521568/expmap_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.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/521568/ltcube_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.fits
.....................!
real 192.71
user 187.49
sys 4.85

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 225 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1522.6-2730 @ 230.664 -27.5059

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.fits scfile=/scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits outfile=/scratch/kocevski/521568/cmap_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.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.664 yref=-27.5059 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.fits scfile=/scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits outfile=/scratch/kocevski/521568/cmap_HighResolution_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.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.664 yref=-27.5059 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/521568/Model_4FGL_J1522.6-2730_daily_bin1276.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.fits.....................!
real 102.49
user 101.02
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.fits', '/scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits', expMap='/scratch/kocevski/521568/expmap_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.fits', expCube='/scratch/kocevski/521568/ltcube_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/521568/Model_4FGL_J1522.6-2730_daily_bin1276.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1522.6-2730'

4FGL J1522.6-2730
   Spectrum: LogParabola
340         norm:  2.001e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
341        alpha:  2.090e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
342         beta:  1.270e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
343           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/521568/ft1_filtered_4FGL_J1522.6-2730_daily_bin1276.fits
Spacecraft file(s): /scratch/kocevski/521568/ft2_4FGL_J1522.6-2730_daily_bin1276.fits
Exposure map: /scratch/kocevski/521568/expmap_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.fits
Exposure cube: /scratch/kocevski/521568/ltcube_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/521568/Model_4FGL_J1522.6-2730_daily_bin1276.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) = 9475.7568461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.434       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .90237E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5744       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.376       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.6049       1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .49857       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.470       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4078       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.221       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2762       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91640       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9475.689     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     1907 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.589       -.34342E-05** at limit **
   2  Prefactor     .10000E-03    17.713       -.34539E-07** at limit **
   3  Prefactor     .10000E-03    122.12        .39006E-05** at limit **
   4  Prefactor     .10000E-03    38.724        .11219E-04** at limit **
   5  Prefactor     21.439        17.481       -.84215E-06   -.87553E-06
   6  Prefactor     .10000E-03    199.10       -.38472E-04** at limit **
   7  norm          1.5720        1.2005       -.31487E-06    .10528E-03
   8  Prefactor     29.366        18.662        .18045E-05    .10598E-03
   9  Prefactor     .10000E-03    8.8586        .35535E-06** at limit **
  10  norm          7.6055        10.990       -.83060E-06   -.68133E-04
  11  norm          .10000E-03    27.209        .51165E-05** at limit **
  12  norm          .49898        .69137       -.47553E-06   -.30556E-02
  13  Prefactor     26.470        11.531        .97704E-07    .97642E-04
  14  norm          3.4077        3.5988       -.24469E-07   -.61841E-04
  15  Prefactor     .10000E-03    33.955       -.92870E-05** at limit **
  16  Prefactor     19.222        19.357       -.48486E-06    .18602E-04
  17  norm          .10000E-03    11.660       -.19577E-06** at limit **
  18  Prefactor     .10000E-03    1.4897       -.14559E-06** at limit **
  19  norm          .10000E-03    8.8078        .44590E-06** at limit **
  20  Normalizat    1.2759        .32394       -.21857E-06    .94172E-04
  21  Prefactor     .91644        .76254E-01   -.42255E-07    .32266E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.439
  Prefactor  = 0.000100002
  norm       = 1.57204
  Prefactor  = 29.3664
  Prefactor  = 0.0001
  norm       = 7.60553
  norm       = 0.0001
  norm       = 0.498978
  Prefactor  = 26.4702
  norm       = 3.40774
  Prefactor  = 0.0001
  Prefactor  = 19.2222
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.27586
  Prefactor  = 0.916436
 **********
 **   18 **HESSE 
 **********

 FCN=   9475.689     FROM HESSE     STATUS=OK           317 CALLS     2224 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    123.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    38.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     21.439        17.556        .86515E-04   -1.4782    
   6  Prefactor     .10000E-03    195.51        .20828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5720        1.1888        .87710E-04   -1.5457    
   8  Prefactor     29.366        18.602        .73921E-04   -1.4624    
   9  Prefactor     .10000E-03    8.9046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.6055        10.984        .14542E-03   -1.5156    
  11  norm          .10000E-03    27.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .49898        .63059        .93334E-03   -1.5567    
  13  Prefactor     26.470        11.481        .77864E-04   -1.4679    
  14  norm          3.4077        3.5862        .17887E-03   -1.5339    
  15  Prefactor     .10000E-03    33.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.222        19.303        .91357E-04   -1.4831    
  17  norm          .10000E-03    11.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.2987        .22808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.8163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2759        .36102        .52144E-03   -.84290    
  21  Prefactor     .91644        .86237E-01    .14709E-03   -.95569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17027e-10
Minuit parameter uncertainties:
  1  5.2108e-06
  2  5.06654e-06
  3  8.16856e-05
  4  2.06231e-06
  5  17.5604
  6  0.00120048
  7  1.18878
  8  18.606
  9  1.45076e-05
  10  10.9866
  11  6.67733e-06
  12  0.630601
  13  11.4823
  14  3.58639
  15  8.70396e-06
  16  19.3089
  17  3.33946e-06
  18  6.36698e-05
  19  4.23648e-07
  20  0.361729
  21  0.0862498
Done.

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

Extracting fit parameters...

4FGL J1522.6-2730
   Spectrum: LogParabola
340         norm:  3.408e+00  3.586e+00  1.000e-04  1.000e+04 ( 1.000e-12)
341        alpha:  2.090e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
342         beta:  1.270e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
343           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
765    Prefactor:  9.164e-01  8.625e-02  0.000e+00  1.000e+01 ( 1.000e+00)
766        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
767        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
760   Normalization:  1.276e+00  3.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.24
Ra Dec: 230.664 -27.506
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 3.69e-08 +/- 3.88e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 2.13e-05

TS (Fixed Index): 2.24
Ra Dec: 230.664 -27.506
Photon Flux Upper Limit: 1.38e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/521568/likelihoodResults_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.txt

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) = 9475.30536621
delta logL = 0.38378627487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9475.28526584
delta logL = 0.403886637565

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2806       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0664       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1970       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92424       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7680E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9475.285     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      259 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2806        29.299        .67969E-02    .22790E-02
   2  alpha         3.0663        4.0111        .26822        .10305E-03
   3  Normalizat    1.1970        .12056        .12063        .34028E-04
   4  Prefactor     .92423        .24423E-01    .33134E-01   -.10480E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.28059
  alpha      = 3.06631
  Normalizat = 1.19703
  Prefactor  = 0.924234
 **********
 **   18 **HESSE 
 **********

 FCN=   9475.285     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2806        4.9115        .10079E-03   -1.5406    
   2  alpha         3.0663        1.4396        .14928E-01    .22851    
   3  Normalizat    1.1970        .37577        .53509E-03   -.86695    
   4  Prefactor     .92423        .87827E-01    .14641E-03   -.95299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14479e-08
Minuit parameter uncertainties:
  1  4.91232
  2  1.54026
  3  0.376624
  4  0.0878405
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/521568': 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) = 9475.28526581
delta logL = 0.403886667358

Extracting fit parameters...

4FGL J1522.6-2730
   Spectrum: LogParabola
340         norm:  2.281e+00  4.912e+00  1.000e-04  1.000e+04 ( 1.000e-12)
341        alpha:  3.066e+00  1.540e+00  0.000e+00  5.000e+00 ( 1.000e+00)
342         beta:  1.270e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
343           Eb:  1.176e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
765    Prefactor:  9.242e-01  8.784e-02  0.000e+00  1.000e+01 ( 1.000e+00)
766        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
767        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
760   Normalization:  1.197e+00  3.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.09
Ra Dec: 230.664 -27.506
Photon Index (Free Index): 3.07 +/- 1.54
Photon Flux (Free Index): 1.27e-07 +/- 1.44e-07
Energy Flux (Free Index): 2.81e-05 +/- 2.05e-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/521568/cmap_HighResolution_570067201_570326401_4FGL_J1522.6-2730_daily_bin1276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.55e-05', comment='SUCCESS', photon_flux='3.69e-08', energy_flux2='2.81e-05', photon_flux_error='3.88e-08', dlogl='4.04e-01', energy_flux='2.02e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2021-09-12 03:06:53.477694', photon_index_error2='1.54', photon_index2='3.07', ts='2.24', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='2.05e-05', EG='1.28', time_epoch_completed='1631441213.48', return_code='0', job_id='521568', GAL2='0.92', EG2='1.20', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='1.44e-07', ts2='3.09', photon_index='2.09' WHERE bin_id='1276' AND source_name='4FGL J1522.6-2730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 03:06:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 521568: <4FGL_J1522.6-2730_daily_bin1276> in cluster <slac> Done

Job <4FGL_J1522.6-2730_daily_bin1276> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 02:50:30 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:50:35 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:50:35 2021
Terminated at Sun Sep 12 03:06:54 2021
Results reported at Sun Sep 12 03:06:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.6-2730_daily_bin1276 230.664 -27.5059 570067201 570326401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1522.6-2730 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   901.35 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             345.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            984 sec.

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

