/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1452
RA = 230.545, Dec = 31.7395
tmin = 615686401, tmax = 615945601
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='513559', job_status='RUN', time_executed='2021-09-12 02:27:01.795744', time_epoch_executed='1631438821.8' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1452'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513559/ft1_4FGL_J1522.1+3144_daily_bin1452.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513559/ft2_4FGL_J1522.1+3144_daily_bin1452.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513559/ft1_4FGL_J1522.1+3144_daily_bin1452.fits outfile=/scratch/kocevski/513559/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1452.fits ra=230.545 dec=31.7395 rad=12.0 tmin=615686401.0 tmax=615945601.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.40
user 3.18
sys 0.21

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513559/ft1_filtered_4FGL_J1522.1+3144_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/513559/ft2_4FGL_J1522.1+3144_daily_bin1452.fits sctable="SC_DATA" expcube=/scratch/kocevski/513559/ltcube_615686401_615945601_4FGL_J1522.1+3144_daily_bin1452.fits outfile=/scratch/kocevski/513559/expmap_615686401_615945601_4FGL_J1522.1+3144_daily_bin1452.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/513559/ltcube_615686401_615945601_4FGL_J1522.1+3144_daily_bin1452.fits
.....................!
real 191.25
user 185.54
sys 5.39

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/513559/ft1_filtered_4FGL_J1522.1+3144_daily_bin1452.fits scfile=/scratch/kocevski/513559/ft2_4FGL_J1522.1+3144_daily_bin1452.fits outfile=/scratch/kocevski/513559/cmap_615686401_615945601_4FGL_J1522.1+3144_daily_bin1452.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.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/513559/ft1_filtered_4FGL_J1522.1+3144_daily_bin1452.fits scfile=/scratch/kocevski/513559/ft2_4FGL_J1522.1+3144_daily_bin1452.fits outfile=/scratch/kocevski/513559/cmap_HighResolution_615686401_615945601_4FGL_J1522.1+3144_daily_bin1452.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19444       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.3004       1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.455       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .37766E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6081       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .32411E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.0449       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7120       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .63832E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.951       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .88256       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.901       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .43232       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1675       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82737       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=   5921.771     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2788 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21040        14.157       -.82412E-05    .35171E-03
   2  Prefactor     .10000E-03    25.572       -.12886E-06** at limit **
   3  norm          6.3019        5.1070        .84387E-06    .30474E-03
   4  Prefactor     42.498        36.418       -.10163E-05    .85291E-04
   5  norm          .10000E-03    3.2545        .27991E-07** at limit **
   6  Prefactor     .10002E-03    13.702       -.65657E-05** at limit **
   7  Prefactor     7.6005        9.4837       -.66531E-06   -.61554E-03
   8  Prefactor     .10014E-03    8.4214       -.64510E-05** at limit **
   9  norm          5.0449        2.0219        .28957E-07   -.13024E-02
  10  Prefactor     .10000E-03    48.920       -.12488E-06** at limit **
  11  Prefactor     2.7134        6.8149        .59862E-05    .36362E-03
  12  Prefactor     .10006E-03    18.980        .46321E-05** at limit **
  13  Prefactor     10.954        13.095        .96639E-06    .16365E-03
  14  norm          .10000E-03    .30765       -.12139E-07** at limit **
  15  Prefactor     .10000E-03    3.0525       -.43094E-07** at limit **
  16  Prefactor     .10000E-03    10.613       -.43522E-07** at limit **
  17  Prefactor     .10000E-03    6.9869       -.54967E-07** at limit **
  18  norm          .10000E-03    9.6321       -.13965E-06** at limit **
  19  Prefactor     .88267        1.4039       -.13439E-06   -.83426E-03
  20  Prefactor     .10000E-03    14.332       -.11664E-06** at limit **
  21  Prefactor     11.905        13.922        .25792E-06    .17375E-04
  22  Prefactor     .43130        2.3118        .13102E-05    .21601E-03
  23  Normalizat    1.1673        .18221       -.35843E-05   -.69545E-03
  24  Prefactor     .82744        .14470        .17291E-05   -.10500E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.210403
  Prefactor  = 0.0001
  norm       = 6.30193
  Prefactor  = 42.4979
  norm       = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 7.6005
  Prefactor  = 0.000100143
  norm       = 5.04486
  Prefactor  = 0.0001
  Prefactor  = 2.7134
  Prefactor  = 0.000100059
  Prefactor  = 10.9541
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.882672
  Prefactor  = 0.0001
  Prefactor  = 11.9052
  Prefactor  = 0.431304
  Normalizat = 1.16731
  Prefactor  = 0.827443
 **********
 **   18 **HESSE 
 **********

 FCN=   5921.771     FROM HESSE     STATUS=OK           421 CALLS     3209 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21040        73.018        .38476E-02   -1.5616    
   2  Prefactor     .10000E-03    25.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.3019        5.1894        .76675E-03   -1.5206    
   4  Prefactor     42.498        36.656        .61525E-04   -1.4403    
   5  norm          .10000E-03    3.2562        .13558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    42.895        .43927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.6005        9.4962        .14539E-03   -1.5157    
   8  Prefactor     .10014E-03    4.5318        .56462E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.0449        2.0260        .62621E-04   -1.5259    
  10  Prefactor     .10000E-03    48.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7134        8.0580        .12366E-02   -1.5379    
  12  Prefactor     .10006E-03    17.551        .92631E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.954        13.139        .12107E-03   -1.5046    
  14  norm          .10000E-03    .31541        .83271E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0974        .13127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.9972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.7436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .88267        1.1697        .11137E-02   -1.5520    
  20  Prefactor     .10000E-03    14.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.905        13.937        .11612E-03   -1.5018    
  22  Prefactor     .43130        4.1940        .22180E-02   -1.5577    
  23  Normalizat    1.1673        .22316        .23388E-03   -.87619    
  24  Prefactor     .82744        .17588        .22704E-03   -.98725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06918e-08
