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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin697
RA = 220.561, Dec = 6.3755
tmin = 419990401, tmax = 420249601
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='714042', job_status='RUN', time_executed='2021-09-10 05:50:04.691836', time_epoch_executed='1631278204.69' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/714042

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/714042/ft1_4FGL_J1442.2+0622_daily_bin697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/714042/ft1_4FGL_J1442.2+0622_daily_bin697.fits outfile=/scratch/kocevski/714042/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin697.fits ra=220.561 dec=6.3755 rad=12.0 tmin=419990401.0 tmax=420249601.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.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.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/714042/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin697.fits evtable="EVENTS" outfile="/scratch/kocevski/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.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.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.fits" evtable="EVENTS" scfile=/scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits sctable="SC_DATA" outfile=/scratch/kocevski/714042/ltcube_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.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/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits
.....................!
real 11.68
user 11.26
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.fits evtable="EVENTS" scfile=/scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits sctable="SC_DATA" expcube=/scratch/kocevski/714042/ltcube_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.fits outfile=/scratch/kocevski/714042/expmap_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.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/714042/ltcube_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.fits
.....................!
real 190.17
user 184.13
sys 5.69

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 151 point sources and 0 extended sources

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.fits scfile=/scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits outfile=/scratch/kocevski/714042/cmap_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.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=220.561 yref=6.3755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.fits scfile=/scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits outfile=/scratch/kocevski/714042/cmap_HighResolution_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.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=220.561 yref=6.3755 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.fits evtable="EVENTS" scfile=/scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/714042/Model_4FGL_J1442.2+0622_daily_bin697.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/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.fits.....................!
real 51.56
user 50.11
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.fits', '/scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits', expMap='/scratch/kocevski/714042/expmap_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.fits', expCube='/scratch/kocevski/714042/ltcube_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/714042/Model_4FGL_J1442.2+0622_daily_bin697.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/714042/ft1_filtered_4FGL_J1442.2+0622_daily_bin697.fits
Spacecraft file(s): /scratch/kocevski/714042/ft2_4FGL_J1442.2+0622_daily_bin697.fits
Exposure map: /scratch/kocevski/714042/expmap_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.fits
Exposure cube: /scratch/kocevski/714042/ltcube_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/714042/Model_4FGL_J1442.2+0622_daily_bin697.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) = 6474.25087938

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.283       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .46217       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10558E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.706       1.0000         .10000E-03   10000.    
     6 'norm      '    .10995E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.039       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11202E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16394E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    41.714       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10857E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7231       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8626       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.7687       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10262       1.0000         .10000E-03   10000.    
    18 'norm      '    4.6284       1.0000         .10000E-03   10000.    
    19 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.1076       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96980       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0813       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6474.197     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2605 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.321        18.286       -.27400E-04   -.13019E-03
   2  Prefactor     .21632        27.309        .10317E-04    .25734E-03
   3  Prefactor     .10000E-03    20.558       -.19759E-05** at limit **
   4  norm          .10000E-03    7.8519       -.24525E-06** at limit **
   5  Prefactor     27.724        28.845       -.34958E-05   -.15826E-03
   6  norm          .10000E-03    16.149        .14774E-05** at limit **
   7  Prefactor     11.039        8.4451       -.81146E-06    .21610E-04
   8  Prefactor     .10000E-03    5.8805       -.25918E-06** at limit **
   9  Prefactor     .10000E-03    41.427        .35816E-05** at limit **
  10  Prefactor     .10002E-03    133.44        .12119E-04** at limit **
  11  norm          41.716        25.016        .11897E-05   -.29159E-03
  12  Prefactor     .10000E-03    8.0813        .93319E-08** at limit **
  13  Prefactor     2.7122        65.538        .14926E-04   -.54336E-04
  14  Prefactor     5.8698        11.805       -.85313E-05    .22132E-03
  15  Prefactor     5.7581        17.961       -.15045E-04    .16293E-03
  16  Prefactor     .10000E-03    13.015       -.78556E-06** at limit **
  17  norm          .10228        .18766       -.40881E-06   -.48037E-02
  18  norm          4.6251        3.3763       -.81420E-06   -.36739E-03
  19  norm          .10000E-03    5.3714        .33391E-07** at limit **
  20  norm          5.1069        3.8951       -.11426E-06    .33348E-04
  21  Prefactor     .10000E-03    11.064        .43103E-07** at limit **
  22  Normalizat    .97032        .23592        .75939E-05   -.64320E-03
  23  Prefactor     1.0813        .13316       -.35341E-06   -.36975E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3214
  Prefactor  = 0.216319
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.7238
  norm       = 0.0001
  Prefactor  = 11.0387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  norm       = 41.7158
  Prefactor  = 0.0001
  Prefactor  = 2.71216
  Prefactor  = 5.86979
  Prefactor  = 5.75811
  Prefactor  = 0.0001
  norm       = 0.102277
  norm       = 4.62515
  norm       = 0.0001
  norm       = 5.10688
  Prefactor  = 0.0001
  Normalizat = 0.970323
  Prefactor  = 1.08128
 **********
 **   18 **HESSE 
 **********

 FCN=   6474.197     FROM HESSE     STATUS=OK           374 CALLS     2979 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.321        19.103        .11927E-03   -1.5035    
   2  Prefactor     .21632        39.186        .10530       -1.5615    
   3  Prefactor     .10000E-03    20.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.8715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.724        28.981        .76111E-04   -1.4654    
   6  norm          .10000E-03    16.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.039        8.4502        .12058E-03   -1.5043    
   8  Prefactor     .10000E-03    5.9918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    41.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    133.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          41.716        24.855        .62067E-04   -1.4415    
  12  Prefactor     .10000E-03    8.0904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7122        64.073        .24678E-03   -1.5379    
  14  Prefactor     5.8698        11.738        .16586E-03   -1.5223    
  15  Prefactor     5.7581        17.872        .16722E-03   -1.5228    
  16  Prefactor     .10000E-03    13.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10228        .18808        .42430E-03   -1.5644    
  18  norm          4.6251        3.3703        .11516E-03   -1.5278    
  19  norm          .10000E-03    5.4123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.1069        3.8925        .13256E-03   -1.5256    
  21  Prefactor     .10000E-03    11.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .97032        .27372        .32462E-03   -.94031    
  23  Prefactor     1.0813        .15640        .19135E-03   -.90067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.93653e-09
