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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin981
RA = 220.561, Dec = 6.3755
tmin = 493603201, tmax = 493862401
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='715496', job_status='RUN', time_executed='2021-09-10 05:55:08.952904', time_epoch_executed='1631278508.95' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='981'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/715496

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/715496/ft1_4FGL_J1442.2+0622_daily_bin981.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/715496/ft2_4FGL_J1442.2+0622_daily_bin981.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/715496/ft1_4FGL_J1442.2+0622_daily_bin981.fits outfile=/scratch/kocevski/715496/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin981.fits ra=220.561 dec=6.3755 rad=12.0 tmin=493603201.0 tmax=493862401.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.54
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/715496/ft2_4FGL_J1442.2+0622_daily_bin981.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/715496/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin981.fits evtable="EVENTS" outfile="/scratch/kocevski/715496/ft1_filtered_4FGL_J1442.2+0622_daily_bin981.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/715496/ft1_filtered_4FGL_J1442.2+0622_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/715496/ft2_4FGL_J1442.2+0622_daily_bin981.fits sctable="SC_DATA" expcube=/scratch/kocevski/715496/ltcube_493603201_493862401_4FGL_J1442.2+0622_daily_bin981.fits outfile=/scratch/kocevski/715496/expmap_493603201_493862401_4FGL_J1442.2+0622_daily_bin981.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/715496/ltcube_493603201_493862401_4FGL_J1442.2+0622_daily_bin981.fits
.....................!
real 193.34
user 187.63
sys 5.36

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/715496/ft1_filtered_4FGL_J1442.2+0622_daily_bin981.fits scfile=/scratch/kocevski/715496/ft2_4FGL_J1442.2+0622_daily_bin981.fits outfile=/scratch/kocevski/715496/cmap_493603201_493862401_4FGL_J1442.2+0622_daily_bin981.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.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/715496/ft1_filtered_4FGL_J1442.2+0622_daily_bin981.fits scfile=/scratch/kocevski/715496/ft2_4FGL_J1442.2+0622_daily_bin981.fits outfile=/scratch/kocevski/715496/cmap_HighResolution_493603201_493862401_4FGL_J1442.2+0622_daily_bin981.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.653       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    33.373       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .68310       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.217       1.0000         .10000E-03   10000.    
    11 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.3908       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.728       1.0000         .10000E-03   10000.    
    16 'Prefactor '    53.971       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0280       1.0000         .10000E-03   10000.    
    18 'norm      '    8.1160       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.1253       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0299       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99385       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=   6827.854     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2488 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.547        .19986E-05** at limit **
   2  Prefactor     .10000E-03    36.465        .56190E-05** at limit **
   3  Prefactor     48.647        32.436       -.53947E-05   -.29554E-04
   4  norm          .10000E-03    4.0242       -.34480E-07** at limit **
   5  Prefactor     .10000E-03    13.263       -.13858E-04** at limit **
   6  norm          33.376        31.699        .30862E-05    .53903E-04
   7  Prefactor     .10000E-03    7.0706        .49635E-05** at limit **
   8  Prefactor     .68247        3.8965       -.44947E-06   -.13291E-03
   9  Prefactor     .10000E-03    39.373       -.10222E-04** at limit **
  10  Prefactor     24.211        25.018       -.43932E-05    .13035E-03
  11  norm          .10000E-03    7.7894       -.85058E-05** at limit **
  12  Prefactor     .10000E-03    21.713        .11212E-04** at limit **
  13  Prefactor     .10000E-03    38.581       -.63420E-05** at limit **
  14  Prefactor     9.3867        18.629       -.26811E-05   -.31867E-04
  15  Prefactor     17.728        19.320        .67036E-06   -.20150E-04
  16  Prefactor     53.971        48.446       -.49459E-06   -.32157E-05
  17  norm          1.0280        .25594       -.94281E-08    .49803E-03
  18  norm          8.1159        3.1414       -.72919E-07   -.10036E-03
  19  norm          .10000E-03    1.7039       -.13434E-06** at limit **
  20  norm          3.1253        2.7860        .43220E-07   -.11692E-04
  21  Prefactor     .10000E-03    10.055        .10713E-04** at limit **
  22  Normalizat    1.0300        .22075        .18669E-05   -.11222E-04
  23  Prefactor     .99382        .12921       -.21289E-06    .10172E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.6467
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 33.3755
  Prefactor  = 0.0001
  Prefactor  = 0.68247
  Prefactor  = 0.0001
  Prefactor  = 24.2114
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.38669
  Prefactor  = 17.7279
  Prefactor  = 53.9705
  norm       = 1.02799
  norm       = 8.11586
  norm       = 0.0001
  norm       = 3.12528
  Prefactor  = 0.0001
  Normalizat = 1.02999
  Prefactor  = 0.993816
 **********
 **   18 **HESSE 
 **********

 FCN=   6827.854     FROM HESSE     STATUS=OK           364 CALLS     2852 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    37.404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     48.647        32.454        .57490E-04   -1.4312    
   4  norm          .10000E-03    4.0300        .16189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          33.376        31.749        .69365E-04   -1.4552    
   7  Prefactor     .10000E-03    7.2211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .68247        16.948        .30778E-02   -1.5543    
   9  Prefactor     .10000E-03    39.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.211        24.934        .81399E-04   -1.4723    
  11  norm          .10000E-03    7.7541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.3867        18.648        .13078E-03   -1.5095    
  15  Prefactor     17.728        19.308        .95125E-04   -1.4866    
  16  Prefactor     53.971        48.424        .54598E-04   -1.4237    
  17  norm          1.0280        .25582        .19824E-04   -1.5505    
  18  norm          8.1159        3.1408        .85800E-04   -1.5138    
  19  norm          .10000E-03    1.7041        .10534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.1253        2.7854        .12599E-03   -1.5354    
  21  Prefactor     .10000E-03    10.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0300        .26048        .32915E-03   -.92032    
  23  Prefactor     .99382        .15291        .20174E-03   -.92936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35339e-10
