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


Performing analysis on: 4FGL_J1522.1+3144_daily_bin1544
RA = 230.545, Dec = 31.7395
tmin = 639532801, tmax = 639792001
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='513697', job_status='RUN', time_executed='2021-09-12 02:27:45.804375', time_epoch_executed='1631438865.8' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='1544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/513697

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/513697/ft1_4FGL_J1522.1+3144_daily_bin1544.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/513697/ft2_4FGL_J1522.1+3144_daily_bin1544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/513697/ft1_4FGL_J1522.1+3144_daily_bin1544.fits outfile=/scratch/kocevski/513697/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin1544.fits ra=230.545 dec=31.7395 rad=12.0 tmin=639532801.0 tmax=639792001.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.62
user 3.39
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/513697/ft1_filtered_4FGL_J1522.1+3144_daily_bin1544.fits" evtable="EVENTS" scfile=/scratch/kocevski/513697/ft2_4FGL_J1522.1+3144_daily_bin1544.fits sctable="SC_DATA" outfile=/scratch/kocevski/513697/ltcube_639532801_639792001_4FGL_J1522.1+3144_daily_bin1544.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/513697/ft2_4FGL_J1522.1+3144_daily_bin1544.fits
.....................!
real 11.61
user 11.27
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/513697/ft1_filtered_4FGL_J1522.1+3144_daily_bin1544.fits evtable="EVENTS" scfile=/scratch/kocevski/513697/ft2_4FGL_J1522.1+3144_daily_bin1544.fits sctable="SC_DATA" expcube=/scratch/kocevski/513697/ltcube_639532801_639792001_4FGL_J1522.1+3144_daily_bin1544.fits outfile=/scratch/kocevski/513697/expmap_639532801_639792001_4FGL_J1522.1+3144_daily_bin1544.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/513697/ltcube_639532801_639792001_4FGL_J1522.1+3144_daily_bin1544.fits
.....................!
real 191.06
user 185.46
sys 4.81

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/513697/ft1_filtered_4FGL_J1522.1+3144_daily_bin1544.fits scfile=/scratch/kocevski/513697/ft2_4FGL_J1522.1+3144_daily_bin1544.fits outfile=/scratch/kocevski/513697/cmap_639532801_639792001_4FGL_J1522.1+3144_daily_bin1544.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10444E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6738       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.044       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5578       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12226E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4538       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7694       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .91602       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11871       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14782E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.4424       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8356       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12310E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98259       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0068       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=   6354.585     FROM MIGRAD    STATUS=CONVERGED    619 CALLS     3264 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.9423       -.82158E-07** at limit **
   2  Prefactor     .10000E-03    23.367        .15302E-06** at limit **
   3  norm          .10000E-03    1.4507        .37561E-07** at limit **
   4  Prefactor     .10000E-03    31.455        .44941E-06** at limit **
   5  norm          2.6738        5.0884       -.44020E-07   -.90411E-04
   6  Prefactor     18.040        14.537        .65114E-06    .15321E-03
   7  Prefactor     4.5514        4.6782        .12894E-05   -.15905E-02
   8  Prefactor     .10000E-03    12.974        .58098E-08** at limit **
   9  norm          .10000E-03    .73230       -.45327E-06** at limit **
  10  Prefactor     .10000E-03    85.490        .49633E-06** at limit **
  11  Prefactor     2.4566        8.0949       -.38286E-05   -.33301E-03
  12  Prefactor     7.7797        16.977        .51852E-05    .23728E-03
  13  Prefactor     .10000E-03    25.709       -.86776E-06** at limit **
  14  norm          .10000E-03    .27159       -.24795E-07** at limit **
  15  Prefactor     .91914        5.0642        .81065E-06   -.32146E-03
  16  Prefactor     .10098E-03    21.083       -.14305E-06** at limit **
  17  Prefactor     .10000E-03    47.238        .32231E-06** at limit **
  18  norm          9.4584        11.235        .24543E-06    .22226E-04
  19  Prefactor     1.8362        2.0419        .69624E-07   -.10645E-03
  20  Prefactor     .10000E-03    5.4439       -.22817E-07** at limit **
  21  Prefactor     .10000E-03    9.1750       -.64394E-07** at limit **
  22  Prefactor     .10000E-03    1.9701        .40631E-07** at limit **
  23  Normalizat    .98255        .16901       -.58305E-06    .17920E-03
  24  Prefactor     1.0068        .13878        .30706E-06    .90633E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.67378
  Prefactor  = 18.0404
  Prefactor  = 4.55144
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.45661
  Prefactor  = 7.77968
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.919138
  Prefactor  = 0.000100983
  Prefactor  = 0.0001
  norm       = 9.45837
  Prefactor  = 1.83623
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.982548
  Prefactor  = 1.00677
 **********
 **   18 **HESSE 
 **********

 FCN=   6354.585     FROM HESSE     STATUS=OK           407 CALLS     3671 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.1337        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    23.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.4559        .93762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    31.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6738        5.0663        .24125E-03   -1.5381    
   6  Prefactor     18.040        14.689        .94288E-04   -1.4858    
   7  Prefactor     4.5514        6.6627        .94279E-03   -1.5281    
   8  Prefactor     .10000E-03    13.350        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.0835        .13098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    85.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4566        8.3224        .26112E-03   -1.5394    
  12  Prefactor     7.7797        17.127        .14386E-03   -1.5150    
  13  Prefactor     .10000E-03    26.593        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .27462        .40439E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .91914        5.0890        .34382E-03   -1.5516    
  16  Prefactor     .10098E-03    23.239        .11887       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    47.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.4584        11.164        .13042E-03   -1.5093    
  19  Prefactor     1.8362        2.0236        .11511E-03   -1.5437    
  20  Prefactor     .10000E-03    5.4452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.3114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.6407        .21701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98255        .19598        .24622E-03   -.93617    
  24  Prefactor     1.0068        .16172        .20681E-03   -.92504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66581e-09
