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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin476
RA = 220.561, Dec = 6.3755
tmin = 362707201, tmax = 362966401
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='712567', job_status='RUN', time_executed='2021-09-10 05:45:22.568334', time_epoch_executed='1631277922.57' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='476'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712567

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712567/ft1_4FGL_J1442.2+0622_daily_bin476.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712567/ft2_4FGL_J1442.2+0622_daily_bin476.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712567/ft1_4FGL_J1442.2+0622_daily_bin476.fits outfile=/scratch/kocevski/712567/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin476.fits ra=220.561 dec=6.3755 rad=12.0 tmin=362707201.0 tmax=362966401.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 5.92
user 5.67
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712567/ft1_filtered_4FGL_J1442.2+0622_daily_bin476.fits" evtable="EVENTS" scfile=/scratch/kocevski/712567/ft2_4FGL_J1442.2+0622_daily_bin476.fits sctable="SC_DATA" outfile=/scratch/kocevski/712567/ltcube_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.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/712567/ft2_4FGL_J1442.2+0622_daily_bin476.fits
.....................!
real 11.54
user 11.22
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712567/ft1_filtered_4FGL_J1442.2+0622_daily_bin476.fits evtable="EVENTS" scfile=/scratch/kocevski/712567/ft2_4FGL_J1442.2+0622_daily_bin476.fits sctable="SC_DATA" expcube=/scratch/kocevski/712567/ltcube_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.fits outfile=/scratch/kocevski/712567/expmap_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.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/712567/ltcube_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.fits
.....................!
real 190.32
user 185.87
sys 4.15

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/712567/ft1_filtered_4FGL_J1442.2+0622_daily_bin476.fits scfile=/scratch/kocevski/712567/ft2_4FGL_J1442.2+0622_daily_bin476.fits outfile=/scratch/kocevski/712567/cmap_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.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.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712567/ft1_filtered_4FGL_J1442.2+0622_daily_bin476.fits scfile=/scratch/kocevski/712567/ft2_4FGL_J1442.2+0622_daily_bin476.fits outfile=/scratch/kocevski/712567/cmap_HighResolution_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/712567/ft1_filtered_4FGL_J1442.2+0622_daily_bin476.fits', '/scratch/kocevski/712567/ft2_4FGL_J1442.2+0622_daily_bin476.fits', expMap='/scratch/kocevski/712567/expmap_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.fits', expCube='/scratch/kocevski/712567/ltcube_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/712567/Model_4FGL_J1442.2+0622_daily_bin476.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/712567/ft1_filtered_4FGL_J1442.2+0622_daily_bin476.fits
Spacecraft file(s): /scratch/kocevski/712567/ft2_4FGL_J1442.2+0622_daily_bin476.fits
Exposure map: /scratch/kocevski/712567/expmap_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.fits
Exposure cube: /scratch/kocevski/712567/ltcube_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/712567/Model_4FGL_J1442.2+0622_daily_bin476.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) = 5991.75617626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.106       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.267       1.0000         .10000E-03   10000.    
     4 'norm      '    22.322       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11313E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    22.387       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9577       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.940       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1389       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12797E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.1979       1.0000         .10000E-03   10000.    
    19 'norm      '    .70584       1.0000         .10000E-03   10000.    
    20 'norm      '    1.6466       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0771       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89083       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=   5991.743     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2560 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1403       -.18031E-06** at limit **
   2  Prefactor     15.103        18.494        .21957E-06    .79774E-05
   3  Prefactor     28.269        26.392       -.10676E-06    .23304E-04
   4  norm          22.321        13.820        .13830E-07    .86246E-05
   5  Prefactor     .10000E-03    41.723       -.75792E-06** at limit **
   6  norm          22.384        24.246        .50902E-06    .13803E-04
   7  Prefactor     .10000E-03    13.752       -.22828E-05** at limit **
   8  Prefactor     .10000E-03    6.5093       -.42263E-06** at limit **
   9  Prefactor     2.8798        344.62        .25660E-04    .49038E-05
  10  Prefactor     .10000E-03    15.112        .42365E-06** at limit **
  11  norm          .10000E-03    12.647        .50028E-06** at limit **
  12  Prefactor     37.919        32.600       -.14085E-06    .89444E-05
  13  Prefactor     .10000E-03    6.9838       -.17165E-06** at limit **
  14  Prefactor     3.1388        16.905        .65093E-06    .47495E-06
  15  Prefactor     .10000E-03    38.867        .24301E-05** at limit **
  16  Prefactor     .10000E-03    17.486        .94704E-07** at limit **
  17  norm          .10000E-03    .31500E-01   -.93542E-07** at limit **
  18  norm          4.1979        2.5509        .11168E-06    .76159E-04
  19  norm          .70528        7.0863        .15067E-05   -.27546E-04
  20  norm          1.6462        3.3534       -.24163E-06   -.16487E-04
  21  Prefactor     .10000E-03    28.286       -.61277E-06** at limit **
  22  Normalizat    1.0771        .21797       -.11797E-05    .21629E-03
  23  Prefactor     .89093        .13048        .15602E-05    .51362E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.1032
  Prefactor  = 28.2688
  norm       = 22.321
  Prefactor  = 0.0001
  norm       = 22.3838
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.8798
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.9195
  Prefactor  = 0.0001
  Prefactor  = 3.13877
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.19785
  norm       = 0.705275
  norm       = 1.6462
  Prefactor  = 0.0001
  Normalizat = 1.07708
  Prefactor  = 0.890926
 **********
 **   18 **HESSE 
 **********

 FCN=   5991.743     FROM HESSE     STATUS=OK           370 CALLS     2930 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1464        .17142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.103        18.499        .10305E-03   -1.4931    
   3  Prefactor     28.269        26.403        .75354E-04   -1.4644    
   4  norm          22.321        13.824        .84779E-04   -1.4763    
   5  Prefactor     .10000E-03    42.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.384        24.239        .84656E-04   -1.4761    
   7  Prefactor     .10000E-03    14.370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.6332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8798        343.91        .23612E-03   -1.5369    
  10  Prefactor     .10000E-03    15.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    12.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.919        32.668        .65069E-04   -1.4476    
  13  Prefactor     .10000E-03    6.9912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1388        16.868        .11441E-02   -1.5354    
  15  Prefactor     .10000E-03    39.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .32340E-01    .13463E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.1979        2.5435        .90930E-04   -1.5298    
  19  norm          .70528        7.0990        .19973E-02   -1.5540    
  20  norm          1.6462        3.3247        .19335E-03   -1.5451    
  21  Prefactor     .10000E-03    28.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0771        .25660        .29040E-03   -.90491    
  23  Prefactor     .89093        .15174        .19008E-03   -.96459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37231e-09
