/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 9 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 = 7386
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1522.1+3144_daily_bin387
RA = 230.545, Dec = 31.7395
tmin = 339638401, tmax = 339897601
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='507801', job_status='RUN', time_executed='2021-09-12 02:10:45.415933', time_epoch_executed='1631437845.42' WHERE source_name='4FGL J1522.1+3144' and cadence='daily' and bin_id='387'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507801/ft1_4FGL_J1522.1+3144_daily_bin387.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507801/ft2_4FGL_J1522.1+3144_daily_bin387.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507801/ft1_4FGL_J1522.1+3144_daily_bin387.fits outfile=/scratch/kocevski/507801/ft1_filteredMKT_4FGL_J1522.1+3144_daily_bin387.fits ra=230.545 dec=31.7395 rad=12.0 tmin=339638401.0 tmax=339897601.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.50
user 3.13
sys 0.22

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507801/ft1_filtered_4FGL_J1522.1+3144_daily_bin387.fits evtable="EVENTS" scfile=/scratch/kocevski/507801/ft2_4FGL_J1522.1+3144_daily_bin387.fits sctable="SC_DATA" expcube=/scratch/kocevski/507801/ltcube_339638401_339897601_4FGL_J1522.1+3144_daily_bin387.fits outfile=/scratch/kocevski/507801/expmap_339638401_339897601_4FGL_J1522.1+3144_daily_bin387.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/507801/ltcube_339638401_339897601_4FGL_J1522.1+3144_daily_bin387.fits
.....................!
real 189.93
user 185.63
sys 3.92

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/507801/ft1_filtered_4FGL_J1522.1+3144_daily_bin387.fits scfile=/scratch/kocevski/507801/ft2_4FGL_J1522.1+3144_daily_bin387.fits outfile=/scratch/kocevski/507801/cmap_339638401_339897601_4FGL_J1522.1+3144_daily_bin387.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/507801/ft1_filtered_4FGL_J1522.1+3144_daily_bin387.fits scfile=/scratch/kocevski/507801/ft2_4FGL_J1522.1+3144_daily_bin387.fits outfile=/scratch/kocevski/507801/cmap_HighResolution_339638401_339897601_4FGL_J1522.1+3144_daily_bin387.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4273       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.814       1.0000         .10000E-03   10000.    
     3 'norm      '    3.7977       1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.703       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.5418       1.0000         .10000E-03   10000.    
     9 'norm      '    .88741       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9955       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1856       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10591E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9425       1.0000         .10000E-03   10000.    
    14 'norm      '    3.2994       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.854       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.5435       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .86115E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3659       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.585       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.7962       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5122       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .60369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6462.627     FROM MIGRAD    STATUS=CONVERGED     90 CALLS     2297 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4309        5.7176        .38891E-06    .38779E-02
   2  Prefactor     20.820        4.1749        .21064E-06   -.44081E-02
   3  norm          3.7997        4.0286       -.91166E-07   -.48849E-03
   4  Prefactor     47.713        7.3761        .24420E-06   -.11485E-01
   5  norm          .10000E-03    2.4340        .78965E-06** at limit **
   6  Prefactor     .10000E-03    4.6677        .62552E-06** at limit **
   7  Prefactor     .10000E-03    2.7039        .58441E-06** at limit **
   8  Prefactor     9.5449        1.0910       -.17694E-07    .26118E-03
   9  norm          .88836        1.5017        .10537E-05    .61155E-03
  10  Prefactor     10.007        6.4884        .48501E-06   -.50076E-02
  11  Prefactor     4.1868        1.0630        .37611E-07   -.32540E-03
  12  Prefactor     .10003E-03    8.6801       -.25966E-05** at limit **
  13  Prefactor     5.9459        9.6529        .60082E-06    .72527E-03
  14  norm          3.3003        1.4775       -.19100E-07    .96316E-04
  15  Prefactor     15.842        7.5158       -.17172E-06   -.86078E-02
  16  Prefactor     .10000E-03    10.453       -.16017E-05** at limit **
  17  Prefactor     .10001E-03    19.999       -.60569E-05** at limit **
  18  norm          7.5478        4.1810        .10653E-06    .32695E-02
  19  Prefactor     .57298E-01    26.836        .24545E-05   -.10733E-03
  20  Prefactor     6.3702        2.2575        .92773E-07    .11147E-02
  21  Prefactor     10.585        1.0149        .11118E-07   -.77499E-04
  22  Prefactor     1.7973        2.7921        .11304E-06    .76795E-05
  23  Normalizat    1.5119        .20684       -.95568E-06   -.72830E-04
  24  Prefactor     .60353        .15677       -.27060E-06   -.71274E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.43085
  Prefactor  = 20.8202
  norm       = 3.79968
  Prefactor  = 47.713
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.5449
  norm       = 0.888355
  Prefactor  = 10.0069
  Prefactor  = 4.18676
  Prefactor  = 0.000100034
  Prefactor  = 5.94588
  norm       = 3.30029
  Prefactor  = 15.8423
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  norm       = 7.54778
  Prefactor  = 0.0572976
  Prefactor  = 6.37015
  Prefactor  = 10.5852
  Prefactor  = 1.79731
  Normalizat = 1.5119
  Prefactor  = 0.603528
 **********
 **   18 **HESSE 
 **********

 FCN=   6462.627     FROM HESSE     STATUS=OK           465 CALLS     2762 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4309        5.8377        .43122E-02   -1.5242    
   2  Prefactor     20.820        61.391        .21948E-02   -1.4795    
   3  norm          3.7997        4.0375        .51783E-02   -1.5318    
   4  Prefactor     47.713        40.657        .14514E-02   -1.4325    
   5  norm          .10000E-03    2.4238        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.6456        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.6943        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.5449        7.4385        .32434E-02   -1.5090    
   9  norm          .88836        1.6104        .12762E-01   -1.5519    
  10  Prefactor     10.007        156.09        .31686E-02   -1.5075    
  11  Prefactor     4.1868        6.7830        .49247E-02   -1.5299    
  12  Prefactor     .10003E-03    62.598        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.9459        15.667        .41181E-02   -1.5220    
  14  norm          3.3003        1.5769        .55722E-02   -1.5345    
  15  Prefactor     15.842        11.479        .25147E-02   -1.4912    
  16  Prefactor     .10000E-03    10.436        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    20.168        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.5478        11.178        .36504E-02   -1.5158    
  19  Prefactor     .57298E-01    1.2403        .62272E-01   -1.5660    
  20  Prefactor     6.3702        12.482        .39771E-02   -1.5203    
  21  Prefactor     10.585        10.406        .30787E-02   -1.5057    
  22  Prefactor     1.7973        2.8018        .77997E-02   -1.5440    
  23  Normalizat    1.5119        .18897        .51557E-01   -.77444    
  24  Prefactor     .60353        .13810        .60985E-01   -1.0744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68275e-06