Minuit parameter uncertainties:
  1  1.19594e-05
  2  8.66309e-06
  3  9.42088e-07
  4  3.17171e-05
  5  5.06711
  6  14.6916
  7  6.66381
  8  1.79826e-05
  9  1.14719e-05
  10  2.94203e-05
  11  8.32627
  12  17.1376
  13  0.000605717
  14  6.09646e-08
  15  4.32583
  16  0.00956143
  17  8.81615e-05
  18  11.1667
  19  2.02366
  20  2.9521e-06
  21  3.18227e-06
  22  7.90547e-06
  23  0.196127
  24  0.161803
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.000e-04  6.096e-08  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.007e+00  1.618e-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.825e-01  1.961e-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.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/513697/likelihoodResults_639532801_639792001_4FGL_J1522.1+3144_daily_bin1544.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) = 6354.58517261
delta logL = -0.000619459775407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6354.58455697
delta logL = -3.81599875254e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3670       1.0000          .0000       5.0000    
     3 'Normalizat'    .98208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0071       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6354.585     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      225 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .29453        .40447E-03** at limit **
   2  alpha         2.2989        3.2007        .16490       -.28634E-06
   3  Normalizat    .98255        .18694        .24622E-03   -.20025E-03
   4  Prefactor     1.0068        .15960        .20680E-03   -.26163E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.29891
  Normalizat = 0.982547
  Prefactor  = 1.00677
 **********
 **   18 **HESSE 
 **********

 FCN=   6354.585     FROM HESSE     STATUS=OK            25 CALLS      250 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .27526        .80894E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2989        2.6313        .32980E-01   -.80522E-01
   3  Normalizat    .98255        .18710        .98490E-05   -.93617    
   4  Prefactor     1.0068        .15974        .41361E-04   -.92504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.90792e-11
Minuit parameter uncertainties:
  1  4.98208e-08
  2  78.5496
  3  0.187225
  4  0.159813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/513697': 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) = 6354.58455275
delta logL = 4.02199475502e-07

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.000e-04  4.982e-08  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.299e+00  7.855e+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.007e+00  1.598e-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.825e-01  1.872e-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/513697/cmap_HighResolution_639532801_639792001_4FGL_J1522.1+3144_daily_bin1544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-05', job_status='DONE', photon_flux_upper_limit='4.58e-08', time_completed='2021-09-12 02:42:09.422940', job_id='513697', GAL2='1.01', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631439729.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.02e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1544' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:42:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 513697: <4FGL_J1522.1+3144_daily_bin1544> in cluster <slac> Done

Job <4FGL_J1522.1+3144_daily_bin1544> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 02:25:54 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 02:25:55 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:55 2021
Terminated at Sun Sep 12 02:42:10 2021
Results reported at Sun Sep 12 02:42:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin1544 230.545 31.7395 639532801 639792001 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 :                                   728.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            976 sec.

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