Minuit parameter uncertainties:
  1  4.088e-06
  2  18.5057
  3  26.4138
  4  13.8259
  5  0.000119784
  6  24.25
  7  2.17873e-05
  8  2.54609e-06
  9  63.3161
  10  1.90255e-05
  11  1.90347e-05
  12  32.6834
  13  5.3218e-06
  14  14.559
  15  2.05504e-06
  16  5.31382e-07
  17  1.25336e-07
  18  2.54361
  19  4.47552
  20  3.32512
  21  2.88239e-05
  22  0.256894
  23  0.151813
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.903e-05  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:  8.909e-01  1.518e-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:  1.077e+00  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 6.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/712567/likelihoodResults_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.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): 102
logL (Free Index) = 5991.74315487
delta logL = -0.000375394370167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5991.74277998
delta logL = -5.03914634464e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5991.743     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      235 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    145.97        .18142E-01** at limit **
   2  alpha         2.1916        3.2595        .50000        .11300E-07
   3  Normalizat    1.0771        .17267E-01    .29039E-03    .27091E-04
   4  Prefactor     .89093        .10443E-01    .19008E-03    .43840E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.19161
  Normalizat = 1.07707
  Prefactor  = 0.890928
 **********
 **   18 **HESSE 
 **********

 FCN=   5991.743     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      262 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1900.5        .28347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1916        3.5868        .20000       -.12367    
   3  Normalizat    1.0771        .79903E-01    .11616E-04   -.90491    
   4  Prefactor     .89093        .48333E-01    .76034E-05   -.96459    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.88228e-10
Minuit parameter uncertainties:
  1  0.000114833
  2  6737.9
  3  0.0799124
  4  0.0483357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712567': 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): 102
logL (Free Index) = 5991.74277906
delta logL = 4.22340235673e-07

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  1.148e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  2.192e+00  6.738e+03  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:  8.909e-01  4.834e-02  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:  1.077e+00  7.991e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.561 6.375

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/712567/cmap_HighResolution_362707201_362966401_4FGL_J1442.2+0622_daily_bin476.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.32e-05', job_status='DONE', photon_flux_upper_limit='6.41e-08', time_completed='2021-09-10 05:55:04.027771', job_id='712567', GAL2='0.89', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1631278504.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='4.22e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='476' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 05:55:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 712567: <4FGL_J1442.2+0622_daily_bin476> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin476> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:41:34 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:41:36 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:41:36 2021
Terminated at Fri Sep 10 05:55:04 2021
Results reported at Fri Sep 10 05:55:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin476 220.561 6.3755 362707201 362966401 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 :                                   578.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