Minuit parameter uncertainties:
  1  19.1132
  2  5.82544
  3  1.24155e-05
  4  7.96914e-06
  5  28.996
  6  4.94984e-05
  7  8.45112
  8  2.49814e-05
  9  0.000254668
  10  0.00330957
  11  24.8609
  12  2.56778e-05
  13  26.3962
  14  11.7428
  15  17.8882
  16  5.86936e-05
  17  0.188082
  18  3.37049
  19  4.93439e-06
  20  3.89273
  21  1.00993e-05
  22  0.274115
  23  0.156467
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  4.172e+01  2.486e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.081e+00  1.565e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.703e-01  2.741e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.66
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 6.92e-08 +/- 4.12e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.49e-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) = 6473.32112623
delta logL = 0.875738335081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6473.31215602
delta logL = 0.884708551011

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6473.312     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      251 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.216        119.19        .25656E-02    .10163E-02
   2  alpha         3.6625        4.1019        .22123        .21874E-03
   3  Normalizat    .88173        .11566        .76494E-01    .79126E-04
   4  Prefactor     1.1138        .56717E-01    .37084E-01   -.13701E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.2155
  alpha      = 3.66255
  Normalizat = 0.881733
  Prefactor  = 1.11382
 **********
 **   18 **HESSE 
 **********

 FCN=   6473.312     FROM HESSE     STATUS=OK            31 CALLS      282 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.216        25.505        .10262E-03   -1.4928    
   2  alpha         3.6625        .99818        .91708E-02    .48366    
   3  Normalizat    .88173        .26760        .33856E-03   -.97105    
   4  Prefactor     1.1138        .16019        .18875E-03   -.89026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.29448e-10
Minuit parameter uncertainties:
  1  25.5235
  2  1.03556
  3  0.268001
  4  0.160258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/714042': 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) = 6473.31215555
delta logL = 0.884709012038

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.522e+01  2.552e+01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  3.663e+00  1.036e+00  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.114e+00  1.603e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  8.817e-01  2.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.56
Ra Dec: 220.561 6.375
Photon Index (Free Index): 3.66 +/- 1.04
Photon Flux (Free Index): 1.39e-07 +/- 8.51e-08
Energy Flux (Free Index): 2.93e-05 +/- 1.40e-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/714042/cmap_HighResolution_419990401_420249601_4FGL_J1442.2+0622_daily_bin697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.92e-08', energy_flux2='2.93e-05', photon_flux_error='4.12e-08', dlogl='8.85e-01', energy_flux='2.50e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-09-10 05:59:14.750945', photon_index_error2='1.04', photon_index2='3.66', ts='5.66', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.40e-05', EG='0.97', time_epoch_completed='1631278754.75', return_code='0', job_id='714042', GAL2='1.11', EG2='0.88', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='8.51e-08', ts2='7.56', photon_index='2.70' WHERE bin_id='697' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:59:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 714042: <4FGL_J1442.2+0622_daily_bin697> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin697> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 05:46:30 2021
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:46:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 05:46:31 2021
Terminated at Fri Sep 10 05:59:15 2021
Results reported at Fri Sep 10 05:59:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin697 220.561 6.3755 419990401 420249601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   551.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            765 sec.

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

