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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin983
RA = 220.561, Dec = 6.3755
tmin = 494121601, tmax = 494380801
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='715499', job_status='RUN', time_executed='2021-09-10 05:53:39.305266', time_epoch_executed='1631278419.31' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/715499

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/715499/ft1_4FGL_J1442.2+0622_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/715499/ft2_4FGL_J1442.2+0622_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/715499/ft1_4FGL_J1442.2+0622_daily_bin983.fits outfile=/scratch/kocevski/715499/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin983.fits ra=220.561 dec=6.3755 rad=12.0 tmin=494121601.0 tmax=494380801.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.74
user 3.50
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/715499/ft2_4FGL_J1442.2+0622_daily_bin983.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/715499/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin983.fits evtable="EVENTS" outfile="/scratch/kocevski/715499/ft1_filtered_4FGL_J1442.2+0622_daily_bin983.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.53
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/715499/ft1_filtered_4FGL_J1442.2+0622_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/715499/ft2_4FGL_J1442.2+0622_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/715499/ltcube_494121601_494380801_4FGL_J1442.2+0622_daily_bin983.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/715499/ft2_4FGL_J1442.2+0622_daily_bin983.fits
.....................!
real 11.84
user 11.51
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/715499/ft1_filtered_4FGL_J1442.2+0622_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/715499/ft2_4FGL_J1442.2+0622_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/715499/ltcube_494121601_494380801_4FGL_J1442.2+0622_daily_bin983.fits outfile=/scratch/kocevski/715499/expmap_494121601_494380801_4FGL_J1442.2+0622_daily_bin983.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/715499/ltcube_494121601_494380801_4FGL_J1442.2+0622_daily_bin983.fits
.....................!
real 191.33
user 185.90
sys 4.90

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/715499/ft1_filtered_4FGL_J1442.2+0622_daily_bin983.fits scfile=/scratch/kocevski/715499/ft2_4FGL_J1442.2+0622_daily_bin983.fits outfile=/scratch/kocevski/715499/cmap_494121601_494380801_4FGL_J1442.2+0622_daily_bin983.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/715499/ft1_filtered_4FGL_J1442.2+0622_daily_bin983.fits scfile=/scratch/kocevski/715499/ft2_4FGL_J1442.2+0622_daily_bin983.fits outfile=/scratch/kocevski/715499/cmap_HighResolution_494121601_494380801_4FGL_J1442.2+0622_daily_bin983.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10799E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.482       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.1660       1.0000         .10000E-03   10000.    
     6 'norm      '    3.3306       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0906       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8210       1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.788       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12536E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10359E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.6057       1.0000         .10000E-03   10000.    
    18 'norm      '    4.9524       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.5728       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2033       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0998       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0266       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8142.609     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     2085 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2906       -.18899E-06** at limit **
   2  Prefactor     .10010E-03    9.4710       -.21106E-04** at limit **
   3  Prefactor     .10070E-03    21.161        .10897E-04** at limit **
   4  norm          14.483        1.0106       -.16711E-06   -.78532E-04
   5  Prefactor     8.1712        1.1734        .11258E-05   -.31976E-03
   6  norm          3.3295        1.1137       -.14738E-05    .23430E-03
   7  Prefactor     5.0893        1.0114       -.24426E-06   -.16701E-04
   8  Prefactor     1.8207        1.0640        .96446E-06    .37888E-03
   9  Prefactor     39.791        1.3071        .77673E-06   -.17380E-02
  10  Prefactor     .10018E-03    9.6540        .24845E-04** at limit **
  11  norm          .10000E-03    5.8130       -.22980E-06** at limit **
  12  Prefactor     .10087E-03    15.701        .54661E-05** at limit **
  13  Prefactor     .10000E-03    4.7368       -.39484E-06** at limit **
  14  Prefactor     .10068E-03    13.825       -.11133E-04** at limit **
  15  Prefactor     .10432E-03    49.980       -.61047E-04** at limit **
  16  Prefactor     .10102E-03    26.305        .27961E-04** at limit **
  17  norm          1.6057        .27529       -.16133E-07   -.13845E-02
  18  norm          4.9530        2.6926        .79341E-07    .10538E-03
  19  norm          .10000E-03    1.8849        .67481E-07** at limit **
  20  norm          3.5728        3.5183       -.70869E-06   -.61850E-04
  21  Prefactor     7.2031        1.0081       -.23017E-06    .85527E-04
  22  Normalizat    1.0997        .23955       -.77811E-06    .19947E-04
  23  Prefactor     1.0267        .14514        .53727E-06    .16170E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100101
  Prefactor  = 0.0001007
  norm       = 14.4834
  Prefactor  = 8.17118
  norm       = 3.32946
  Prefactor  = 5.08931
  Prefactor  = 1.82073
  Prefactor  = 39.7909
  Prefactor  = 0.000100183
  norm       = 0.0001
  Prefactor  = 0.000100873
  Prefactor  = 0.0001
  Prefactor  = 0.000100685
  Prefactor  = 0.000104317
  Prefactor  = 0.000101022
  norm       = 1.6057
  norm       = 4.95297
  norm       = 0.0001
  norm       = 3.57283
  Prefactor  = 7.20313
  Normalizat = 1.0997
  Prefactor  = 1.02665
 **********
 **   18 **HESSE 
 **********

 FCN=   8142.609     FROM HESSE     STATUS=OK           416 CALLS     2501 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2846        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10010E-03    9.9488        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10070E-03    55.190        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.483        12.550        .26312E-02   -1.4947    
   5  Prefactor     8.1712        21.763        .35075E-02   -1.5136    
   6  norm          3.3295        52.769        .55448E-02   -1.5343    
   7  Prefactor     5.0893        6.4513        .44551E-02   -1.5257    
   8  Prefactor     1.8207        5.5937        .77359E-02   -1.5438    
   9  Prefactor     39.791        47.368        .15886E-02   -1.4446    
  10  Prefactor     .10018E-03    10.533        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.8068        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10087E-03    19.931        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.7352        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10068E-03    16.884        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10432E-03    71.224        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10102E-03    53.250        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.6057        .27568        .42334E-02   -1.5455    
  18  norm          4.9530        2.7121        .45180E-02   -1.5263    
  19  norm          .10000E-03    1.8836        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.5728        3.5288        .53451E-02   -1.5330    
  21  Prefactor     7.2031        56.513        .37363E-02   -1.5171    
  22  Normalizat    1.0997        .20772        .74292E-01   -.89762    
  23  Prefactor     1.0267        .12388        .41533E-01   -.91846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37717e-07