Minuit parameter uncertainties:
  1  1.91404e-05
  2  0.000164668
  3  32.4653
  4  1.00844e-06
  5  1.23555e-05
  6  31.7653
  7  2.34586e-05
  8  6.80354
  9  5.44953e-06
  10  24.945
  11  4.64143e-05
  12  1.94217e-05
  13  9.26936e-05
  14  18.6591
  15  19.3153
  16  48.4595
  17  0.255818
  18  3.14091
  19  6.03235e-08
  20  2.78547
  21  2.48644e-06
  22  0.260806
  23  0.152977
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  4.641e-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:  9.938e-01  1.530e-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.030e+00  2.608e-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: 5.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.07e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/715496/likelihoodResults_493603201_493862401_4FGL_J1442.2+0622_daily_bin981.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) = 6827.85505904
delta logL = -0.000614101314568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6827.85444501
delta logL = -6.85940904077e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6820       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99378       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=   6827.854     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      236 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    157.51        .18142E-01** at limit **
   2  alpha         1.6235        3.3070        .50000        .56616E-08
   3  Normalizat    1.0300        .20530E-01    .32915E-03    .28115E-04
   4  Prefactor     .99382        .12463E-01    .20174E-03    .50775E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.62351
  Normalizat = 1.02999
  Prefactor  = 0.993816
 **********
 **   18 **HESSE 
 **********

 FCN=   6827.854     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      263 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1717.7        .27600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6235        2.7862        .20000       -.35821    
   3  Normalizat    1.0300        .89754E-01    .13166E-04   -.92032    
   4  Prefactor     .99382        .54490E-01    .80694E-05   -.92936    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.63651e-10
Minuit parameter uncertainties:
  1  0.000769347
  2  5987.96
  3  0.0897676
  4  0.0544933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/715496': 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) = 6827.85444275
delta logL = 2.19101184484e-06

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  7.693e-04  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  1.624e+00  5.988e+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:  9.938e-01  5.449e-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.030e+00  8.977e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/715496/cmap_HighResolution_493603201_493862401_4FGL_J1442.2+0622_daily_bin981.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='5.72e-08', time_completed='2021-09-10 06:05:16.422598', job_id='715496', GAL2='0.99', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1631279116.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.19e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='981' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:05:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 715496: <4FGL_J1442.2+0622_daily_bin981> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin981> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 05:51:14 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 05:51:15 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:51:15 2021
Terminated at Fri Sep 10 06:05:17 2021
Results reported at Fri Sep 10 06:05:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin981 220.561 6.3755 493603201 493862401 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 :                                   603.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             254.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            843 sec.

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