Minuit parameter uncertainties:
  1  7.847
  2  6.78319e-05
  3  5.1898
  4  36.6753
  5  6.52257e-06
  6  0.00189575
  7  9.49805
  8  0.00161055
  9  2.02601
  10  0.000157361
  11  8.06121
  12  0.00202908
  13  13.142
  14  2.88052e-07
  15  5.33266e-06
  16  1.11307e-06
  17  7.21804e-06
  18  2.32366e-05
  19  1.16972
  20  2.01289e-05
  21  13.9408
  22  2.68983
  23  0.223338
  24  0.175998
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.000e-04  2.881e-07  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:  8.274e-01  1.760e-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:  1.167e+00  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 230.545 31.739
Photon Flux Upper Limit: 4.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/513559/likelihoodResults_615686401_615945601_4FGL_J1522.1+3144_daily_bin1452.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) = 5921.77151415
delta logL = -0.000228220858844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5921.77128734
delta logL = -1.41379950946e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3553       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82735       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=   5921.771     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      211 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.8656        .90712E-02** at limit **
   2  alpha         2.1113        3.6393        .41239        .74375E-06
   3  Normalizat    1.1673        .24052E-01    .52896E-01    .88295E-04
   4  Prefactor     .82744        .20116E-01    .44072E-01    .11742E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.11129
  Normalizat = 1.16732
  Prefactor  = 0.827437
 **********
 **   18 **HESSE 
 **********

 FCN=   5921.771     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .36827        .42643E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1113        3.8838        .16496       -.15612    
   3  Normalizat    1.1673        .20197        .23388E-03   -.87619    
   4  Prefactor     .82744        .16897        .22704E-03   -.98725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76907e-10
Minuit parameter uncertainties:
  1  4.69734e-06
  2  72.5477
  3  0.202107
  4  0.169076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513559': 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) = 5921.77127943
delta logL = 6.49483445159e-06

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.000e-04  4.697e-06  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.111e+00  7.255e+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:  8.274e-01  1.691e-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:  1.167e+00  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 230.545 31.739

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/513559/cmap_HighResolution_615686401_615945601_4FGL_J1522.1+3144_daily_bin1452.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-05', job_status='DONE', photon_flux_upper_limit='4.88e-08', time_completed='2021-09-12 02:39:40.533900', job_id='513559', GAL2='0.83', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1631439580.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='6.49e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1452' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:39:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 513559: <4FGL_J1522.1+3144_daily_bin1452> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1452> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 02:25:44 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:25:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 02:25:46 2021
Terminated at Sun Sep 12 02:39:40 2021
Results reported at Sun Sep 12 02:39:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1452 230.545 31.7395 615686401 615945601 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 :                                   678.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            836 sec.

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