Minuit parameter uncertainties:
  1  5.83831
  2  61.5778
  3  4.03777
  4  40.6802
  5  1.64519e-05
  6  1.5089e-05
  7  1.30654e-05
  8  7.43921
  9  1.61048
  10  79.2898
  11  6.78426
  12  0.00294152
  13  15.6775
  14  1.57691
  15  11.4808
  16  4.29494e-05
  17  0.000724814
  18  11.1813
  19  0.532703
  20  12.4872
  21  10.408
  22  2.80201
  23  0.189062
  24  0.138182
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  3.300e+00  1.577e+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:  6.035e-01  1.382e-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.512e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.52
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.08e-07 +/- 5.14e-08
Energy Flux (Fixed Index): 3.39e-05 +/- 1.62e-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) = 6462.43217852
delta logL = 0.19499379655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6462.42346143
delta logL = 0.203710887483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0580       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6812       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61716       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=   6462.423     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      271 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0581        1.3842        .51921E-04   -.20265E-02
   2  alpha         2.6811        .50582        .11773E-01   -.10283E-03
   3  Normalizat    1.4837        .20334        .22949E-03    .53739E-04
   4  Prefactor     .61719        .15648        .26703E-03    .80807E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0581
  alpha      = 2.68112
  Normalizat = 1.48373
  Prefactor  = 0.617187
 **********
 **   18 **HESSE 
 **********

 FCN=   6462.423     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0581        1.3554        .20769E-05   -1.5358    
   2  alpha         2.6811        .49499        .47092E-03    .72511E-01
   3  Normalizat    1.4837        .20339        .45898E-04   -.78236    
   4  Prefactor     .61719        .15653        .10681E-04   -1.0687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99122e-10
Minuit parameter uncertainties:
  1  1.35542
  2  0.4983
  3  0.203499
  4  0.156636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507801': 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) = 6462.42346126
delta logL = 0.203711055362

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  3.058e+00  1.355e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.681e+00  4.983e-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:  6.172e-01  1.566e-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.484e+00  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.15
Ra Dec: 230.545 31.739
Photon Index (Free Index): 2.68 +/- 0.50
Photon Flux (Free Index): 1.35e-07 +/- 6.55e-08
Energy Flux (Free Index): 3.27e-05 +/- 1.27e-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/507801/cmap_HighResolution_339638401_339897601_4FGL_J1522.1+3144_daily_bin387.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='3.27e-05', photon_flux_error='5.14e-08', dlogl='2.04e-01', energy_flux='3.39e-05', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-09-12 02:20:55.117650', photon_index_error2='0.50', photon_index2='2.68', ts='13.52', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', energy_flux_error2='1.27e-05', EG='1.51', time_epoch_completed='1631438455.12', return_code='0', job_id='507801', GAL2='0.62', EG2='1.48', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='6.55e-08', ts2='14.15', photon_index='2.37' WHERE bin_id='387' AND source_name='4FGL J1522.1+3144' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 02:20:55 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_daily_bin387 230.545 31.7395 339638401 339897601 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 :                                   605.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            630 sec.

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