Minuit parameter uncertainties:
  1  1.7051e-05
  2  0.00200404
  3  0.0124443
  4  12.5525
  5  21.7841
  6  26.5373
  7  6.45221
  8  5.5953
  9  47.413
  10  0.00277372
  11  3.45088e-05
  12  0.00834643
  13  7.98649e-06
  14  0.00680174
  15  0.0351128
  16  0.0147685
  17  0.275677
  18  2.71214
  19  1.40272e-07
  20  3.52902
  21  40.4043
  22  0.207879
  23  0.123911
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.000e-04  3.451e-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:  1.027e+00  1.239e-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.100e+00  2.079e-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: 4.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/715499/likelihoodResults_494121601_494380801_4FGL_J1442.2+0622_daily_bin983.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8142.6095436
delta logL = -0.000818107409032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8142.48915279
delta logL = 0.119572705271

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19926       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0397       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=   8142.489     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      272 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19925        34.820        .99743E-02    .17203E-02
   2  alpha         5.0000        4.7253        .46267    ** at limit **
   3  Normalizat    1.0626        .18463        .75430E-01    .21463E-03
   4  Prefactor     1.0397        .63097E-01    .40553E-01   -.16029E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.199251
  alpha      = 5
  Normalizat = 1.0626
  Prefactor  = 1.03972
 **********
 **   18 **HESSE 
 **********

 FCN=   8142.489     FROM HESSE     STATUS=OK            27 CALLS      299 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19925        .43304        .79411E-04   -1.5619    
   2  alpha         5.0000        3.3606        .11217E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0626        .24906        .33383E-03   -.90962    
   4  Prefactor     1.0397        .14662        .20328E-03   -.91417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01557e-09
Minuit parameter uncertainties:
  1  0.433045
  2  2.87092e-05
  3  0.249339
  4  0.146675
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/715499': 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) = 8142.48915279
delta logL = 0.119572704959

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.993e-01  4.330e-01  1.000e-04  1.000e+04 ( 1.000e-13)
230        alpha:  5.000e+00  2.871e-05  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.040e+00  1.467e-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.063e+00  2.493e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/715499/cmap_HighResolution_494121601_494380801_4FGL_J1442.2+0622_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-05', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2021-09-10 06:04:24.004996', job_id='715499', GAL2='1.04', fit_tolerance='1e-08', EG2='1.06', EG='1.10', time_epoch_completed='1631279064.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.20e-01', ts2='0.26', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='983' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:04:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 715499: <4FGL_J1442.2+0622_daily_bin983> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin983> 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) <bullet0288>, 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:04:24 2021
Results reported at Fri Sep 10 06:04:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin983 220.561 6.3755 494121601 494380801 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 :                                   639.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            790 sec.

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

